@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

/* ===========================
   Reset & Base
   =========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  color: #333;
  word-break: keep-all;
  overflow-x: hidden;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===========================
   우측 하단 플로팅 퀵 네비게이션
   =========================== */
.quick-nav {
  position: fixed;
  bottom: 32px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.quick-nav.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-arrow {
  background: rgba(255, 255, 255, 0.92);
  color: #4e5968;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.nav-arrow:hover {
  background: #ffffff;
  color: #191f28;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
}

.kakao-quick {
  background: #FEE500;
  color: #191919;
  border: none;
  width: 52px;
  height: 52px;
}
.kakao-quick:hover {
  background: #f5dd00;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 24px rgba(254, 229, 0, 0.4);
}

/* ===========================
   로고 스타일
   =========================== */
.main-logo {
  height: 80px;
  margin-bottom: 32px;
  object-fit: contain;
}
.sub-logo {
  height: 70px;
  margin-top: 10px;
  margin-bottom: 24px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}
.footer-logo {
  height: 72px;
  margin-bottom: 28px;
  opacity: 0.7;
  object-fit: contain;
}

/* ===========================
   뱃지
   =========================== */
.badge {
  display: inline-block;
  padding: 8px 18px;
  background-color: #f2f4f6;
  color: #4e5968;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 28px;
}
.badge.blue {
  background-color: rgba(49, 130, 246, 0.12);
  color: #3182f6;
}

/* 다크 섹션 안의 뱃지 */
.dark-section .badge.blue {
  background-color: rgba(49, 130, 246, 0.2);
  color: #6aa5f8;
}

/* ===========================
   섹션 공통
   =========================== */
.toss-section {
  padding: 140px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}
.toss-section.bg-gray {
  background-color: #f9fafb;
}

/* ===========================
   히어로 섹션
   =========================== */
.hero-section {
  min-height: 100vh;
  padding: 0 20px;
  position: relative;
  overflow: hidden;
}
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(49, 130, 246, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(49, 130, 246, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(100, 150, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ===========================
   타이포그래피
   =========================== */
.toss-section h1 {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 24px;
  color: #191f28;
  letter-spacing: -0.03em;
}
.toss-section h2 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 20px;
  color: #191f28;
  letter-spacing: -0.02em;
}
.toss-section p {
  font-size: 1.25rem;
  color: #4e5968;
  margin-bottom: 48px;
  line-height: 1.7;
}

/* ===========================
   스크롤 인디케이터
   =========================== */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  font-size: 0.9rem;
  color: #8b95a1;
  font-weight: 500;
  letter-spacing: 0.5px;
  animation: bounce 2.5s ease-in-out infinite;
}
.scroll-indicator svg {
  opacity: 0.6;
}

/* ===========================
   신뢰 숫자
   =========================== */
.stats-container {
  display: flex;
  gap: 80px;
  margin-top: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.stat-item {
  text-align: center;
}
.stat-num {
  font-size: 3.8rem;
  font-weight: 800;
  color: #3182f6;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.stat-num .plus {
  font-size: 2rem;
  font-weight: 700;
  margin-left: 2px;
  color: #6aa5f8;
}
.stat-label {
  font-size: 1.15rem;
  color: #6b7684;
  font-weight: 600;
}

/* ===========================
   서비스 그리드
   =========================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}
.service-item {
  background: #ffffff;
  padding: 32px 20px 28px;
  border-radius: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #f2f4f6;
}
.service-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}
.service-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
  display: block;
}
.service-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #191f28;
  margin-bottom: 8px;
}
.service-item p {
  font-size: 0.9rem;
  color: #6b7684;
  margin-bottom: 0;
  line-height: 1.5;
}

/* ===========================
   다크 섹션 (플레이그로브)
   =========================== */
.dark-section {
  background: #0f1114;
  position: relative;
  overflow: hidden;
}
.dark-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 70% 50% at 30% 20%, rgba(49, 130, 246, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 70% 70%, rgba(0, 200, 150, 0.04) 0%, transparent 50%);
  pointer-events: none;
}
.dark-section h2 {
  color: #ffffff;
  position: relative;
}
.dark-section p {
  color: #8b95a1;
  position: relative;
}

/* 다크 카드 */
.card-container {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 900px;
  position: relative;
}
.toss-card {
  background: #ffffff;
  padding: 44px 36px;
  border-radius: 24px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.04);
  width: 420px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #f2f4f6;
}
.toss-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
}
.dark-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.dark-card:hover {
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.12);
}
.card-icon {
  font-size: 2.4rem;
  margin-bottom: 20px;
}
.toss-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #191f28;
}
.toss-card p {
  font-size: 1.05rem;
  margin-bottom: 0;
  color: #6b7684;
  line-height: 1.7;
}

/* 다크카드 텍스트 (기본 카드 스타일 뒤에 선언하여 우선순위 확보) */
.dark-card h3 {
  color: #ffffff !important;
}
.dark-card p {
  color: #ccc !important;
}

/* 플레이그로브 사이트 버튼 */
.playgrove-btn {
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff !important;
  position: relative;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.playgrove-btn:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
}

/* ===========================
   CTA 섹션
   =========================== */
.cta-section {
  padding: 120px 20px;
}

/* ===========================
   버튼
   =========================== */
.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.toss-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 44px;
  background-color: #3182f6;
  color: #ffffff !important;
  text-decoration: none;
  border-radius: 16px;
  font-size: 1.15rem;
  font-weight: 600;
  transition: all 0.25s ease;
  border: none;
}
.toss-btn:hover {
  background-color: #1b64da;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(49, 130, 246, 0.25);
}
.toss-btn.kakao {
  background-color: #FEE500;
  color: #191919 !important;
}
.toss-btn.kakao:hover {
  background-color: #f0d900;
  box-shadow: 0 8px 24px rgba(254, 229, 0, 0.3);
}

/* ===========================
   푸터
   =========================== */
.toss-footer {
  background-color: #f9fafb;
  padding: 64px 20px;
  border-top: 1px solid #e5e8eb;
  text-align: center;
}
.footer-content {
  max-width: 1000px;
  margin: 0 auto;
}
.footer-info p {
  font-size: 0.92rem;
  color: #8b95a1;
  margin-bottom: 6px;
  line-height: 1.6;
}
.footer-info .copyright {
  margin-top: 28px;
  font-size: 0.82rem;
  color: #b0b8c1;
}

/* ===========================
   회사 소개 - 키워드 태그
   =========================== */
.about-desc {
  max-width: 700px;
}
.about-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 700px;
}
.keyword-tag {
  display: inline-block;
  padding: 10px 20px;
  background: #ffffff;
  color: #3182f6;
  border: 1px solid #d8e5f8;
  border-radius: 24px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.2s ease;
}
.keyword-tag:hover {
  background: #3182f6;
  color: #ffffff;
  border-color: #3182f6;
  transform: translateY(-2px);
}

/* ===========================
   대상 고객 그리드
   =========================== */
.target-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}
.target-item {
  background: #ffffff;
  padding: 36px 24px 32px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid #f2f4f6;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.target-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}
.target-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
}
.target-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #191f28;
  margin-bottom: 10px;
}
.target-item p {
  font-size: 0.92rem;
  color: #6b7684;
  margin-bottom: 0;
  line-height: 1.55;
}

/* ===========================
   프로세스 플로우
   =========================== */
.process-flow {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: nowrap;
  justify-content: center;
}
.process-step {
  background: #ffffff;
  padding: 32px 20px 28px;
  border-radius: 20px;
  text-align: center;
  width: 170px;
  min-width: 150px;
  border: 1px solid #f2f4f6;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.process-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}
.step-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #3182f6;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.process-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #191f28;
  margin-bottom: 10px;
}
.process-step p {
  font-size: 0.9rem;
  color: #6b7684;
  margin-bottom: 0;
  line-height: 1.5;
}
.process-arrow {
  display: flex;
  align-items: center;
  padding-top: 48px;
}

/* ===========================
   퀄리티 강조 (OUR PROMISE)
   =========================== */
.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.promise-item {
  background: #f9fafb;
  padding: 40px 28px 36px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid #f2f4f6;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.promise-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}
.promise-icon {
  font-size: 2.4rem;
  margin-bottom: 18px;
  display: block;
}
.promise-item h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #191f28;
  margin-bottom: 12px;
}
.promise-item p {
  font-size: 0.95rem;
  color: #6b7684;
  margin-bottom: 0;
  line-height: 1.6;
}

/* ===========================
   장기 파트너십
   =========================== */
.partnership-highlights {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
  max-width: 960px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.partnership-item {
  text-align: center;
  flex: 1;
  min-width: 220px;
  max-width: 280px;
}
.partnership-num {
  font-size: 3.5rem;
  font-weight: 800;
  color: #3182f6;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.partnership-num span {
  font-size: 1.8rem;
  font-weight: 700;
  color: #6aa5f8;
}
.partnership-label {
  font-size: 1.15rem;
  font-weight: 700;
  color: #191f28;
  margin-bottom: 12px;
}
.partnership-desc {
  font-size: 0.95rem;
  color: #6b7684;
  line-height: 1.6;
}
.partnership-divider {
  width: 1px;
  height: 120px;
  background: #e5e8eb;
  align-self: center;
  flex-shrink: 0;
}

/* ===========================
   이용 후기
   =========================== */
.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.review-card {
  background: #f9fafb;
  padding: 36px 32px;
  border-radius: 20px;
  text-align: left;
  border: 1px solid #f2f4f6;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}
.review-stars {
  font-size: 1rem;
  color: #f5c518;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.review-text {
  font-size: 1.05rem;
  color: #333d4b;
  line-height: 1.7;
  margin-bottom: 20px !important;
  font-weight: 400;
}
.review-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.review-name {
  font-size: 1rem;
  font-weight: 700;
  color: #191f28;
}
.review-role {
  font-size: 0.85rem;
  color: #8b95a1;
  font-weight: 500;
}

/* ===========================
   애니메이션
   =========================== */
.fade-in-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), 
              transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 히어로는 즉시 표시 */
.hero-section.fade-in-up {
  opacity: 1;
  transform: translateY(0);
}
.hero-section .hero-content {
  animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s both;
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ===========================
   모바일 대응
   =========================== */
@media (max-width: 768px) {
  .main-logo { height: 60px; margin-bottom: 24px; }
  .sub-logo { height: 50px; }
  .footer-logo { height: 56px; }
  .toss-section { padding: 100px 20px; }
  .toss-section h1 { font-size: 2.2rem; }
  .toss-section h2 { font-size: 1.9rem; }
  .toss-section p { font-size: 1.05rem; }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 100%;
  }
  .service-item {
    padding: 24px 14px 20px;
  }
  .service-item h3 { font-size: 0.95rem; }
  .service-item p { font-size: 0.82rem; }

  .target-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 100%;
  }
  .target-item {
    padding: 28px 16px 24px;
  }
  .target-item h3 { font-size: 1rem; }
  .target-item p { font-size: 0.85rem; }

  .process-flow {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
  }
  .process-step {
    width: 100%;
    max-width: 320px;
    min-width: auto;
  }
  .process-arrow {
    transform: rotate(90deg);
    padding-top: 0;
  }

  .about-keywords {
    gap: 8px;
  }
  .keyword-tag {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .toss-card {
    width: 100%;
    padding: 32px 24px;
  }

  .stats-container {
    gap: 36px;
    flex-direction: column;
  }
  .stat-num { font-size: 3rem; }

  .btn-group {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }
  .toss-btn {
    width: 100%;
    text-align: center;
  }

  .quick-nav {
    bottom: 20px;
    right: 16px;
  }
  .nav-btn {
    width: 44px;
    height: 44px;
  }
  .kakao-quick {
    width: 48px;
    height: 48px;
  }

  .promise-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 100%;
  }
  .promise-item {
    padding: 32px 24px 28px;
  }

  .partnership-highlights {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .partnership-item {
    max-width: 100%;
  }
  .partnership-divider {
    width: 60px;
    height: 1px;
  }
  .partnership-num {
    font-size: 2.8rem;
  }

  .review-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 100%;
  }
  .review-card {
    padding: 28px 24px;
  }
}

@media (max-width: 480px) {
  .toss-section h1 { font-size: 1.8rem; }
  .toss-section h2 { font-size: 1.6rem; }
  .hero-section { min-height: 90vh; }
}