/* Enquiry / Onboarding Form Page */

.enquiry {
    background: var(--dark-bg);
    padding: 70px 20px 90px;
    min-height: calc(100vh - 80px);
    position: relative;
}

.enquiry::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00c853, transparent);
}

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

.enquiry-head {
    text-align: center;
    margin-bottom: 45px;
}

.enquiry-head h1 {
    font-size: 42px;
    background: linear-gradient(135deg, #00c853, #00ff6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    margin-bottom: 12px;
}

.enquiry-head p {
    color: #c0c0e0;
    font-size: 17px;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Form */
.enquiry-form {
    background: rgba(22, 22, 22, 0.6);
    border: 1px solid rgba(0, 200, 83, 0.2);
    border-radius: 16px;
    padding: 40px;
}

.form-section {
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 20px;
    padding-bottom: 0;
}

.form-section h2 {
    font-size: 18px;
    color: #00ff6b;
    margin-bottom: 18px;
    font-weight: 700;
}

.section-hint {
    color: #8080a0;
    font-size: 14px;
    margin: -10px 0 18px;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.field-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 0;
}

.field label {
    font-size: 13px;
    color: #b0b0c8;
    font-weight: 600;
}

.req { color: #00ff6b; }

.field input,
.field select,
.field textarea {
    padding: 12px 14px;
    background: rgba(13, 13, 13, 0.8);
    border: 1px solid rgba(0, 200, 83, 0.25);
    border-radius: 8px;
    color: #e8e8ee;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: all 0.25s;
    width: 100%;
}

.field textarea { resize: vertical; }

.field input::placeholder,
.field textarea::placeholder { color: #5a5a72; }

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: #00c853;
    box-shadow: 0 0 12px rgba(0, 200, 83, 0.2);
}

.field input.invalid,
.field select.invalid {
    border-color: #ff5c5c;
    box-shadow: 0 0 10px rgba(255, 92, 92, 0.2);
}

/* Error + actions */
.form-error {
    display: none;
    background: rgba(255, 92, 92, 0.12);
    border: 1px solid rgba(255, 92, 92, 0.35);
    color: #ff8f8f;
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.form-error.show { display: block; }

.form-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.form-actions .btn { flex: 1; text-align: center; min-width: 200px; }

.form-note {
    text-align: center;
    color: #7a7a92;
    font-size: 13px;
    margin-top: 18px;
}

/* Success */
.enquiry-success {
    background: rgba(22, 22, 22, 0.6);
    border: 1px solid rgba(0, 200, 83, 0.3);
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
}

.enquiry-success.hidden,
.enquiry-form.hidden { display: none; }

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #00c853, #00ff6b);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    font-weight: 900;
    box-shadow: 0 0 30px rgba(0, 200, 83, 0.4);
}

.enquiry-success h2 {
    color: #00ff6b;
    font-size: 28px;
    margin-bottom: 15px;
}

.enquiry-success p {
    color: #c0c0e0;
    font-size: 16px;
    margin-bottom: 30px;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.enquiry-success .btn { margin: 0 8px 10px; }

/* Responsive */
@media (max-width: 640px) {
    .enquiry-head h1 { font-size: 30px; }
    .enquiry-form { padding: 25px 20px; }
    .field-row { grid-template-columns: 1fr; gap: 16px; }
    .field-grid { grid-template-columns: 1fr 1fr; }
    .form-actions .btn { min-width: 100%; }
}
