:root {
    --bg-main: #050509;
    --bg-alt: #0b0d12;
    --accent: #ff0040;
    --accent-soft: #ff4b7a;
    --accent-line: #ff2b5c;
    --text-main: #f5f5f7;
    --text-muted: #a0a4af;
    --border-card: rgba(255, 0, 64, 0.4);
    --card-bg: rgba(9, 10, 16, 0.95);
    --card-alt-bg: rgba(12, 13, 20, 0.95);
    --radius-lg: 22px;
    --radius-md: 14px;
    --radius-pill: 999px;
    --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.85);
    --transition-fast: 0.18s ease-out;
    --transition-med: 0.26s ease-out;
}

body {
    font-family: "Orbitron", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #181827 0%, #050509 40%, #020208 100%);
    color: var(--text-main);
    min-height: 100vh;
    padding-bottom: 64px;
    position: relative;
}

/* шум */
.noise-overlay {
    pointer-events: none;
    position: fixed;
    inset: 0;
    opacity: 0.2;
    mix-blend-mode: soft-light;
    background-image: url("https://grainy-gradients.vercel.app/noise.svg");
    z-index: 0;
}

/* HEADER */

.header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(16px);
    background: linear-gradient(
        to bottom,
        rgba(5, 5, 9, 0.9),
        rgba(5, 5, 9, 0.6),
        transparent
    );
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header__inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.brand__dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: radial-gradient(circle, #ff7a8c, #ff0040);
    box-shadow: 0 0 18px rgba(255, 0, 64, 0.8);
    animation: glow-pulse 2.2s infinite;
}

.brand__name {
    font-weight: 700;
}

.brand__tag {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-left: -3px;
}

.nav {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav__link {
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--text-muted);
    border: 1px solid transparent;
    transition: var(--transition-fast);
}

.nav__link:hover {
    color: var(--text-main);
    border-color: rgba(255, 255, 255, 0.12);
    background: radial-gradient(circle at top, rgba(255, 0, 64, 0.18), transparent);
}

.header__controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-switch {
    display: inline-flex;
    padding: 3px;
    border-radius: 999px;
    background: radial-gradient(circle at top, #171926, #0b0c11);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.lang-btn {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    padding: 5px 10px;
    border-radius: 999px;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.lang-btn.active {
    background: linear-gradient(135deg, #ff0040, #ff4e7d);
    color: #fff;
}

/* HERO */

.hero {
    position: relative;
    z-index: 1;
    max-width: 1120px;
    margin: 0 auto;
    padding: 40px 16px 24px;
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent-soft);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    background: radial-gradient(circle at top, rgba(255, 0, 64, 0.24), rgba(8, 10, 16, 0.9));
    border: 1px solid rgba(255, 0, 64, 0.55);
}

.hero__title {
    margin-top: 14px;
    font-size: clamp(2.2rem, 4vw, 3rem);
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.glitch {
    animation: glitch 3.5s infinite;
}

.hero__subtitle {
    margin-top: 16px;
    font-size: 0.96rem;
    color: var(--text-muted);
    max-width: 560px;
}

.hero__actions {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px solid transparent;
    transition: var(--transition-med);
    white-space: nowrap;
}

.btn--primary {
    background: linear-gradient(135deg, #ff0040, #ff4b7a);
    color: #fff;
    box-shadow: 0 12px 28px rgba(255, 0, 64, 0.6);
}

.btn--primary:hover {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 18px 36px rgba(255, 0, 64, 0.75);
}

.btn--ghost {
    border-color: rgba(255, 255, 255, 0.24);
    color: var(--text-main);
    background: linear-gradient(135deg, rgba(10, 11, 18, 0.9), rgba(20, 22, 30, 0.9));
}

.btn--ghost:hover {
    border-color: rgba(255, 0, 64, 0.8);
}

.hero__meta {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
}

.hero__meta span {
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(12, 13, 20, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero__visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.core-orbit {
    position: relative;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle at center, #1b1e2a 0%, #050509 70%);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    animation: float-soft 4.5s ease-in-out infinite;
}

.core-orbit__ring {
    position: absolute;
    inset: 22px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.18);
    filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.1));
    animation: orbit-rotate 22s linear infinite;
}

.core-orbit__ring--inner {
    inset: 60px;
    opacity: 0.7;
    animation-duration: 14s;
    border-style: solid;
    border-color: rgba(255, 0, 64, 0.6);
}

.core-orbit__core {
    position: absolute;
    inset: 88px;
    border-radius: 50%;
    background: radial-gradient(circle, #ff4b7a, #ff0040, #5b0018 80%);
    box-shadow: 0 0 40px rgba(255, 0, 64, 0.9);
}

.core-orbit__pulse {
    position: absolute;
    inset: 80px;
    border-radius: 50%;
    border: 1px solid rgba(255, 0, 64, 0.5);
    animation: orbit-pulse 2.4s ease-out infinite;
}

.hero__holo {
    margin-top: 12px;
    font-size: 0.8rem;
    text-align: center;
    color: var(--text-muted);
}

/* SECTIONS */

.section--pad {
    max-width: 1120px;
    margin: 0 auto;
    padding: 40px 16px 32px;
}

.section--alt {
    background: radial-gradient(circle at top, #0f111a 0%, #050509 70%);
    border-radius: 32px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
    margin-top: 12px;
}

.section__header {
    max-width: 640px;
    margin-bottom: 24px;
}

.section__eyebrow {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent-soft);
    margin-bottom: 6px;
}

.section__title {
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.section__subtitle {
    margin-top: 10px;
    font-size: 0.94rem;
    color: var(--text-muted);
}

/* CARDS */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.card {
    position: relative;
    padding: 18px 18px 18px;
    border-radius: var(--radius-lg);
    background: var(--card-bg);
    border: 1px solid var(--border-card);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at top, rgba(255, 0, 64, 0.14), transparent 60%);
    opacity: 0;
    transition: var(--transition-med);
    pointer-events: none;
}

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

.card__title {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.card__text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.card__list {
    list-style: none;
    font-size: 0.85rem;
    color: var(--text-main);
}

.card__list li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 4px;
}

.card__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff0040, #ff7a8c);
}

/* TIMELINE */

.timeline {
    margin-top: 10px;
    border-left: 1px dashed rgba(255, 255, 255, 0.25);
    padding-left: 18px;
}

.timeline__item {
    position: relative;
    margin-bottom: 18px;
    padding-left: 10px;
}

.timeline__dot {
    position: absolute;
    left: -10px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    background: #050509;
}

.timeline__content h3 {
    font-size: 0.98rem;
    margin-bottom: 4px;
}

.timeline__content p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* CONTACT */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 18px;
    margin-top: 4px;
}

.contact-form {
    background: var(--card-alt-bg);
    border-radius: var(--radius-lg);
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-soft);
}

.field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.field__label {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

input,
textarea {
    border-radius: 12px;
    padding: 8px 10px;
    background: rgba(6, 7, 12, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--text-main);
}

textarea {
    resize: vertical;
}

.contact__hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 4px 0 10px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-chip {
    background: rgba(7, 8, 14, 0.9);
    border-radius: var(--radius-md);
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.chip__label {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.chip__text {
    font-size: 0.88rem;
    color: var(--text-main);
    margin-top: 4px;
}

/* FOOTER */

.footer {
    max-width: 1120px;
    margin: 0 auto;
    padding: 18px 16px 30px;
    position: relative;
}

.footer__inner {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 14px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    width: 42px;
    height: auto;
}

.glow-logo {
    filter: drop-shadow(0 0 14px rgba(255, 0, 64, 0.85));
    animation: glow-pulse 2.6s infinite;
}

.footer__title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.footer__subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer__copy {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Scroll to top */

.scroll-top {
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.36);
    background: radial-gradient(circle at top, rgba(255, 0, 64, 0.56), rgba(5, 5, 9, 0.95));
    color: #fff;
    font-size: 0.9rem;
    display: none;
    align-items: center;
    justify-content: center;
    animation: scroll-top-show 0.2s ease-out;
    z-index: 12;
}

/* RESPONSIVE */

@media (max-width: 880px) {
    .hero__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero__visual {
        order: -1;
    }

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

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

@media (max-width: 640px) {
    .header__inner {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .hero {
        padding-top: 26px;
    }

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

    .section--alt {
        border-radius: 22px;
    }

    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero__meta {
        gap: 6px;
    }

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

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