:root {
    --bg: #071224;
    --text: #e8f1ff;
    --muted: #9cb1d7;
    --primary: #1ea4ff;
    --primary-2: #5fd6ff;
    --glass: rgba(9, 25, 48, 0.62);
    --border: rgba(108, 168, 255, 0.35);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background-color: var(--bg);
    background-image:
        linear-gradient(180deg, rgba(7, 18, 36, 0.9), rgba(4, 11, 22, 0.95)),
        var(--page-bg, radial-gradient(circle at top right, #14325f 0%, #071224 55%));
    background-size: cover;
    background-position: center;
}

.page {
    width: min(92%, 760px);
    margin: 2.5rem auto 2rem;
}

.glass-card {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.card-header {
    text-align: center;
    margin-bottom: 1.4rem;
}

.site-logo {
    max-height: 64px;
    max-width: 220px;
    object-fit: contain;
    margin-bottom: 0.8rem;
}

.card-header h1 {
    margin: 0;
    font-size: 1.6rem;
    letter-spacing: 0.3px;
}

.card-header p {
    margin: 0.6rem 0 0;
    color: var(--muted);
}

.request-form {
    display: grid;
    gap: 1rem;
}

.field label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.45rem;
}

input, select, textarea, button {
    font: inherit;
}

input, select, textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(137, 186, 255, 0.3);
    background: rgba(4, 16, 33, 0.75);
    color: var(--text);
    padding: 0.75rem 0.85rem;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 164, 255, 0.16);
}

.toggle-wrap {
    display: flex;
    gap: 0.7rem;
}

.toggle-item {
    flex: 1;
    border-radius: 12px;
    border: 1px solid rgba(137, 186, 255, 0.3);
    background: rgba(4, 16, 33, 0.75);
    text-align: center;
    padding: 0.55rem 0.65rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.toggle-item input {
    display: none;
}

.toggle-item.active {
    border-color: var(--primary);
    box-shadow: 0 0 18px rgba(30, 164, 255, 0.35);
    color: var(--primary-2);
}

.hint {
    color: var(--muted);
}

.btn-neon {
    border: 0;
    border-radius: 12px;
    padding: 0.82rem 1.15rem;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    background: linear-gradient(90deg, #1187ff 0%, #18b2ff 100%);
    box-shadow: 0 10px 25px rgba(12, 121, 241, 0.38);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-neon:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(24, 178, 255, 0.45);
}

.form-message {
    min-height: 1.2rem;
    margin: 0;
    color: #ffcc75;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1rem;
}

.btn-outline {
    color: #dff4ff;
    text-decoration: none;
    border: 1px solid rgba(137, 186, 255, 0.3);
    background: rgba(2, 15, 29, 0.72);
    padding: 0.55rem 1rem;
    border-radius: 999px;
    transition: all 0.2s ease;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary-2);
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(4, 10, 19, 0.76);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.open {
    display: flex;
}

.modal-content {
    width: min(92%, 420px);
    background: rgba(8, 25, 48, 0.92);
    border: 1px solid rgba(137, 186, 255, 0.35);
    border-radius: 16px;
    padding: 1.3rem;
    text-align: center;
}

@media (max-width: 640px) {
    .page {
        width: min(94%, 760px);
        margin-top: 1rem;
    }

    .glass-card {
        padding: 1.1rem;
    }
}
