/* ══════════════════════════════════════════════════════════
   STARTUP PROGRAM PAGE — Premium Design Styles
   ══════════════════════════════════════════════════════════ */

/* ── Hero Section ── */
.sp-hero {
    position: relative;
    background: linear-gradient(135deg, var(--mfr-shade-9) 0%, var(--mfr-shade-7) 40%, var(--mfr-base) 100%);
    overflow: hidden;
}
.sp-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    pointer-events: none;
}
.sp-hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    pointer-events: none;
}
.sp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--mfr-tint-6);
}
.sp-eyebrow::before {
    content: '';
    width: 36px;
    height: 1px;
    background: var(--mfr-tint-5);
}

/* ── Phase Cards ── */
.sp-phase-card {
    position: relative;
    background: white;
    border: 1px solid hsl(var(--border));
    border-radius: 1rem;
    padding: 1.75rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.sp-phase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--mfr-base), var(--mfr-tint-4));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.sp-phase-card:hover {
    border-color: rgba(0,0,103,0.15);
    box-shadow: 0 8px 32px rgba(0,0,103,0.08);
    transform: translateY(-4px);
}
.sp-phase-card:hover::before {
    opacity: 1;
}

/* ── Objective Bullets ── */
.sp-objective {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.7;
    color: #475569;
}
.sp-objective::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mfr-base), var(--mfr-tint-4));
}

/* ── Engagement Cards ── */
.sp-engage-card {
    background: white;
    border: 1px solid hsl(var(--border));
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}
.sp-engage-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,103,0.08);
    transform: translateY(-2px);
}

/* ── Support Info Cards ── */
.sp-support-card {
    background: white;
    border: 1px solid hsl(var(--border));
    border-radius: 1rem;
    padding: 1.75rem;
    transition: all 0.4s ease;
    height: 100%;
}
.sp-support-card:hover {
    border-color: rgba(0,0,103,0.15);
    box-shadow: 0 6px 24px rgba(0,0,103,0.06);
}

/* ── Eligibility Badges ── */
.sp-elig-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 1.25rem;
    background: white;
    border: 1px solid hsl(var(--border));
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}
.sp-elig-item:hover {
    border-color: rgba(0,0,103,0.15);
    box-shadow: 0 4px 16px rgba(0,0,103,0.05);
}

/* ── Form Card ── */
.sp-form-card {
    background: white;
    border-radius: 1.25rem;
    border: 1px solid hsl(var(--border));
    box-shadow: 0 8px 40px rgba(0,0,0,0.06);
    overflow: hidden;
}
.sp-form-header {
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid hsl(var(--border));
    background: linear-gradient(135deg, var(--mfr-surface, #f0f0ff), white);
}

/* ── Bootstrap form-control overrides to match design system ── */
.sp-form-card .form-control,
.sp-form-card .form-select {
    width: 100%;
    height: 46px;
    padding: 0 16px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--mfr-shade-8, #1a1a2e);
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}
.sp-form-card .form-control:focus,
.sp-form-card .form-select:focus {
    border-color: var(--mfr-base, #000067);
    background: #fff;
    box-shadow: 0 0 0 3.5px rgba(0,0,103,0.08);
}
.sp-form-card .form-control::placeholder {
    color: #94a3b8;
}
.sp-form-card textarea.form-control {
    height: auto;
    min-height: 100px;
    padding: 12px 16px;
    resize: vertical;
}
.sp-form-card .form-label {
    display: flex;
    align-items: center;
    gap: 3px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--mfr-shade-6, #374151);
    margin-bottom: 6px;
}
.sp-form-card .form-group {
    margin-bottom: 18px;
}

/* Submit / Reset Buttons */
.sp-submit-btn {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 10px;
    cursor: pointer;
    outline: none;
    border: none;
    background: linear-gradient(135deg, var(--mfr-base, #000067) 0%, var(--mfr-tint-4, #4d4db8) 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0,0,103,0.2);
    transition: all 0.3s ease;
    min-width: 140px;
}
.sp-submit-btn:hover {
    box-shadow: 0 6px 20px rgba(0,0,103,0.3);
    transform: translateY(-2px);
}
.sp-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
.sp-reset-btn {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 10px;
    cursor: pointer;
    outline: none;
    background: transparent;
    color: var(--mfr-shade-6, #64748b);
    border: 1.5px solid #e2e8f0;
    transition: all 0.3s ease;
    margin-left: 10px;
}
.sp-reset-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

/* File upload */
.sp-form-card .zcwf_file {
    width: 100%;
    padding: 10px 16px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.3s ease, background 0.3s ease;
}
.sp-form-card .zcwf_file:hover {
    border-color: var(--mfr-base, #000067);
    background: var(--mfr-surface, #f0f0ff);
}

/* Captcha */
.sp-form-card .captcha_failed_box {
    font-size: 12px;
    color: #ef4444;
    visibility: hidden;
    margin-top: 4px;
}
.sp-form-card .zcwf_col_help {
    display: none;
}

/* ── Form sticky on desktop ── */
.sp-form-sticky {
    position: sticky;
    top: 100px;
}
@media (max-width: 1023px) {
    .sp-form-sticky {
        position: static;
    }
}

/* ── Contact Band ── */
.sp-contact-band {
    position: relative;
    background: linear-gradient(135deg, var(--mfr-shade-9) 0%, var(--mfr-base) 100%);
    overflow: hidden;
}
.sp-contact-band::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    pointer-events: none;
}

/* ── Section Eyebrow ── */
.sp-section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--mfr-base);
    margin-bottom: 1rem;
}
.sp-section-eyebrow::before,
.sp-section-eyebrow::after {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--mfr-base);
}

/* ── Responsive ── */
@media all and (max-width: 600px) {
    .sp-submit-btn {
        width: 100%;
        min-width: unset;
    }
    .sp-reset-btn {
        width: 100%;
        margin-left: 0;
        margin-top: 8px;
    }
}
