/* ============================================================
   DigiTwow Application Form — Frontend Styles v1.2.0
   Palette:
     Page bg      : #000000
     Surface-1    : #0F0F0F
     Surface-2    : #171717
     Surface-3    : #1A1A1A
     Orange CTA   : #F97316
     Orange hover : #EA6C0A
     White        : #FFFFFF
     Muted        : rgba(255,255,255,0.50)
     Border       : rgba(255,255,255,0.08)
   ============================================================ */

/* ─── Reset scope ──────────────────────────────────────────── */
.dw-form-section *,
.dw-form-section *::before,
.dw-form-section *::after,
.dw-proof-strip *,
.dw-proof-strip *::before,
.dw-proof-strip *::after {
    box-sizing: border-box;
}

/* ══════════════════════════════════════════════════════════════
   SECTION 1 — APPLICATION FORM
   ══════════════════════════════════════════════════════════════ */

/* ── Section wrapper ──────────────────────────────────────── */
.dw-form-section {
    background: #000000 !important;
    padding: 96px 20px !important;
    width: 100% !important;
    position: relative !important;
    overflow: hidden !important;
}

.dw-form-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse 70% 50% at 50% -10%, rgba(249,115,22,0.07) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.dw-form-container {
    max-width: 760px !important;
    margin: 0 auto !important;
    position: relative;
    z-index: 1;
}

/* ── Header ───────────────────────────────────────────────── */
.dw-form-header {
    text-align: center;
    margin-bottom: 48px;
}

.dw-form-headline {
    font-size: clamp(1.7rem, 4vw, 2.4rem) !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    line-height: 1.2 !important;
    margin: 0 0 14px !important;
    letter-spacing: -0.03em !important;
}

.dw-form-subheadline {
    font-size: 1rem !important;
    color: rgba(255,255,255,0.52) !important;
    margin: 0 auto 28px !important;
    line-height: 1.7 !important;
    max-width: 540px !important;
}

.dw-form-notice {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    background: rgba(249,115,22,0.06) !important;
    border: 1px solid rgba(249,115,22,0.22) !important;
    border-radius: 12px !important;
    padding: 16px 20px !important;
    font-size: 0.875rem !important;
    color: rgba(255,255,255,0.60) !important;
    text-align: left !important;
    line-height: 1.6 !important;
}

.dw-form-notice__icon {
    flex-shrink: 0;
    color: #F97316 !important;
    font-size: 1rem !important;
    margin-top: 2px;
}

/* ── Form card ────────────────────────────────────────────── */
.dw-form {
    background: #0F0F0F !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 20px !important;
    padding: 44px 40px !important;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.03),
        0 32px 80px rgba(0,0,0,0.70),
        0 8px 24px rgba(0,0,0,0.40) !important;
}

/* ── Grid ─────────────────────────────────────────────────── */
.dw-form__grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 22px 28px !important;
}

.dw-form__group--full {
    grid-column: 1 / -1 !important;
}

/* ── Labels ──────────────────────────────────────────────── */
.dw-form__label {
    display: block !important;
    font-size: 0.76rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.07em !important;
    text-transform: uppercase !important;
    color: #FFFFFF !important;
    margin-bottom: 8px !important;
}

.dw-form__label--sub {
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-weight: 500 !important;
    font-size: 0.82rem !important;
    color: #FFFFFF !important;
    margin-top: 16px !important;
}

.dw-required {
    color: #F97316 !important;
}

/* ── Inputs & Selects ────────────────────────────────────── */
.dw-form__input,
.dw-form__select {
    width: 100% !important;
    background: #171717 !important;
    border: 1px solid rgba(255,255,255,0.09) !important;
    border-radius: 10px !important;
    padding: 14px 18px !important;
    font-size: 0.95rem !important;
    color: #FFFFFF !important;
    outline: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    font-family: inherit !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
    box-shadow: none !important;
}

.dw-form__input::placeholder {
    color: rgba(255,255,255,0.20) !important;
    opacity: 1;
}

.dw-form__select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.28)' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    padding-right: 48px !important;
    cursor: pointer !important;
    /* Forces browser (incl. Windows Chrome/Edge/Firefox) to render
       the native popup in dark mode so options stay readable */
    color-scheme: dark !important;
}

.dw-form__select option {
    background-color: #1A1A1A !important;
    background: #1A1A1A !important;
    color: #FFFFFF !important;
}

.dw-form__select option:hover,
.dw-form__select option:focus,
.dw-form__select option:checked {
    background-color: #F97316 !important;
    background: #F97316 !important;
    color: #FFFFFF !important;
}

.dw-form__input:hover,
.dw-form__select:hover {
    border-color: rgba(255,255,255,0.16) !important;
    background: #1A1A1A !important;
}

.dw-form__input:focus,
.dw-form__select:focus {
    border-color: rgba(249,115,22,0.55) !important;
    background: #1C1C1C !important;
    box-shadow: 0 0 0 3px rgba(249,115,22,0.10) !important;
}

.dw-form__input.dw-error,
.dw-form__select.dw-error {
    border-color: rgba(239,68,68,0.60) !important;
    box-shadow: 0 0 0 3px rgba(239,68,68,0.10) !important;
}

/* ── Conditional fields ─────────────────────────────────── */
.dw-conditional-field { margin-top: 6px; }
.dw-conditional-field[hidden] { display: none !important; }

/* ── Response area ───────────────────────────────────────── */
.dw-form__response {
    margin-top: 22px;
    padding: 16px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1.55;
}
.dw-form__response[hidden] { display: none !important; }
.dw-form__response--error {
    background: rgba(239,68,68,0.08) !important;
    border: 1px solid rgba(239,68,68,0.25) !important;
    color: #FCA5A5 !important;
}
.dw-form__response--success {
    background: rgba(34,197,94,0.08) !important;
    border: 1px solid rgba(34,197,94,0.25) !important;
    color: #86EFAC !important;
}

/* ══════════════════════════════════════════════════════════════
   SUBMIT BUTTON — full solid orange, all overrides
   ══════════════════════════════════════════════════════════════ */
.dw-form__submit-wrap {
    margin-top: 32px !important;
    text-align: center !important;
}

.dw-form__submit,
.dw-form__submit:link,
.dw-form__submit:visited,
button#dw-submit-btn,
#dw-application-form .dw-form__submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;

    /* ── Solid orange — no border, no gradient illusions ── */
    background: #F97316 !important;
    background-color: #F97316 !important;
    background-image: none !important;
    border: none !important;
    border-color: transparent !important;
    outline: none !important;
    box-shadow: 0 6px 28px rgba(249,115,22,0.38), 0 2px 6px rgba(0,0,0,0.45) !important;

    color: #FFFFFF !important;
    font-family: inherit !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    text-transform: none !important;
    text-decoration: none !important;
    text-shadow: none !important;

    padding: 18px 52px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    min-width: 260px !important;
    width: auto !important;
    height: auto !important;
    line-height: 1 !important;
    position: relative !important;
    overflow: hidden !important;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease !important;
}

/* Subtle shine overlay — purely decorative */
.dw-form__submit::after {
    content: '' !important;
    position: absolute;
    inset: 0;
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(255,255,255,0.10) 0%, transparent 55%);
    pointer-events: none;
}

.dw-form__submit:hover,
#dw-application-form .dw-form__submit:hover {
    background: #EA6C0A !important;
    background-color: #EA6C0A !important;
    background-image: none !important;
    color: #FFFFFF !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 36px rgba(249,115,22,0.45), 0 3px 10px rgba(0,0,0,0.45) !important;
    text-decoration: none !important;
}

.dw-form__submit:active,
#dw-application-form .dw-form__submit:active {
    transform: translateY(0) !important;
    box-shadow: 0 4px 16px rgba(249,115,22,0.28), 0 2px 6px rgba(0,0,0,0.40) !important;
}

.dw-form__submit:disabled,
#dw-application-form .dw-form__submit:disabled {
    opacity: 0.50 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

/* Spinner */
.dw-btn-spinner svg { animation: dw-spin 0.75s linear infinite; }
@keyframes dw-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ── Footnote ────────────────────────────────────────────── */
.dw-form__footnote {
    margin-top: 16px !important;
    font-size: 0.77rem !important;
    color: rgba(255,255,255,0.26) !important;
    line-height: 1.55 !important;
}

/* ══════════════════════════════════════════════════════════════
   SECTION 2 — HERO PROOF STRIP
   ══════════════════════════════════════════════════════════════ */

.dw-proof-strip {
    background: #000000 !important;
    padding: 64px 20px 80px !important;
    width: 100% !important;
    border-top: 1px solid rgba(255,255,255,0.06) !important;
    position: relative !important;
    overflow: hidden !important;
}

.dw-proof-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 50% at 50% 100%, rgba(249,115,22,0.04) 0%, transparent 70%);
    pointer-events: none;
}

.dw-proof-strip__inner {
    max-width: 1080px !important;
    margin: 0 auto !important;
    position: relative;
    z-index: 1;
}

/* ── Eyebrow ──────────────────────────────────────────────── */
.dw-proof-strip__eyebrow {
    text-align: center !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,0.26) !important;
    margin: 0 0 32px !important;
}

/* ── Industry pills ───────────────────────────────────────── */
.dw-proof-strip__logos {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 8px 14px !important;
    margin-bottom: 16px !important;
}

.dw-proof-logo {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    background: #0F0F0F !important;
    border: 1px solid rgba(255,255,255,0.07) !important;
    border-radius: 50px !important;
    padding: 8px 18px !important;
    font-size: 0.80rem !important;
    font-weight: 600 !important;
    color: rgba(255,255,255,0.38) !important;
    letter-spacing: 0.03em !important;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease !important;
    text-decoration: none !important;
}

.dw-proof-logo:hover {
    border-color: rgba(249,115,22,0.30) !important;
    color: rgba(255,255,255,0.72) !important;
    background: rgba(249,115,22,0.04) !important;
}

.dw-proof-logo__icon {
    width: 14px !important;
    height: 14px !important;
    flex-shrink: 0;
    color: #F97316 !important;
}

/* ── Divider ─────────────────────────────────────────────── */
.dw-proof-strip__divider {
    width: 48px !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, rgba(249,115,22,0.45), transparent) !important;
    margin: 44px auto !important;
    border: none !important;
}

/* ── Content grid ─────────────────────────────────────────── */
.dw-proof-strip__content {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 48px 64px !important;
    align-items: start !important;
    margin-bottom: 56px !important;
}

.dw-proof-strip__headline {
    font-size: clamp(1.45rem, 3vw, 2rem) !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    line-height: 1.22 !important;
    letter-spacing: -0.03em !important;
    margin: 0 0 16px !important;
}

.dw-proof-strip__body {
    font-size: 0.96rem !important;
    color: rgba(255,255,255,0.48) !important;
    line-height: 1.75 !important;
    margin: 0 0 30px !important;
}

/* ── CTA button inside proof strip ───────────────────────── */
.dw-proof-strip__cta,
.dw-proof-strip__cta:link,
.dw-proof-strip__cta:visited {
    display: inline-block !important;
    background: #F97316 !important;
    background-color: #F97316 !important;
    background-image: none !important;
    border: none !important;
    color: #FFFFFF !important;
    font-size: 0.94rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    padding: 15px 34px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    text-shadow: none !important;
    box-shadow: 0 4px 22px rgba(249,115,22,0.32), 0 1px 4px rgba(0,0,0,0.40) !important;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease !important;
}

.dw-proof-strip__cta:hover {
    background: #EA6C0A !important;
    background-color: #EA6C0A !important;
    color: #FFFFFF !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 32px rgba(249,115,22,0.42), 0 2px 8px rgba(0,0,0,0.40) !important;
    text-decoration: none !important;
}

.dw-proof-strip__cta-note {
    margin-top: 14px !important;
    font-size: 0.76rem !important;
    color: rgba(255,255,255,0.26) !important;
    line-height: 1.55 !important;
}

/* ── Testimonials column ──────────────────────────────────── */
.dw-proof-strip__testimonials {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}

.dw-proof-card {
    background: #0F0F0F !important;
    border: 1px solid rgba(255,255,255,0.07) !important;
    border-radius: 16px !important;
    padding: 24px 26px !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.55) !important;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease !important;
}

.dw-proof-card:hover {
    border-color: rgba(249,115,22,0.22) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 18px 50px rgba(0,0,0,0.60) !important;
}

.dw-proof-card--secondary {
    background: #111111 !important;
    border-color: rgba(255,255,255,0.05) !important;
}

.dw-proof-card__stars {
    color: #F97316 !important;
    font-size: 0.80rem !important;
    letter-spacing: 3px !important;
    margin-bottom: 12px !important;
}

.dw-proof-card__quote {
    font-size: 0.875rem !important;
    color: rgba(255,255,255,0.70) !important;
    line-height: 1.70 !important;
    margin: 0 0 18px !important;
    font-style: italic !important;
    border: none !important;
    padding: 0 !important;
}

.dw-proof-card__author {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.dw-proof-card__avatar {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #F97316 0%, #EA6C0A 100%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.85rem !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    flex-shrink: 0;
    box-shadow: 0 2px 12px rgba(249,115,22,0.28) !important;
}

.dw-proof-card__avatar--blue {
    background: linear-gradient(135deg, #6B7280 0%, #4B5563 100%) !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.30) !important;
}

.dw-proof-card__meta { display: flex !important; flex-direction: column !important; gap: 3px !important; }
.dw-proof-card__meta strong { font-size: 0.87rem !important; color: #FFFFFF !important; font-weight: 700 !important; }
.dw-proof-card__meta span  { font-size: 0.76rem !important; color: rgba(255,255,255,0.33) !important; }

/* ── Stats bar ────────────────────────────────────────────── */
.dw-proof-strip__stats {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    background: #0F0F0F !important;
    border: 1px solid rgba(255,255,255,0.07) !important;
    border-radius: 16px !important;
    padding: 28px 48px !important;
    flex-wrap: wrap !important;
}

.dw-proof-stat {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 5px !important;
    flex: 1 !important;
    min-width: 120px !important;
    text-align: center !important;
}

.dw-proof-stat__number {
    font-size: clamp(1.5rem, 3vw, 2rem) !important;
    font-weight: 800 !important;
    color: #F97316 !important;
    letter-spacing: -0.03em !important;
    line-height: 1 !important;
}

.dw-proof-stat__label {
    font-size: 0.76rem !important;
    color: rgba(255,255,255,0.36) !important;
    letter-spacing: 0.02em !important;
    line-height: 1.45 !important;
}

.dw-proof-stat__sep {
    width: 1px !important;
    height: 40px !important;
    background: rgba(255,255,255,0.08) !important;
    flex-shrink: 0;
    margin: 0 20px !important;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 860px) {
    .dw-proof-strip__content {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
}

@media (max-width: 640px) {
    .dw-form-section {
        padding: 60px 16px !important;
    }

    .dw-form {
        padding: 32px 20px !important;
        border-radius: 16px !important;
    }

    .dw-form__grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .dw-form__group--full {
        grid-column: 1 !important;
    }

    .dw-form__submit,
    #dw-application-form .dw-form__submit {
        width: 100% !important;
        min-width: unset !important;
        padding: 18px 24px !important;
    }

    .dw-proof-strip {
        padding: 48px 16px 60px !important;
    }

    .dw-proof-strip__stats {
        flex-direction: column !important;
        gap: 24px !important;
        padding: 24px 20px !important;
    }

    .dw-proof-stat__sep {
        width: 40px !important;
        height: 1px !important;
        margin: 0 !important;
    }

    .dw-proof-strip__cta,
    .dw-proof-strip__cta:link {
        width: 100% !important;
        text-align: center !important;
        display: block !important;
    }

    .dw-proof-strip__logos {
        gap: 8px 10px !important;
    }
}
