:root{--build-id:"42a1ead4-69f0-4171-b2bd-cfe46cc3d745";}
/* ====================================
   테리미모42 반찬 - 스타일시트
   변수: L07, C25, T13, B13, N13, K13, S01, H13, F7, CS13
   ==================================== */

/* 색상 팔레트 C25 */
:root {
  --primary: #8b5cf6;
  --bg: #faf5ff;
  --text: #3b0764;
  --accent: #a78bfa;
  --heading: var(--text);
  --link: var(--text);
}

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

/* F7: Neutral Core 시스템 폰트 */
body {
  font-family: system-ui, "Noto Sans KR", "Malgun Gothic", -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0em;
  color: var(--text);
  background-color: var(--bg);
}

/* 접근성 - Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 1rem;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* N13: 상단 투명 + 좌측 메뉴 + 중앙 로고 + 우측 CTA + 햄버거 */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(250, 245, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-menu a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
  color: var(--primary);
}

/* B13: border-bottom 3px solid, uppercase */
.nav-cta {
  border: none;
  border-bottom: 3px solid var(--primary);
  padding: 0.75rem 0;
  font-weight: 700;
  text-transform: uppercase;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
}

.nav-cta:hover {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s;
}

/* H13: 3.125rem, font-weight 600, line-height 1.25 */
h1 {
  font-size: 3.125rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  color: var(--heading);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--heading);
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.875rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--heading);
  margin-bottom: 1rem;
}

/* S01: section 5rem 0, container 1280px, gap 3rem */
section {
  padding: 5rem 0;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* L07: 오버레이 히어로 */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  margin-top: 70px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(59, 7, 100, 0.3);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
}

.hero h1 {
  color: #fff;
  font-size: 3.5rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* K13: border-radius 0.5rem, box-shadow 4px 4px 0 */
.card {
  border-radius: 0.5rem;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.1);
  padding: 2rem;
  background: #fff;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.15);
}

/* 카드 슬라이더 */
.card-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

/* FAQ 섹션 */
.faq-list {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  border-radius: 0.5rem;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.1);
  padding: 2rem;
  background: #fff;
  margin-bottom: 2rem;
}

.faq-item h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

/* 플로팅 CTA */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
}

.floating-cta a {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
  transition: all 0.3s;
}

.floating-cta a:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(139, 92, 246, 0.4);
}

/* 푸터 */
footer {
  background: var(--text);
  color: #fff;
  padding: 3rem 0 2rem;
  margin-top: 5rem;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin-bottom: 2rem;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-info {
  opacity: 0.7;
  font-size: 0.875rem;
  line-height: 1.8;
}

/* 반응형 */
@media (max-width: 768px) {
  .nav-menu,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .logo {
    position: static;
    transform: none;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero {
    min-height: 400px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .card-slider {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .floating-cta {
    bottom: 1rem;
    right: 1rem;
  }

  section {
    padding: 3rem 0;
  }
}

/* 유틸리티 */
.text-center {
  text-align: center;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}