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

:root {
    --bg-light: #fdfdfd;
    --text-main: #111111;
    --text-muted: #5e5e60;
    --accent: #000000;
    --accent-hover: #333333;
    --border-color: rgba(0, 0, 0, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --gradient-text-start: #1c1c28;
    --gradient-text-end: #6236ff;
}

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

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Background Gradients (Light theme) */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 5%;
    overflow: hidden;
    background: radial-gradient(circle at top left, rgba(255, 250, 240, 1) 0%, rgba(253, 253, 253, 1) 100%);
}

.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    opacity: 0.8;
    animation: flow 15s infinite alternate ease-in-out;
    pointer-events: none;
}

.glow-1 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(135, 206, 250, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
    top: -10%;
    left: -20%;
}

.glow-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(250, 218, 221, 0.45) 0%, rgba(255, 255, 255, 0) 70%);
    top: 50%;
    right: -10%;
    animation-delay: -5s;
    transform-origin: center center;
}

.glow-3 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(220, 208, 255, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
    bottom: -20%;
    left: 20%;
    animation-delay: -10s;
}

@keyframes flow {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.1) translate(50px, -30px);
        opacity: 0.9;
    }

    100% {
        transform: scale(0.95) translate(-40px, 40px);
        opacity: 0.6;
    }
}

/* Navbar */
.navbar {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #111;
}

.logo-icon {
    color: #4a5ee3;
}

.nav-links {
    display: flex;
    gap: 32px;
}

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

.nav-links a:hover {
    color: var(--text-main);
}

.btn-secondary {
    padding: 8px 18px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    border-radius: 80px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    text-align: center;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

.badges-container {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    backdrop-filter: blur(10px);
}

.badge-outline {
    background: rgba(98, 54, 255, 0.05);
    border: 1px solid rgba(98, 54, 255, 0.2);
    color: #4a2ad6;
}

.badge-icon {
    font-size: 1rem;
    line-height: 1;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: #6236ff;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(98, 54, 255, 0.6);
}

.hero-title {
    font-size: 4.3rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    color: #111;
}

.hero-title span {
    background: linear-gradient(135deg, var(--gradient-text-start) 20%, var(--gradient-text-end) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Креативная кнопка со стрелочкой */
.title-highlight-wrap {
    display: inline-block;
    position: relative;
}

@keyframes btnTwitch {

    0%,
    70%,
    100% {
        transform: rotate(4deg) scale(1);
    }

    80% {
        transform: rotate(-2deg) scale(1.05);
    }

    90% {
        transform: rotate(2deg) scale(1.02);
    }
}

.drawn-how-it-works {
    position: absolute;
    left: 100%;
    top: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #6236ff;
    padding-left: 20px;
    transform: rotate(4deg);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
    margin-left: -10px;
    animation: btnTwitch 1s infinite;
}

.drawn-how-it-works-mobile {
    display: none;
    /* Разрешаем показывать только на мобилках */
}

.drawn-how-it-works:hover {
    transform: rotate(-2deg) scale(1.05);
    color: #4a2ad6;
    animation: none;
}

.drawn-btn-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.drawn-play-icon {
    width: 38px;
    height: 38px;
    color: currentColor;
    flex-shrink: 0;
    /* Легкая пульсация для привлечения внимания как нарисованный элемент */
    animation: drawPulse 2.5s infinite ease-in-out alternate;
}

@keyframes drawPulse {
    0% {
        transform: scale(1) rotate(0deg);
    }

    100% {
        transform: scale(1.1) rotate(5deg);
    }
}


.drawn-arrow-svg {
    width: 70px;
    height: auto;
    color: currentColor;
    flex-shrink: 0;
    /* Анимация подёргивания для эффекта "от руки" */
    animation: handDrawn 4s infinite alternate ease-in-out;
}

@keyframes handDrawn {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    100% {
        transform: translateY(-3px) rotate(-1deg);
    }
}

.hero-title .title-highlight-wrap .drawn-text {
    /* Сброс стилей из-за глобального .hero-title span */
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: currentColor;

    font-size: 1rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 720px;
    margin-bottom: 48px;
    line-height: 1.6;
    letter-spacing: -0.01em;
    font-weight: 400;
}

.drawn-underline-wrapper {
    position: relative;
    display: inline-block;
    white-space: nowrap;
    color: #111;
    font-weight: 600;
}

.drawn-underline-svg {
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 16px;
    pointer-events: none;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: underlineDraw 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes underlineDraw {
    to {
        stroke-dashoffset: 0;
    }
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 72px;
}

.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #ffffff;
    color: #111111;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 16px 36px;
    border-radius: 80px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-white:hover {
    transform: translateY(-2px);
    background-color: #f8f8f8;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.15);
}

.phone-icon-btn {
    transition: transform 0.2s ease;
}

.btn-white:hover .phone-icon-btn {
    transform: scale(1.1) rotate(15deg);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--accent);
    color: #ffffff;
    padding: 16px 36px;
    border-radius: 80px;
    font-size: 1.05rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: var(--accent-hover);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

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

.btn-primary:hover .arrow-icon {
    transform: translateX(4px);
}

/* Base changes for glass cards (if needed later) */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

/* Abstract 3D Shapes */
.shape {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    animation: floatShape 8s infinite ease-in-out alternate;
}

.shape-1 {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffffff, #e0dffd 20%, #8782f5 60%, #463bcc);
    box-shadow: 5px 8px 15px rgba(70, 59, 204, 0.25), inset -3px -3px 8px rgba(0, 0, 0, 0.1);
    top: 15%;
    left: 10%;
    animation-duration: 9s;
    animation-delay: -2s;
}

.shape-2 {
    width: 45px;
    height: 45px;
    border-radius: 40% 60% 70% 30% / 40% 50% 50% 50%;
    background: radial-gradient(circle at 40% 30%, #ffffff, #fedbf4 20%, #f988d4 60%, #d543a6);
    box-shadow: 8px 10px 15px rgba(213, 67, 166, 0.2), inset -5px -5px 10px rgba(0, 0, 0, 0.1);
    bottom: calc(25% - 50px);
    right: 15%;
    animation-duration: 12s;
    animation-delay: -5s;
    transform: rotate(20deg);
}

.shape-3 {
    width: 25px;
    height: 25px;
    border-radius: 8px;
    background: linear-gradient(135deg, #aeeaeb, #41e1d7);
    box-shadow: 4px 8px 15px rgba(65, 225, 215, 0.25), inset 1px 1px 5px rgba(255, 255, 255, 0.8);
    top: 25%;
    right: 25%;
    transform: rotate(45deg);
    animation: floatSpin 12s infinite linear;
}

.shape-4 {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffffff, #fff3c4 30%, #ffc800 80%, #e6a000);
    box-shadow: 3px 5px 10px rgba(255, 200, 0, 0.25), inset -3px -3px 8px rgba(0, 0, 0, 0.1);
    bottom: 35%;
    left: 20%;
    animation-duration: 10s;
    animation-delay: -7s;
}

.shape-5 {
    width: 40px;
    height: 14px;
    border-radius: 10px;
    background: linear-gradient(90deg, #ffc800, #ff8c00);
    box-shadow: 4px 6px 12px rgba(255, 140, 0, 0.2), inset 1px 1px 5px rgba(255, 255, 255, 0.5);
    top: 50%;
    left: 5%;
    transform: rotate(-15deg);
    animation-duration: 11s;
    animation-delay: -1s;
}

@keyframes floatShape {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    100% {
        transform: translateY(-20px) rotate(10deg);
    }
}

@keyframes floatSpin {
    0% {
        transform: translateY(0) rotate(45deg);
    }

    50% {
        transform: translateY(-40px) rotate(135deg);
    }

    100% {
        transform: translateY(0) rotate(405deg);
    }
}

/* Demo Section */
.demo-section {
    padding: 100px 5%;
    background-color: var(--bg-light);
    position: relative;
    z-index: 10;
}

.demo-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    position: relative;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 32px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.demo-content {
    flex: 1.3;
    max-width: 58%;
    padding: 64px 40px 64px 64px;
    z-index: 2;
    position: relative;
}

.badge-red {
    background: rgba(255, 77, 77, 0.1);
    border: 1px solid rgba(255, 77, 77, 0.2);
    color: #e03131;
}

.badge-dot-red {
    width: 8px;
    height: 8px;
    background-color: #ff4d4d;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 77, 77, 0.6);
    animation: pulseRed 2s infinite;
}

@keyframes pulseRed {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.5);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 77, 77, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 77, 77, 0);
    }
}

.demo-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #111;
    letter-spacing: -0.03em;
}

.demo-text {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
}

.highlight {
    font-weight: 700;
    color: #111;
}

.demo-action {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-call {
    background-color: #111;
    color: #fff;
}

.call-hint {
    font-size: 0.95rem;
    color: #888;
    font-weight: 500;
}

.demo-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    mix-blend-mode: darken;
    z-index: 1;
    margin-bottom: -10px;
}

.demo-robot-img {
    width: 130%;
    max-width: 900px;
    height: auto;
    object-fit: contain;
    display: block;
    transform: translateX(20%);
}

/* Декоративные фигуры для Demo-секции */
.demo-container {
    overflow: hidden;
}

.demo-shape {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    opacity: 0.7;
    animation: floatShape 8s infinite ease-in-out alternate;
}

/* Лавандовая капля — правее центра, верхняя часть */
.demo-shape-1 {
    width: 38px;
    height: 38px;
    border-radius: 50% 60% 40% 50% / 60% 40% 60% 40%;
    background: radial-gradient(circle at 35% 30%, #ffffff, #d4ccff 25%, #9b8cf5 65%, #6236ff);
    box-shadow: 6px 10px 18px rgba(98, 54, 255, 0.2), inset -3px -3px 8px rgba(0, 0, 0, 0.08);
    top: 12%;
    left: calc(48% + 130px);
    animation-duration: 10s;
    animation-delay: -3s;
}

/* Коралловый шарик — между текстом и картинкой, нижняя треть */
.demo-shape-2 {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffffff, #ffcfc9 25%, #ff6b6b 70%, #e03131);
    box-shadow: 4px 6px 14px rgba(224, 49, 49, 0.2), inset -2px -2px 6px rgba(0, 0, 0, 0.1);
    bottom: 25%;
    left: 42%;
    animation-duration: 11s;
    animation-delay: -6s;
}

/* Мятный ромбик — левая часть, по центру высоты */
.demo-shape-3 {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: linear-gradient(135deg, #b5f5ec, #20c997);
    box-shadow: 3px 6px 12px rgba(32, 201, 151, 0.25), inset 1px 1px 4px rgba(255, 255, 255, 0.8);
    top: 45%;
    left: 15%;
    transform: rotate(45deg);
    animation: floatSpin 14s infinite linear;
}

/* Оранжевый овал — правая часть, ближе к картинке вверху */
.demo-shape-4 {
    width: 35px;
    height: 14px;
    border-radius: 10px;
    background: linear-gradient(90deg, #ffe066, #ff922b);
    box-shadow: 4px 6px 12px rgba(255, 146, 43, 0.2), inset 1px 1px 4px rgba(255, 255, 255, 0.5);
    top: 22%;
    right: 18%;
    transform: rotate(10deg);
    animation-duration: 9s;
    animation-delay: -1s;
}

/* Маленький синий шарик — внизу левее центра */
.demo-shape-5 {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #ffffff, #a5d8ff 30%, #339af0 80%, #1c7ed6);
    box-shadow: 2px 4px 10px rgba(28, 126, 214, 0.25), inset -2px -2px 5px rgba(0, 0, 0, 0.1);
    bottom: 18%;
    left: 25%;
    animation-duration: 8s;
    animation-delay: -4s;
}

/* Розовая полоска — по центру, нижняя часть */
.demo-shape-6 {
    width: 28px;
    height: 10px;
    border-radius: 8px;
    background: linear-gradient(90deg, #fcc2d7, #f06595);
    box-shadow: 3px 5px 10px rgba(240, 101, 149, 0.2), inset 1px 1px 4px rgba(255, 255, 255, 0.6);
    bottom: 35%;
    right: 30%;
    transform: rotate(-20deg);
    animation-duration: 13s;
    animation-delay: -8s;
}

/* ═══════════════════════════════════════════════════
   Третий экран: Галерея кейсов
   ═══════════════════════════════════════════════════ */
.cases-section {
    position: relative;
    padding: 100px 5%;
    /* Яркий современный темный космический фон для контраста карточек */
    background: linear-gradient(135deg, #150525 0%, #200542 50%, #0c051a 100%);
    overflow: hidden;
}

/* Насыщенные огромные неоновые пятна-света */
.cases-glow-1 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 0, 255, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
    top: -10%;
    right: -15%;
    animation-delay: -3s;
}

.cases-glow-2 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 70%);
    top: 30%;
    left: -20%;
    animation-delay: -8s;
}

.cases-glow-3 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
    bottom: -15%;
    right: 15%;
    animation-delay: -12s;
}

.cases-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    margin-bottom: 48px;
}

.cases-header .badge {
    background: rgba(255, 0, 255, 0.15);
    border: 1px solid rgba(255, 0, 255, 0.3);
    color: #ff00ff;
}

.cases-header .badge-dot {
    background-color: #ff00ff;
    box-shadow: 0 0 8px rgba(255, 0, 255, 0.8);
}

.cases-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #ffffff;
    /* Белый заголовок на темном фоне */
    margin-bottom: 20px;
}

.cases-title span {
    background: linear-gradient(135deg, #00ffff 20%, #ff00ff 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.cases-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    line-height: 1.6;
    font-weight: 400;
}

/* Фильтры-кнопки под темный дизайн в две строки */
.cases-filters {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: center;
    gap: 15px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 900px) {
    .cases-filters {
        grid-template-columns: repeat(2, auto);
    }
}

@media (max-width: 768px) {
    .cases-filters {
        grid-template-columns: 1fr;
    }
}

.cases-filter-btn {
    padding: 10px 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 80px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.cases-filter-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(0, 255, 255, 0.4);
    box-shadow: 0 6px 16px rgba(0, 255, 255, 0.2);
    color: #ffffff;
}

.cases-filter-btn.is-active {
    background: linear-gradient(90deg, #ff00ff, #00ffff);
    color: #fff;
    border: none;
    box-shadow: 0 6px 20px rgba(255, 0, 255, 0.4);
}

/* Сетка карточек */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Карточка кейса — стеклянный яркий переливающийся стиль */
.case-card {
    background: rgba(30, 20, 50, 0.5);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    position: relative;
    overflow: hidden;
}

.case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff00ff, #00ffff, #ff8c00);
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

.case-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.15);
    border-color: rgba(0, 255, 255, 0.3);
    background: rgba(40, 30, 70, 0.7);
}

.case-card:hover::before {
    opacity: 1;
}

.case-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.case-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Стилизация аудиоплеера под темную тему */
.case-card audio {
    width: 100%;
    height: 36px;
    border-radius: 80px;
    outline: none;
    filter: invert(0.9) hue-rotate(180deg);
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.case-card:hover audio {
    opacity: 1;
}

/* Декоративные фигуры для секции кейсов */
.cases-shape {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
    animation: floatShape 8s infinite ease-in-out alternate;
}

/* Большой фиолетовый круг — фон справа */
.cases-shape-1 {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffffff, #d4ccff 25%, #9b8cf5 65%, #6236ff);
    box-shadow: 8px 12px 20px rgba(98, 54, 255, 0.15);
    top: calc(8% - 60px);
    right: 10%;
    animation-duration: 12s;
    animation-delay: -2s;
}

/* Розовая капля — слева по центру */
.cases-shape-2 {
    width: 30px;
    height: 30px;
    border-radius: 50% 40% 60% 50% / 40% 50% 40% 60%;
    background: radial-gradient(circle at 40% 30%, #ffffff, #fedbf4 20%, #f988d4 60%, #d543a6);
    box-shadow: 5px 8px 15px rgba(213, 67, 166, 0.15);
    top: 35%;
    left: 6%;
    animation-duration: 10s;
    animation-delay: -4s;
}

/* Жёлтый кубик — снизу по центру */
.cases-shape-3 {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    background: linear-gradient(135deg, #ffe066, #ffc800);
    box-shadow: 3px 5px 10px rgba(255, 200, 0, 0.2);
    bottom: 12%;
    left: 40%;
    transform: rotate(30deg);
    animation: floatSpin 16s infinite linear;
}

/* Бирюзовый шарик — справа внизу */
.cases-shape-4 {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #ffffff, #aeeaeb 30%, #41e1d7 80%);
    box-shadow: 3px 6px 12px rgba(65, 225, 215, 0.2);
    bottom: 25%;
    right: 8%;
    animation-duration: 9s;
    animation-delay: -6s;
}

/* Оранжевая полоска — сверху слева */
.cases-shape-5 {
    width: 32px;
    height: 12px;
    border-radius: 8px;
    background: linear-gradient(90deg, #ffc800, #ff8c00);
    box-shadow: 3px 4px 10px rgba(255, 140, 0, 0.15);
    top: 15%;
    left: 15%;
    transform: rotate(-10deg);
    animation-duration: 11s;
    animation-delay: -1s;
}

/* ═══════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .drawn-how-it-works {
        display: none;
        /* Скрываем на мобилках, чтобы не ломать ширину экрана */
    }

    .drawn-how-it-works-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: #6236ff;
        margin-bottom: 24px;
        transform: rotate(0deg);
        z-index: 10;
        animation: btnTwitchMobile 1s infinite;
    }

    .drawn-how-it-works-mobile .drawn-text {
        font-size: 0.95rem;
        font-weight: 800;
        line-height: 1.1;
        letter-spacing: -0.01em;
        text-transform: uppercase;
        text-align: left;
    }

    .drawn-how-it-works-mobile .drawn-play-icon {
        width: 32px;
        height: 32px;
    }

    .drawn-arrow-svg-mobile {
        width: 35px;
        height: auto;
        color: currentColor;
        margin-top: -5px;
        animation: handDrawn 4s infinite alternate ease-in-out;
    }

    @keyframes btnTwitchMobile {

        0%,
        70%,
        100% {
            transform: translateY(0) rotate(0deg) scale(1);
        }

        80% {
            transform: translateY(-2px) rotate(-2deg) scale(1.05);
        }

        90% {
            transform: translateY(2px) rotate(2deg) scale(1.02);
        }
    }

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

    .nav-links {
        display: none;
    }

    .hero-content {
        margin-top: 60px;
    }

    .demo-container {
        flex-direction: column;
        gap: 0;
    }

    .demo-content {
        max-width: 100%;
        padding: 40px 24px 20px 24px;
    }

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

    .demo-action {
        flex-direction: column;
        justify-content: center;
    }

    .demo-image-wrapper {
        width: 100%;
        margin-top: 10px;
    }

    .demo-robot-img {
        width: 120%;
        transform: translateX(10%);
    }

    /* Галерея кейсов — мобильная */
    .cases-section {
        padding: 60px 5%;
    }

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

    .cases-subtitle {
        font-size: 1rem;
    }

    .cases-filters {
        gap: 8px;
        margin-bottom: 28px;
    }

    .cases-filter-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .cases-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .case-card {
        padding: 24px;
    }
}

@media (min-width: 769px) and (max-width: 1100px) {
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ═══════════════════════════════════════════════════
   Оптимизация FPS (Скрытие фигур при открытом модалке)
   ═══════════════════════════════════════════════════ */
body.hide-bg-shapes .shape,
body.hide-bg-shapes .demo-shape,
body.hide-bg-shapes .cases-shape,
body.hide-bg-shapes .bg-glow,
body.hide-bg-shapes .drawn-how-it-works {
    display: none !important;
    animation: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* ═══════════════════════════════════════════════════
   Video Modal
   ═══════════════════════════════════════════════════ */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.video-modal-container {
    position: relative;
    width: 90%;
    max-width: 700px;
    background: transparent;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: visible;
    /* Чтобы крестик закрытия не обрезался снаружи */
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
}

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

.video-modal-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 8px;
    opacity: 0.7;
    transition: all 0.2s;
    z-index: 2;
}

.video-modal-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

.video-modal-aspect-ratio {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    background: #000;
    border-radius: 16px;
    overflow: hidden;
}

.video-modal-aspect-ratio video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    outline: none;
    border: none;
}

@media (max-width: 768px) {
    .video-modal-close {
        top: 10px;
        right: 10px;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 50%;
    }
}

/* ═══════════════════════════════════════════════════
   Target Audience Section (Cards)
   ═══════════════════════════════════════════════════ */
.target-audience-section {
    padding: 100px 5%;
    background-color: var(--bg-light);
    position: relative;
    z-index: 10;
}

.target-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    margin-bottom: 64px;
}

.target-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #111;
    margin-bottom: 20px;
    margin-top: 16px;
}

.target-title span {
    background: linear-gradient(135deg, var(--gradient-text-start) 20%, var(--gradient-text-end) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.target-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 800px;
    line-height: 1.6;
    font-weight: 400;
}

.target-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.target-card {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.target-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.target-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.target-card:hover .target-card-bg {
    transform: scale(1.08) translateY(-5%);
}

.target-card-content {
    background: #ffffff;
    border-radius: 28px;
    margin: 16px;
    padding: 28px 24px;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.target-card-title {
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.35;
    color: #111;
    margin: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.target-card-details {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 0;
    padding-top: 0;
    color: var(--text-muted);
}

.target-card:hover .target-card-details {
    grid-template-rows: 1fr;
    opacity: 1;
    margin-top: 16px;
}

.details-inner {
    overflow: hidden;
    font-size: 0.95rem;
    line-height: 1.5;
}

.target-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.1s;
}

.target-card:hover .target-card-footer {
    opacity: 1;
    transform: translateY(0);
}

.footer-text {
    font-weight: 700;
    color: #111;
    font-size: 0.95rem;
}

.target-btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

.target-btn-icon:hover {
    transform: scale(1.1);
    background: #6236ff;
}

@media (max-width: 1200px) {
    .target-cards-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .target-cards-wrapper {
        grid-template-columns: 1fr;
    }

    .target-card {
        height: 500px;
    }

    .target-title {
        font-size: 2.2rem;
    }

    /* Reveal details on mobile by default or keep touch hover effect */
    .target-card:active .target-card-details {
        grid-template-rows: 1fr;
        opacity: 1;
        margin-top: 16px;
    }

    .target-card:active .target-card-bg {
        transform: scale(1.08) translateY(-5%);
    }

    .target-card:active .target-card-footer {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ═══════════════════════════════════════════════════
   Блок : Чем мы рвем конкурентов (LPTracker vs Остальные)
   ═══════════════════════════════════════════════════ */
.vs-section {
    padding: 100px 5%;
    background-color: var(--bg-light);
    position: relative;
    z-index: 10;
}

.vs-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 400px);
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.vs-card-vertical {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    height: 100% !important;
}

.vs-card-square {
    height: 100% !important;
}

.vs-card-content {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

@media (max-width: 1200px) {
    .vs-cards-wrapper {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto auto auto;
    }

    .vs-card-vertical {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
        height: 450px !important;
    }

    .vs-card-square {
        height: 400px !important;
    }
}

@media (max-width: 768px) {
    .vs-cards-wrapper {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .vs-card-vertical {
        grid-column: 1 / 2;
        grid-row: auto;
        height: 500px !important;
    }

    .vs-card-square {
        height: 500px !important;
    }
}

/* ═══════════════════════════════════════════════════
   СУПЕР-ОФФЕР + Услуга "Под ключ" (Doodle style)
   ═══════════════════════════════════════════════════ */
.offer-section {
    padding: 100px 5%;
    background-color: var(--bg-light);
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.offer-header {
    margin-bottom: 60px;
}

.offer-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 16px;
    box-sizing: border-box;
}

/* Выделенный текст в оффер‑секции — адаптивный размер */
.offer-highlight-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 24px;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (max-width: 768px) {
    .offer-highlight-text {
        font-size: 1.1rem;
        margin-bottom: 16px;
    }

    /* Перебиваем white-space: nowrap и display: inline-block из .drawn-underline-wrapper —
       именно они блокировали перенос текста на мобильных */
    .offer-highlight-text.drawn-underline-wrapper {
        white-space: normal !important;
        display: block !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* На мобильных подчёркивание под многострочным текстом выглядит некорректно — скрываем */
    .offer-highlight-text .drawn-underline-svg {
        display: none;
    }

    .offer-intro {
        padding: 0 8px;
    }

    .offer-intro .target-subtitle {
        font-size: 0.95rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

.offer-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.offer-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 0;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 0, 255, 0.3);
    box-shadow: 0 15px 40px rgba(255, 0, 255, 0.08);
}

.offer-card-num {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 1.2rem;
    font-weight: 800;
    color: #333;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    z-index: 5;
    backdrop-filter: blur(4px);
}

.offer-card-image {
    width: 100%;
    height: 220px;
    margin-bottom: 0;
    position: relative;
    background-size: cover;
    background-position: center;
    border-top-left-radius: 19px;
    border-top-right-radius: 19px;
}

.offer-card-text {
    padding: 28px 24px 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.offer-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 12px;
    line-height: 1.35;
}

.offer-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0;
}

/* Snake Grid Positioning */
.offer-card.c1 {
    grid-area: 1 / 1 / 2 / 2;
}

.offer-card.c2 {
    grid-area: 1 / 2 / 2 / 3;
}

.offer-card.c3 {
    grid-area: 1 / 3 / 2 / 4;
}

.offer-card.c4 {
    grid-area: 2 / 3 / 3 / 4;
}

.offer-card.c5 {
    grid-area: 2 / 2 / 3 / 3;
}

.offer-card.c6 {
    grid-area: 2 / 1 / 3 / 2;
}

/* Hand-drawn arrows using Pseudo-elements */
.offer-card::after {
    content: '';
    position: absolute;
    pointer-events: none;
    z-index: 10;
}

/* Arrow: Right -> (c1, c2) */
.offer-card.c1::after,
.offer-card.c2::after {
    top: 50%;
    right: -55px;
    width: 50px;
    height: 40px;
    background: url('data:image/svg+xml;utf8,<svg width="50" height="40" viewBox="0 0 50 40" xmlns="http://www.w3.org/2000/svg"><path d="M5,20 Q25,5 45,20" stroke="%23ff00ff" stroke-width="2" fill="none" stroke-dasharray="6 4" stroke-linecap="round"/><path d="M35,12 L45,20 L35,28" stroke="%23ff00ff" stroke-width="2" fill="none" stroke-linecap="round"/></svg>') no-repeat center;
    transform: translateY(-50%);
}

/* Arrow: Down v (c3) */
.offer-card.c3::after {
    bottom: -55px;
    left: 50%;
    width: 40px;
    height: 50px;
    background: url('data:image/svg+xml;utf8,<svg width="40" height="50" viewBox="0 0 40 50" xmlns="http://www.w3.org/2000/svg"><path d="M20,5 Q30,25 20,45" stroke="%23ff00ff" stroke-width="2" fill="none" stroke-dasharray="6 4" stroke-linecap="round"/><path d="M12,35 L20,45 L28,35" stroke="%23ff00ff" stroke-width="2" fill="none" stroke-linecap="round"/></svg>') no-repeat center;
    transform: translateX(-50%);
}

/* Arrow: Left <- (c4, c5) */
.offer-card.c4::after,
.offer-card.c5::after {
    top: 50%;
    left: -55px;
    width: 50px;
    height: 40px;
    background: url('data:image/svg+xml;utf8,<svg width="50" height="40" viewBox="0 0 50 40" xmlns="http://www.w3.org/2000/svg"><path d="M45,20 Q25,35 5,20" stroke="%23ff00ff" stroke-width="2" fill="none" stroke-dasharray="6 4" stroke-linecap="round"/><path d="M15,12 L5,20 L15,28" stroke="%23ff00ff" stroke-width="2" fill="none" stroke-linecap="round"/></svg>') no-repeat center;
    transform: translateY(-50%);
}

/* Hide arrow for c6 */
.offer-card.c6::after {
    display: none;
}

@media (max-width: 1024px) {
    .offer-steps {
        gap: 40px;
    }

    .offer-card.c1::after,
    .offer-card.c2::after {
        right: -35px;
        width: 30px;
    }

    .offer-card.c4::after,
    .offer-card.c5::after {
        left: -35px;
        width: 30px;
    }
}

@media (max-width: 768px) {
    .offer-steps {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 40px;
    }

    .offer-card {
        grid-area: auto !important;
    }

    /* On mobile, all arrows point down */
    .offer-card::after {
        top: auto !important;
        right: auto !important;
        left: 50% !important;
        bottom: -35px !important;
        width: 30px !important;
        height: 30px !important;
        background: url('data:image/svg+xml;utf8,<svg width="30" height="30" viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"><path d="M15,0 L15,25" stroke="%23ff00ff" stroke-width="2" fill="none" stroke-dasharray="4 4" stroke-linecap="round"/><path d="M8,18 L15,25 L22,18" stroke="%23ff00ff" stroke-width="2" fill="none" stroke-linecap="round"/></svg>') no-repeat center !important;
        transform: translateX(-50%) !important;
    }

    .offer-card.c6::after {
        display: none !important;
    }
}

/* ═══════════════════════════════════════════════════
   Финальный призыв к действию (CTA Section)
   ═══════════════════════════════════════════════════ */
.final-cta-section {
    position: relative;
    padding: 120px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: var(--bg-color, #050505);
    /* Темный фон для контраста формы */
}

/* Эффекты свечения на фоне */
.cta-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 1;
    pointer-events: none;
}

.cta-orb-left {
    width: 400px;
    height: 400px;
    background: rgba(255, 0, 255, 0.4);
    top: -100px;
    left: -150px;
    animation: drift 10s ease-in-out infinite alternate;
}

.cta-orb-right {
    width: 500px;
    height: 500px;
    background: rgba(0, 255, 255, 0.2);
    bottom: -100px;
    right: -200px;
    animation: drift 12s ease-in-out infinite alternate-reverse;
}

/* Контейнер-карточка (Glassmorphism) */
.cta-container {
    position: relative;
    z-index: 10;
    max-width: 800px;
    width: 100%;
    background: rgba(25, 25, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px);
    border-radius: 30px;
    padding: 70px 50px;
    text-align: center;
}

.cta-title {
    font-size: 2.8rem;
    margin-bottom: 24px;
    color: #ffffff;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.cta-title span {
    background: linear-gradient(135deg, #ff00ff, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin-bottom: 45px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* Форма */
.cta-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 420px;
    margin: 0 auto;
}

.cta-form input {
    width: 100%;
    padding: 18px 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
    font-family: inherit;
}

.cta-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.cta-form input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 0, 255, 0.6);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.2);
}

/* Яркая неоновая кнопка (переосмысленная) */
.cta-submit-btn {
    margin-top: 10px;
    width: 100%;
    padding: 20px 24px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(90deg, #ff00ff, #8a2be2, #00ffff);
    background-size: 200% auto;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(255, 0, 255, 0.3), inset 0 2px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    animation: shine-gradient 5s linear infinite;
}

.cta-submit-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 255, 255, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.3);
}

.cta-submit-btn:active {
    transform: translateY(1px);
    box-shadow: 0 5px 10px rgba(0, 255, 255, 0.3);
}

@keyframes shine-gradient {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

@keyframes drift {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 30px);
    }
}

@media (max-width: 768px) {
    .final-cta-section {
        padding: 80px 5%;
    }

    .cta-container {
        padding: 50px 25px;
    }

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

    .cta-subtitle {
        font-size: 1.05rem;
    }

    .cta-orb-left {
        width: 300px;
        height: 300px;
    }

    .cta-orb-right {
        width: 300px;
        height: 300px;
    }
}

/* ═══════════════════════════════════════════════════
   Модалка: Заказ звонка
   ═══════════════════════════════════════════════════ */
.phone-modal-content {
    background: rgba(20, 20, 25, 0.85);
    /* Более темный грассморфизм для контраста */
    max-width: 500px;
    text-align: center;
    padding: 50px 40px;
}

.phone-modal-body h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
}

.phone-modal-body h2 span {
    background: linear-gradient(135deg, #ff00ff, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.phone-modal-body p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    line-height: 1.5;
}

.phone-number a {
    display: inline-block;
    font-size: 2.2rem;
    font-weight: 800;
    color: #00ffff;
    text-decoration: none;
    letter-spacing: 1px;
    margin-bottom: 25px;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
    transition: transform 0.2s ease, text-shadow 0.2s ease;
}

.phone-number a:hover {
    transform: scale(1.05);
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.8);
}

.modal-divider {
    position: relative;
    text-align: center;
    margin: 30px 0;
}

.modal-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.modal-divider span {
    position: relative;
    background: #141419;
    padding: 0 15px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    z-index: 2;
}

.phone-modal-body h3 {
    font-size: 1.4rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 10px;
}

.callback-success-msg {
    display: none;
    color: #00ffff;
    margin-top: 25px;
    font-size: 1.1rem;
    font-weight: 500;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

/* ═══════════════════════════════════════════════════
   Финальный призыв к действию (CTA Section)
   ═══════════════════════════════════════════════════ */
.final-cta-section {
    position: relative;
    padding: 120px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: var(--bg-color, #050505);
    /* Темный фон для контраста формы */
}

/* Эффекты свечения на фоне */
.cta-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 1;
    pointer-events: none;
}

.cta-orb-left {
    width: 400px;
    height: 400px;
    background: rgba(255, 0, 255, 0.4);
    top: -100px;
    left: -150px;
    animation: drift 10s ease-in-out infinite alternate;
}

.cta-orb-right {
    width: 500px;
    height: 500px;
    background: rgba(0, 255, 255, 0.2);
    bottom: -100px;
    right: -200px;
    animation: drift 12s ease-in-out infinite alternate-reverse;
}

/* Контейнер-карточка (Glassmorphism) */
.cta-container {
    position: relative;
    z-index: 10;
    max-width: 800px;
    width: 100%;
    background: rgba(25, 25, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px);
    border-radius: 30px;
    padding: 70px 50px;
    text-align: center;
}

.cta-title {
    font-size: 2.8rem;
    margin-bottom: 24px;
    color: #ffffff;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.cta-title span {
    background: linear-gradient(135deg, #ff00ff, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin-bottom: 45px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* Форма */
.cta-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 420px;
    margin: 0 auto;
}

.cta-form input {
    width: 100%;
    padding: 18px 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
    font-family: inherit;
}

.cta-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.cta-form input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 0, 255, 0.6);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.2);
}

/* Яркая неоновая кнопка (переосмысленная) */
.cta-submit-btn {
    margin-top: 10px;
    width: 100%;
    padding: 20px 24px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(90deg, #ff00ff, #8a2be2, #00ffff);
    background-size: 200% auto;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(255, 0, 255, 0.3), inset 0 2px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    animation: shine-gradient 5s linear infinite;
}

.cta-submit-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 255, 255, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.3);
}

.cta-submit-btn:active {
    transform: translateY(1px);
    box-shadow: 0 5px 10px rgba(0, 255, 255, 0.3);
}

@keyframes shine-gradient {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

@keyframes drift {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 30px);
    }
}

@media (max-width: 768px) {
    .final-cta-section {
        padding: 80px 5%;
    }

    .cta-container {
        padding: 50px 25px;
    }

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

    .cta-subtitle {
        font-size: 1.05rem;
    }

    .cta-orb-left {
        width: 300px;
        height: 300px;
    }

    .cta-orb-right {
        width: 300px;
        height: 300px;
    }
}

/* =========================================
   ФУТЕР
   ========================================= */
.site-footer {
    background-color: #0c051a;
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 5% 30px;
    position: relative;
    overflow: hidden;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    top: -300px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-logo img {
    margin-bottom: 20px;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-logo img:hover {
    opacity: 1;
}

.footer-company-info {
    line-height: 1.6;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-phone {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-phone:hover {
    color: #00ffff;
}

.footer-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #ff00ff;
    padding-left: 5px;
}

.footer-address p {
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    color: #00ffff;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 992px) {
    .footer-row {
        gap: 30px;
    }

    .footer-col {
        min-width: calc(50% - 30px);
    }
}

@media (max-width: 576px) {
    .footer-col {
        min-width: 100%;
        text-align: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-links a:hover {
        padding-left: 0;
    }
}