/* Aethera 랜딩 페이지 스타일 */
:root {
  --primary-blue: #3498db;
  --primary-dark: #2c3e50;
  --accent-green: #27ae60;
  --text-dark: #2c3e50;
  --text-light: #ffffff;
  --text-gray: #6c757d;
  --bg-light: #ffffff;
  --bg-gray: #f8f9fa;
  --border-color: #e9ecef;
}

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

body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.6;
}

/* 네비게이션 바 */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  height: 70px;
  background: #ffffff !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
}

.nav-brand a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

/* Send Package 로고 스타일 (이미지 참고: 선물 상자 + 주황 리본 + 움직임 선, 여백 최소화) */
.logo-icon-package {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  padding: 4px;
}

.logo-icon-package::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(208, 208, 208, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.logo-icon-package:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  background: #ffffff !important;
}

.logo-icon-package:hover::before {
  opacity: 1;
}

.logo-icon-package img,
.logo-icon-package svg {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.logo-icon-package img {
  /* 이미지 렌더링 품질 개선 */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: high-quality;
}

.logo-icon-package svg {
  /* SVG 렌더링 품질 개선 */
  shape-rendering: geometricPrecision;
  text-rendering: geometricPrecision;
}

.logo-icon-package .logo-image {
  display: block;
}

.logo-icon-package .logo-svg-fallback {
  display: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1.2;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

.brand-platform {
  font-size: 0.85rem;
  color: var(--text-gray);
  font-weight: 500;
  margin-top: -2px;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--text-gray);
  font-weight: 400;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  color: var(--text-gray);
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  font-size: 0.95rem;
}

.nav-item:hover {
  color: var(--primary-blue);
  background: rgba(52, 152, 219, 0.1);
}

.nav-item.active {
  color: var(--primary-blue);
  background: rgba(52, 152, 219, 0.1);
}

/* 홈 버튼 스타일 */
.home-button {
  background: #e3f2fd !important;
  color: #1976d2 !important;
  border-radius: 8px !important;
  padding: 0.75rem 1.25rem !important;
  font-weight: 600 !important;
}

.home-button:hover {
  background: #bbdefb !important;
  color: #1565c0 !important;
}

/* 로그인 버튼 스타일 */
.login-button {
  color: var(--text-gray);
  font-weight: 500;
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* 메인 콘텐츠 */
.main-content {
  min-height: calc(100vh - 70px);
}

/* 히어로 섹션 */
.hero-section {
  position: relative;
  padding: 2.1rem 2rem;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: var(--text-light);
  overflow: hidden;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.hero-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  font-size: 1rem;
}

.btn-primary {
  background: var(--accent-green);
  color: white;
  box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.btn-secondary {
  background: transparent;
  color: white;
  border-color: white;
}

.btn-secondary:hover {
  background: white;
  color: var(--primary-dark);
  transform: translateY(-2px);
}

/* 기능 섹션 */
.features-section {
  padding: 4rem 2rem;
  background: var(--bg-light);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.icon-box {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(52, 152, 219, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  margin: 0 auto 1.5rem auto;
}

.feature-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.feature-card p {
  color: var(--text-gray);
  line-height: 1.6;
}

/* 서비스 프로세스 섹션 */
.process-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.process-header {
  text-align: center;
  margin-bottom: 60px;
}

.process-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
  text-align: center;
  width: 100%;
}

.process-subtitle {
  font-size: 1.25rem;
  color: var(--text-gray);
  text-align: center;
  margin-bottom: 40px;
  width: 100%;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

/* 가로 1열 레이아웃 (고객 프로세스) - 4개 카드 가로 배치 */
.process-grid-horizontal {
  grid-template-columns: repeat(4, 1fr);
  max-width: 1400px;
  gap: 16px;
  margin: 40px auto 0;
  justify-items: center;
  width: 100%;
  padding-bottom: 40px;
  overflow: visible;
}

.process-card {
  background: white;
  border-radius: 20px 20px 0 0;
  padding: 40px 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 400px;
}

.process-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.process-card:hover {
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.15);
  transform: translateY(-8px);
  border-color: #667eea;
}

.process-number {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
  z-index: 10;
}

.process-icon {
  font-size: 64px;
  margin: 20px 0 24px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.process-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.process-card-desc {
  font-size: 1rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* 컴팩트 카드 스타일 (고객 프로세스용) - 세로형 레이아웃 */
.process-card-compact {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px 60px;
  gap: 16px;
  min-height: 380px;
  justify-content: flex-start;
  overflow: visible !important;
}

.process-card-compact .process-number {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  z-index: 10;
}

.process-card-compact .process-icon {
  font-size: 48px;
  margin: 16px 0 20px;
  flex-shrink: 0;
}

.process-card-compact .process-card-title {
  margin-bottom: 12px;
  font-size: 1.125rem;
  font-weight: 700;
}

.process-card-compact .process-card-desc {
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.6;
  color: #64748b;
}

/* 패키징사 프로세스 섹션 */
.process-section-company {
  background: #f8f9fa;
  padding-bottom: 80px;
  overflow: visible;
}

.process-section {
  padding-bottom: 80px;
  overflow: visible;
}

/* 프로세스 섹션 내 container는 block 레이아웃으로 */
.process-section .container,
.process-section-company .container {
  display: block;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  overflow: visible;
}

.process-steps-company {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1400px;
  margin: 40px auto 0;
  justify-items: center;
  width: 100%;
  padding-bottom: 40px;
  overflow: visible;
}

.process-step-company {
  background: white;
  border-radius: 20px 20px 0 0;
  padding: 24px 20px 60px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
  position: relative;
  overflow: visible !important;
  display: flex;
  flex-direction: column;
  min-height: 380px;
}

.process-step-company::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.process-step-company:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.step-header-company {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  flex: 1;
}

.step-number-company {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.25rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
  z-index: 10;
}

.step-title-section-company {
  flex: 1;
}

.step-title-company {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.step-description-company {
  font-size: 0.875rem;
  color: var(--text-gray);
  line-height: 1.5;
}

.step-features-company {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.feature-item-company {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 3px solid #667eea;
}

.feature-icon-company {
  font-size: 20px;
  flex-shrink: 0;
}

.feature-content-company {
  flex: 1;
}

.feature-title-company {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.feature-desc-company {
  font-size: 0.75rem;
  color: var(--text-gray);
  line-height: 1.4;
}

/* 푸터 */
.footer {
  padding: 1.5rem 2rem;
  text-align: center;
  color: var(--text-gray);
  background: white;
  border-top: 1px solid var(--border-color);
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
  .brand-subtitle {
    display: none;
  }

  .brand-platform {
    display: block;
  }

  .nav-menu {
    gap: 1rem;
  }

  .container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0.75rem 1rem;
    height: 60px;
  }

  .nav-menu {
    gap: 0.5rem;
  }

  .nav-item {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .brand-name {
    font-size: 1.25rem;
  }

  .logo-icon {
    width: 35px;
    height: 35px;
    font-size: 1.25rem;
  }

  .logo-icon-package {
    width: 48px;
    height: 48px;
    padding: 3px;
    background: #ffffff !important;
  }

  .logo-icon-package svg {
    width: 100%;
    height: 100%;
  }

  .brand-platform {
    font-size: 0.75rem;
  }

  .hero-section {
    padding: 1.4rem 1rem;
    min-height: 50vh;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .features-section {
    padding: 2.1rem 1rem;
  }

  .process-section {
    padding: 60px 20px;
  }

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

  .process-subtitle {
    font-size: 1.125rem;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .process-grid-horizontal {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .process-steps-company {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding-bottom: 40px;
    overflow: visible;
  }

  .process-card {
    padding: 32px 24px;
  }

  .process-card-compact {
    flex-direction: column;
    text-align: center;
    padding: 24px 16px 50px;
    gap: 12px;
    min-height: 320px;
    overflow: visible !important;
  }

  .process-card-compact .process-number {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    font-size: 1.125rem;
  }

  .process-card-compact .process-icon {
    font-size: 36px;
    margin: 0;
  }

  .process-card-compact .process-card-title {
    font-size: 1.125rem;
  }

  .process-card-compact .process-card-desc {
    font-size: 0.875rem;
  }

  .process-icon {
    font-size: 48px;
    margin: 16px 0 20px;
  }

  .process-card-title {
    font-size: 1.25rem;
  }

  .process-card-desc {
    font-size: 0.9375rem;
  }

  .process-step-company {
    padding: 20px 16px 50px;
    min-height: 320px;
  }

  .step-header-company {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
  }

  .step-number-company {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    font-size: 1.125rem;
  }

  .step-title-company {
    font-size: 1.125rem;
  }

  .step-description-company {
    font-size: 0.8125rem;
  }

  .step-features-company {
    gap: 10px;
  }

  .feature-item-company {
    padding: 10px;
    gap: 6px;
  }

  .feature-icon-company {
    font-size: 18px;
  }

  .feature-title-company {
    font-size: 0.8125rem;
  }

  .feature-desc-company {
    font-size: 0.6875rem;
  }
}

@media (max-width: 640px) {
  .process-grid-horizontal {
    grid-template-columns: 1fr;
    padding-bottom: 40px;
    overflow: visible;
  }

  .process-steps-company {
    grid-template-columns: 1fr;
    padding-bottom: 40px;
    overflow: visible;
  }
}

@media (max-width: 640px) {
  .nav-user {
    gap: 0.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}
