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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

:root {
  --toss-blue: #326cf9;
  --toss-blue-light: #e8f0ff;
  --white: #ffffff;
  --black: #121417;
  --gray-50: #f9fafb;
  --gray-100: #f2f4f6;
  --gray-200: #e5e8eb;
  --gray-300: #d1d6db;
  --gray-600: #6b7684;
  --gray-800: #333d4b;
  --gray-900: #191f28;
  --toss-green: #008f5d;
  --toss-green-light: #e6f7f0;

  --content-width: 1040px;
  --transition-base: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  color: var(--gray-900);
  line-height: 1.5;
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

/* Typography */
h1,
h2,
h3,
h4 {
  letter-spacing: -0.02em;
  font-weight: 700;
}

.text-blue {
  color: var(--toss-blue);
  font-weight: 600;
}
.text-gray {
  color: var(--gray-600);
}

.mobile-br {
  display: none;
}

.pc-br {
  display: block;
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 60px 0;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid var(--gray-100);
}

header .container {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* Centering must be forced for fixed header containers in some browsers */
  margin: 0 auto !important;
}

/* Logo */
.logo-container {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}

.logo-symbol {
  width: 22px;
  height: 22px;
  object-fit: contain;
  margin-top: 2px;
}

.logo-text {
  color: #15171f;
  font-size: 20px;
  display: flex;
  gap: 6px;
  align-items: center;
}

.logo-text .brand {
  font-weight: 800;
  letter-spacing: -0.04em;
}

.logo-text .subtext {
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #15171f;
  opacity: 0.8;
}

/* GNB */
.gnb {
  display: flex;
  gap: 32px;
  margin-left: auto;
  margin-right: 40px;
}

.gnb a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-600);
  transition: var(--transition-base);
}

.gnb a:hover {
  color: var(--toss-blue);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--gray-900);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.apply-btn {
  background: #15171f;
  color: var(--white);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-base);
}

.apply-btn:hover {
  background: #2a2d39;
  transform: scale(1.02);
}

/* Mobile GNB styles */
.mobile-gnb {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 400px;
  height: 100vh;
  background: var(--white);
  z-index: 2000;
  padding: 24px;
  transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
}

.mobile-gnb.active {
  right: 0;
}

.mobile-gnb-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.close-menu {
  background: none;
  border: none;
  font-size: 32px;
  color: var(--gray-600);
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-links > a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900) !important;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-100);
  letter-spacing: -0.02em;
}

.mobile-nav-links > a svg {
  width: 18px;
  height: 18px;
  color: var(--gray-600) !important;
  opacity: 0.8;
}

.mobile-nav-links > a:hover,
.mobile-nav-links > a:active,
.mobile-nav-links > a:focus {
  color: var(--gray-900) !important;
}

.mobile-nav-links > a:hover svg,
.mobile-nav-links > a:active svg,
.mobile-nav-links > a:focus svg {
  color: var(--gray-600) !important;
  opacity: 1;
}




.mobile-apply-group {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.mobile-apply-btn {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  background: #333d4b !important;
  color: var(--white) !important;
  padding: 0 20px !important;
  height: 60px !important;
  border-radius: 20px !important;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 88%;
  box-sizing: border-box;
}

.mobile-apply-btn span {
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-align: left;
}

.mobile-apply-btn svg {
  width: 18px;
  height: 18px;
  opacity: 0.8;
}

.mobile-apply-btn:hover {
  background: #191f28 !important;
  transform: translateY(-2px);
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1000; /* Increased to be above everything except mobile-gnb */
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

body.menu-open {
  overflow: hidden;
}

/* Hero Section */
.hero {
  height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin: 0;
  margin-top: 64px;
}

.hero-layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
}

.hero-cta-btn {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  padding: 18px 36px;
  border-radius: 99px;
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
  transition: var(--transition-base);
  z-index: 10;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-cta-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .hero-layout {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }
}

.hero-background {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 0px;
  border-radius: 32px;
  overflow: hidden;
  z-index: -1;
}

.hero-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.4) 100%
  );
  z-index: 1;
}

.hero-background img,
.hero-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
  transition: transform 10s ease-out;
}

.hero:hover .hero-background img,
.hero:hover .hero-background video {
  transform: scale(1.05);
}

.hero-content {
  color: var(--white);
  max-width: 600px;
  /* margin-top removed for vertical centering */
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 32px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 52px;
  line-height: 1.15;
  margin-bottom: 40px;
  font-weight: 800;
  letter-spacing: -1.5px;
}

.hero p {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  opacity: 0.85;
  color: #e5e8eb;
}

/* Fade In Up Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-base);
}

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

/* Grid & Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.card {
  background: var(--gray-50);
  padding: 40px;
  border-radius: 24px;
  transition: var(--transition-base);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.card h3 {
  font-size: 28px;
  margin-bottom: 16px;
}

.card p {
  color: var(--gray-600);
  margin-bottom: 24px;
}

/* Info Boxes (from reference image) */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.info-item {
  padding: 32px;
  border-radius: 20px;
  color: var(--white);
}

.info-item h4 {
  font-size: 24px;
  margin-bottom: 12px;
}

.blue-item {
  background: #326cf9;
}
.purple-item {
  background: #7c3aed;
}
.pink-item {
  background: #ec4899;
}
.green-item {
  background: #10b981;
}

/* Benefits Section */
.benefits {
  background: var(--gray-50);
  padding: 60px 0;
  border-top: 1px solid var(--gray-100);
}

.section-header {
  margin-bottom: 55px;
}

.section-header h2 {
  font-size: 40px;
  line-height: 1.3;
  color: var(--black);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.benefit-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--black);
  cursor: pointer;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: var(--transition-base);
  z-index: 1;
}

.benefit-card:hover .card-image {
  filter: blur(8px) brightness(0.4);
  transform: scale(1.1);
  opacity: 0.6;
}

.card-body {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 40px;
  color: var(--white);
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: var(--transition-base);
}

.benefit-card:hover .card-body {
  padding-top: 40px;
}

.plus-icon {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 2px;
  color: var(--white);
  font-size: 20px;
  font-weight: 300;
  transition: var(--transition-base);
}

.mobile-apply-btn {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  background: #333d4b !important;
  color: var(--white) !important;
  padding: 0 20px !important;
  height: 60px !important;
  border-radius: 20px !important;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.mobile-apply-btn span {
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-align: left;
}

.benefit-title {
  font-size: 26px;
  line-height: 1.4;
  margin-bottom: 24px;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform-origin: left top;
}

.benefit-card:hover .benefit-title {
  font-size: 22px;
  margin-bottom: -10px;
  text-shadow: none;
}

.benefit-details {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  pointer-events: none;
}

.benefit-card:hover .benefit-details {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.card-subtitle {
  font-size: 16px;
  opacity: 0.8;
  margin-bottom: 20px;
}

.benefit-list {
  list-style: none;
  font-size: 14px;
  line-height: 1.6;
}

.benefit-list li {
  margin-bottom: 4px;
}

.sub-list {
  list-style: none;
  margin-left: 10px;
  margin-top: 4px;
  opacity: 0.7;
  font-size: 13px;
  line-height: 1.4;
}

.sub-list li {
  margin-bottom: 0;
}

.benefit-card:hover .plus-icon {
  opacity: 0;
  transform: scale(0.8);
}

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

@media (max-width: 768px) {
  section {
    padding: 80px 0;
  }
  .hero h1 {
    font-size: 40px;
  }
  .grid,
  .info-grid,
  .benefit-grid {
    grid-template-columns: 1fr;
  }
  .card,
  .info-item,
  .benefit-card {
    padding: 32px;
  }
  .benefit-card {
    aspect-ratio: 1 / 1.2;
  }
  .section-header h2 {
    font-size: 32px;
  }
}

/* Recruitment Info Section */
.recruitment-info {
  background-color: var(--gray-50);
  padding: 60px 0;
}

.section-subtitle {
  font-size: 18px;
  color: var(--gray-600);
  margin-top: 20px;
  line-height: 1.6;
}

.recruit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.recruit-card {
  background: var(--white);
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: var(--transition-base);
  display: flex;
  flex-direction: column;
}

.recruit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.recruit-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.recruit-icon {
  width: 48px;
  height: 48px;
  background: var(--toss-blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--toss-blue);
}

.recruit-icon svg {
  width: 24px;
  height: 24px;
}

.recruit-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0;
}

.recruit-card p {
  color: var(--gray-600);
  line-height: 1.6;
  font-size: 15px;
  word-break: keep-all;
  margin: 0;
}

.time-tags {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: auto;
}

.time-tags span {
  background: var(--toss-blue-light);
  color: var(--toss-blue);
  padding: 8px 0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  width: 100%;
}

@media (max-width: 1024px) {
  .recruit-grid {
    grid-template-columns: 1fr;
  }
}

/* Department Introduction Section */
.departments {
  background-color: var(--white);
  padding: 60px 0;
}

.dept-row {
  display: grid;
  grid-template-columns: 500px 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--gray-200);
}

.dept-row:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.dept-image {
  width: 100%;
  height: 400px;
  background-color: var(--gray-100);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.dept-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dept-content {
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 400px;
}

.dept-header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.dept-badge {
  display: inline-block;
  width: fit-content;
  font-size: 13px;
  font-weight: 700;
  color: var(--toss-green);
  background: var(--toss-green-light);
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
}

.dept-times span {
  display: inline-block;
  width: fit-content;
  font-size: 13px;
  font-weight: 500;
  color: var(--toss-blue);
  background: var(--toss-blue-light);
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
}

.dept-times {
  display: flex;
  gap: 8px;
  align-items: center;
}

.dept-content h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--gray-900);
  line-height: 1.3;
}

.dept-desc {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.6;
  margin-bottom: 16px;
  word-break: keep-all;
}

.dept-content h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  margin-top: 16px;
  margin-bottom: 8px;
}

.dept-tasks {
  list-style: none;
  padding-left: 0;
  margin-bottom: 16px;
}

.dept-tasks li {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
  margin-bottom: 4px;
}

.dept-tasks li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--toss-blue);
  font-weight: bold;
}

.dept-highlight {
  font-size: 15px;
  color: var(--toss-blue);
  font-weight: 600;
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dept-highlight svg {
  width: 18px;
  height: 18px;
}


@media (max-width: 1024px) {
  .gnb {
    display: none;
  }

  .dept-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .dept-image {
    height: 300px;
  }
}

/* Factory Locations Section */
.factories {
  background-color: var(--white);
  padding: 60px 0;
  border-top: 1px solid var(--gray-100);
}

.factories .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 0;
}

.factories .card {
  background: var(--gray-50);
  border-radius: 24px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: var(--transition-base);
  display: flex;
  flex-direction: column;
}

.factories .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.factories .card-info {
  padding: 24px;
}

.factories .card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gray-900);
}

.factories .card p {
  font-size: 15px;
  color: var(--gray-600);
  margin-bottom: 12px;
}

.map-container {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
  background: var(--gray-200);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Recruitment Process Section */
.process {
  background: radial-gradient(circle at top right, #f8faff 0%, #ffffff 100%);
  padding: 70px 0;
  border-top: 1px solid var(--gray-100);
  overflow: hidden;
}

.process-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.process-journey {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 80px 0;
  position: relative;
}

.section-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--toss-blue-light);
  color: var(--toss-blue);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.journey-step {
  flex: 1;
  position: relative;
  z-index: 2;
}

.step-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 32px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--gray-100);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.step-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
  border-color: var(--toss-blue-light);
}

.step-card.active {
  background: var(--toss-blue);
  border-color: var(--toss-blue);
}

.step-num {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--toss-blue);
  margin-bottom: 20px;
  opacity: 0.8;
}

.step-card.active .step-num {
  color: var(--white);
}

.step-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.step-card.active h3 {
  color: var(--white);
}

.step-card p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.5;
}

.step-card.active p {
  color: rgba(255, 255, 255, 0.9);
}

.journey-connector {
  width: 40px;
  height: 2px;
  background: var(--gray-100);
  margin: 0 10px;
  opacity: 0.5;
}

.process-cta {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 60px;
  padding: 0 20px;
}

@media (max-width: 1024px) {
  .process-journey {
    flex-direction: column;
    gap: 32px;
  }
  
  .journey-connector {
    width: 2px;
    height: 32px;
    margin: 0;
  }
  
  .journey-step {
    width: 100%;
    max-width: 400px;
  }

  .process-cta {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .process-cta .apply-btn {
    width: 100%;
    max-width: 400px;
    min-width: unset;
  }
}

.process-cta .apply-btn {
  padding: 18px 40px;
  font-size: 18px;
  border-radius: 100px;
  background: rgba(21, 23, 31, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 0;
  min-width: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
}

.process-cta .apply-btn::after {
  content: '→';
  font-size: 20px;
  transition: transform 0.2s ease;
}

.process-cta .apply-btn:hover {
  background: rgba(21, 23, 31, 0.95);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.process-cta .apply-btn:hover::after {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .process-cta {
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
  }
  
  .process-cta .apply-btn {
    width: 100%;
    min-width: unset;
  }
}

/* --- Mobile Optimization (under 768px) --- */
@media (max-width: 768px) {
  section {
    padding: 2px 0;
  }

  .container {
    padding: 0 24px;
  }

  /* Header */
  header {
    height: 60px;
  }

  .logo-text {
    font-size: 18px;
  }

  .menu-toggle {
    display: flex;
  }

  header .apply-btn {
    display: none; /* Hide top CTA on mobile to save space */
  }

  /* Hero Section */
  .hero {
    height: auto;
    min-height: 85vh;
    padding: 15px 0 8px;
  }

  .hero-background {
    top: 10px;
    left: 10px;
    right: 10px;
    border-radius: 20px;
  }

  .hero-layout {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 48px;
  }

  .hero h1 {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -1px;
  }

  .hero p {
    font-size: 14px;
    line-height: 1.6;
  }

  .hero-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 20px;
  }

  /* Recruitment Info */
  .recruit-grid {
    gap: 10px;
  }

  .recruit-card {
    padding: 24px;
  }

  /* Departments */
  .dept-row {
    margin-bottom: 20px;
    padding-bottom: 20px;
    gap: 24px;
  }

  .dept-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
  }

  .dept-badge {
    margin-bottom: 0;
  }

  .dept-image {
    height: 240px;
    border-radius: 16px;
  }

  .dept-content {
    min-height: auto;
  }

  .dept-content h3,
  .dept-desc,
  .dept-content h4,
  .dept-tasks,
  .dept-highlight {
    margin-left: 1px;
  }

  .dept-content h3 {
    font-size: 22px;
  }

  .dept-desc {
    font-size: 15px;
  }

  .dept-times {
    width: 100%;
    margin-top: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  /* Benefits */
  .benefit-grid {
    gap: 20px;
  }

  .section-header {
    margin-bottom: 24px;
  }

  .section-header h2 {
    font-size: 25px;
    line-height: 1.3;
    margin-left: 1px;
  }

  .mobile-br {
    display: block;
  }

  .pc-br {
    display: none;
  }

  .benefit-card {
    aspect-ratio: auto;
    min-height: 380px;
    padding: 0; /* Reset padding for mobile */
  }

  .card-body {
    padding: 24px;
  }

  .benefit-title {
    font-size: 22px;
    margin-bottom: 16px;
  }

  .card-image {
    filter: brightness(0.4) !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .benefit-card:hover .card-image {
    filter: brightness(0.4) !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .card-body {
    transition: none !important;
    padding: 40px 48px !important; /* Adjusted top padding to 40px */
  }

  .benefit-card:hover .card-body {
    padding: 40px 48px !important;
  }

  .benefit-title {
    font-size: 22px !important;
    margin-bottom: 24px !important; /* Doubled from 12px */
    text-shadow: none !important;
    transition: none !important;
    transform: none !important;
  }

  .benefit-card:hover .benefit-title {
    font-size: 22px !important;
    margin-bottom: 24px !important;
    transform: none !important;
  }

  /* Mobile Always-on Details (removing hover dependency) */
  .benefit-details {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    pointer-events: auto;
  }

  .card-subtitle {
    font-size: 14px;
    margin-bottom: 36px !important; /* Tripled from 12px */
  }

  .benefit-list {
    font-size: 13px;
  }

  .plus-icon {
    display: none;
  }

  /* Factory Locations */
  .factories .grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Process Journey */
  .process {
    padding: 80px 0;
  }

  .step-card {
    padding: 20px 20px;
    border-radius: 24px;
  }

  .process-journey {
    gap: 8px;
    margin: 24px 0 20px;
  }

  .journey-connector {
    height: 8px;
  }

  .process .section-header {
    text-align: left !important;
  }

  .process .section-header h2 {
    margin-left: 1px;
  }

  .step-card h3 {
    font-size: 18px;
  }

  .step-card p {
    font-size: 14px;
  }

  /* Footer */
  footer {
    padding: 40px 0 !important;
  }
}
