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

:root {
    --bg: #080808;
    --panel: rgba(255, 255, 255, 0.075);
    --panel-strong: rgba(255, 255, 255, 0.12);
    --border: rgba(255, 255, 255, 0.13);
    --text: #ffffff;
    --muted: #c7c7c7;
    --red: #e10600;
    --blue: #003cff;
    --yellow: #ffcc00;
    --dark: #111111;
}

body {
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(225, 6, 0, 0.26), transparent 34%),
        radial-gradient(circle at bottom right, rgba(0, 60, 255, 0.24), transparent 36%),
        linear-gradient(135deg, #080808, #161616 58%, #050505);
    color: var(--text);
}

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

.page {
    width: min(1180px, 92%);
    margin: 0 auto;
    padding: 28px 0 44px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 30px;
}

.logo {
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.logo span {
    color: var(--red);
}

.nav {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.nav a,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 18px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    font-weight: 800;
    transition: 0.25s;
    cursor: pointer;
}

.nav a:hover,
.btn:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(225, 6, 0, 0.75);
}

.btn-main {
    border: 0;
    background: var(--red);
    box-shadow: 0 0 26px rgba(225, 6, 0, 0.45);
}

.btn-main:hover {
    background: #ff1710;
    box-shadow: 0 0 36px rgba(225, 6, 0, 0.65);
}

.hero {
    display: grid;
    grid-template-columns: 0.94fr 1.06fr;
    gap: 28px;
    align-items: stretch;
    margin-bottom: 28px;
}

.hero-card,
.visual-card,
.card {
    border: 1px solid var(--border);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035));
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
    overflow: hidden;
}

.hero-card {
    padding: 34px;
    position: relative;
}

.hero-card::after {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    right: -72px;
    bottom: -72px;
    border-radius: 50%;
    background: rgba(225, 6, 0, 0.24);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 204, 0, 0.14);
    color: #ffe075;
    border: 1px solid rgba(255, 204, 0, 0.34);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    margin-bottom: 18px;
}

h1 {
    font-size: clamp(34px, 5vw, 62px);
    line-height: 0.96;
    text-transform: uppercase;
    margin-bottom: 18px;
}

h1 span,
.section-title span {
    color: var(--red);
}

.hero-card p,
.muted {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
    max-width: 620px;
    margin-bottom: 22px;
}

.visual-card {
    min-height: 350px;
    position: relative;
}

.hero-img {
    width: 100%;
    height: 100%;
    min-height: 350px;
    object-fit: cover;
    display: block;
}

.visual-label {
    position: absolute;
    left: 22px;
    bottom: 22px;
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-weight: 900;
}

.card {
    padding: 26px;
    margin-bottom: 24px;
}

.section-title {
    font-size: 28px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.mode-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.mode-card {
    padding: 26px;
    border-radius: 24px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    transition: 0.25s;
}

.mode-card:hover {
    transform: translateY(-5px);
    border-color: rgba(225, 6, 0, 0.78);
    box-shadow: 0 18px 40px rgba(225, 6, 0, 0.18);
}

.mode-card h2 {
    margin-bottom: 10px;
    text-transform: uppercase;
}

.form-panel {
    max-width: 880px;
    margin: 0 auto 28px;
}

fieldset {
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 22px;
    padding: 20px;
    margin-bottom: 18px;
    background: rgba(0,0,0,0.18);
}

legend {
    padding: 0 10px;
    color: var(--yellow);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

label {
    display: block;
    color: #eeeeee;
    font-weight: 800;
    margin: 12px 0 8px;
}

select,
input[type="text"],
input[type="number"] {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.36);
    color: #fff;
    outline: none;
    font-size: 15px;
}

select:focus,
input:focus {
    border-color: rgba(225, 6, 0, 0.9);
    box-shadow: 0 0 0 4px rgba(225, 6, 0, 0.15);
}

select option {
    background: #151515;
    color: #fff;
}

.form-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.error {
    color: #ff9a95;
    font-size: 14px;
    font-weight: 700;
    margin-top: 6px;
}

.hint {
    color: #aeb7d7;
    font-size: 14px;
    margin-top: 6px;
    line-height: 1.45;
}

.footer {
    margin-top: 30px;
    color: #858585;
    text-align: center;
    font-size: 14px;
}

@media (max-width: 900px) {
    .hero,
    .mode-grid {
        grid-template-columns: 1fr;
    }

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

    .visual-card,
    .hero-img {
        min-height: 260px;
    }
}
