:root {
    --bg: #0f1115;
    --card: #181b22;
    --card-2: #1f232c;
    --border: #2a2f3a;
    --text: #e8eaed;
    --muted: #9aa3b2;
    --accent: #6c5ce7;
    --accent-2: #a29bfe;
    --danger: #ff6b6b;
    --radius: 14px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: radial-gradient(1200px 600px at 50% -10%, #20232e 0%, var(--bg) 60%);
    color: var(--text);
    line-height: 1.5;
    padding: 40px 16px;
}

.container {
    max-width: 760px;
    margin: 0 auto;
}

.header {
    text-align: center;
    margin-bottom: 32px;
}

.header h1 {
    font-size: 2rem;
    margin: 0 0 8px;
    background: linear-gradient(90deg, var(--accent-2), #74b9ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.header p { color: var(--muted); margin: 0; }

form { display: flex; flex-direction: column; gap: 24px; }

.section {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}

.section h2 {
    margin: 0 0 4px;
    font-size: 1.15rem;
    color: var(--accent-2);
}

.section .section-sub {
    margin: 0 0 20px;
    font-size: 0.85rem;
    color: var(--muted);
}

.field { margin-bottom: 18px; }
.field:last-child { margin-bottom: 0; }

label.field-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.req { color: var(--accent-2); }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
select,
textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--card-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color .15s, box-shadow .15s;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, .25);
}

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

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--card-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 12px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: border-color .15s, background .15s;
}

.check-item:hover { border-color: var(--accent); }

.check-item input { width: 18px; height: 18px; accent-color: var(--accent); cursor: pointer; }

.btn {
    background: linear-gradient(90deg, var(--accent), #8e7bff);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform .1s, box-shadow .2s;
    box-shadow: 0 8px 24px rgba(108, 92, 231, .35);
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(108, 92, 231, .45); }
.btn:active { transform: translateY(0); }

.alert {
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.alert-error {
    background: rgba(255, 107, 107, .12);
    border: 1px solid var(--danger);
    color: #ffb3b3;
}

.alert-error ul { margin: 8px 0 0; padding-left: 20px; }

.success-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px 32px;
    text-align: center;
}

.success-card .icon {
    width: 72px; height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00b894, #00cec9);
    display: flex; align-items: center; justify-content: center;
    font-size: 38px; color: #fff;
}

.success-card h1 { margin: 0 0 12px; }
.success-card p { color: var(--muted); margin: 0 0 24px; }

.success-card a {
    display: inline-block;
    color: var(--accent-2);
    text-decoration: none;
    font-weight: 600;
}

.footer { text-align: center; color: var(--muted); font-size: 0.8rem; margin-top: 28px; }
