/* =============================================================
   DeepStudio — Coming Soon / Neon CF7 Form
   ============================================================= */

/* ---- Under Construction block ---- */
.uc-section {
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 32px;
}

/* ---- "Deep Creative Studio" — bold neon heading ---- */
.uc-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: clamp(0.5rem, 4vw, 2.5rem);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #38bdf8;
    text-shadow:
        0 0 8px  rgba(56, 189, 248, 1),
        0 0 24px rgba(56, 189, 248, 0.85),
        0 0 50px rgba(14, 165, 233, 0.6),
        0 0 90px rgba(14, 165, 233, 0.3);
    margin: 0 0 20px;
    text-align: center;
    line-height: 1.15;
    animation: neon-pulse-title 3s ease-in-out infinite alternate;
    max-width: 100%;
    word-break: break-word;
}

/* ---- Neon subtitle ---- */
.uc-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(0.88rem, 2vw, 1.08rem);
    letter-spacing: 0.06em;
    color: #38bdf8;
    text-shadow:
        0 0 10px rgba(56, 189, 248, 0.8),
        0 0 24px rgba(14, 165, 233, 0.5);
    margin: 0 0 32px;
    text-align: center;
    max-width: 90vw;
    line-height: 1.6;
}

/* ---- Separator ---- */
.uc-separator {
    width: 160px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #0ea5e9, #7dd3fc, #0ea5e9, transparent);
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.5);
    margin: 0 auto 36px;
    animation: separator-glow 2.2s ease-in-out infinite alternate;
}

/* ---- Form container — outer wrapper only, stars visible through ---- */
.neon-form-wrap {
    width: 100%;
    max-width: 520px;
    background: rgba(2, 6, 23, 0.10);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 12px;
    padding: 36px 32px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow:
        0 0 30px rgba(56, 189, 248, 0.08),
        inset 0 0 40px rgba(14, 165, 233, 0.02);
    box-sizing: border-box;
    pointer-events: auto !important;
}

/* ---- CF7 reset ---- */
.neon-form-wrap .wpcf7 { margin: 0; }
.neon-form-wrap .wpcf7-form { display: flex; flex-direction: column; gap: 22px; }

/* ---- Form sections ---- */
.neon-form-wrap .cf7-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.neon-form-wrap .cf7-section-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #38bdf8;
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.5);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.neon-form-wrap .cf7-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 1px solid rgba(56, 189, 248, 0.6);
    border-radius: 50%;
    font-size: 0.68rem;
    color: #38bdf8;
    flex-shrink: 0;
    line-height: 1;
    box-shadow: 0 0 6px rgba(56, 189, 248, 0.25);
}

.neon-form-wrap .cf7-hint {
    font-family: 'Inter', sans-serif;
    font-size: 0.84rem;
    color: rgba(56, 189, 248, 0.62);
    margin: 0;
    line-height: 1.6;
}

.neon-form-wrap .cf7-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.28), transparent);
    border: none;
    margin: 2px 0;
}

/* ---- Budget range (custom HTML radio — avoids CF7 parser issues) ---- */
.ds-budget-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.ds-budget-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 20px;
    border: 1px solid rgba(14, 165, 233, 0.28);
    border-radius: 6px;
    cursor: pointer;
    background: rgba(14, 165, 233, 0.04);
    box-sizing: border-box;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    user-select: none;
    -webkit-user-select: none;
    margin-bottom: 0;
    text-transform: none;
    font-weight: 400;
    letter-spacing: normal;
}

.ds-budget-item:hover {
    border-color: rgba(14, 165, 233, 0.55);
    background: rgba(14, 165, 233, 0.08);
}

.ds-budget-item:has(input:checked) {
    border-color: rgba(14, 165, 233, 0.7);
    background: rgba(14, 165, 233, 0.12);
    box-shadow: 0 0 14px rgba(14, 165, 233, 0.18);
}

.ds-budget-item input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    min-width: 15px;
    border: 1px solid rgba(14, 165, 233, 0.5);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    padding: 0;
    margin: 0;
    flex-shrink: 0;
}

.ds-budget-item input[type="radio"]:checked {
    border-color: #0ea5e9;
    box-shadow: inset 0 0 0 3px #020617, inset 0 0 0 5px #0ea5e9;
}

.ds-budget-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    color: #7dd3fc;
    letter-spacing: 0.04em;
}

.ds-budget-item:has(input:checked) .ds-budget-label {
    color: #bae6fd;
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.4);
}

/* ---- Labels ---- */
.neon-form-wrap label,
.neon-form-wrap .wpcf7-form label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #38bdf8;
    margin-bottom: 7px;
}

.neon-form-wrap .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* ---- Inputs & textarea ---- */
.neon-form-wrap input[type="text"],
.neon-form-wrap input[type="email"],
.neon-form-wrap input[type="tel"],
.neon-form-wrap input[type="url"],
.neon-form-wrap textarea,
.neon-form-wrap select {
    width: 100%;
    background: rgba(14, 165, 233, 0.06);
    border: 1px solid rgba(14, 165, 233, 0.4);
    border-radius: 6px;
    padding: 12px 15px;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    color: #38bdf8;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
    box-sizing: border-box;
    caret-color: #38bdf8;
    -webkit-appearance: none;
}

.neon-form-wrap input[type="text"]::placeholder,
.neon-form-wrap input[type="email"]::placeholder,
.neon-form-wrap input[type="tel"]::placeholder,
.neon-form-wrap textarea::placeholder {
    color: rgba(56, 189, 248, 0.38);
}

.neon-form-wrap input[type="text"]:focus,
.neon-form-wrap input[type="email"]:focus,
.neon-form-wrap input[type="tel"]:focus,
.neon-form-wrap input[type="url"]:focus,
.neon-form-wrap textarea:focus,
.neon-form-wrap select:focus {
    border-color: #0ea5e9;
    background: rgba(14, 165, 233, 0.1);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.13), 0 0 18px rgba(14, 165, 233, 0.18);
}

.neon-form-wrap textarea {
    resize: vertical;
    min-height: 110px;
}

/* ---- Submit button ---- */
.neon-form-wrap input[type="submit"],
.neon-form-wrap .wpcf7-submit {
    width: 100%;
    padding: 13px 24px;
    background: transparent;
    border: 1px solid #0ea5e9;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #7dd3fc;
    cursor: pointer;
    transition: background 0.25s, box-shadow 0.25s, color 0.25s, transform 0.1s;
    animation: btn-glow-idle 2.6s ease-in-out infinite alternate;
}

.neon-form-wrap input[type="submit"]:hover,
.neon-form-wrap .wpcf7-submit:hover {
    background: rgba(14, 165, 233, 0.1);
    color: #e0f2fe;
    box-shadow: 0 0 22px rgba(14, 165, 233, 0.55), 0 0 44px rgba(14, 165, 233, 0.25);
}

.neon-form-wrap input[type="submit"]:active,
.neon-form-wrap .wpcf7-submit:active { transform: scale(0.98); }

.neon-form-wrap .wpcf7-spinner { display: none; }

/* ---- Validation ---- */
.neon-form-wrap .wpcf7-not-valid-tip {
    color: #f87171;
    font-size: 0.75rem;
    margin-top: 4px;
    display: block;
}

.neon-form-wrap .wpcf7-response-output,
.neon-form-wrap .wpcf7 .wpcf7-response-output {
    display: none;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.04em;
    margin-top: 4px !important;
    text-align: center;
}

/* Hide hidden CF7 field wrapper so it doesn't render as a block gap */
.neon-form-wrap .wpcf7-form-control-wrap:has(input.wpcf7-hidden) {
    display: none !important;
}

.neon-form-wrap .wpcf7-mail-sent-ok,
.neon-form-wrap .wpcf7 .wpcf7-mail-sent-ok {
    display: block !important;
    background: rgba(34, 197, 94, 0.15) !important;
    border: 1px solid rgba(34, 197, 94, 0.55) !important;
    color: #86efac !important;
    text-shadow: 0 0 10px rgba(34, 197, 94, 0.6);
    box-shadow: 0 0 14px rgba(34, 197, 94, 0.2);
}

.neon-form-wrap .wpcf7-mail-sent-ng,
.neon-form-wrap .wpcf7 .wpcf7-mail-sent-ng,
.neon-form-wrap .wpcf7-spam-blocked,
.neon-form-wrap .wpcf7 .wpcf7-spam-blocked {
    display: block !important;
    background: rgba(239, 68, 68, 0.15) !important;
    border: 1px solid rgba(239, 68, 68, 0.55) !important;
    color: #fca5a5 !important;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.2);
}

.neon-form-wrap .wpcf7-validation-errors,
.neon-form-wrap .wpcf7 .wpcf7-validation-errors {
    display: block !important;
    background: rgba(234, 179, 8, 0.15) !important;
    border: 1px solid rgba(234, 179, 8, 0.55) !important;
    color: #fde047 !important;
    text-shadow: 0 0 10px rgba(234, 179, 8, 0.6);
    box-shadow: 0 0 14px rgba(234, 179, 8, 0.2);
}

.cs-plugin-notice {
    color: #7dd3fc;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
    margin: 0;
}

.neon-form-wrap .g-recaptcha { margin: 4px 0; }

/* ---- Thank You screen ---- */
.ds-thankyou {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 20px 0 10px;
    text-align: center;
}

.ds-ty-check {
    width: 58px;
    height: 58px;
    border: 1px solid rgba(56, 189, 248, 0.45);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    box-shadow: 0 0 22px rgba(14, 165, 233, 0.28);
    animation: separator-glow 2.2s ease-in-out infinite alternate;
}

.ds-ty-title {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #38bdf8;
    letter-spacing: 0.08em;
    text-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
    margin: 6px 0 0;
}

.ds-ty-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.83rem;
    color: rgba(125, 211, 252, 0.65);
    margin: 0;
    line-height: 1.55;
}

.ds-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 10px;
    padding: 12px 22px;
    background: rgba(37, 211, 102, 0.09);
    border: 1px solid rgba(37, 211, 102, 0.45);
    border-radius: 6px;
    color: #4ade80;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: background 0.25s, box-shadow 0.25s;
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.12);
}

.ds-wa-btn:hover {
    background: rgba(37, 211, 102, 0.17);
    box-shadow: 0 0 22px rgba(37, 211, 102, 0.38);
}

.ds-wa-below-form {
    margin-top: 18px;
    pointer-events: auto;
}

/* ---- Social links ---- */
.social-links {
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: center;
    margin-top: 28px;
    pointer-events: auto;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: 50%;
    color: #38bdf8;
    text-decoration: none;
    transition: color 0.25s, border-color 0.25s, box-shadow 0.25s, background 0.25s;
    box-shadow: 0 0 8px rgba(14, 165, 233, 0.18);
    animation: btn-glow-idle 2.6s ease-in-out infinite alternate;
}

.social-link svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.social-link:hover {
    color: #e0f2fe;
    border-color: #0ea5e9;
    background: rgba(14, 165, 233, 0.1);
    box-shadow: 0 0 22px rgba(14, 165, 233, 0.55), 0 0 44px rgba(14, 165, 233, 0.25);
}

/* ---- Desktop: subtitle on one line, more top gap ---- */
@media (min-width: 768px) {
    .uc-subtitle {
        white-space: nowrap;
        max-width: none;
        margin-top: 6px;
        font-size: 1.08rem;
    }

    .uc-section {
        margin-top: 40px;
    }
}

/* ---- Mobile — no horizontal overflow ---- */
@media (max-width: 600px) {
    #ui-layer {
        padding: 30px 16px 60px;
    }

    .logo-container,
    #logo-canvas {
        width: 200px;
        height: 200px;
    }

    .uc-section {
        margin-top: 20px;
    }

    .neon-form-wrap {
        padding: 24px 16px;
    }

    .uc-separator {
        width: 100px;
    }

    .uc-subtitle {
        white-space: normal;
        font-size: 0.9rem;
        max-width: 90vw;
    }
}

/* ---- Animations ---- */
@keyframes neon-pulse-title {
    from {
        text-shadow:
            0 0 8px  rgba(125, 211, 252, 1),
            0 0 24px rgba(14,  165, 233, 0.8),
            0 0 50px rgba(14,  165, 233, 0.5),
            0 0 90px rgba(14,  165, 233, 0.2);
    }
    to {
        text-shadow:
            0 0 12px rgba(125, 211, 252, 1),
            0 0 40px rgba(14,  165, 233, 1),
            0 0 80px rgba(14,  165, 233, 0.7),
            0 0 140px rgba(14, 165, 233, 0.3);
    }
}

@keyframes separator-glow {
    from { box-shadow: 0 0 7px rgba(14, 165, 233, 0.35); }
    to   { box-shadow: 0 0 22px rgba(14, 165, 233, 0.85); }
}

@keyframes btn-glow-idle {
    from { box-shadow: 0 0 8px rgba(14, 165, 233, 0.18); }
    to   { box-shadow: 0 0 20px rgba(14, 165, 233, 0.46); }
}
