/* 디자인 시스템 & 공통 스타일 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Noto+Sans+KR:wght@300;400;500;700&display=swap');

:root {
  --primary: #0263FF;
  --primary-hover: #004ecc;
  --secondary: #00D28A;
  --bg-main: #F8FAFC;
  --bg-card: #FFFFFF;
  --text-dark: #0F172A;
  --text-muted: #64748B;
  --border-color: #E2E8F0;
  --font-sans: 'Inter', 'Noto Sans KR', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --radius: 12px;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 레이아웃 컨테이너 */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 헤더 영역 */
.header {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.phone-btn {
  font-weight: 700;
  color: var(--primary);
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* 모바일 햄버거 버튼 */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* 모바일 Sticky CTA */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.05);
  z-index: 99;
  grid-template-columns: 1fr 1fr;
  padding: 12px 16px;
  gap: 12px;
  border-top: 1px solid var(--border-color);
}

.mobile-sticky-cta .btn-phone {
  background-color: #E6F0FF;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border-radius: 8px;
  height: 48px;
}

.mobile-sticky-cta .btn-request {
  background-color: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border-radius: 8px;
  height: 48px;
}

/* 푸터 */
.footer {
  background-color: #1E293B;
  color: #94A3B8;
  padding: 60px 0 100px;
  font-size: 14px;
  border-top: 1px solid #334155;
}

.footer-info {
  max-width: 800px;
  line-height: 1.8;
}

.footer-info p {
  margin-bottom: 8px;
}

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

.footer-link {
  color: #F1F5F9;
  font-weight: 500;
}

.footer-link:hover {
  text-decoration: underline;
}

/* 미디어 쿼리 - 태블릿 및 모바일 */
@media (max-width: 992px) {
  .nav-menu {
    display: none; /* JS를 통해 구현 혹은 기본 메뉴 숨김 */
  }
  .menu-toggle {
    display: block;
  }
  .header-cta {
    display: none;
  }
}

@media (max-width: 768px) {
  .mobile-sticky-cta {
    display: grid;
  }
  .footer {
    padding-bottom: 120px; /* Sticky CTA 공간 확보 */
  }
}
