:root {
    --ink: #090d2a;
    --muted: #5d647f;
    --panel: rgba(255, 255, 255, .78);
    --panel-border: rgba(255, 255, 255, .75);
    --line: rgba(111, 121, 168, .24);
    --violet: #6159ff;
    --violet-dark: #312be6;
    --violet-soft: #aaa7ff;
    --white: #fff;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 50% 42%, rgba(145, 143, 255, .48), transparent 23rem),
        radial-gradient(circle at 86% 48%, rgba(120, 113, 255, .32), transparent 18rem),
        linear-gradient(180deg, #03061f 0%, #080d2f 31%, #ecefff 73%, #f7f8ff 100%);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, #000, transparent 58%);
}

.page-shell {
    position: relative;
    min-height: 100vh;
    padding: 32px 6vw 28px;
    isolation: isolate;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1500px;
    margin: 0 auto;
}

.brand,
.language-switch a {
    color: var(--white);
    text-decoration: none;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 800;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    color: var(--violet-soft);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    box-shadow: inset 0 0 18px rgba(126, 117, 255, .35), 0 10px 24px rgba(0, 0, 0, .2);
}

.brand-mark svg {
    width: 27px;
    height: 27px;
}

.language-switch {
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(255, 255, 255, .72);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
}

.language-switch a {
    opacity: .72;
}

.language-switch a.active,
.language-switch a:hover {
    opacity: 1;
}

.hero {
    max-width: 1120px;
    margin: 34px auto 28px;
    text-align: center;
    color: var(--white);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 42px;
    padding: 0 22px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 16px;
    background: rgba(255, 255, 255, .06);
    color: #dbdcff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 6px;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}

.badge svg {
    width: 22px;
    height: 22px;
}

h1 {
    margin: 18px 0 16px;
    font-size: clamp(58px, 8vw, 120px);
    line-height: .92;
    font-weight: 900;
    letter-spacing: 0;
    color: transparent;
    background: linear-gradient(180deg, #fff 0%, #dadfff 40%, #9591ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 18px 52px rgba(117, 111, 255, .4);
}

.hero p {
    margin: 0;
    color: rgba(255, 255, 255, .76);
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.45;
}

.offer-panel {
    width: min(620px, 100%);
    margin: 0 auto;
    padding: 36px 38px;
    border: 1px solid var(--panel-border);
    border-radius: 30px;
    background:
        linear-gradient(150deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .62)),
        radial-gradient(circle at top left, rgba(255, 255, 255, .9), transparent 40%);
    box-shadow:
        0 30px 90px rgba(17, 25, 82, .25),
        inset 0 1px 0 rgba(255, 255, 255, .95);
    backdrop-filter: blur(18px);
}

.offer-panel h2 {
    margin: 0 0 8px;
    text-align: center;
    font-size: 28px;
    line-height: 1.15;
}

.offer-panel > p {
    margin: 0 0 24px;
    text-align: center;
    color: var(--muted);
    line-height: 1.45;
}

.notice {
    display: grid;
    gap: 4px;
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
}

.notice.success {
    color: #0f6b45;
    background: rgba(25, 180, 117, .12);
    border: 1px solid rgba(25, 180, 117, .25);
}

.notice.error {
    color: #9b1c31;
    background: rgba(215, 45, 74, .1);
    border: 1px solid rgba(215, 45, 74, .22);
}

form {
    display: grid;
    gap: 12px;
}

.field {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 60px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .55);
    color: #6a718d;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.field:focus-within {
    border-color: rgba(97, 89, 255, .55);
    box-shadow: 0 0 0 4px rgba(97, 89, 255, .12);
    background: rgba(255, 255, 255, .88);
}

.field svg {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
}

input,
select,
textarea {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
}

input::placeholder,
textarea::placeholder {
    color: #707891;
    opacity: 1;
}

.select-field span {
    flex: 1;
    color: #707891;
}

select {
    width: auto;
    min-width: 88px;
    color: #1a2448;
    font-weight: 700;
    cursor: pointer;
}

.textarea-field {
    min-height: 92px;
    padding: 16px 18px;
    align-items: stretch;
}

textarea {
    min-height: 60px;
    resize: vertical;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 62px;
    margin-top: 2px;
    border: 0;
    border-radius: 14px;
    color: var(--white);
    background: linear-gradient(135deg, var(--violet-dark), #827bff);
    box-shadow: 0 18px 32px rgba(79, 72, 239, .28);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease;
}

.submit-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 40px rgba(79, 72, 239, .38);
}

.submit-button svg {
    width: 25px;
    height: 25px;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    width: min(840px, 100%);
    margin: 52px auto 0;
}

.features article {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 16px;
    align-items: center;
}

.features article + article {
    border-left: 1px solid rgba(79, 84, 136, .14);
    padding-left: 28px;
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    color: var(--violet-dark);
    border-radius: 50%;
    background: rgba(98, 91, 255, .1);
    border: 1px solid rgba(98, 91, 255, .14);
}

.feature-icon svg {
    width: 27px;
    height: 27px;
}

.features h3 {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.2;
}

.features p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.site-footer {
    margin-top: 46px;
    text-align: center;
    color: rgba(79, 84, 136, .64);
    font-size: 14px;
}

.background-art {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.silk-left {
    position: absolute;
    left: -14vw;
    bottom: 3vh;
    width: min(640px, 58vw);
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        repeating-radial-gradient(ellipse at 52% 48%, rgba(255, 255, 255, .78) 0 1px, transparent 2px 13px),
        radial-gradient(ellipse at center, rgba(255, 255, 255, .5), rgba(185, 190, 255, .18) 55%, transparent 68%);
    transform: rotate(21deg);
    filter: blur(.2px);
    opacity: .78;
}

.silk-left::before,
.silk-left::after {
    content: "";
    position: absolute;
    inset: 7%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .62);
    transform: scaleX(1.35) rotate(18deg);
}

.silk-left::after {
    inset: 16%;
    opacity: .45;
}

.crystal-large {
    position: absolute;
    right: -5vw;
    top: 37vh;
    width: min(210px, 20vw);
    aspect-ratio: 1;
    border: 3px solid rgba(222, 225, 255, .72);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .32), rgba(104, 96, 255, .56)),
        linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, .26) 51%);
    transform: rotate(33deg) skew(-6deg);
    box-shadow: 0 26px 60px rgba(90, 83, 255, .3), inset 0 0 32px rgba(255, 255, 255, .32);
    opacity: .85;
}

.crystal-small {
    position: absolute;
    right: 19vw;
    bottom: 15vh;
    width: 72px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(255, 255, 255, .6), rgba(111, 103, 255, .4));
    clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
    filter: blur(.4px);
    opacity: .55;
}

@media (max-width: 820px) {
    .page-shell {
        padding: 22px 18px 24px;
    }

    .site-header {
        align-items: flex-start;
    }

    .brand {
        font-size: 19px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
    }

    .hero {
        margin-top: 38px;
    }

    .badge {
        min-height: 38px;
        padding: 0 15px;
        font-size: 11px;
        letter-spacing: 3px;
    }

    h1 {
        font-size: clamp(44px, 13vw, 74px);
    }

    .hero p {
        font-size: 17px;
    }

    .offer-panel {
        padding: 28px 18px;
        border-radius: 24px;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 36px;
    }

    .features article + article {
        border-left: 0;
        padding-left: 0;
    }

    .crystal-large {
        right: -18vw;
        top: 34vh;
        width: 156px;
        opacity: .5;
    }

    .crystal-small {
        display: none;
    }

    .silk-left {
        left: -44vw;
        width: 94vw;
        opacity: .45;
    }
}

@media (max-width: 480px) {
    .site-header {
        gap: 14px;
    }

    .language-switch {
        gap: 9px;
        font-size: 14px;
    }

    .offer-panel h2 {
        font-size: 25px;
    }

    .field {
        min-height: 56px;
        padding: 0 14px;
    }

    .select-field span {
        display: none;
    }
}
