:root {
    --purple: #601986;
    --purple-dark: #2d0b40;
    --purple-bright: #8d3bb6;
    --purple-soft: #f2e9f6;
    --lime: #d9ff5c;
    --ink: #1f2022;
    --muted: #626469;
    --line: #dddde2;
    --surface: #f7f7f9;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
figure { margin: 0; }
.career-shell { width: min(1480px, calc(100% - 72px)); margin: 0 auto; }
.skip-link { position: fixed; left: 18px; top: -70px; z-index: 100; padding: 11px 16px; color: #fff; background: var(--purple); }
.skip-link:focus { top: 18px; }
.eyebrow { color: var(--purple); font-size: 13px; font-weight: 900; letter-spacing: .17em; }

.career-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(96, 25, 134, .1); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
.header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.brand { width: 132px; height: 48px; }
.brand img { object-fit: contain; object-position: left center; }
.career-header nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 48px); font-size: 16px; font-weight: 700; }
.career-header nav a { position: relative; padding: 34px 0; }
.career-header nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 23px; height: 2px; background: var(--purple); transition: right .25s ease; }
.career-header nav a:hover::after, .career-header nav a[aria-current="page"]::after { right: 0; }
.career-header nav a[aria-current="page"] { color: var(--purple); }

.career-hero { position: relative; padding: clamp(70px, 8vw, 125px) 0 105px; overflow: hidden; background: radial-gradient(circle at 7% 10%, rgba(217,255,92,.38), transparent 20%), radial-gradient(circle at 92% 18%, #ead8f2, transparent 34%), linear-gradient(135deg,#fff 20%,#faf7fb); }
.career-hero::after { content: "JOIN"; position: absolute; right: -30px; bottom: -75px; color: rgba(96,25,134,.04); font-size: 300px; font-weight: 950; line-height: 1; }
.hero-layout { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(55px, 7vw, 120px); align-items: center; }
.hero-copy h1 { margin: 18px 0 28px; font-size: clamp(48px, 5.5vw, 88px); line-height: 1.12; letter-spacing: -.045em; }
.hero-copy h1 span { color: var(--purple); }
.hero-copy > p { max-width: 650px; margin: 0; color: var(--muted); font-size: 19px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button-primary, .button-secondary { display: inline-flex; align-items: center; justify-content: center; min-width: 150px; padding: 14px 22px; border: 1px solid var(--purple); font-weight: 800; transition: .2s ease; }
.button-primary { color: #fff; background: var(--purple); }
.button-secondary { color: var(--purple); background: #fff; }
.button-primary:hover { background: var(--purple-dark); }
.button-secondary:hover { color: #fff; background: var(--purple); }
.hero-highlights { display: flex; gap: 22px; margin-top: 42px; }
.hero-highlights div { min-width: 105px; padding-left: 13px; border-left: 3px solid var(--lime); }
.hero-highlights strong, .hero-highlights span { display: block; }
.hero-highlights strong { color: var(--purple); font-size: 21px; }
.hero-highlights span { margin-top: 3px; color: var(--muted); font-size: 13px; }
.hero-visual { position: relative; min-height: 590px; }
.hero-visual figure { position: absolute; overflow: hidden; border-radius: 24px; box-shadow: 0 25px 55px rgba(47,15,63,.18); }
.hero-visual .visual-main { inset: 0 17% 10% 0; }
.hero-visual figure:nth-of-type(2) { right: 0; bottom: 0; width: 42%; height: 45%; border: 10px solid #fff; }
.visual-note { position: absolute; right: 0; top: 10%; padding: 23px 28px; border-radius: 15px 0 0 15px; color: #fff; background: var(--purple); box-shadow: 0 15px 35px rgba(45,11,64,.25); }
.visual-note span, .visual-note strong { display: block; }
.visual-note span { color: var(--lime); font-size: 12px; font-weight: 900; letter-spacing: .15em; }
.visual-note strong { margin-top: 7px; font-size: 18px; }

.role-section, .process-section, .benefit-section, .career-path-section { padding: 120px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 55px; margin-bottom: 55px; }
.section-heading.centered { display: block; max-width: 820px; margin: 0 auto 55px; text-align: center; }
.section-heading h2, .benefit-content h2 { margin: 12px 0 0; font-size: clamp(38px, 4vw, 60px); line-height: 1.18; }
.section-heading > p, .section-heading.centered > p { max-width: 650px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.8; }
.section-heading.centered > p { margin: 20px auto 0; }
.role-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.role-grid article { position: relative; min-height: 305px; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.role-grid article::after { content: ""; position: absolute; right: -25px; bottom: -30px; width: 100px; height: 100px; border-radius: 50%; background: var(--purple-soft); }
.role-grid article:hover { transform: translateY(-7px); box-shadow: 0 20px 45px rgba(40,20,50,.1); }
.role-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; color: #fff; background: var(--purple); font-size: 18px; font-weight: 900; }
.role-grid h3 { margin: 25px 0 13px; font-size: 22px; line-height: 1.4; }
.role-grid p { color: var(--muted); font-size: 15px; line-height: 1.75; }
.role-grid span { position: absolute; left: 30px; bottom: 28px; z-index: 1; color: var(--purple); font-size: 13px; font-weight: 800; }

.process-section { background: var(--surface); scroll-margin-top: 90px; }
.hiring-flow { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); margin: 0; padding: 0; list-style: none; }
.hiring-flow li { position: relative; min-height: 270px; padding: 30px 22px; border-top: 4px solid var(--purple); border-right: 1px solid var(--line); background: #fff; }
.hiring-flow li:first-child { border-radius: 15px 0 0 15px; }
.hiring-flow li:last-child { border-right: 0; border-radius: 0 15px 15px 0; }
.hiring-flow li:not(:last-child)::after { content: ""; position: absolute; z-index: 2; right: -7px; top: 55px; width: 13px; height: 13px; border-top: 2px solid var(--purple); border-right: 2px solid var(--purple); transform: rotate(45deg); background: #fff; }
.step-number { color: #aaa4ad; font-size: 13px; font-weight: 900; letter-spacing: .12em; }
.step-icon { display: grid; place-items: center; width: 45px; height: 45px; margin: 22px 0; border-radius: 50%; color: var(--purple); background: var(--purple-soft); font-size: 20px; font-weight: 900; }
.hiring-flow h3 { margin: 0 0 10px; font-size: 19px; }
.hiring-flow p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.process-note { display: flex; align-items: center; gap: 22px; margin-top: 25px; padding: 18px 22px; border-radius: 12px; background: #eae8ed; }
.process-note strong { flex: none; color: var(--purple); }
.process-note span { color: var(--muted); font-size: 14px; line-height: 1.6; }

.benefit-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(60px,7vw,115px); align-items: center; }
.benefit-visual { position: relative; height: 720px; }
.benefit-visual figure { height: 100%; overflow: hidden; border-radius: 22px; }
.benefit-quote { position: absolute; left: -30px; right: 30px; bottom: 35px; padding: 25px 28px; color: #fff; background: rgba(45,11,64,.92); backdrop-filter: blur(8px); }
.benefit-quote span, .benefit-quote strong { display: block; }
.benefit-quote span { color: var(--lime); font-size: 13px; font-weight: 900; letter-spacing: .12em; }
.benefit-quote strong { margin-top: 7px; font-size: 24px; }
.benefit-content .lead { margin: 20px 0 35px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.benefit-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.benefit-grid article { position: relative; padding: 22px 20px 22px 60px; border: 1px solid var(--line); border-radius: 13px; }
.benefit-grid article > div { position: absolute; left: 18px; top: 21px; color: var(--purple); font-size: 12px; font-weight: 900; }
.benefit-grid h3 { margin: 0 0 6px; font-size: 18px; }
.benefit-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.policy-note, .career-disclaimer { margin: 24px 0 0; padding-left: 13px; border-left: 3px solid var(--purple); color: #777; font-size: 13px; line-height: 1.7; }

.career-path-section { color: #fff; background: linear-gradient(145deg,#1f0a2b,#411557 62%,#571a74); scroll-margin-top: 90px; }
.section-heading.light .eyebrow { color: var(--lime); }
.section-heading.light > p { color: rgba(255,255,255,.7); }
.career-map { display: grid; grid-template-columns: 1fr 90px 1fr; gap: 22px; align-items: center; }
.path-card { padding: 35px; border: 1px solid rgba(255,255,255,.15); border-radius: 20px; background: rgba(255,255,255,.07); backdrop-filter: blur(8px); }
.path-heading span { color: var(--lime); font-size: 12px; font-weight: 900; letter-spacing: .14em; }
.path-heading h3 { margin: 8px 0; font-size: 28px; }
.path-heading p { margin: 0; color: rgba(255,255,255,.65); font-size: 14px; }
.path-card ol { margin: 30px 0 0; padding: 0; list-style: none; }
.path-card li { display: grid; grid-template-columns: 36px 1fr; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.13); }
.path-card li span { grid-row: 1 / 3; color: var(--lime); font-size: 12px; font-weight: 900; }
.path-card li strong { font-size: 17px; }
.path-card li small { margin-top: 4px; color: rgba(255,255,255,.58); font-size: 13px; }
.path-switch { text-align: center; }
.path-switch span { display: block; margin-bottom: 10px; color: rgba(255,255,255,.6); font-size: 12px; line-height: 1.5; }
.path-switch div { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto; border-radius: 50%; color: var(--purple-dark); background: var(--lime); font-size: 25px; font-weight: 900; }
.advantage-row { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; margin-top: 25px; }
.advantage-row article { padding: 22px; border-radius: 12px; color: var(--ink); background: #fff; }
.advantage-row strong { color: var(--purple); font-size: 17px; }
.advantage-row p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.career-disclaimer { border-color: var(--lime); color: rgba(255,255,255,.58); }

.recruit-cta { padding: 100px 0; background: var(--lime); }
.cta-layout { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.recruit-cta h2 { margin: 12px 0 16px; font-size: clamp(34px,4vw,58px); line-height: 1.25; }
.recruit-cta p { max-width: 780px; margin: 0; color: #4d513f; font-size: 16px; line-height: 1.8; }
.recruit-cta a { flex: none; padding: 18px 25px; color: #fff; background: var(--purple); font-weight: 900; }
.recruit-cta a span { margin-left: 18px; }
.recruit-cta a:hover { background: var(--purple-dark); }

.career-footer { padding: 50px 0; color: #ddd; background: #1c1a1d; }
.footer-layout { display: grid; grid-template-columns: 160px 1fr auto; align-items: center; gap: 45px; }
.footer-brand { display: block; width: 362px; height: 56px; }
.footer-brand img { object-fit: contain; object-position: left center; }
.career-footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 28px; }
.career-footer nav a:hover { color: #fff; }
.career-footer p { margin: 0; color: #999; font-size: 13px; }

@media (max-width: 1100px) {
    .hero-layout, .benefit-layout { grid-template-columns: 1fr; }
    .hero-visual { min-height: 540px; }
    .role-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .hiring-flow { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
    .hiring-flow li { border-right: 0; border-radius: 12px !important; }
    .hiring-flow li::after { display: none; }
    .benefit-visual { height: 550px; order: 2; }
    .benefit-content { order: 1; }
}

@media (max-width: 800px) {
    .career-shell { width: min(100% - 42px,720px); }
    .header-inner { min-height: 74px; }
    .brand { width: 105px; height: 40px; }
    .career-header nav { gap: 17px; font-size: 14px; }
    .career-header nav a { padding: 27px 0; }
    .career-header nav a::after { bottom: 18px; }
    .career-header nav a:first-child, .career-header nav a:nth-child(2), .career-header nav a:nth-child(3) { display: none; }
    .career-hero { padding: 70px 0; }
    .section-heading { display: block; }
    .section-heading > p { margin-top: 18px; }
    .career-map { grid-template-columns: 1fr; }
    .path-switch { display: flex; align-items: center; justify-content: center; gap: 13px; }
    .path-switch span { margin: 0; }
    .path-switch div { margin: 0; transform: rotate(90deg); }
    .advantage-row { grid-template-columns: 1fr; }
    .cta-layout { display: block; }
    .recruit-cta a { display: inline-block; margin-top: 30px; }
    .footer-layout { grid-template-columns: 130px 1fr; }
    .career-footer p { grid-column: 1 / -1; text-align: center; }
}

@media (max-width: 580px) {
    .career-shell { width: calc(100% - 36px); }
    .career-header nav { gap: 15px; font-size: 13px; }
    .hero-copy > p { font-size: 17px; }
    .hero-highlights { gap: 10px; }
    .hero-highlights div { min-width: 0; flex: 1; }
    .hero-visual { min-height: 390px; }
    .visual-note { top: 4%; padding: 16px; }
    .role-section, .process-section, .benefit-section, .career-path-section { padding: 80px 0; }
    .role-grid, .benefit-grid { grid-template-columns: 1fr; }
    .hiring-flow { grid-template-columns: 1fr 1fr; }
    .hiring-flow li { min-height: 235px; }
    .process-note { display: block; }
    .process-note span { display: block; margin-top: 8px; }
    .benefit-visual { height: 430px; }
    .benefit-quote { left: 15px; right: 15px; bottom: 18px; }
    .path-card { padding: 26px 22px; }
    .footer-layout { display: flex; flex-direction: column; gap: 25px; }
    .footer-brand { width: 130px; }
}
