/**
 * OverNormal Hire Us — Page Styles
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@600;700;800;900&display=swap');

/* ══════════════════════════════════════════════════════════════════════════
   SHARED SECTION STYLES (from main.css)
══════════════════════════════════════════════════════════════════════════ */

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--purple);
    margin-bottom: 12px;
}

.section-heading {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
}

/* ══════════════════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════════════════ */

.hire-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 140px 0 80px;
}

.hire-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hire-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.12;
}

.hire-hero-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #8B5CF6, transparent 70%);
    top: -200px;
    right: -100px;
    animation: hireOrb1 22s ease-in-out infinite;
}

.hire-hero-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #A78BFA, transparent 70%);
    bottom: -100px;
    left: -80px;
    animation: hireOrb2 18s ease-in-out infinite;
}

html[data-theme='dark'] .hire-hero-orb { opacity: 0.2; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme='light']) .hire-hero-orb { opacity: 0.2; }
}

@keyframes hireOrb1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, 30px) scale(1.06); }
}
@keyframes hireOrb2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -20px) scale(1.08); }
}

.hire-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 20%, transparent 70%);
}

.hire-hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hire-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--purple-dim);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--purple);
    margin-bottom: 28px;
    animation: fadeSlideDown 0.8s ease-out both;
}

.hire-hero-badge-dot {
    width: 8px;
    height: 8px;
    background: #22C55E;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-16px); }
    to { opacity: 1; transform: translateY(0); }
}

.hire-hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    animation: heroReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hire-hero-accent {
    background: linear-gradient(135deg, #8B5CF6, #A78BFA, #C4B5FD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes heroReveal {
    from { opacity: 0; transform: translateY(40px); filter: blur(8px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.hire-hero-desc {
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.65;
    color: var(--text-2);
    max-width: 600px;
    margin: 0 auto 32px;
    animation: fadeSlideUp 0.9s ease-out 0.5s both;
}

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.hire-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    color: white;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.35);
    animation: fadeSlideUp 0.9s ease-out 0.7s both;
}

.hire-hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.45);
}

/* ══════════════════════════════════════════════════════════════════════════
   SERVICES GRID
══════════════════════════════════════════════════════════════════════════ */

.hire-services {
    padding: 80px 0;
    background: var(--bg-alt);
}

.hire-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.hire-svc-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px 28px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.hire-svc-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 16px 48px rgba(139, 92, 246, 0.12);
}

.hire-svc-icon {
    font-size: 32px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--purple-dim);
    border-radius: 14px;
    margin-bottom: 18px;
}

.hire-svc-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.hire-svc-card p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-2);
    margin: 0;
}

.hire-svc-card a {
    color: var(--purple);
    text-decoration: none;
    font-weight: 600;
}

.hire-svc-card a:hover {
    text-decoration: underline;
}

/* ══════════════════════════════════════════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════════════════════════════════════════ */

.hire-process {
    padding: 80px 0;
    background: var(--bg);
}

.hire-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.hire-step {
    text-align: center;
    flex: 1;
    max-width: 200px;
}

.hire-step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
}

.hire-step h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.hire-step p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-2);
    margin: 0;
}

.hire-step-line {
    width: 60px;
    height: 2px;
    background: var(--border);
    margin-top: 24px;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════════════════
   INQUIRY FORM
══════════════════════════════════════════════════════════════════════════ */

.hire-form-section {
    padding: 80px 0;
    background: var(--bg-alt);
}

.hire-form-card {
    max-width: 720px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px 40px;
}

.hire-form-header {
    text-align: center;
    margin-bottom: 36px;
}

.hire-form-sub {
    font-size: 15px;
    color: var(--text-2);
    margin-top: 10px;
}

.hire-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.hire-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 0;
}

.hire-field:last-child:not(.hire-form-row .hire-field) {
    margin-bottom: 20px;
}

.hire-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.hire-req {
    color: var(--purple);
}

.hire-field input,
.hire-field select,
.hire-field textarea {
    padding: 12px 16px;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.hire-field input:focus,
.hire-field select:focus,
.hire-field textarea:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px var(--purple-dim);
}

.hire-field input::placeholder,
.hire-field textarea::placeholder {
    color: var(--text-2);
    opacity: 0.6;
}

.hire-field select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238B5CF6' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.hire-field textarea {
    resize: vertical;
    min-height: 120px;
}

.hire-char-count {
    font-size: 11px;
    color: var(--text-2);
    text-align: right;
    opacity: 0.7;
}

.hire-msg {
    display: none;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    animation: slideIn 0.3s ease;
}

.hire-msg-success {
    display: block;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22C55E;
}

.hire-msg-error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #EF4444;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.hire-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
    width: 100%;
    justify-content: center;
}

.hire-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

.hire-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.hire-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

.hire-recaptcha-notice {
    font-size: 10px;
    color: var(--text-2);
    opacity: 0.5;
    text-align: center;
    margin-top: 12px;
    line-height: 1.4;
}

.hire-recaptcha-notice a {
    color: var(--text-2);
    opacity: 0.8;
}

/* ══════════════════════════════════════════════════════════════════════════
   CREDIBILITY STRIP
══════════════════════════════════════════════════════════════════════════ */

.hire-cred {
    padding: 60px 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.hire-cred-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.hire-cred-item {
    text-align: center;
    padding: 0 36px;
}

.hire-cred-val {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--purple);
    line-height: 1.2;
}

.hire-cred-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.hire-cred-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════════════════
   REVEAL ANIMATIONS
══════════════════════════════════════════════════════════════════════════ */

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }
.reveal:nth-child(6) { transition-delay: 0.5s; }

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

@media (max-width: 1024px) {
    .hire-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hire-hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .hire-services,
    .hire-process,
    .hire-form-section {
        padding: 60px 0;
    }

    .hire-services-grid {
        grid-template-columns: 1fr;
    }

    .hire-steps {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .hire-step-line {
        width: 2px;
        height: 32px;
        margin: 8px auto;
    }

    .hire-form-card {
        padding: 32px 24px;
    }

    .hire-form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hire-cred-divider {
        display: none;
    }

    .hire-cred-inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .hire-cred-item {
        padding: 16px;
        background: var(--purple-dim);
        border-radius: 12px;
    }
}
