@charset "UTF-8";
/* main.html 전용 스타일 — 원본 <style> 블록을 그대로 옮김. css/main.css 는 이 파일에서 생성됨 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue-light: #edf5ff;
  --blue-mid: #5f96d9;
  --blue-dark: #3a6ea5;
  --blue-hero-start: #c8daf5;
  --blue-hero-end: #7eaee8;
  --gray-bg: #f5f5f7;
  --text-dark: #1a1a2e;
  --text-mid: #444;
  --text-light: #888;
  --white: #ffffff;
  --nav-height: 60px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

/* ── NAVBAR ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 1000;
  transition: box-shadow 0.3s;
}

nav.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-decoration: none;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 1px;
}

.nav-logo span.price {
  color: #4a90d9;
}

.nav-logo span.one {
  color: var(--text-dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #4a90d9;
}

.nav-links a.active {
  color: #4a90d9;
  font-weight: 700;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-talk {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ffd600;
  color: #1a1a2e;
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  font-family: "Pretendard", sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-talk:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 214, 0, 0.4);
}

.btn-talk .talk-icon {
  width: 20px;
  height: 20px;
  background: #1a1a2e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-talk .talk-icon svg {
  fill: white;
  width: 11px;
  height: 11px;
}

.btn-inquiry {
  border: 1.5px solid #333;
  background: transparent;
  color: #1a1a2e;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  font-family: "Pretendard", sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.btn-inquiry:hover {
  background: #1a1a2e;
  color: white;
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  padding-top: var(--nav-height);
  background: radial-gradient(ellipse 50% 60% at 78% 45%, rgba(49, 130, 246, 0.14) 0%, transparent 70%), radial-gradient(ellipse 40% 50% at 10% 90%, rgba(35, 110, 222, 0.08) 0%, transparent 70%), linear-gradient(180deg, #f8fbff 0%, #eaf3ff 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* 은은한 점 격자 배경 */
.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(35, 110, 222, 0.16) 1px, transparent 1.4px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 50%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 70% 50%, #000 0%, transparent 75%);
}

/* ── 히어로 비주얼: 호텔 건물 + 흐르는 요금 곡선 + 자동 반영 알림 ── */
.hero-visual {
  position: absolute;
  z-index: 1;
  right: max(40px, 50% - 600px);
  top: 50%;
  width: 540px;
  height: 470px;
  margin-top: -225px; /* 세로 가운데 (transform은 fade-in 효과가 사용) */
}

.hero-visual > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hv-window {
  transition: fill 0.6s ease;
}

.hv-card {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(35, 110, 222, 0.14);
  font-size: 13px;
  color: #6e7a8f;
}

.hv-price {
  left: 0;
  top: 0;
  padding: 12px 16px;
  min-width: 150px;
  transition: transform 0.12s linear;
  will-change: transform;
}

.hv-price .lbl {
  font-size: 12px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hv-price .lbl i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3182f6;
  box-shadow: 0 0 0 4px rgba(49, 130, 246, 0.18);
  animation: hvPulse 1.6s ease-in-out infinite;
}

.hv-price .val {
  font-size: 20px;
  font-weight: 700;
  color: #1d2b45;
  letter-spacing: -0.3px;
  font-variant-numeric: tabular-nums;
}

.hv-price .diff {
  font-size: 12px;
  font-weight: 600;
  margin-left: 4px;
}

.hv-price .diff.up {
  color: #236ede;
}

.hv-price .diff.down {
  color: #8a9ab3;
}

.hv-occ {
  right: -8px;
  bottom: 34px;
  padding: 12px 16px;
  width: 168px;
  animation: hvFloat 5s ease-in-out infinite;
}

.hv-occ .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.hv-occ b {
  font-size: 18px;
  color: #1d2b45;
  font-variant-numeric: tabular-nums;
}

.hv-occ .bar {
  height: 6px;
  border-radius: 3px;
  background: #e6eefb;
  overflow: hidden;
}

.hv-occ .bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #8fb8f5, #236ede);
  border-radius: 3px;
  transition: width 0.6s ease;
}

.hv-toast {
  left: 160px;
  top: 18px;
  padding: 11px 16px 11px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1d2b45;
  font-weight: 600;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s, transform 0.4s;
}

.hv-toast.show {
  opacity: 1;
  transform: none;
}

.hv-toast .ic {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #236ede;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hv-toast small {
  display: block;
  font-weight: 500;
  color: #8a9ab3;
  font-size: 12px;
}

@keyframes hvPulse {
  0%, 100% {
    box-shadow: 0 0 0 3px rgba(49, 130, 246, 0.22);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(49, 130, 246, 0.06);
  }
}
@keyframes hvFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hv-occ, .hv-price .lbl i {
    animation: none;
  }
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
  width: 100%;
}

.hero-content h1 {
  font-size: 50px;
  font-weight: 700;
  line-height: 1.2;
  color: #2c3e5a;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 500;
  color: #3a4e6b;
  margin-bottom: 28px;
  line-height: 1.6;
}

.hero-subtitle .highlight {
  color: #4a90d9;
  font-weight: 700;
}

.hero-checklist {
  list-style: none;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: #3a4e6b;
}

.hero-checklist li::before {
  content: "";
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 10.5l2.5 2.5 4-5' stroke='%234a90d9' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #236ede;
  color: #fff;
  border: 1.5px solid #236ede;
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  font-family: "Pretendard", sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 6px 20px rgba(35, 110, 222, 0.25);
}

.btn-hero:hover {
  background: #1c5fc4;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(35, 110, 222, 0.3);
}

.btn-hero svg {
  width: 16px;
  height: 16px;
}

/* 스크롤 안내: 반투명 흰색 + 연한 파랑 chevron 두 개가 위에서 아래로 차례로 흐름 */
.hero-scroll-indicator {
  position: absolute;
  bottom: 26px;
  left: 50%;
  margin-left: -22px;
  width: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  animation: scrollFloat 2.4s ease-in-out infinite;
}

.hero-scroll-indicator svg {
  width: 34px;
  height: 18px;
  overflow: visible;
  fill: none;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-scroll-indicator .chev-1 {
  stroke: rgba(255, 255, 255, 0.9);
  filter: drop-shadow(0 1px 2px rgba(35, 110, 222, 0.55)) drop-shadow(0 0 6px rgba(35, 110, 222, 0.25));
  animation: chevFade 2.4s ease-in-out infinite;
}

.hero-scroll-indicator .chev-2 {
  margin-top: -5px;
  stroke: #8fbaf3;
  filter: drop-shadow(0 1px 3px rgba(35, 110, 222, 0.25));
  animation: chevFade 2.4s ease-in-out 0.3s infinite;
}

@keyframes scrollFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}
@keyframes chevFade {
  0%, 100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-indicator, .hero-scroll-indicator svg {
    animation: none;
  }
}
/* ── SECTION BASE ── */
section {
  padding: 100px 40px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  font-size: 13px;
  font-weight: 600;
  color: #4a90d9;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  text-align: center;
}

.section-title {
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.section-sub {
  font-size: 16px;
  color: #666;
  text-align: center;
  margin-bottom: 60px;
  font-weight: 400;
}

/* Fade-in on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 {
  transition-delay: 0.1s;
}

.fade-in-delay-2 {
  transition-delay: 0.2s;
}

.fade-in-delay-3 {
  transition-delay: 0.3s;
}

.fade-in-delay-4 {
  transition-delay: 0.4s;
}

.fade-in-delay-5 {
  transition-delay: 0.5s;
}

.fade-in-delay-6 {
  transition-delay: 0.6s;
}

/* ── ALL-IN-ONE SECTION ── */
#allinone {
  background: white;
}

/* 세 카드 모두 처음부터 펼쳐진 상태라 높이를 서로 맞춤 */
.allinone-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.allinone-card {
  border: 1.5px solid #e8e8e8;
  border-radius: 20px;
  padding: 32px 32px 30px;
  background: #fafafa;
  position: relative;
  outline: none;
  transition: box-shadow 0.35s, border-color 0.35s, background 0.35s, opacity 0.7s ease, transform 0.7s ease;
}

.allinone-card:hover,
.allinone-card:focus-within,
.allinone-card:focus-visible {
  background: white;
  border-color: #d6e4f7;
  box-shadow: 0 12px 36px rgba(35, 110, 222, 0.12);
}

.allinone-card.ai-card {
  background: linear-gradient(150deg, #5d9cf5 0%, #4f8bec 45%, #8db8f5 100%);
  border: none;
  color: white;
}

.allinone-card.ai-card:hover,
.allinone-card.ai-card:focus-visible {
  box-shadow: 0 14px 40px rgba(35, 110, 222, 0.32);
}

.ai-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  color: #236ede;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

/* 상단 아이콘 줄: 기능 목록이 항상 펼쳐져 있으므로 숨김 (아래 규칙 참고) */
.card-icons {
  display: flex;
  gap: 10px;
  height: 36px;
  margin-bottom: 18px;
  overflow: hidden;
  transition: height 0.4s ease, margin 0.4s ease, opacity 0.25s ease;
}

.card-icon {
  width: 36px;
  height: 36px;
  background: #f0f2f5;
  border-radius: 9px;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon svg, .card-feature svg {
  width: 20px;
  height: 20px;
}

.ai-card .card-icon {
  background: rgba(255, 255, 255, 0.22);
  color: white;
}

.allinone-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.allinone-card > p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.ai-card > p {
  color: rgba(255, 255, 255, 0.9);
}

.card-features {
  list-style: none;
  display: grid;
  gap: 12px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, margin 0.45s ease, opacity 0.3s ease;
}

.card-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  transform: translateY(8px);
  transition: transform 0.4s ease;
}

.card-feature svg {
  color: #236ede;
  flex-shrink: 0;
}

.ai-card .card-feature {
  color: white;
}

.ai-card .card-feature svg {
  color: white;
}

/* 기능 목록은 마우스 호버와 관계없이 처음부터 펼쳐서 보여줌 */
.card-icons {
  height: 0;
  margin-bottom: 0;
  opacity: 0;
}

.card-features {
  max-height: none;
  margin-top: 40px;
  opacity: 1;
}

.card-feature {
  transform: none;
}

/* 마우스가 없는 기기(터치)에서는 처음부터 펼쳐서 보여줌 */
@media (hover: none) {
  .allinone-cards {
    min-height: 0;
  }
  .card-icons {
    height: 0;
    margin-bottom: 0;
    opacity: 0;
  }
  .card-features {
    max-height: none;
    margin-top: 28px;
    opacity: 1;
  }
  .card-feature {
    transform: none;
  }
}
/* ── WHY PRICEONE ── */
#why {
  background: linear-gradient(160deg, #b8d4f0 0%, #7eaee0 50%, #5a8fcb 100%);
  padding: 100px 40px;
}

#why .section-title {
  color: #1a2e4a;
}

#why .section-tag {
  color: #3a6ea5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 28px rgba(26, 46, 74, 0.08);
  transition: transform 0.25s, box-shadow 0.25s, opacity 0.7s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(26, 46, 74, 0.14);
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eaf2ff;
  color: #236ede;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.stat-icon svg {
  width: 24px;
  height: 24px;
}

.stat-label {
  font-size: 15px;
  font-weight: 600;
  color: #3a4e6b;
  line-height: 1.45;
  margin-bottom: 10px;
}

.stat-value {
  font-size: 40px;
  font-weight: 800;
  color: #1a2e4a;
  letter-spacing: -1.2px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.stat-value .unit {
  font-size: 20px;
  font-weight: 700;
  margin-left: 2px;
  letter-spacing: -0.4px;
}

.stat-value.up {
  color: #236ede;
}

.stat-note {
  margin-top: auto;
  padding-top: 18px;
  font-size: 12px;
  color: #8a96a8;
  line-height: 1.5;
}

/* ── AI PRICING ── */
#ai-pricing {
  background: white;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* 카드 전체가 제품 소개 페이지의 해당 기능 위치로 가는 링크 */
.pricing-card {
  display: block;
  position: relative;
  color: inherit;
  text-decoration: none;
  border: 1.5px solid #e8e8e8;
  border-radius: 16px;
  padding: 28px 24px;
  background: white;
  transition: box-shadow 0.25s, transform 0.7s ease, border-color 0.25s, opacity 0.7s ease;
}

.pricing-card:hover,
.pricing-card:focus-visible {
  border-color: #b8d4f0;
  box-shadow: 0 6px 28px rgba(74, 144, 217, 0.12);
  outline: none;
}

.pricing-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eef4ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: transform 0.3s cubic-bezier(0.3, 1.4, 0.5, 1);
}

.pricing-card-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.pricing-card:hover .pricing-card-icon,
.pricing-card:focus-visible .pricing-card-icon {
  transform: scale(1.14);
}

.pricing-arrow {
  position: absolute;
  top: 26px;
  right: 24px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #236ede;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: opacity 0.25s, transform 0.25s;
}

.pricing-arrow svg {
  width: 16px;
  height: 16px;
}

.pricing-card:hover .pricing-arrow,
.pricing-card:focus-visible .pricing-arrow {
  opacity: 1;
  transform: none;
}

.pricing-card h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1a2e4a;
}

.pricing-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.65;
}

/* 다른 페이지로 넘어갈 때 화면이 부드럽게 사라짐 */
body {
  transition: opacity 0.3s ease;
}

body.page-leave {
  opacity: 0;
}

/* ── CASE STUDY ── */
#case-study {
  background: #f7f9fc;
  padding: 100px 40px;
}

.case-study-header {
  text-align: center;
  margin-bottom: 16px;
}

.case-study-header .section-title {
  font-size: 36px;
}

.case-study-sub {
  text-align: center;
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 48px;
}

.case-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 32px;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid #e0e8f0;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.case-tab {
  padding: 13px 28px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: white;
  color: #888;
  border: none;
  font-family: "Pretendard", sans-serif;
  transition: all 0.2s;
  position: relative;
}

.case-tab:not(:last-child) {
  border-right: 1.5px solid #e0e8f0;
}

.case-tab.active {
  background: #4a90d9;
  color: white;
}

.case-panel {
  display: none;
}

.case-panel.active {
  display: block;
}

.case-table-wrap {
  background: white;
  border-radius: 16px;
  overflow-x: auto;
  border: 1.5px solid #e8edf4;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* 열 너비를 고정해 탭을 바꿔도 각 열 글자 위치가 그대로 유지됨 */
.case-table {
  width: 100%;
  min-width: 560px;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.case-table col.c-month {
  width: 14%;
}

.case-table col.c-type {
  width: 22%;
}

.case-table col.c-num {
  width: 22%;
}

.case-table col.c-rate {
  width: 20%;
}

.case-table th,
.case-table td {
  text-align: left;
}

.case-table th {
  background: #f0f4fa;
  font-weight: 700;
  padding: 14px 24px;
  color: #444;
  font-size: 13px;
}

.case-table td {
  padding: 13px 24px;
  border-top: 1px solid #f0f0f0;
  color: #333;
  vertical-align: middle;
}

.case-table td.month {
  font-weight: 700;
  font-size: 13px;
  border-right: 1px solid #f0f0f0;
}

.case-table tr:hover td {
  background: #fafcff;
}

/* 변화율 열: 제목과 값 모두 붉은 계열 (.case-table td 기본 글자색보다 우선 적용) */
.case-table th:last-child {
  color: #e53935;
}

.case-table td.change-up {
  color: #e53935;
  font-weight: 700;
}

.change-up::before {
  content: "▲ ";
  font-size: 10px;
}

/* ── FAQ ── */
/* ── HISTORY (연혁) ── */
#history {
  background: white;
}

.history-list {
  list-style: none;
  max-width: 760px;
  margin: 56px auto 0;
}

.history-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  column-gap: 48px;
  position: relative;
  padding-bottom: 44px;
}

.history-item:last-child {
  padding-bottom: 0;
}

/* 연도 사이를 잇는 세로선 */
.history-item::before {
  content: "";
  position: absolute;
  left: 143px;
  top: 13px;
  bottom: -13px;
  width: 2px;
  background: #d6e3f5;
}

.history-item:last-child::before {
  display: none;
}

/* 연도 점 */
.history-item::after {
  content: "";
  position: absolute;
  left: 138px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #236ede;
  box-shadow: 0 0 0 4px #edf5ff;
}

.history-year {
  font-size: 22px;
  font-weight: 700;
  color: #1a2e4a;
  line-height: 1.2;
  text-align: right;
}

.history-events {
  list-style: none;
  display: grid;
  gap: 10px;
}

.history-events li {
  position: relative;
  padding-left: 14px;
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}

.history-events li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #9aa8bb;
}

/* 예정 항목: 아직 진행 전이라 흐리게 */
.history-item.is-upcoming::after {
  background: white;
  border: 2px solid #9db8e0;
  box-shadow: none;
}

.history-item.is-upcoming .history-year {
  color: #8a9bb3;
}

.history-item.is-upcoming .history-events li {
  color: #7a8494;
}

@media (max-width: 768px) {
  .history-list {
    margin-top: 40px;
  }
  .history-item {
    grid-template-columns: 1fr;
    padding-left: 32px;
    padding-bottom: 36px;
  }
  .history-item::before {
    left: 5px;
  }
  .history-item::after {
    left: 0;
  }
  .history-year {
    text-align: left;
    font-size: 20px;
    margin-bottom: 10px;
  }
  .history-events li {
    font-size: 15px;
  }
}
#faq {
  background: white;
  padding: 100px 40px;
}

#faq .section-title {
  text-align: left;
  margin-bottom: 40px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1.5px solid #e8edf5;
  border-radius: 14px;
  overflow: hidden;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  color: #1a2e4a;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s;
}

.faq-q:hover {
  color: #4a90d9;
}

.faq-q .arrow {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-q .arrow svg {
  fill: #aaa;
  width: 16px;
  height: 16px;
}

.faq-item.open .faq-q .arrow {
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s;
  font-size: 14px;
  color: #666;
  line-height: 1.75;
  padding: 0 22px;
}

.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 22px 20px;
}

/* ── CTA SECTION ── */
#cta {
  padding: 80px 40px;
  background: white;
}

.cta-box {
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(135deg, #c8daf5 0%, #8ab4e0 60%, #6a9dd4 100%);
  border-radius: 24px;
  padding: 72px 60px;
  text-align: center;
}

.cta-box h2 {
  font-size: 38px;
  font-weight: 700;
  color: #1a2e4a;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.cta-box p {
  font-size: 16px;
  color: #3a4e6b;
  margin-bottom: 36px;
  line-height: 1.7;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  color: #2c3e5a;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 700;
  font-family: "Pretendard", sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.btn-cta:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

/* ── BANNER ── */
#banner {
  position: relative;
  padding: 0;
  height: 160px;
  overflow: hidden;
}

.banner-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.55) 100%), url("../images/bRp14PyQfn9ivcbW2zl3nb6k.png") center/cover;
}

.banner-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 0 40px;
}

.banner-text {
  font-size: 20px;
  font-weight: 700;
  color: white;
}

.banner-btns {
  display: flex;
  gap: 14px;
}

.btn-banner-outline {
  padding: 12px 24px;
  border-radius: 999px;
  border: 1.5px solid white;
  background: transparent;
  color: white;
  font-size: 14px;
  font-weight: 600;
  font-family: "Pretendard", sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-banner-outline:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-banner-fill {
  padding: 12px 24px;
  border-radius: 999px;
  border: none;
  background: white;
  color: #1a2e4a;
  font-size: 14px;
  font-weight: 700;
  font-family: "Pretendard", sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-banner-fill:hover {
  background: #edf5ff;
}

/* ── FOOTER ── */
footer {
  background: #1a1a2e;
  color: #ccc;
  padding: 60px 60px 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-logo .price {
  color: #4a90d9;
}

.footer-logo .one {
  color: white;
}

.footer-tagline {
  font-size: 13px;
  color: #888;
  margin-bottom: 36px;
}

.footer-company {
  margin-bottom: 32px;
}

.footer-company h4 {
  font-size: 14px;
  font-weight: 700;
  color: #ddd;
  margin-bottom: 14px;
}

.footer-info-row {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: #888;
  margin-bottom: 7px;
}

.footer-info-row .label {
  min-width: 110px;
  color: #aaa;
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: #555;
}

.footer-bottom a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: #aaa;
}

.footer-links {
  display: flex;
  gap: 20px;
}

/* ── FLOATING CONTACT ── */
.floating-contact {
  position: fixed;
  right: 28px;
  bottom: 36px;
  z-index: 900;
}

.floating-contact-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #4a4a5a;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

.floating-contact-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.floating-contact-btn svg {
  width: 20px;
  height: 20px;
  fill: white;
}

/* ── RESPONSIVE ── */
/* ── HAMBURGER + MOBILE MENU ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px 4px;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1a1a2e;
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  z-index: 998;
  flex-direction: column;
}

.mobile-menu.open {
  display: flex;
  animation: menuDown 0.22s ease;
}

@keyframes menuDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.mobile-menu-links a {
  display: block;
  padding: 15px 24px;
  font-size: 15px;
  font-weight: 500;
  color: #1a1a2e;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
  transition: color 0.2s, background 0.2s;
}

.mobile-menu-links a:hover {
  color: #4a90d9;
  background: #f9fbff;
}

.mobile-menu-links a.active {
  color: #4a90d9;
  font-weight: 700;
}

.mobile-menu-cta {
  padding: 16px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-menu-cta .btn-talk {
  justify-content: center;
  width: 100%;
}

.mobile-menu-cta .btn-inquiry {
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
}

/* 화면이 좁아지면 히어로 비주얼을 텍스트 아래로 내림 */
@media (max-width: 1120px) {
  #hero {
    flex-direction: column;
    justify-content: center;
    padding-top: calc(var(--nav-height) + 56px);
    padding-bottom: 72px;
  }
  .hero-visual {
    position: relative;
    right: auto;
    top: auto;
    margin: 48px auto 0;
    order: 2;
  }
  .hero-scroll-indicator {
    display: none;
  }
}
@media (max-width: 600px) {
  .hero-visual {
    zoom: 0.64;
    margin-top: 40px;
  }
}
@media (max-width: 1024px) {
  .nav-hamburger {
    display: flex;
  }
  .nav-links {
    display: none !important;
  }
  .nav-right .btn-inquiry {
    display: none;
  }
  nav {
    padding: 0 24px;
  }
  .hero-content {
    padding: 0 32px;
  }
  .hero-content h1 {
    font-size: 44px;
  }
  .allinone-cards {
    grid-template-columns: 1fr 1fr;
    min-height: 0;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
  section {
    padding: 80px 32px;
  }
}
@media (max-width: 768px) {
  .hero-content {
    padding: 0 20px;
  }
  .hero-content h1 {
    font-size: 34px;
  }
  .hero-subtitle {
    font-size: 16px;
  }
  .section-title {
    font-size: 28px;
  }
  .allinone-cards {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .banner-content {
    flex-direction: column;
    gap: 20px;
  }
  section {
    padding: 64px 20px;
  }
  .cta-box {
    padding: 48px 28px;
  }
  .cta-box h2 {
    font-size: 28px;
  }
  footer {
    padding: 48px 24px 32px;
  }
}
@media (max-width: 480px) {
  nav {
    padding: 0 16px;
  }
  .nav-right .btn-talk {
    display: none;
  }
  .hero-content h1 {
    font-size: 28px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  section {
    padding: 56px 16px;
  }
  footer {
    padding: 40px 16px 28px;
  }
}
/* 톡문의 버튼: 카카오톡 이미지 버튼으로 통일 */
.btn-talk.btn-talk-img {
  background: none;
  padding: 0;
  gap: 0;
  border-radius: 999px;
}

.btn-talk.btn-talk-img img {
  height: 34px;
  width: auto;
  display: block;
}

.btn-talk.btn-talk-img:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 214, 0, 0.45);
  filter: none;
}

.mobile-menu-cta .btn-talk.btn-talk-img {
  justify-content: center;
  width: 100%;
}

.mobile-menu-cta .btn-talk.btn-talk-img img {
  height: 44px;
}

/* ── 공통 푸터: 모든 페이지 동일 (페이지별 footer 스타일보다 우선) ── */
footer.site-footer {
  background: #1a1a2e;
  color: #ccc;
  padding: 60px 60px 40px;
  margin: 0;
  border: 0;
  text-align: left;
  line-height: normal;
  font-size: 14px;
}

.site-footer .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  display: block;
}

.site-footer .footer-logo {
  display: inline-block;
  margin-bottom: 10px;
}

.site-footer .footer-logo img {
  height: 24px;
  width: auto;
  display: block;
}

.site-footer .footer-tagline {
  font-size: 13px;
  color: #888;
  margin: 0 0 36px;
}

.site-footer .footer-company {
  margin-bottom: 32px;
}

.site-footer .footer-company h4 {
  font-size: 14px;
  font-weight: 700;
  color: #ddd;
  margin: 0 0 14px;
}

.site-footer .footer-info-row {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: #888;
  margin-bottom: 7px;
}

.site-footer .footer-info-row .label {
  min-width: 110px;
  color: #aaa;
  flex-shrink: 0;
}

.site-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 0;
  font-size: 12px;
  color: #555;
}

.site-footer .footer-links {
  display: flex;
  gap: 20px;
}

.site-footer .footer-links a {
  color: #666;
  text-decoration: none;
  font-size: 12px;
  transition: color 0.2s;
}

.site-footer .footer-links a:hover, .site-footer .footer-links a[aria-current] {
  color: #aaa;
}

.site-footer .footer-links .sep {
  color: #333;
}

@media (max-width: 768px) {
  footer.site-footer {
    padding: 48px 24px 32px;
  }
}
@media (max-width: 480px) {
  footer.site-footer {
    padding: 40px 16px 28px;
  }
}
/* 도입 문의하기 버튼: 몇 초마다 잠깐 푸른빛으로 빛남 */
.nav-right .btn-inquiry {
  animation: inquiryGlow 4s ease-in-out infinite;
}

.nav-right .btn-inquiry:hover {
  animation: none;
}

@keyframes inquiryGlow {
  0%, 62%, 100% {
    box-shadow: 0 0 0 0 rgba(35, 110, 222, 0);
  }
  76% {
    border-color: #236ede;
    box-shadow: 0 0 0 3px rgba(35, 110, 222, 0.16), 0 0 18px rgba(35, 110, 222, 0.45);
  }
}
@media (prefers-reduced-motion: reduce) {
  .nav-right .btn-inquiry {
    animation: none;
  }
}
