:root {
    --orange: #ff7a00;
    --black: #111111;
    --white: #ffffff;
    --panel-dark: rgba(0, 0, 0, 0.84);
    --panel-soft: rgba(255, 255, 255, 0.08);
    --shadow: 0 22px 60px rgba(0,0,0,0.24);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #000;
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('./img/bg.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.page {
    width: min(1200px, 100%);
    background: transparent;
}

.hero {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr;
    gap: 2rem;
    padding: 32px;
    align-items: start;
}

.header {
    grid-column: 1 / -1;
    margin-bottom: 22px;
}

h1 {
    font-size: clamp(2rem, 2.6vw, 3rem);
    margin-bottom: 12px;
    color: var(--white);
}

.subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.84);
    max-width: 720px;
    line-height: 1.7;
}

.form-panel,
.steps-panel {
    border-radius: 28px;
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,0.14);
}

.form-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: var(--panel-dark);
}

.form-group {
    display: grid;
    gap: 12px;
}

.form-panel label {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--white);
}

.form-panel input[type="text"],
.form-panel input[type="email"],
.form-panel input[type="tel"] {
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.16);
    background: var(--panel-soft);
    padding: 14px 16px;
    font-size: 0.98rem;
    color: var(--white);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.form-panel input[type="text"]::placeholder,
.form-panel input[type="email"]::placeholder,
.form-panel input[type="tel"]::placeholder {
    color: rgba(255,255,255,0.55);
}

.form-panel input[type="text"]:focus,
.form-panel input[type="email"]:focus,
.form-panel input[type="tel"]:focus {
    outline: none;
    border-color: var(--orange);
    background: rgba(255,255,255,0.1);
    box-shadow: 0 0 0 4px rgba(255,122,0,0.16);
}

.checkbox-group {
    display: grid;
    gap: 12px;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--white);
}

.checkbox-item input {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    accent-color: var(--orange);
}

.submit-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.submit-button {
    border: none;
    border-radius: 999px;
    padding: 16px 30px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    background: var(--orange);
    color: var(--white);
    transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
    opacity: 0.95;
    position: relative;
}

.submit-button:hover:not(:disabled) {
    transform: translateY(-1px);
    opacity: 1;
}

.submit-button:disabled {
    background: rgba(255,122,0,0.55);
    cursor: not-allowed;
    opacity: 0.7;
}

.steps-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-self: start;
    min-height: 260px;
    max-height: 600px;
    background: rgba(0,0,0,0.74);
    color: var(--white);
}

.steps-panel h2 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--white);
}

.step-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
}

.step-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: var(--orange);
    color: var(--white);

    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}

.step-text {
    font-size: 0.85rem;
    color: var(--white);
    line-height: 1.6;
}

.brand-strip {
    margin-top: 14px;
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(255,122,0,0.16);
    color: var(--white);
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.note {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.76);
    line-height: 1.6;
}

@media (max-width: 960px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .steps-panel {
        max-height: none;
        min-height: auto;
    }
}

@media (max-width: 640px) {
    body {
        padding: 16px;
    }

    .hero {
        padding: 20px;
        gap: 18px;
    }
}

.submit-button .tooltip {
    visibility: hidden;
    padding: 0.25em 0.5em;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 0.25rem;
    white-space: nowrap;
    position: absolute;
    z-index: 1;
    bottom: 100%;
    left: 100%;
    transition-property: visibility;
    transition-delay: 0s;
}

.submit-button.inactive:hover .tooltip {
    visibility: visible;
    transition-delay: 0.3s;
}

label a {
    margin: 0;
    padding: 0;
    font-weight: 600;
    font-size: 0.95rem;
    color: #ff7a00;
}

.checkbox-group-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group-group label {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.division {
    width: 100%;
    height: 1px;
    /* border: 1px solid white; */
    background-color: #ff7a00;
    margin: 10px 0px;
}

a {
    color: #ff7a00;
}