/* 기본 스타일 리셋 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: #333;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body, html {
  font-synthesis: none;
}

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

/* 우주 테마 헤더 */
.space-header {
  background-color: #0a0a1a;
  color: white;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}

.stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, #eee, rgba(0,0,0,0)), 
    radial-gradient(2px 2px at 40px 70px, #fff, rgba(0,0,0,0)), 
    radial-gradient(2px 2px at 50px 160px, #ddd, rgba(0,0,0,0)), 
    radial-gradient(2px 2px at 90px 40px, #fff, rgba(0,0,0,0)), 
    radial-gradient(2px 2px at 130px 80px, #fff, rgba(0,0,0,0)), 
    radial-gradient(2px 2px at 160px 120px, #ddd, rgba(0,0,0,0));
  background-repeat: repeat;
  background-size: 200px 200px;
  z-index: 0;
  opacity: 0.4;
}

.floating-objects {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.floating-object {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ff4b4b, #ff9b4b);
  filter: blur(30px);
  opacity: 0.1;
  animation: float 15s ease-in-out infinite;
}

.obj1 {
  width: 300px;
  height: 300px;
  top: 20%;
  left: 5%;
  animation-delay: 0s;
}

.obj2 {
  width: 200px;
  height: 200px;
  top: 50%;
  right: 10%;
  animation-delay: 2s;
}

.obj3 {
  width: 150px;
  height: 150px;
  bottom: 15%;
  left: 15%;
  animation-delay: 4s;
}

.obj4 {
  width: 250px;
  height: 250px;
  top: 30%;
  right: 20%;
  animation-delay: 1s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}

.header-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
}

.logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 30px;
}

.headline {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 30px;
  line-height: 1.2;
  background: linear-gradient(to right, #ffffff, #e3e3fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.subheading {
  font-size: 1.4rem;
  font-weight: 400;
  max-width: 700px;
  margin: 0 auto 50px;
  color: #c4c4ff;
}

.cta-button {
  display: inline-block;
  padding: 16px 40px;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, #ff4b4b 0%, #ff9b4b 100%);
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(255, 75, 75, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  border: none;
  outline: none;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255, 75, 75, 0.4);
}

/* 메인 컨텐츠 섹션 */
.App {
  background-color: white;
}

.building-section {
  padding: 100px 0;
  text-align: center;
  position: relative;
}

.building-content .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 20px;
  line-height: 1.3;
}

.section-subtitle {
  font-size: 1.8rem;
  font-weight: 600;
  color: #555;
  line-height: 1.5;
}

/* 프로필 섹션 */
.profile-section {
  padding: 60px 0;
  background-color: #f5f8ff;
  margin: 80px 0 40px;
  border-radius: 24px;
}

.profile-content {
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.profile-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  background-color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.profile-text {
  text-align: left;
}

.profile-badge {
  display: inline-block;
  background: linear-gradient(90deg, #0a0a1a 0%, #0f4170 100%);
  color: white;
  padding: 8px 20px;
  border-radius: 30px;
  margin-bottom: 20px;
  font-size: 1rem;
  font-weight: 600;
}

.profile-heading {
  color: #0a0a1a;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.profile-heading.extra-bold {
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
  margin-top: 15px;
}

.profile-description {
  color: #333;
  font-size: 1.2rem;
  font-weight: 600;
}

/* 서비스 카드 */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin: 50px 0;
}

.service-card {
  background-color: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(10, 10, 26, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(10, 10, 26, 0.05);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(10, 10, 26, 0.12);
}

.service-icon {
  width: 140px;
  height: 140px;
  margin-bottom: 25px;
  object-fit: contain;
}

.service-title-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 240px;
  text-align: center;
}

.service-title {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 4px;
  word-break: keep-all;
  line-height: 1.4;
  text-align: center;
}

.service-title.highlight {
  color: #0a0a1a;
  margin-bottom: 2px;
}

.service-title.normal {
  color: #333;
  margin-top: 0;
}

/* 비교 섹션 */
.comparison-section {
  margin: 80px 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(10, 10, 26, 0.08);
}

.comparison-header {
  background-color: #0a0a1a;
  padding: 20px;
  text-align: center;
}

.comparison-title {
  color: white;
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0;
  letter-spacing: -0.02em;
}

.comparison-container {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.comparison-top {
  display: flex;
  width: 100%;
}

.comparison-top-left, .comparison-top-right {
  flex: 42;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comparison-top-left {
  background-color: #A9A9A9;
  color: white;
}

.comparison-top-center {
  flex: 16;
  background-color: #0a0a1a;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.comparison-top-right {
  background-color: #0a4170;
  color: white;
}

.comparison-item {
  display: flex;
  width: 100%;
}

.comparison-left, .comparison-right {
  flex: 42;
  padding: 20px;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comparison-left {
  background-color: #F8F8F8;
  border: 1px solid #EAEAEA;
}

.comparison-center {
  flex: 16;
  padding: 10px;
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 600;
  color: #333;
  font-size: 0.9rem;
  border: 1px solid #EAEAEA;
}

.comparison-right {
  background-color: #F0F8FF;
  border: 1px solid #E0F0FF;
}

.comparison-content {
  max-width: 90%;
  text-align: center;
}

.comparison-text {
  font-size: 0.95rem;
  line-height: 1.7;
  word-break: keep-all;
}

.highlight-blue {
  color: #0a4170;
  font-weight: 700;
}

.comparison-top-title {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.comparison-vs {
  font-size: 1.6rem;
  font-weight: 700;
}

/* 프로세스 섹션 */
.process-section {
  margin: 80px 0;
  overflow: hidden;
}

.process-header {
  background: linear-gradient(135deg, #0a0a1a 0%, #0a4170 100%);
  padding: 20px 30px;
  text-align: center;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 6px 20px rgba(10, 10, 26, 0.15);
  position: relative;
  overflow: hidden;
}

.process-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.process-title {
  color: white;
  font-weight: 600;
  font-size: 1.5rem;
  margin: 0;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
}

.process-container {
  background-color: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(10, 10, 26, 0.1);
  justify-content: center;
}

.process-image, .chart-image {
  width: 60%;
  display: flex;
  justify-content: center !important;
  padding: 20px 0;
  margin-left: 20%;
}

.full-width-img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* 차트 섹션 */
.chart-section {
  margin: 80px 0;
  overflow: hidden;
}

.section-header {
  background: linear-gradient(135deg, #0a0a1a 0%, #0a4170 100%);
  padding: 20px 30px;
  text-align: center;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 6px 20px rgba(10, 10, 26, 0.15);
  position: relative;
  overflow: hidden;
}

.section-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.section-title {
  color: white;
  font-weight: 600;
  font-size: 1.5rem;
  margin: 0;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
}

.chart-container {
  background-color: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(10, 10, 26, 0.1);
}

/* 리뷰 섹션 스타일 */
.review-outer-header {
  text-align: center;
  max-width: 800px;
  margin: 80px auto 20px;
  position: relative;
}

.review-main-title,
.review-sub-title {
  font-weight: 700;
  color: #0a0a1a;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.review-main-title {
  font-size: 2.2rem;
  position: relative;
}

.review-main-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.1);
}

.review-sub-title {
  font-size: 2rem;
  margin-top: 10px;
  position: relative;
  padding-bottom: 25px;
}

.review-sub-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.1);
}

.review-quote-bubble {
  background: linear-gradient(135deg, #0a0a1a 0%, #0a4170 100%);
  border-radius: 30px;
  padding: 15px 40px;
  margin: 40px auto;
  display: inline-block;
  position: relative;
  box-shadow: 0 8px 20px rgba(10, 10, 26, 0.2);
}

.review-quote-bubble::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 15px;
  background: linear-gradient(135deg, #0a0a1a 0%, #0a4170 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.quote-text {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  text-align: center;
}

.review-section {
  background-color: white;
  padding: 60px 0;
  margin-bottom: 80px;
}

.review-cards-container {
  position: relative;
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.review-logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}

.review-logo-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0a0a1a 0%, #0a4170 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(10, 10, 26, 0.25);
  margin-bottom: 15px;
  border: 4px solid rgba(255, 255, 255, 0.1);
}

.review-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.review-section-title {
  font-size: 25px;
  color: #0a0a1a;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-top: 5px;
  text-align: center;
}

.review-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 30px;
}

.review-card {
  background-color: white;
  border-radius: 20px;
  padding: 25px 30px;
  box-shadow: 0 10px 30px rgba(10, 10, 26, 0.08);
  transition: transform 0.3s ease;
  border: 1px solid rgba(10, 10, 26, 0.05);
}

.review-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(10, 10, 26, 0.12);
}

.review-profile {
  display: flex;
  align-items: flex-start;
}

.profile-img-container {
  margin-right: 20px;
  flex-shrink: 0;
}

.profile-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.profile-info {
  flex: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.company-label {
  font-size: 0.95rem;
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 8px;
  font-weight: 500;
}

.review-highlight {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0a0a1a;
  margin-bottom: 8px;
  line-height: 1.4;
}

.review-content {
  font-size: 0.95rem;
  color: rgba(0, 0, 0, 0.85);
  margin-bottom: 2px;
  line-height: 1.5;
}

.review-content.blue-highlight {
  color: #0a4170;
  font-weight: 500;
}

/* 반응형 스타일 */
@media (max-width: 1200px) {
  .headline {
    font-size: 3rem;
  }
  
  .subheading {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .section-subtitle {
    font-size: 1.6rem;
  }
  
  .profile-heading {
    font-size: 2.2rem;
  }
}

@media (max-width: 992px) {
  .profile-content {
    flex-direction: column;
    text-align: center;
  }
  
  .profile-text {
    text-align: center;
  }
  
  .review-cards {
    grid-template-columns: 1fr;
  }
  
  .comparison-item {
    flex-direction: column;
  }
  
  .comparison-top {
    flex-direction: column;
  }
  
  .comparison-left, .comparison-right, .comparison-center,
  .comparison-top-left, .comparison-top-right, .comparison-top-center {
    flex: 1;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .headline {
    font-size: 2.5rem;
  }
  
  .subheading {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }
  
  .cta-button {
    padding: 12px 30px;
    font-size: 0.9rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-subtitle {
    font-size: 1.3rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .profile-heading {
    font-size: 1.8rem;
  }
  
  .profile-description {
    font-size: 1rem;
  }
  
  .review-main-title {
    font-size: 1.8rem;
  }
  
  .review-sub-title {
    font-size: 1.6rem;
  }
  
  .quote-text {
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .header-content {
    padding: 20px;
  }
  
  .headline {
    font-size: 2rem;
  }
  
  .subheading {
    font-size: 0.8rem;
  }
  
  .section-title {
    font-size: 1.0rem !important;
  }
  
  .section-subtitle {
    font-size: 0.8rem;
  }
  
  .profile-avatar {
    width: 120px;
    height: 120px;
  }
  
  .profile-badge {
    font-size: 0.9rem;
    padding: 6px 15px;
  }
  
  .profile-heading {
    font-size: 1.5rem;
  }
  
  .profile-description {
    font-size: 0.9rem;
  }
  
  .review-card {
    padding: 20px;
  }
  
  .profile-img {
    width: 60px;
    height: 60px;
  }
  
  .review-highlight {
    font-size: 0.8rem;
  }
  
  .review-content {
    font-size: 0.6rem;
  }
  
  .process-title, .section-title, .comparison-title {
    font-size: 1.3rem;
  }
}

/* 문의하기 섹션 스타일 */
.contact-section {
  background-color: #ffffff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-title {
  color: #0a0a1a;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.contact-description {
  color: #666666;
  font-size: 1.2rem;
  margin-bottom: 40px;
}

.contact-button {
  display: inline-block;
  padding: 18px 50px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  background: #0a0a1a;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(10, 10, 26, 0.1);
}

.contact-button:hover {
  transform: translateY(-3px);
  background: #0a4170;
  box-shadow: 0 15px 35px rgba(10, 65, 112, 0.2);
}

/* 반응형 스타일 유지 */
@media (max-width: 768px) {
  .contact-section {
    padding: 60px 0;
  }

  .contact-title {
    font-size: 2rem;
  }

  .contact-description {
    font-size: 1rem;
  }

  .contact-button {
    padding: 15px 40px;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .contact-section {
    padding: 40px 0;
  }

  .contact-title {
    font-size: 1.5rem;
  }

  .contact-description {
    font-size: 0.9rem;
  }

  .contact-button {
    padding: 12px 30px;
    font-size: 0.9rem;
  }
}

.explore-btn {
  background: transparent;
  border: 1px solid currentColor;
  color: inherit;
  padding: 16px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.explore-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.explore-btn:hover::before {
  transform: translateX(100%);
}

.explore-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 다크 모드에서의 버튼 스타일 */
.solution-content:nth-child(odd) .explore-btn:hover {
  background: #ffffff;
  color: #000000;
}

/* 라이트 모드에서의 버튼 스타일 */
.solution-content:nth-child(even) .explore-btn:hover {
  background: #000000;
  color: #ffffff;
}