/* Base Isolation */
.company-intro-page {
  width: 100%;
  overflow-x: hidden;
  /* Prevent horizontal scroll causing layout shifts */
}
.cube-logo-intro {
  height: 26px;
  vertical-align: middle;
  margin: 0 4px;
}
/* Scoped Styles */
.company-intro-page .company-hero {
  position: relative;
  width: 100%;
  height: 500px;
  background-color: #0f0f15;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: white;
}

.company-intro-page .company-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    rgba(111, 66, 193, 0.2) 0%,
    rgba(15, 15, 21, 0) 60%
  );
  animation: pulseRotate 20s infinite linear;
  z-index: 1;
}

@keyframes pulseRotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.company-intro-page .company-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.company-intro-page .company-hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 0%, #bca4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.company-intro-page .company-hero-desc {
  font-size: 1.3rem;
  color: #a0a0a0;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.company-intro-page .company-section {
  padding: 100px 0;
}

.company-intro-page .section-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  position: relative;
  /* Context constraint */
}

/* Vision & Mission */
.company-intro-page .vision-mission-section {
  background-color: #fff;
  overflow: hidden;
  padding: 120px 0;
}

.company-intro-page .vision-wrap {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.company-intro-page .circle-box {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px;
  transition:
    transform 1.5s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 1.5s ease;
  z-index: 2;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.company-intro-page .circle-box.left {
  background: linear-gradient(135deg, rgba(245, 247, 250, 0.95) 0%, rgba(230, 230, 250, 0.95) 100%);
  border: 1px solid rgba(111, 66, 193, 0.1);
  transform: translateX(-400px);
}

.company-intro-page .circle-box.right {
  background: linear-gradient(135deg, rgba(250, 245, 245, 0.95) 0%, rgba(255, 240, 240, 0.95) 100%);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transform: translateX(400px);
}

/* Active State */
.company-intro-page .vision-wrap.active .circle-box.left {
  transform: translateX(-150px);
}

.company-intro-page .vision-wrap.active .circle-box.right {
  transform: translateX(150px);
}

.company-intro-page .vision-wrap.active .circle-box {
  opacity: 0.8;
}

/* Content */
.company-intro-page .text-box {
  opacity: 1;
  transition: opacity 0.5s;
}

.company-intro-page .label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #6f42c1;
  margin-bottom: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.company-intro-page .text-box h3 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 25px;
  color: #1a1a1a;
  line-height: 1.1;
}

.company-intro-page .text-box p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #555;
  word-break: keep-all;
}

/* Intersection Text */
.company-intro-page .intersection-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
  opacity: 0;
  transition:
    opacity 1s ease 1.2s,
    transform 1s ease 1.2s;
  pointer-events: none;
  width: 400px;
}

.company-intro-page .intersection-text .center-content {
  background: rgba(255, 255, 255, 0.9);
  padding: 40px;
  border-radius: 50%;
  box-shadow: 0 30px 60px rgba(111, 66, 193, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.company-intro-page .vision-wrap.active .intersection-text {
  opacity: 1;
}

.company-intro-page .intersection-text h3 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #6f42c1 0%, #a960ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.company-intro-page .intersection-text p {
  font-size: 1.2rem;
  color: #333;
  line-height: 1.6;
}

/* CEO Section */
.company-intro-page .ceo-section {
  background-color: #f8f9fa;
}

.company-intro-page .ceo-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.company-intro-page .ceo-img {
  width: 100%;
  max-width: 600px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.company-intro-page .ceo-content-area h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 40px;
  color: #1a1a1a;
  line-height: 1.2;
  word-break: keep-all;
}

.company-intro-page .ceo-message p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 20px;
}

.company-intro-page .ceo-sign {
  margin-top: 30px;
  font-size: 1.2rem;
  font-weight: bold;
}

.company-intro-page .ceo-sign span {
  font-weight: normal;
  color: #666;
  margin-left: 8px;
}

/* Info Table */
.company-intro-page .info-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 50px;
  text-align: center;
}

.company-intro-page .info-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid #1a1a1a;
}

.company-intro-page .info-table th {
  background-color: transparent;
  border-bottom: 1px solid #e5e7eb;
  color: #1a1a1a;
  font-weight: 800;
  padding: 25px 0;
  width: 200px;
  text-align: left;
}

.company-intro-page .info-table td {
  padding: 25px 0 25px 40px;
  border-bottom: 1px solid #e5e7eb;
  color: #555;
}

/* 회사정보 섹션만 전체적으로 컴팩트하게 */
.company-intro-page .info-section {
  padding: 60px 0;
  /* 기존 company-section 100px 대신 */
}

.company-intro-page .info-section .section-inner {
  max-width: 980px;
  /* 1400 -> 980 정도로 축소 */
}

/* 타이틀 작게 */
.company-intro-page .info-title {
  font-size: 1.7rem;
  /* 2.2rem -> 1.7rem */
  margin-bottom: 28px;
  /* 50px -> 28px */
}

/* 테이블 컴팩트 */
.company-intro-page .info-table th {
  width: 160px;
  /* 200 -> 160 */
  padding: 16px 0;
  /* 25 -> 16 */
  font-size: 0.95rem;
}

.company-intro-page .info-table td {
  padding: 16px 0 16px 24px;
  /* 25/40 -> 16/24 */
  font-size: 0.95rem;
}

/* Responsive Fixes */
@media (max-width: 1024px) {
  .company-intro-page .company-hero-title {
    font-size: 2.5rem;
  }

  .company-intro-page .vision-wrap {
    height: auto;
    min-height: auto;
    flex-direction: column;
    padding: 60px 0;
    gap: 30px;
    /* Use gap for spacing */
  }

  .company-intro-page .circle-box {
    position: relative;
    /* Change from absolute to relative on mobile */
    width: 100%;
    max-width: 400px;
    height: auto;
    /* Allow auto height */
    aspect-ratio: 1;
    /* Keep circle shape */
    border-radius: 50%;
    margin: 0 auto;
    /* Center horizontally */

    transform: none !important;
    /* Force reset of transform to prevent glitch */
    opacity: 1 !important;
    /* Force visibility */
    left: auto;
    right: auto;
    top: auto;
  }

  .company-intro-page .circle-box.left,
  .company-intro-page .circle-box.right {
    transform: none;
    background: #f8f9fa;
    border: 1px solid #eee;
  }

  /* Override active state to do nothing on mobile layout */
  .company-intro-page .vision-wrap.active .circle-box.left,
  .company-intro-page .vision-wrap.active .circle-box.right {
    transform: none;
    opacity: 1;
  }

  .company-intro-page .intersection-text {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    opacity: 1 !important;
    width: 100%;
    max-width: 400px;
    margin: 30px auto 0;
    transition: none;
  }

  .company-intro-page .intersection-text .center-content {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 20px;
  }

  .company-intro-page .ceo-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .company-intro-page .ceo-content-area h2 {
    font-size: 2.2rem;
  }

  .company-intro-page .ceo-message {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .company-intro-page .company-section {
    padding: 60px 0;
  }

  .company-intro-page .company-hero {
    height: 400px;
  }

  .company-intro-page .company-hero-title {
    font-size: 2rem;
  }

  .company-intro-page .info-table th {
    width: 100px;
    padding: 15px 0;
  }

  .company-intro-page .info-table td {
    padding: 15px 0 15px 15px;
  }

  .company-intro-page .text-box h3 {
    font-size: 1.8rem;
  }
}
