/* 기본 레이아웃 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
  background-color: #000000;
  color: #ffffff;
}

.solutions-page {
  background: #000000;
  color: #ffffff;
  min-height: 100vh;
}

/* 히어로 섹션 */
.hero-section {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000000;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 72px;
  font-weight: 300;
  margin-bottom: 20px;
  color: #ffffff;
  font-family: "keifont";
  line-height: 1.2;
}

.hero-content p {
  font-size: 24px;
  color: #ffffff;
  font-weight: 300;
  opacity: 0.8;
  line-height: 1.4;
}

/* 솔루션 쇼케이스 */
.solutions-showcase {
  display: flex;
  width: 100%;
  min-height: 80vh;
  background: #000000;
  padding: 0 4rem;
  padding-bottom: 0px;
  margin-bottom: 0px;
}

/* 솔루션 네비게이션 */
.solutions-nav {
  width: 30%;
  padding: 10rem 3rem;
  background: #000000;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  height: 80vh;
  position: sticky;
  top: 0;
  overflow-y: hidden;
}

.solution-nav-item {
  padding: 2rem;
  border-radius: 16px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
  transition: all 0.3s ease;
}

.solution-nav-item.active {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.solution-number {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.5rem;
}

.solution-nav-item.active .solution-number {
  color: rgba(0, 0, 0, 0.7);
}

.solution-nav-item h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.solution-nav-item p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.solution-nav-item.active h3,
.solution-nav-item.active p {
  color: #000000;
}

/* 솔루션 디스플레이 */
.solution-display {
  width: 70%;
  position: relative;
  background: #000000;
  padding: 10rem;
  min-height: 80vh;
}

.solution-content {
  display: none;
  opacity: 0;
  visibility: hidden;
}

.solution-content.active {
  display: flex;
  opacity: 1;
  visibility: visible;
  align-items: center;
  justify-content: space-between;
}

.solution-info {
  flex: 1;
  padding-right: 4rem;
  max-width: 600px;
}

.solution-text h2 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #ffffff;
  line-height: 1.1;
}

.solution-short-desc {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 2rem;
  color: #ffffff;
  line-height: 1.3;
  opacity: 0.9;
}

.solution-description {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #ffffff;
}

.key-feature {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 1.8rem;
  border-radius: 16px;
  margin-bottom: 2rem;
  border-left: 4px solid #fff;
}

.feature-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.7);
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.4;
}

.detail-text {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  color: #ffffff;
  padding-left: 1.2rem;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.explore-btn {
  background: #ffffff;
  border: none;
  color: #000000;
  padding: 1rem 2.2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.explore-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.solution-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.main-image {
  width: 100%;
  max-width: 500px;
  position: relative;
  z-index: 1;
}

.main-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.object-3d {
  position: absolute;
  width: 180px;
  height: 180px;
  right: 0;
  bottom: 0;
  z-index: 0;
  opacity: 0.85;
}

.object-3d img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 인디케이터 (모바일에서 사용) */
.solution-indicators {
  display: none;
}

/* 기본 한글 텍스트 처리 */
.solution-name,
.solution-short-desc,
.solution-description,
.feature-label,
.feature-title,
.detail-text {
  word-break: keep-all;
  word-wrap: break-word;
  white-space: normal;
  width: 100%;
}

/* 모바일에서 기본 레이아웃 */
@media (max-width: 768px) {
  .hero-section {
    height: 100vh;
    padding: 0 1.5rem;
  }

  .hero-content {
    padding: 0;
    width: 100%;
  }

  .hero-content h1 {
    font-size: 36px;
    margin-bottom: 16px;
  }
  
  .hero-content p {
    font-size: 18px;
    opacity: 0.9;
  }

  .background-video {
    opacity: 0.5;
  }

  .solutions-showcase {
    flex-direction: column;
    padding: 0;
    margin-top: 0;
  }

  .solutions-nav {
    width: 100%;
    padding: 2rem 1.5rem;
    height: auto;
    position: relative;
    flex-direction: column;
    gap: 1rem;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .solution-display {
    width: 100%;
    padding: 2rem 1.5rem;
  }

  .solution-nav-item {
    width: 100%;
    padding: 1.2rem;
    margin-right: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
  }

  .solution-nav-item.active {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
  }
  
  .solution-nav-item h3 {
    color: #ffffff;
  }
  
  .solution-nav-item p {
    color: rgba(255, 255, 255, 0.8);
  }
  
  .solution-nav-item.active h3,
  .solution-nav-item.active p {
    color: #000000;
  }
  
  .solution-content.active {
    flex-direction: column;
    gap: 2.5rem;
  }
  
  .solution-info {
    padding-right: 0;
    max-width: 100%;
  }
  
  .solution-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
  }
  
  .solution-short-desc {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
  }
  
  .solution-description {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
  }
  
  .key-feature {
    padding: 1.5rem;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
  }
  
  .feature-title {
    font-size: 1.2rem;
    line-height: 1.4;
  }
  
  .detail-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    padding-left: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
  }
  
  .explore-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border-radius: 8px;
    background: #ffffff;
    color: #000000;
    border: none;
    transition: all 0.3s ease;
  }

  .explore-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
  }
  
  .solution-visual {
    width: 100%;
    margin-top: 2rem;
  }
  
  .main-image {
    max-width: 100%;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
  }
  
  .object-3d {
    width: 120px;
    height: 120px;
    right: 0;
    bottom: 0;
    opacity: 0.8;
  }
  
  .solution-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 2rem;
    padding: 1rem 0;
  }
  
  .indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
  }

  .indicator-dot.active {
    background: #ffffff;
    transform: scale(1.2);
  }
}

/* 태블릿 반응형 */
@media (min-width: 769px) and (max-width: 1024px) {
  .solutions-nav {
    width: 35%;
    padding: 2.5rem 1.5rem;
  }
  
  .solution-display {
    width: 65%;
    padding: 2.5rem 2rem;
  }
  
  .solution-text h2 {
    font-size: 2.8rem;
  }
  
  .solution-short-desc {
    font-size: 1.4rem;
  }
  
  .object-3d {
    width: 140px;
    height: 140px;
  }
}

/* 모바일에서 기본 레이아웃 */
@media (max-width: 1300px) and (min-width: 769px) {

  .solutions-showcase {
    flex-direction: column;
    padding: 0;
    margin-top: 0;
  }

  .solutions-nav {
    width: 100%;
    padding: 2rem 1.5rem;
    height: auto;
    position: relative;
    flex-direction: column;
    gap: 1rem;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .solution-display {
    width: 100%;
    padding: 2rem 1.5rem 3rem;
  }

  .solution-nav-item {
    width: 70%;
    padding: 1.2rem;
    margin-right: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
  }

  .solution-nav-item.active {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
  }
  
  .solution-nav-item h3 {
    color: #ffffff;
  }
  
  .solution-nav-item p {
    color: rgba(255, 255, 255, 0.8);
  }
  
  .solution-nav-item.active h3,
  .solution-nav-item.active p {
    color: #000000;
  }
  
  .solution-content.active {
    flex-direction: column;
    gap: 2.5rem;
  }
  
  .solution-info {
    padding-right: 0;
    max-width: 80%;
  }
  
  .solution-text h2 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    line-height: 1.2;
  }
  
  .solution-short-desc {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
  }
  
  .solution-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
  }
  
  .key-feature {
    padding: 2rem;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
  }
  
  .feature-title {
    font-size: 1.4rem;
    line-height: 1.4;
  }
  
  .detail-text {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    padding-left: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
  }
  
  .explore-btn {
    width: 100%;
    padding: 1.5rem 2rem;
    font-size: 1.2rem;
    border-radius: 8px;
    background: #ffffff;
    color: #000000;
    border: none;
    transition: all 0.3s ease;
  }

  .explore-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
  }
  
  .solution-visual {
    width: 100%;
    margin-top: 2rem;
  }
  
  .main-image {
    max-width: 70%;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
  }
  
  .object-3d {
    width: 120px;
    height: 120px;
    right: 0;
    bottom: 0;
    opacity: 0.8;
  }
  
  .solution-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 2rem;
    padding: 1rem 0;
  }
  
  .indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
  }

  .indicator-dot.active {
    background: #ffffff;
    transform: scale(1.2);
  }
}
/* 태블릿 반응형 */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-content h1 {
    font-size: 56px;
  }
  
  .hero-content p {
    font-size: 20px;
  }
}

/* 작은 모바일 기기 */
@media (max-width: 480px) {
  .hero-section {
    height: 100vh;
    padding: 0 1rem;
  }

  .hero-content h1 {
    font-size: 32px;
    margin-bottom: 12px;
  }
  
  .hero-content p {
    font-size: 16px;
  }

  .solutions-nav {
    padding: 1.5rem 1rem;
  }

  .solution-nav-item {
    padding: 1rem;
  }

  .solution-display {
    padding: 1.5rem 1rem;
  }
}
