:root {
    --bg-dark: #06050a;
    --muted: #b7bcc0;
    --accent1: #7a1a84;
    --accent2: #d57aff;
    --glass: rgba(255, 255, 255, 0.04);
    --card: rgba(255, 255, 255, 0.03);
    --white: #ffffff;
    --maxw: 1200px;
    --radius: 16px;
    --shadow: 0 20px 60px rgba(5, 4, 8, 0.6);
}

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

html,
body {
    height: 100%;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #05050a 100%);
    color: var(--white);
    -webkit-font-smoothing: antialiased
}

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

/* topbar */
.inf-topbar {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    z-index: 120
}

.inf-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
    border: 1px solid rgba(255, 255, 255, 0.04);
    font-weight: 800
}

.inf-lang {
    display: flex;
    gap: 8px
}

.inf-lang button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 8px 10px;
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer
}

.inf-lang button[aria-pressed="true"] {
    background: linear-gradient(90deg, var(--accent1), var(--accent2));
    color: #0b0710;
    box-shadow: 0 12px 36px rgba(122, 26, 132, 0.18)
}

/* hero - full height */
.inf-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 18px;
    position: relative;
    overflow: hidden
}

.inf-hero-inner {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 48px 20px
}

.inf-left {
    flex: 1;
    z-index: 10;
    max-width: 740px
}

.inf-title {
    font-size: clamp(36px, 9vw, 96px);
    line-height: 0.9;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 6px
}

.inf-subtitle {
    font-size: clamp(14px, 3.6vw, 22px);
    color: var(--muted);
    font-weight: 800;
    margin-bottom: 20px
}

.inf-lead {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    line-height: 1.5;
    max-width: 68ch
}

.inf-note {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 600;
    max-width: 68ch
}

/* buttons */
.inf-actions {
    margin-top: 26px;
    display: flex;
    gap: 14px;
    align-items: center
}

.inf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    border: 0;
    cursor: pointer
}

.inf-btn.ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--white)
}

.inf-btn.primary {
    background: linear-gradient(90deg, var(--accent1), var(--accent2));
    color: #08040a;
    box-shadow: 0 18px 60px rgba(122, 26, 132, 0.14)
}

/* right logos floating */
.inf-right {
    width: 420px;
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none
}

.floating-logos {
    position: relative;
    width: 100%;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center
}

.floating-wrap {
    position: relative;
    width: 320px;
    height: 320px
}

.logo-pulse {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 160px;
    border-radius: 20px;
    background: transparent;
    box-shadow: var(--shadow);
    will-change: transform
}

.logo-uzum {
    left: 10%;
    top: 30%;
    transform-origin: center center;
    animation: floatA 6s linear infinite
}

.logo-yandex {
    right: 6%;
    bottom: 6%;
    transform-origin: center center;
    animation: floatB 5.6s linear infinite
}

.logo-pulse svg {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 14px
}

/* subtle background vignette shapes */
.inf-hero::before {
    content: "";
    position: absolute;
    inset: auto -10% -10% auto;
    width: 60%;
    height: 70%;
    background: radial-gradient(circle at 20% 30%, rgba(122, 26, 132, 0.12), transparent 20%), radial-gradient(circle at 80% 60%, rgba(255, 90, 120, 0.06), transparent 18%);
    filter: blur(36px);
    z-index: 0
}

/* float animations */
@keyframes floatA {
    0% {
        transform: translateY(0) rotate(-6deg) scale(1)
    }

    25% {
        transform: translateY(-14px) rotate(-2deg) scale(1.04)
    }

    50% {
        transform: translateY(6px) rotate(-10deg) scale(0.98)
    }

    75% {
        transform: translateY(-8px) rotate(-3deg) scale(1.02)
    }

    100% {
        transform: translateY(0) rotate(-6deg) scale(1)
    }
}

@keyframes floatB {
    0% {
        transform: translateY(0) rotate(6deg) scale(1)
    }

    25% {
        transform: translateY(-10px) rotate(10deg) scale(1.03)
    }

    50% {
        transform: translateY(8px) rotate(2deg) scale(0.99)
    }

    75% {
        transform: translateY(-6px) rotate(8deg) scale(1.01)
    }

    100% {
        transform: translateY(0) rotate(6deg) scale(1)
    }
}

/* modal (order) unique style */
.order-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: linear-gradient(180deg, rgba(3, 3, 5, 0.6), rgba(3, 3, 5, 0.8));
    z-index: 200
}

.order-modal[aria-hidden="false"] {
    display: flex
}

.order-panel {
    width: min(980px, 94vw);
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 0;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    box-shadow: 0 30px 100px rgba(2, 2, 6, 0.7);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.04)
}

.order-close {
    position: absolute;
    right: 28px;
    top: 22px;
    background: transparent;
    border: none;
    font-size: 18px;
    color: var(--muted);
    cursor: pointer;
    z-index: 210
}

.order-left {
    padding: 36px 34px
}

.order-right {
    background: linear-gradient(180deg, rgba(122, 26, 132, 0.06), rgba(111, 17, 112, 0.04));
    padding: 34px;
    display: flex;
    align-items: center;
    justify-content: center
}

.order-left h3 {
    font-size: 20px;
    margin-bottom: 6px;
    color: var(--white);
    font-weight: 900
}

.order-sub {
    color: var(--muted);
    margin-bottom: 18px
}

.field {
    display: block;
    margin-bottom: 14px
}

.label-text {
    display: block;
    font-weight: 800;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 6px
}

.field input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: transparent;
    color: var(--white);
    font-weight: 700
}

.field-error {
    display: block;
    color: #ffb0b0;
    font-size: 13px;
    margin-top: 6px;
    min-height: 18px
}

.form-row {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    align-items: center
}

.submit {
    display: inline-flex;
    gap: 8px;
    align-items: center
}

.submit .btn-check {
    display: none
}

.submit.success {
    background: linear-gradient(90deg, #27d28a, #10b981);
    color: #07140c
}

.submit.success .btn-check {
    display: inline-block
}

/* order-right visuals */
.order-visual {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start
}

.ov-title {
    font-size: 20px;
    font-weight: 900
}

.ov-lead {
    color: var(--muted);
    font-weight: 600
}

.ov-logos {
    display: flex;
    gap: 10px;
    margin-top: 16px
}

.ov-logo {
    width: 58px;
    height: 58px;
    border-radius: 10px;
    box-shadow: var(--shadow)
}

.ov-uzum {
    background: linear-gradient(180deg, #68d6ff, #4db9ff)
}

.ov-yandex {
    background: linear-gradient(180deg, #ff7b8a, #ff5b6b)
}

/* toast */
.inf-toast {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 28px;
    padding: 12px 18px;
    border-radius: 12px;
    background: linear-gradient(90deg, var(--accent1), var(--accent2));
    color: #07040b;
    font-weight: 900;
    display: none;
    z-index: 300
}

.inf-toast.show {
    display: block
}

/* responsive tweaks */
@media (max-width:980px) {
    .inf-hero-inner {
        flex-direction: column-reverse;
        gap: 16px;
        padding-top: 80px
    }

    .inf-right {
        position: absolute;
        right: 8px;
        top: 32%;
        width: 220px;
        height: 220px
    }

    .floating-wrap {
        width: 220px;
        height: 220px
    }

    .logo-pulse {
        width: 110px;
        height: 110px
    }

    .order-panel {
        grid-template-columns: 1fr;
        align-items: stretch
    }

    .order-right {
        order: -1;
        padding: 18px
    }
}

@media (prefers-reduced-motion: reduce) {

    .logo-uzum,
    .logo-yandex {
        animation: none
    }
}