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

html,
body {
    background-color: #0A0F1A;
    font-family: 'Inter', sans-serif;
    color: #E6F1FF;
    line-height: 1.5;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

:root {
    --bg-dark: #0A0F1A;
    --bg-card: #0F1728;
    --bg-elevated: #111827;
    --primary-blue: #0A2B4E;
    --accent-cyan: #7892e7;
    --accent-glow: rgba(16, 43, 194, 0.2);
    --text-light: #F0F9FF;
    --text-dim: #9CA3AF;
    --border-dim: #1E2A3A;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.container-logo-liner {
    display: flex;
    justify-content: start;
    align-items: center;
}

.logo-title {
    width: 45px;
    height: 45px;
    transition: all 0.5s ease-in-out;
}

.logo-title:hover,
.logo-title:focus {
    animation: shakeSmooth 0.4s ease-in-out;
}

@keyframes shakeSmooth {

    0%,
    100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(0, -3px);
    }

    50% {
        transform: translate(3px, 0);
    }

    75% {
        transform: translate(-3px, 3px);
    }
}

.logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 15, 26, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(45, 212, 191, 0.3);
    padding: 20px 28px;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cookie-icon {
    font-size: 2rem;
    color: var(--accent-cyan);
    animation: cookieWiggle 3s infinite ease-in-out;
}

@keyframes cookieWiggle {

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

    25% {
        transform: rotate(-8deg);
    }

    75% {
        transform: rotate(8deg);
    }
}

.cookie-text p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-dim);
}

.cookie-text a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.cookie-text a:hover {
    text-decoration: underline;
    text-shadow: 0 0 5px var(--accent-glow);
}

.cookie-buttons {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, var(--accent-cyan), #1a9f8f);
    color: #0A0F1A;
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 212, 191, 0.4);
}

.cookie-btn-decline {
    background: transparent;
    border: 1px solid var(--border-dim);
    color: var(--text-dim);
}

.cookie-btn-decline:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: rgba(45, 212, 191, 0.1);
}

.bg-animate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: radial-gradient(circle at 10% 20%, #0A1122, #03070f);
}

.bg-animate::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.08) 0%, rgba(10, 43, 78, 0) 70%);
    animation: slowRotate 30s infinite linear;
    z-index: -1;
}

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

    100% {
        transform: rotate(360deg);
    }
}

.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.25;
    z-index: -1;
    animation: floatOrb 18s infinite alternate ease-in-out;
}

.orb1 {
    width: 40vw;
    height: 40vw;
    background: #2d59d4;
    bottom: -20vh;
    left: -10vw;
}

.orb2 {
    width: 30vw;
    height: 30vw;
    background: #1E3A8A;
    top: -15vh;
    right: -10vw;
    animation-duration: 25s;
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(5%, 5%) scale(1.1);
    }
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
    position: relative;
}

header {
    padding: 24px 0;
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 15, 26, 0.75);
    border-bottom: 1px solid rgba(45, 212, 191, 0.2);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #FFFFFF, #2d54d4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;

    margin: 0;
}

.logo p {
    font-size: 0.75rem;
    color: var(--accent-cyan);
    letter-spacing: 1px;
}

/* Десктопное меню */
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background: var(--accent-cyan);
    transition: 0.25s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Бургер */
.burger {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--accent-cyan);
    z-index: 1002;
    transition: transform 0.3s;
}

.burger:hover {
    transform: scale(1.1);
}

/* Оверлей */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 100;
    display: none;
}

.btn {
    display: inline-block;
    background: transparent;
    border: 1.5px solid var(--accent-cyan);
    color: var(--accent-cyan);
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent-cyan);
    color: #0A0F1A;
    border: none;
    box-shadow: 0 0 12px rgba(1, 34, 223, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(0, 15, 224, 0.7);
    background: #1e48bd;
}

.btn-outline:hover {
    background: rgba(1, 40, 148, 0.1);
    transform: translateY(-2px);
}

.hero {
    padding: 80px 0 60px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
    min-width: 280px;
}

.hero-content h1 {
    font-size: 3.3rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(to right, #FFFFFF, hsl(214, 93%, 58%));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 550px;
    margin-bottom: 32px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 20px;
}

.stat span {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-cyan);
}

.hero-visual {
    flex: 0.8;
    text-align: center;
    font-size: 7rem;
    animation: floatIcon 3s infinite alternate;
}

@keyframes floatIcon {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-15px);
    }
}

.img-title {
    display: inline-block;
    width: 500px;
    height: 500px;
}

section {
    padding: 80px 0;
}

.section-title {
    display: inline-block;
    position: relative;

    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;

    text-align: center;

    width: 100%;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 35%;
    width: 30%;
    height: 4px;
    background: var(--accent-cyan);
    border-radius: 4px;
}

.section-sub {
    color: var(--text-dim);
    font-size: 1.1rem;

    margin-bottom: 48px;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;

    margin-top: 20px;
}

.service-card {
    background: rgba(15, 23, 40, 0.6);
    backdrop-filter: blur(4px);

    border: 2px solid var(--border-dim);
    border-radius: 28px;

    padding: 32px 24px;
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-cyan);

    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.5);
    background: rgba(17, 24, 39, 0.8);
}

.service-icon {
    font-size: 2.8rem;
    color: var(--accent-cyan);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.tech-stack {
    background: linear-gradient(135deg, rgba(15, 23, 40, 0.5), rgba(10, 15, 26, 0.8));
    border-radius: 48px;
    padding: 48px 32px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(45, 212, 191, 0.2);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.tech-item {
    position: relative;

    text-align: center;

    padding: 24px 16px;

    background: rgba(10, 15, 26, 0.5);
    border-radius: 24px;
    backdrop-filter: blur(4px);

    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    cursor: pointer;
    border: 1px solid transparent;

    overflow: hidden;
}

.tech-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(45, 212, 191, 0.1), transparent);
    transition: left 0.6s;
}

.tech-item:hover::before {
    left: 100%;
}

.tech-item:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent-cyan);
    box-shadow: 0 15px 30px -12px rgba(45, 212, 191, 0.3);
}

.tech-icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
    transition: transform 0.3s;
}

.tech-item:hover .tech-icon {
    transform: scale(1.1) rotate(5deg);
}

.tech-icon img {
    width: 50px;
    height: 50px;
}

.tech-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 8px;
}

.tech-item p {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 4px;
}

.tech-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--border-dim);
    padding-bottom: 16px;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 10px 24px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    color: var(--text-dim);
    cursor: pointer;
    border-radius: 40px;
    transition: all 0.3s ease;
    position: relative;
}

.tab-btn:hover {
    color: var(--accent-cyan);
    background: rgba(45, 212, 191, 0.1);
}

.tab-btn.active {
    color: var(--accent-cyan);
    background: rgba(45, 212, 191, 0.15);
    box-shadow: 0 0 10px rgba(45, 212, 191, 0.2);
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

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

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

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
}

.portfolio-item {
    background: var(--bg-card);
    border-radius: 28px;
    overflow: hidden;
    transition: all 0.35s ease;
    border: 2px solid var(--border-dim);
    backdrop-filter: blur(2px);
}

.portfolio-item:hover {
    transform: scale(1.02);
    border-color: var(--accent-cyan);
    box-shadow: 0 20px 32px -12px rgba(0, 0, 0, 0.6);
}

.portfolio-img {
    background: linear-gradient(145deg, #0F1A2F, #081020);
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--accent-cyan);
    transition: 0.2s;

    margin-bottom: 10px;
}

.portfolio-info {
    padding: 24px;
}

.portfolio-info h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.portfolio-info p {
    color: var(--text-dim);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}

.project-link i {
    transition: transform 0.2s;
}

.project-link:hover i {
    transform: translateX(6px);
}

.contact-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    justify-content: space-between;
}

.contact-info {
    flex: 1;
}

.contact-details {
    margin-top: 32px;
}

.contact-details p {
    margin: 16px 0;
    display: flex;
    align-items: center;
    gap: 14px;

    transition: all .5s ease-in-out;
}

.contact-details p:hover,
.contact-details p:focus {
    color: rgba(62, 180, 248, 0.801)
}

.contact-details i {
    width: 32px;
    color: var(--accent-cyan);
    font-size: 1.4rem;
}

.checkbox-group {
    margin: 20px 0;
    width: 100%;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.4;
    position: relative;
}

.checkbox-label input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    cursor: pointer;
}

.checkmark {
    position: relative;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-dim);
    border-radius: 4px;
    transition: all 0.2s ease;
    margin-top: 2px;
}

.checkmark::after {
    content: '';
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label input:checked~.checkmark {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
}

.checkbox-label input:checked~.checkmark::after {
    display: block;
}

.checkbox-label input:focus~.checkmark {
    box-shadow: 0 0 0 2px rgba(120, 146, 231, 0.3);
}

.checkbox-label:hover .checkmark {
    border-color: var(--accent-cyan);
}

.checkbox-text a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: color 0.2s;
}

.checkbox-text a:hover {
    text-decoration: underline;
    color: #fff;
}

/* Ошибка для чекбокса */
.checkbox-label input:invalid~.checkmark {
    border-color: #ff6b6b;
}

.privacy-error {
    color: #ff6b6b;
    font-size: 0.75rem;
    margin-top: 8px;
    display: block;
}

.social-links {
    display: flex;
    gap: 24px;
    margin-top: 32px;
}

.social-links a {
    background: rgba(45, 212, 191, 0.1);
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.2s;
    color: white;
    font-size: 1.4rem;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--accent-cyan);
    color: #0A0F1A;
    transform: translateY(-4px);
}

.contact-form {
    flex: 1;
    background: rgba(15, 23, 40, 0.5);
    padding: 32px;
    border-radius: 32px;
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-dim);
}

.input-group {
    margin-bottom: 20px;
}

input,
textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-dim);
    border-radius: 20px;
    padding: 14px 18px;
    font-family: 'Inter', sans-serif;
    color: white;
    transition: 0.2s;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 5px var(--accent-glow);
}

button[type="submit"] {
    width: 100%;
    background: var(--accent-cyan);
    border: none;
    padding: 14px;
    font-weight: bold;
    border-radius: 40px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.2s;
}

.privacy-block {
    width: 100%;

    border-top: 1px solid var(--border-dim);
    padding: 32px 0;
    text-align: center;
    color: var(--text-dim);
}

.privacy-block-liner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Секция партнёров */
.partners {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    text-align: center;

    padding: 2rem 1rem 3rem 1rem;
}

@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 80px;
    margin: 1rem 0;
    /* Плавное появление/исчезновение логотипов у левого и правого края */
    mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}

.carousel-track-container {
    overflow-x: auto;
    overflow-y: hidden;
    cursor: grab;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.carousel-track-container:active {
    cursor: grabbing;
}

.carousel-track-container::-webkit-scrollbar {
    display: none;
}

.partners-logo {
    display: flex;
    gap: 3rem;
    align-items: center;
    justify-content: flex-start;
    padding: 1.2rem 2rem;
    width: max-content;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;

    padding: 0.9rem 1.8rem;

    transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.logo-item:hover {
    transform: translateY(-6px) scale(1.02);
}

.logo-item img {
    max-height: 90px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Подсказка для пользователя */
.carousel-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;

    margin-top: 1.8rem;
    font-size: 0.9rem;
    color: white;

    width: fit-content;
    margin-left: auto;
    margin-right: auto;

    padding: 8px 24px;

    font-weight: 500;
}

.drag-icon {
    font-size: 1.2rem;
    animation: slightMove 1.4s infinite;
}

@keyframes slightMove {
    0% {
        transform: translateX(0px);
    }

    50% {
        transform: translateX(4px);
    }

    100% {
        transform: translateX(0px);
    }
}

/* Кнопки навигации */
.nav-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.nav-btn {
    background: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 60px;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2c3e4e;
    font-weight: bold;
}

.nav-btn:hover {
    background: var(--accent-cyan);
    color: white;
    transform: scale(1.05);
}

footer {
    border-top: 1px solid var(--border-dim);
    padding: 32px 0;
    text-align: center;
    color: var(--text-dim);
}

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: all 0.7s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.icon-social-link {
    width: 25px;
    height: 25px;
}

.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0A0F1A;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    backdrop-filter: blur(2px);
}

.loader-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Основной контейнер анимации */
.digital-loader {
    position: relative;
    width: 120px;
    height: 120px;
}

/* Анимированные точки-пиксели (матричный стиль) */
.loader-pixel {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 1px;
    opacity: 0;
    animation: pixelBlink 1.2s infinite ease-in-out;
}

/* Расположение точек по кругу */
.loader-pixel:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.loader-pixel:nth-child(2) {
    top: 25%;
    right: 0;
    transform: translateX(50%);
    animation-delay: 0.1s;
}

.loader-pixel:nth-child(3) {
    bottom: 25%;
    right: 0;
    transform: translateX(50%);
    animation-delay: 0.2s;
}

.loader-pixel:nth-child(4) {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0.3s;
}

.loader-pixel:nth-child(5) {
    bottom: 25%;
    left: 0;
    transform: translateX(-50%);
    animation-delay: 0.4s;
}

.loader-pixel:nth-child(6) {
    top: 25%;
    left: 0;
    transform: translateX(-50%);
    animation-delay: 0.5s;
}

@keyframes pixelBlink {

    0%,
    100% {
        opacity: 0;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
        background: var(--accent-cyan);
        box-shadow: 0 0 8px var(--accent-cyan);
    }
}

/* Центральный вращающийся куб */
.loader-cube {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    animation: cubeRotate 1.5s infinite ease-in-out;
    border-radius: 4px;
}

@keyframes cubeRotate {
    0% {
        transform: rotate(0deg) scale(0.8);
        opacity: 0.5;
        border-radius: 4px;
    }

    50% {
        transform: rotate(180deg) scale(1.1);
        opacity: 1;
        border-radius: 12px;
        box-shadow: 0 0 20px rgba(45, 212, 191, 0.6);
    }

    100% {
        transform: rotate(360deg) scale(0.8);
        opacity: 0.5;
        border-radius: 4px;
    }
}

/* Внешнее кольцо с пунктиром */
.loader-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px dashed rgba(45, 212, 191, 0.3);
    border-radius: 50%;
    animation: ringSpin 3s infinite linear;
}

.loader-ring::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 1px solid var(--accent-cyan);
    border-radius: 50%;
    opacity: 0.5;
    animation: ringPulse 2s infinite ease-out;
}

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

    100% {
        transform: rotate(360deg);
    }
}

@keyframes ringPulse {

    0%,
    100% {
        opacity: 0.2;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* Светящиеся линии по углам */
.loader-corner {
    position: absolute;
    width: 20px;
    height: 20px;
}

.loader-corner::before,
.loader-corner::after {
    content: '';
    position: absolute;
    background: var(--accent-cyan);
    transition: all 0.3s;
}

.loader-corner.top-left {
    top: -10px;
    left: -10px;
}

.loader-corner.top-left::before {
    top: 0;
    left: 0;
    width: 2px;
    height: 15px;
    animation: cornerGlow 1.2s infinite alternate;
}

.loader-corner.top-left::after {
    top: 0;
    left: 0;
    width: 15px;
    height: 2px;
    animation: cornerGlow 1.2s infinite alternate 0.3s;
}

.loader-corner.bottom-right {
    bottom: -10px;
    right: -10px;
}

.loader-corner.bottom-right::before {
    bottom: 0;
    right: 0;
    width: 2px;
    height: 15px;
    animation: cornerGlow 1.2s infinite alternate 0.6s;
}

.loader-corner.bottom-right::after {
    bottom: 0;
    right: 0;
    width: 15px;
    height: 2px;
    animation: cornerGlow 1.2s infinite alternate 0.9s;
}

@keyframes cornerGlow {
    0% {
        opacity: 0.3;
        box-shadow: 0 0 2px var(--accent-cyan);
    }

    100% {
        opacity: 1;
        box-shadow: 0 0 10px var(--accent-cyan);
    }
}

/*Пульсация кнопок*/

.btn-pulse {
    position: relative;
    animation: btnGlow 2s ease-in-out infinite;
    overflow: visible;
}

/* Основной эффект пульсации */
@keyframes btnGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(45, 145, 212, 0.7);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(45, 131, 212, 0.2);
        transform: scale(1.02);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(28, 115, 185, 0);
        transform: scale(1);
    }
}

/* Дополнительная пульсация для ripple-эффекта (волны) */
.btn-pulse::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(42, 136, 180, 0.3), transparent);
    border-radius: 40px;
    transform: translate(-50%, -50%) scale(0);
    animation: rippleWave 2s infinite;
    pointer-events: none;
}

@keyframes rippleWave {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.8;
    }

    70% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.hidden-object {
    transition: all 0.3s ease;
    transform: translateY(20px);
    visibility: hidden;
    opacity: 0;
}

/* Класс для показа объекта */
.hidden-object.show {
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
}

.personal-link-privacy {
    color: #1e48bd;
    transition: color 0.5s linear;
}

.personal-link-privacy:hover,
.personal-link-privacy:focus {
    color: #1a9f8f;
}

/*Адаптив*/

@media (max-width: 880px) {
    .burger {
        display: block;
    }

    .nav-links {
        position: fixed;
        left: 0;
        width: 100%;
        height: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 999;
        transition: all 0.4s ease;
        margin: 0;
        padding: 0;
        margin-top: 300px;
    }

    .nav-links.show {
        background-color: black;
        height: 1000px;
    }

    .nav-links li {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-links.show li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links.show li:nth-child(1) {
        transition-delay: 0.05s;
    }

    .nav-links.show li:nth-child(2) {
        transition-delay: 0.1s;
    }

    .nav-links.show li:nth-child(3) {
        transition-delay: 0.15s;
    }

    .nav-links.show li:nth-child(4) {
        transition-delay: 0.2s;
    }

    .nav-links.show li:nth-child(5) {
        transition-delay: 0.25s;
    }

    .nav-links a {
        font-size: 1.8rem;
        font-weight: 600;
        padding: 12px 24px;
        color: white;
    }

    .nav-links a:hover {
        color: var(--accent-cyan);
        background: rgba(120, 146, 231, 0.1);
        border-radius: 40px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .container {
        padding: 0 20px;
    }

    section {
        padding: 60px 0;
    }

    .partners-logo {
        gap: 1.8rem;
    }

    .logo-item {
        padding: 0.6rem 1.2rem;
    }

    .logo-item img {
        max-height: 70px;
    }

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

@media (min-width: 881px) {
    .nav-links {
        display: flex !important;
        position: static !important;
        top: auto !important;
        height: auto !important;
        background: transparent !important;
        flex-direction: row !important;
    }

    .burger {
        display: none !important;
    }

    .nav-overlay {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .digital-loader {
        width: 90px;
        height: 90px;
    }

    .loader-cube {
        width: 30px;
        height: 30px;
        margin: -15px 0 0 -15px;
    }

    .loader-pixel {
        width: 6px;
        height: 6px;
    }

    @keyframes btnGlow {

        0%,
        100% {
            box-shadow: 0 0 0 0 rgba(22, 133, 177, 0.7);
            transform: scale(1);
        }

        50% {
            box-shadow: 0 0 0 8px rgba(28, 112, 180, 0.2);
            transform: scale(1.01);
        }
    }

    .img-title {
        width: 450px;
        height: 450px;
    }
}

@media (max-width: 680px) {
    .tech-tabs {
        justify-content: center;
    }

    .tab-btn {
        padding: 6px 16px;
        font-size: 0.85rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-text {
        justify-content: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .cookie-consent {
        padding: 16px 20px;
    }

    .img-title {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 560px) {
    .hero-stats {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 550px) {
    .logo-item img {
        max-height: 55px;
    }

    .partners-logo {
        gap: 1.2rem;
    }
}