/* ============================================
   Recruitment Pages - Minto-inspired Modern Style
   ============================================ */

/* CSS Variables - Teal Color Palette */
:root {
    /* Teal Color Palette */
    --color-primary: #1E40AF;
    --color-primary-dark: #1E3A8A;
    --color-secondary: #3B82F6;
    --color-teal-light: #93C5FD;
    --color-teal-pale: #DBEAFE;
    --color-teal-ultra: #EFF6FF;

    /* Neutral Colors */
    --color-text: #1a1a1a;
    --color-text-light: #666;
    --color-bg: #fafafa;
    --color-white: #fff;
}

/* Recruit Hero Section */
.recruit-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(30, 64, 175, 0.18) 0%, rgba(24, 24, 27, 0) 45%),
        linear-gradient(135deg, #18181b 0%, #2d2d2d 100%);
    padding: 8rem 0 6rem;
}

.recruit-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(255, 255, 255, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 80% 60%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
}

.recruit-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
}

.recruit-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.recruit-label {
    display: inline-block;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out both;
}

.recruit-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 2rem;
    color: #fff;
}

.recruit-title .title-line {
    display: block;
    animation: fadeInUp 0.8s ease-out both;
}

.recruit-title .title-line:nth-child(1) { animation-delay: 0.1s; }
.recruit-title .title-line:nth-child(2) { animation-delay: 0.2s; }
.recruit-title .title-line:nth-child(3) { animation-delay: 0.3s; }

.recruit-title .title-highlight {
    color: #fff;
    background: linear-gradient(135deg, #fed7aa 0%, #fb923c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.recruit-description {
    font-size: 1.125rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s 0.4s ease-out both;
}

.recruit-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s 0.5s ease-out both;
}

.recruit-hero .btn-primary {
    background: #1E40AF;
    color: #fff;
}

.recruit-hero .btn-primary:hover {
    background: #1E3A8A;
}

.recruit-hero .btn-ghost {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.recruit-hero .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Stats Section */
.recruit-stats {
    background: #18181b;
    padding: 4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1.5rem;
}

.stat-number {
    display: block;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.1em;
}

/* Reasons Section */
.recruit-reasons {
    padding: 6rem 0;
    background: #fff;
}

.recruit-reasons .section-label {
    text-align: center;
}

.recruit-reasons .section-title {
    text-align: center;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.reason-card {
    background: #fafafa;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid #eee;
}

.reason-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: #1E40AF;
}

.reason-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1E40AF;
    border-radius: 8px;
}

.reason-icon svg {
    stroke: #fff;
}

.reason-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

.reason-card p {
    color: #666;
    line-height: 1.8;
    font-size: 0.9375rem;
}

/* Positions Section */
.recruit-positions {
    padding: 6rem 0;
    background: #f5f5f5;
}

.recruit-positions .section-label {
    text-align: center;
}

.recruit-positions .section-title {
    text-align: center;
}

.positions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.positions-grid-2col {
    grid-template-columns: repeat(2, 1fr);
}

.position-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.position-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: #1E40AF;
}

.position-header {
    margin-bottom: 1.5rem;
}

.position-tag {
    display: inline-block;
    background: #1E40AF;
    color: #fff;
    padding: 0.375rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.position-header h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1a1a1a;
}

.position-desc {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.position-requirements {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: #fafafa;
    border-radius: 12px;
}

.position-requirements h4 {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.position-requirements h4:first-child {
    margin-top: 0;
}

.position-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.position-requirements li {
    position: relative;
    padding-left: 1.25rem;
    color: #666;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.position-requirements li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background: #1E40AF;
    border-radius: 50%;
}

.position-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-label {
    font-size: 0.75rem;
    color: #888;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-value {
    font-size: 0.9375rem;
    color: #1a1a1a;
    font-weight: 600;
}

.position-card .btn {
    width: 100%;
    text-align: center;
    margin-top: auto;
}

/* Reward Policy Section */
.reward-policy {
    padding: 6rem 0;
    background: #fff7ed;
}

.reward-policy .section-label,
.reward-policy .section-title {
    text-align: center;
}

.reward-policy-content {
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 2rem;
    background: #fff;
    border: 1px solid #fed7aa;
    border-radius: 8px;
}

.reward-policy-content p {
    color: #3f3f46;
    line-height: 2;
    font-weight: 500;
}

.reward-policy-content p + p {
    margin-top: 1rem;
}

.reward-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.reward-card {
    background: #fff;
    padding: 1.75rem;
    border: 1px solid #fed7aa;
    border-radius: 8px;
}

.reward-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.reward-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.8;
}

/* Application Flow Section */
.recruit-flow {
    padding: 6rem 0;
    background: #fff;
}

.recruit-flow .section-label {
    text-align: center;
}

.recruit-flow .section-title {
    text-align: center;
}

.flow-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.flow-timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: calc(12.5% + 30px);
    right: calc(12.5% + 30px);
    height: 2px;
    background: linear-gradient(90deg, #1E40AF, #666);
}

.flow-item {
    text-align: center;
    position: relative;
}

.flow-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1E40AF;
    color: #fff;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.flow-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.flow-content p {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.recruit-cta-section {
    padding: 6rem 0;
    background: #18181b;
    text-align: center;
}

.recruit-cta-section .cta-content h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.recruit-cta-section .cta-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 1024px) {
    .positions-grid-2col {
        grid-template-columns: 1fr;
    }

    .reward-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .recruit-hero {
        padding: 6rem 1rem 4rem;
        min-height: auto;
    }

    .recruit-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    .recruit-cta {
        flex-direction: column;
        align-items: center;
    }

    .recruit-cta .btn {
        width: 100%;
        max-width: 280px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .flow-timeline {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .flow-timeline::before {
        top: 0;
        bottom: 0;
        left: 30px;
        right: auto;
        width: 2px;
        height: auto;
    }

    .flow-item {
        text-align: left;
        padding-left: 80px;
        padding-bottom: 2rem;
    }

    .flow-number {
        position: absolute;
        left: 0;
        margin: 0;
    }

    .positions-grid {
        grid-template-columns: 1fr;
    }

    .position-card {
        padding: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .reasons-grid {
        grid-template-columns: 1fr;
    }

    .reward-grid {
        grid-template-columns: 1fr;
    }

    .reward-policy-content {
        padding: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
