/* =================================================================
   CAREER PAGE STYLES (World-Class Digital Atelier)
   ================================================================= */

/* ----------------------------------
   LAYOUT & HERO
   ---------------------------------- */
.c-career-page {
    background: var(--color-bg);
    color: var(--color-text);
    min-height: 100vh;
    overflow-x: hidden;
    padding-top: 0;
}

.c-hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.c-hero__background {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(138, 66, 255, 0.15), transparent 70%);
    filter: blur(100px);
    opacity: 0.5;
    animation: orbFloat 10s infinite ease-in-out alternate;
}

@keyframes orbFloat {
    0% { transform: translate(-50%, -50%) scale(0.9); }
    100% { transform: translate(-50%, -50%) scale(1.1); }
}

.hero-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.05;
    pointer-events: none;
}

.c-hero__wrapper {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.c-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-accent);
    animation: pulse 2s infinite;
}

.c-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 50px;
    letter-spacing: -0.03em;
    color: #fff;
}

.c-hero__cta {
    margin-top: 20px;
}

.c-hero__btn {
    position: relative;
    display: inline-block;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(10px);
}

.c-hero__btn .btn-content {
    position: relative;
    z-index: 2;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.c-hero__btn .btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(138, 66, 255, 0.4), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.c-hero__btn:hover {
    border-color: var(--color-primary);
    box-shadow: 0 0 30px rgba(138, 66, 255, 0.2);
    transform: translateY(-2px);
}

.c-hero__btn:hover .btn-glow {
    left: 100%;
}

/* ----------------------------------
   CULTURE SECTION
   ---------------------------------- */
.c-culture {
    padding: 160px 0;
    background: var(--color-bg);
}

.section-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary-light);
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    margin-bottom: 80px;
    line-height: 1;
}

.c-culture__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.culture-item {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    transition: all 0.4s ease;
}

.culture-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(138, 66, 255, 0.2);
    transform: translateY(-5px);
}

.culture-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.culture-item .num {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-text-muted);
    opacity: 0.5;
}

.culture-item h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 600;
    color: #fff;
}

.culture-item p {
    color: var(--color-text-muted);
    line-height: 1.6;
    font-size: 1.1rem;
}

.culture-line {
    flex-grow: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    transition: width 0.4s ease;
}

/* ----------------------------------
   COLLECTIVE (NETWORK) SECTION
   ---------------------------------- */
.c-collective {
    padding: 160px 0;
    background: #02040a;
}

.c-collective__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 60px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 500px;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.card-visual {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(138, 66, 255, 0.15), transparent 70%);
    filter: blur(60px);
    opacity: 0.5;
    transition: opacity 0.5s ease;
}

.glass-card:hover .card-visual {
    opacity: 0.8;
}

.card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-icon {
    font-size: 3rem;
    color: var(--color-primary-light);
    margin-bottom: 40px;
}

.glass-card h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.glass-card p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 400px;
}

.card-link {
    margin-top: auto;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 16px 32px;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.glass-card:hover .card-link {
    background: #fff;
    color: #000;
    border-color: #fff;
}

/* ----------------------------------
   ROLES SECTION
   ---------------------------------- */
.c-roles {
    padding: 160px 0;
    background: var(--color-bg);
}

.c-roles__list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.role-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.role-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.role-item.active {
    background: rgba(255, 255, 255, 0.04);
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.role-main {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 50px;
    align-items: center;
    padding: 35px 20px;
    cursor: pointer;
}

.role-dept {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.role-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.role-loc {
    font-size: 1rem;
    color: var(--color-text-muted);
    text-align: right;
}

.role-icon {
    display: flex;
    justify-content: flex-end;
    font-size: 1.5rem;
    color: var(--color-text-muted);
    transition: transform 0.3s ease;
}

.role-item:hover .role-title {
    color: var(--color-primary-light);
}

.role-item.active .role-icon {
    transform: rotate(45deg);
    color: var(--color-primary);
}

.role-details {
    height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
}

.role-details p {
    padding: 0 20px 30px 20px;
    max-width: 800px;
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.apply-btn {
    background: var(--color-primary);
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1.1rem;
    margin: 0 0 40px 20px;
    transition: background 0.3s ease;
}

.apply-btn:hover {
    background: var(--color-primary-light);
}

/* ----------------------------------
   GENERAL APPLICATION CTA
   ---------------------------------- */
.c-general-app {
    padding: 100px 0;
    background: var(--color-bg);
}

.general-app-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.general-app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--color-primary);
    box-shadow: 0 0 20px var(--color-primary);
}

.general-app-content {
    max-width: 600px;
}

.app-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--color-accent);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.app-status .pulse {
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-accent);
    animation: pulse 2s infinite;
}

.general-app-content h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.general-app-content p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* ----------------------------------
   CAREER MODAL STYLES
   ---------------------------------- */
.career-modal-content {
    background: #0a0f2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 50px;
    width: 100%;
    max-width: 700px;
    position: relative;
}

.app-header {
    text-align: center;
    margin-bottom: 40px;
}

.app-header .title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.app-context {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 5px;
}

.app-context .highlight {
    color: var(--color-primary-light);
    font-weight: 600;
}

.app-header .sub {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    opacity: 0.7;
}

.app-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.app-form .input-group {
    margin-bottom: 20px;
}

.app-form input,
.app-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px 20px;
    color: #fff;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.app-form input:focus,
.app-form textarea:focus {
    border-color: var(--color-primary);
    background: rgba(138, 66, 255, 0.05);
}

.app-submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.app-submit-btn:hover {
    box-shadow: 0 10px 30px rgba(138, 66, 255, 0.3);
    transform: translateY(-2px);
}

/* ----------------------------------
   RESPONSIVE
   ---------------------------------- */
@media (max-width: 1024px) {
    .c-culture__grid {
        grid-template-columns: 1fr;
    }

    .c-collective__grid {
        grid-template-columns: 1fr;
    }
    
    .general-app-card {
        flex-direction: column;
        text-align: center;
    }

    .role-main {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        gap: 10px;
    }

    .role-dept { grid-column: 1 / -1; }
    .role-title { grid-column: 1 / 2; font-size: 1.5rem; }
    .role-icon { grid-column: 2 / 3; grid-row: 2 / 3; }
    .role-loc { grid-column: 1 / -1; text-align: left; margin-top: 5px; }
}

@media (max-width: 768px) {
    .c-hero__content .title {
        font-size: 3.5rem;
    }

    .app-form .form-row {
        grid-template-columns: 1fr;
    }

    .career-modal-content {
        padding: 30px 20px;
    }
}