/* Explain: Styling for the creator application intro and form sections. */
.apply-main {
    padding-top: 0;
}

.apply-split {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .apply-split {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }
}

/* ---------- Left intro panel ---------- */
.apply-intro {
    position: relative;
    overflow: hidden;
    padding: clamp(2rem, 5vw, 3.5rem);
    color: #f4f1fb;
    background:
        linear-gradient(180deg, rgba(15, 14, 19, 0.93), rgba(15, 14, 19, 0.97)),
        url('https://static.s123-cdn-static-d.com/ready_uploads/media/9595571/normal_63858b07703b7.jpg?format=avif') center / cover no-repeat;
}

.apply-intro::after {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 12%, rgba(124, 58, 237, 0.4), transparent 26rem);
    content: "";
    pointer-events: none;
}

.apply-intro-inner {
    position: relative;
    z-index: 1;
    max-width: 36rem;
    margin: 0 auto;
}

.apply-brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.apply-brand-mark {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.9rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.02em;
    color: #c4b5fd;
}

.apply-brand-line {
    width: 1px;
    height: 2.2rem;
    background: rgba(196, 181, 253, 0.4);
}

.apply-brand-text {
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #e9e6f7;
}

.apply-intro-title {
    margin: 1.6rem 0 0;
    font-size: clamp(2.2rem, 5vw, 3.1rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.apply-accent {
    color: #a78bfa;
}

.apply-intro-lead {
    margin: 1.1rem 0 0;
    font-size: 0.98rem;
    line-height: 1.75;
    color: rgba(244, 241, 251, 0.82);
}

.apply-intro-lead-strong {
    border-radius: 0 1rem 1rem 0;
    border-left: 3px solid #a78bfa;
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.22), rgba(124, 58, 237, 0.02));
    padding: 0.9rem 1.1rem;
    font-size: clamp(1.02rem, 2.2vw, 1.15rem);
    font-weight: 600;
    line-height: 1.7;
    color: #f4f1fb;
}

.apply-intro-punch {
    margin: 1.4rem 0 0;
    border-left: 3px solid #a78bfa;
    padding: 0.35rem 0 0.35rem 1.1rem;
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 2.6vw, 1.48rem);
    font-weight: 600;
    line-height: 1.55;
    color: #f4f1fb;
}

.apply-script {
    margin: 1.4rem 0 0;
    font-family: var(--font-script);
    font-size: 1.9rem;
    line-height: 1.1;
    color: #c4b5fd;
}

.apply-script-lg {
    margin: 0;
}

.apply-sub {
    margin: 2.6rem 0 1rem;
    font-size: clamp(1.1rem, 2.4vw, 1.35rem);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #f4f1fb;
}

.apply-offer-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 480px) {
    .apply-offer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.apply-offer {
    border: 1px solid rgba(167, 139, 250, 0.28);
    border-radius: 1.1rem;
    background: rgba(124, 58, 237, 0.08);
    padding: 1.2rem;
}

.apply-offer i {
    font-size: 1.5rem;
    color: #a78bfa;
}

.apply-offer h3 {
    margin: 0.8rem 0 0.4rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #f4f1fb;
}

.apply-offer p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.7;
    color: rgba(244, 241, 251, 0.72);
}

.apply-eligibility {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 1fr;
}

@media (min-width: 480px) {
    .apply-eligibility {
        grid-template-columns: 1fr 1fr;
    }
}

.apply-eligibility-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.9rem;
    color: rgba(244, 241, 251, 0.9);
}

.apply-eligibility-item i {
    color: #a78bfa;
}

.apply-steps {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .apply-steps {
        grid-template-columns: repeat(4, 1fr);
    }
}

.apply-step {
    text-align: center;
}

.apply-step-num {
    display: inline-flex;
    width: 2.6rem;
    height: 2.6rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(167, 139, 250, 0.5);
    border-radius: 999px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #c4b5fd;
}

.apply-step p {
    margin: 0.6rem 0 0;
    font-size: 0.82rem;
    line-height: 1.55;
    color: rgba(244, 241, 251, 0.8);
}

.apply-intro-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 2.6rem;
}

.apply-cta-button {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #7c3aed;
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    box-shadow: 0 16px 36px rgba(124, 58, 237, 0.4);
    transition: background 300ms ease, transform 300ms ease;
}

.apply-cta-button:hover {
    background: #6d28d9;
    transform: translateY(-2px);
}

.apply-intro-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2.8rem;
    border-top: 1px solid rgba(167, 139, 250, 0.25);
    padding-top: 1.2rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(244, 241, 251, 0.6);
}

/* ---------- Right form panel ---------- */
.apply-form-wrap {
    background: var(--background-color);
    padding: clamp(1.8rem, 5vw, 3.5rem);
}

.apply-form-inner {
    max-width: 40rem;
    margin: 0 auto;
}

.apply-topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.2rem;
}

.apply-brand-light .apply-brand-mark {
    color: #000000;
}

.apply-brand-light .apply-brand-line {
    background: var(--border-color);
}

.apply-brand-light .apply-brand-text {
    color: var(--text-muted);
}

.apply-topbar-tag {
    margin: 0;
    max-width: 12rem;
    text-align: right;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #000000;
}

.apply-form-title {
    margin: 1.8rem 0 0;
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-color);
}

.apply-form-desc {
    margin: 0.8rem 0 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.apply-sec-title {
    margin: 2.4rem 0 1.1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.6rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-color);
}

.apply-grid {
    display: grid;
    gap: 1.1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .apply-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.apply-field {
    display: block;
    min-width: 0;
    margin: 0;
    border: 0;
    padding: 0;
}

.apply-field-wide {
    grid-column: 1 / -1;
}

.apply-label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.apply-req {
    color: var(--apply-accent);
}

.apply-input,
.apply-select,
.apply-textarea {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    background: #ffffff;
    padding: 0.7rem 0.85rem;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}

.apply-input::placeholder,
.apply-textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.apply-input:focus,
.apply-select:focus,
.apply-textarea:focus {
    border-color: var(--apply-accent);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.16);
    outline: none;
}

.apply-textarea {
    min-height: 110px;
    resize: vertical;
}

.apply-checks,
.apply-radios {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.apply-check {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: #ffffff;
    padding: 0.5rem 0.9rem;
    font-size: 0.85rem;
    color: var(--text-color);
    cursor: pointer;
    transition: border-color 200ms ease, background 200ms ease;
}

.apply-check:hover {
    border-color: var(--apply-accent);
}

.apply-check input {
    accent-color: var(--apply-accent);
}

.apply-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    border: 1px solid var(--border-color);
    border-radius: 0.9rem;
    background: var(--surface-color);
    padding: 1rem;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-muted);
    cursor: pointer;
}

.apply-consent input {
    margin-top: 0.2rem;
    accent-color: var(--apply-accent);
}

.apply-social {
    display: grid;
    gap: 1rem;
}

.apply-social-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 0.9rem;
    background: var(--field-bg);
    padding: 0.85rem;
}

.apply-social-row .apply-social-icon {
    align-self: start;
    margin-top: 0.1rem;
}

.apply-social-count {
    grid-column: 1 / -1;
}

@media (min-width: 640px) {
    .apply-social-row {
        grid-template-columns: auto 1fr 12rem;
        align-items: end;
    }

    .apply-social-row .apply-social-icon {
        align-self: center;
        margin-top: 0;
    }

    .apply-social-count {
        grid-column: auto;
    }
}

.apply-social-icon {
    display: inline-flex;
    width: 2.6rem;
    height: 2.6rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    font-size: 1.15rem;
    color: #ffffff;
}

.apply-social-instagram {
    background: linear-gradient(135deg, #f58529, #dd2a7b 55%, #8134af);
}

.apply-social-tiktok {
    background: #111014;
}

.apply-social-youtube {
    background: #ff0000;
}

.apply-social-x {
    background: #111014;
}

.apply-submit {
    display: inline-flex;
    width: 100%;
    min-height: 3.1rem;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    border: 0;
    border-radius: 0.85rem;
    background: #111014;
    padding: 0.9rem 2rem;
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #ffffff;
    transition: background 300ms ease, transform 300ms ease;
}

.apply-submit:hover {
    background: #7c3aed;
    transform: translateY(-2px);
}

.apply-submit:disabled {
    opacity: 0.6;
    transform: none;
}

.apply-status {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.apply-form-foot {
    margin: 2rem 0 0;
    text-align: center;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

/* ---------- Scroll Hint ---------- */
.apply-scroll-hint {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

@media (min-width: 1024px) {
    .apply-scroll-hint {
        display: none;
    }
}

.apply-scroll-hint a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(244, 241, 251, 0.7);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 300ms ease;
}

.apply-scroll-hint a:hover {
    color: #c4b5fd;
}

.apply-scroll-hint i {
    font-size: 1.4rem;
    animation: applyBounce 2s infinite;
}

@keyframes applyBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}