/* ── Creatorbox Collector Inquiry Form ── */
:root {
    --cbcf-bg:      #070709;
    --cbcf-text:    #F5F5F5;
    --cbcf-muted:   rgba(255,255,255,0.6);
    --cbcf-line:    rgba(255,255,255,0.10);
    --cbcf-focus:   rgba(255,255,255,0.4);
    --cbcf-error:   #e05c5c;
    --cbcf-success: rgba(255,255,255,0.08);
}

/* ── layout wrappers ── */
.cbcf-hero,
.cbcf-form-section {
    padding: 80px 10%;
    max-width: 900px;
    margin: auto;
}

/* ── hero ── */
.cbcf-hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 300;
    line-height: 1.1;
    color: var(--cbcf-text);
}

.cbcf-hero p {
    font-size: 18px;
    color: var(--cbcf-muted);
    line-height: 1.7;
    margin-top: 20px;
}

/* ── notices ── */
.cbcf-notice {
    padding: 16px 20px;
    border-radius: 2px;
    margin-bottom: 30px;
    font-size: 15px;
    line-height: 1.5;
}

.cbcf-notice--success {
    background: rgba(0,200,120,0.08);
    border: 1px solid rgba(0,200,120,0.25);
    color: #5effc8;
}

.cbcf-notice--error {
    background: rgba(224,92,92,0.08);
    border: 1px solid rgba(224,92,92,0.3);
    color: var(--cbcf-error);
}

/* ── form layout ── */
#cbcf-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 0;
}

/* ── honeypot ── */
.cbcf-hp {
    position: absolute;
    left: -9999px;
    visibility: hidden;
    pointer-events: none;
}

/* ── field ── */
.cbcf-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cbcf-field label {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--cbcf-text);
    opacity: 0.7;
}

.cbcf-req {
    color: var(--cbcf-error);
    opacity: 1;
}

/* ── inputs ── */
.cbcf-form-section input,
.cbcf-form-section select,
.cbcf-form-section textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--cbcf-line);
    color: var(--cbcf-text);
    padding: 12px 0;
    font-size: 16px;
    font-family: inherit;
    outline: none;
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color 0.2s ease;
}

.cbcf-form-section select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    padding-right: 24px;
}

.cbcf-form-section select option {
    background: #111;
    color: #f5f5f5;
}

.cbcf-form-section input:focus,
.cbcf-form-section textarea:focus,
.cbcf-form-section select:focus {
    border-bottom-color: var(--cbcf-focus);
}

/* inline validation */
.cbcf-form-section input.cbcf-invalid,
.cbcf-form-section textarea.cbcf-invalid {
    border-bottom-color: var(--cbcf-error);
}

.cbcf-field-error {
    font-size: 12px;
    color: var(--cbcf-error);
    min-height: 16px;
    display: block;
}

/* ── button ── */
#cbcf-submit {
    margin-top: 10px;
    padding: 16px;
    border: 1px solid var(--cbcf-line);
    background: transparent;
    color: var(--cbcf-text);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: inherit;
}

#cbcf-submit:hover:not(:disabled) {
    background: #fff;
    color: #000;
}

#cbcf-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* spinner */
.cbcf-btn-spinner {
    display: none;
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: cbcf-spin 0.6s linear infinite;
}

#cbcf-submit.cbcf-loading .cbcf-btn-spinner { display: inline-block; }
#cbcf-submit.cbcf-loading .cbcf-btn-label   { opacity: 0.6; }

@keyframes cbcf-spin { to { transform: rotate(360deg); } }

/* ── note ── */
.cbcf-note {
    margin-top: 40px;
    font-size: 14px;
    color: var(--cbcf-muted);
    line-height: 1.6;
}

.cbcf-note small {
    font-size: 12px;
    opacity: 0.7;
}

/* ── success state ── */
#cbcf-form.cbcf-submitted {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

/* ── reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    .cbcf-btn-spinner { animation: none; }
    #cbcf-submit, .cbcf-form-section input,
    .cbcf-form-section textarea, .cbcf-form-section select {
        transition: none;
    }
}

/* ── responsive ── */
@media (max-width: 600px) {
    .cbcf-hero,
    .cbcf-form-section { padding: 60px 6%; }
}
