: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 {
    height: 100%;
}

body {
    height: 100%;
    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: 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;
    height: 100vh;
    height: 100svh;
    padding: 28px 6vw 20px;
    isolation: isolate;
    display: grid;
    grid-template-rows: auto auto auto auto auto;
    align-content: start;
    row-gap: 0;
    overflow: hidden;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(1500px, 100%);
    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 {
    width: min(1120px, 100%);
    max-width: 1120px;
    margin: 34px auto 26px;
    text-align: center;
    color: var(--white);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 38px;
    padding: 0 20px;
    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 auto 16px;
    font-size: clamp(58px, 7.4vw, 112px);
    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);
    white-space: nowrap;
}

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

.offer-panel {
    width: min(620px, 100%);
    margin: 0 auto;
    padding: 28px 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: clamp(24px, 3vh, 28px);
    line-height: 1.15;
}

.offer-panel > p {
    margin: 0 0 clamp(14px, 2.2vh, 20px);
    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: 10px;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.field {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 52px;
    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;
}

.offer-field {
    padding-right: 10px;
}

.offer-field select {
    flex: 0 0 92px;
    width: 92px;
    min-height: 40px;
    padding: 0 10px;
    border: 1px solid rgba(111, 121, 168, .22);
    border-radius: 12px;
    background: rgba(255, 255, 255, .65);
    color: #1a2448;
    font-weight: 800;
    cursor: pointer;
}

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

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

.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 54px;
    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: 22px;
    width: min(840px, 100%);
    margin: 24px auto 0;
}

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

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

.feature-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    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: 24px;
    height: 24px;
}

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

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

.site-footer {
    margin-top: 18px;
    padding-top: 0;
    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;
}

.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) {
    body {
        overflow-x: hidden;
        overflow-y: auto;
    }

    .page-shell {
        height: auto;
        min-height: 100svh;
        overflow: visible;
        padding: 16px 18px 12px;
    }

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

    .brand {
        font-size: 19px;
    }

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

    .hero {
        margin-top: 18px;
        margin-bottom: 14px;
    }

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

    h1 {
        font-size: clamp(40px, 12vw, 70px);
        white-space: normal;
    }

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

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

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

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

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

    .crystal-small {
        display: none;
    }
}

@media (max-height: 920px) and (min-width: 821px) {
    .page-shell {
        padding-top: 24px;
        padding-bottom: 16px;
    }

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

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

    .brand {
        font-size: 20px;
    }

    .hero {
        margin-top: 28px;
        margin-bottom: 22px;
    }

    .badge {
        min-height: 34px;
        padding: 0 18px;
        font-size: 12px;
    }

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

    h1 {
        margin: 14px 0 12px;
        font-size: clamp(64px, 6.2vw, 96px);
    }

    .hero p {
        font-size: 20px;
        line-height: 1.38;
    }

    .offer-panel {
        padding: 24px 34px;
    }

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

    .offer-panel > p {
        margin-bottom: 16px;
        font-size: 15px;
    }

    form {
        gap: 9px;
    }

    .field {
        min-height: 50px;
    }

    .field svg {
        width: 20px;
        height: 20px;
    }

    .offer-field select {
        min-height: 36px;
    }

    .textarea-field {
        min-height: 72px;
        padding-top: 13px;
        padding-bottom: 13px;
    }

    textarea {
        min-height: 46px;
    }

    .submit-button {
        min-height: 52px;
    }

    .features {
        margin-top: 20px;
        gap: 22px;
    }

    .features article {
        grid-template-columns: 40px 1fr;
        gap: 12px;
    }

    .features article + article {
        padding-left: 18px;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
    }

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

    .features h3 {
        margin-bottom: 4px;
        font-size: 13px;
    }

    .features p {
        font-size: 12px;
        line-height: 1.35;
    }

    .site-footer {
        padding-top: 10px;
        font-size: 13px;
    }
}

@media (max-height: 760px) and (min-width: 821px) {
    h1 {
        font-size: clamp(48px, 5vw, 72px);
    }

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

    .hero {
        margin-top: 14px;
        margin-bottom: 12px;
    }

    .offer-panel {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .features {
        margin-top: 12px;
    }

    .features p {
        display: none;
    }
}

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

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

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

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

    .offer-field {
        flex-wrap: wrap;
        padding: 12px 14px;
    }

    .offer-field input {
        width: calc(100% - 36px);
    }

    .offer-field select {
        flex-basis: 100%;
        width: 100%;
    }
}
