/* ===== БАЗА ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #e5f0ff;
    background: #050713;
    position: relative;
    overflow-x: hidden;
}

/* Фон с переливами, без зерна */
.page-gradient-bg {
    position: fixed;
    inset: -40vh -40vw;
    z-index: -1;
    background:
        radial-gradient(circle at 10% 10%, rgba(255, 60, 80, 0.55), transparent 55%),
        radial-gradient(circle at 80% 0%, rgba(0, 255, 200, 0.55), transparent 50%),
        radial-gradient(circle at 15% 90%, rgba(0, 220, 130, 0.5), transparent 55%),
        radial-gradient(circle at 85% 85%, rgba(120, 150, 180, 0.55), transparent 55%),
        linear-gradient(135deg, #050713 0%, #090e1c 40%, #060814 75%, #050713 100%);
    filter: saturate(1.3);
    animation: bgShift 18s ease-in-out infinite alternate;
}

@keyframes bgShift {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(-20px, 10px, 0) scale(1.03);
    }
    100% {
        transform: translate3d(15px, -15px, 0) scale(1.06);
    }
}

/* ===== ТОПБАР ===== */
.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 5vw;
    backdrop-filter: blur(16px);
    background: linear-gradient(to bottom, rgba(4, 7, 16, 0.95), rgba(4, 7, 16, 0.6));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo-circle {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 20%, #ffffff, #ff4f70 45%, #0ff7e5 85%);
    box-shadow:
        0 0 14px rgba(255, 79, 112, 0.8),
        0 0 32px rgba(0, 255, 224, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Orbitron", system-ui;
    font-weight: 700;
    font-size: 16px;
    color: #050713;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-name {
    font-family: "Orbitron", system-ui;
    font-size: 16px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.brand-sub {
    font-size: 12px;
    opacity: 0.8;
}

.main-nav {
    display: flex;
    gap: 18px;
    font-size: 14px;
}

.nav-link {
    position: relative;
    text-decoration: none;
    color: #e5f0ff;
    opacity: 0.9;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, #ff4f70, #19f5ff);
    border-radius: 999px;
    transition: width 0.18s ease-out;
}

.nav-link:hover::after {
    width: 100%;
}

.lang-toggle {
    border: none;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #030712;
    background: radial-gradient(circle at 30% 10%, #ffffff 0, #19f5ff 35%, #ff4f70 90%);
    box-shadow:
        0 0 10px rgba(25, 245, 255, 0.6),
        0 0 22px rgba(255, 79, 112, 0.6);
    cursor: pointer;
}

/* ===== СЕКЦИИ ===== */
.section {
    padding: 64px 5vw;
    max-width: 1120px;
    margin: 0 auto;
}

.section-title {
    margin: 0 0 8px;
    font-family: "Orbitron", system-ui;
    font-size: 26px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.section-text {
    margin: 0 0 28px;
    max-width: 720px;
    color: #c7d7ff;
    font-size: 15px;
}

/* HERO */
.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
    padding-top: 80px;
}

.hero-kicker {
    margin: 0 0 10px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #7df2ff;
}

.hero-title {
    margin: 0 0 16px;
    font-family: "Orbitron", system-ui;
    font-size: 32px;
    line-height: 1.2;
}

.hero-text {
    margin: 0 0 24px;
    font-size: 15px;
    color: #dde7ff;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 10px 20px;
    font-size: 14px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: radial-gradient(circle at 20% 0, #ffffff 0, #ff4f70 38%, #ffb347 90%);
    color: #050713;
    box-shadow:
        0 0 16px rgba(255, 79, 112, 0.7),
        0 0 30px rgba(255, 179, 71, 0.6);
}

.btn-ghost {
    background: transparent;
    color: #e5f0ff;
    border-color: rgba(148, 163, 184, 0.7);
    backdrop-filter: blur(10px);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pill {
    font-size: 11px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.5);
}

/* HERO визуал */
.hero-visual {
    justify-self: center;
}

.neon-panel {
    position: relative;
    width: min(340px, 80vw);
    aspect-ratio: 4 / 3;
    border-radius: 32px;
    background: radial-gradient(circle at 20% 0%, #ff4f70, transparent 60%),
        radial-gradient(circle at 80% 100%, #19f5ff, transparent 65%),
        linear-gradient(135deg, #020617, #020617);
    box-shadow:
        0 20px 40px rgba(15, 23, 42, 0.9),
        0 0 40px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.neon-orbit {
    position: absolute;
    inset: 15%;
    border-radius: 32px;
    border: 2px solid rgba(148, 163, 184, 0.4);
    box-shadow:
        0 0 18px rgba(148, 163, 184, 0.7),
        inset 0 0 24px rgba(15, 23, 42, 0.8);
    transform: translateZ(0);
}

.orbit-2 {
    inset: 23%;
    opacity: 0.8;
}

.orbit-3 {
    inset: 31%;
    opacity: 0.65;
}

.neon-core {
    position: absolute;
    inset: 38%;
    border-radius: 999px;
    background: radial-gradient(circle, #ffffff 0, #19f5ff 40%, #ff4f70 100%);
    box-shadow:
        0 0 30px rgba(25, 245, 255, 0.9),
        0 0 50px rgba(255, 79, 112, 0.9);
    animation: corePulse 4s ease-in-out infinite;
}

@keyframes corePulse {
    0% {
        transform: scale(0.96);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(0.98);
    }
}

.hero-visual-text {
    margin-top: 14px;
    font-size: 13px;
    color: #cbd5f5;
}

/* КАРТОЧКИ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

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

.glass-card {
    padding: 18px 18px 20px;
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.82));
    border: 1px solid rgba(148, 163, 184, 0.5);
    box-shadow:
        0 14px 30px rgba(15, 23, 42, 0.9),
        0 0 20px rgba(15, 23, 42, 0.6);
}

.glass-card h3 {
    margin: 0 0 8px;
    font-family: "Orbitron", system-ui;
    font-size: 16px;
}

.glass-card p {
    margin: 0 0 10px;
    font-size: 14px;
    color: #dbe5ff;
}

.card-list {
    margin: 0 0 12px;
    padding-left: 16px;
    font-size: 13px;
    color: #c7d7ff;
}

.card-link {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    color: #7df2ff;
    text-decoration: none;
}

/* ОТЗЫВЫ */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.review-card {
    padding: 18px;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.45);
}

.review-card p {
    margin: 0 0 10px;
    font-size: 14px;
}

.review-name {
    font-size: 12px;
    opacity: 0.9;
}

/* КОНТАКТЫ */
.contact-inner {
    max-width: 720px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-row {
    display: flex;
    gap: 14px;
}

label span {
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
}

input,
textarea {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: rgba(15, 23, 42, 0.9);
    color: #e5f0ff;
    padding: 8px 10px;
    font-size: 14px;
}

input::placeholder,
textarea::placeholder {
    color: rgba(148, 163, 184, 0.9);
}

.contact-note {
    font-size: 12px;
    color: #cbd5f5;
}

/* ФУТЕР С ТВОИМ ЛОГОТИПОМ */
.footer {
    padding: 26px 5vw 32px;
    border-top: 1px solid rgba(148, 163, 184, 0.4);
    background: linear-gradient(to top, rgba(3, 7, 18, 0.95), rgba(3, 7, 18, 0.8));
    margin-top: 32px;
}

.footer-main {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 0 14px rgba(59, 130, 246, 0.9));
    animation: logoGlow 5s ease-in-out infinite;
}

@keyframes logoGlow {
    0% {
        filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.8));
    }
    50% {
        filter: drop-shadow(0 0 26px rgba(16, 185, 129, 0.9));
    }
    100% {
        filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.85));
    }
}

.footer-title {
    font-family: "Orbitron", system-ui;
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-sub {
    font-size: 12px;
    color: #cbd5f5;
}

.footer-rights {
    font-size: 11px;
    opacity: 0.85;
}

/* АНИМАЦИЯ ПОЯВЛЕНИЯ */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

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

/* АДАПТИВ */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
        padding-top: 60px;
    }

    .hero-visual {
        order: -1;
    }

    .card-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .card-grid-2,
    .reviews-grid {
        grid-template-columns: minmax(0, 1fr);
    }

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

@media (max-width: 720px) {
    .topbar {
        flex-wrap: wrap;
        gap: 10px;
    }

    .main-nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        padding-top: 6px;
    }

    .footer-main {
        flex-direction: column;
        align-items: flex-start;
    }
}
