:root{--build-id:"51e3c6b0-532e-489a-a6ad-c9d63a4dc964";}
/* 
 * 데테소로71 필라테스 웹사이트
 * 변수: L17, C28, T03, B14, N09, K14, S09, H14, F5, CS14
 */

:root {
  /* C28: 인디고 계열 */
  --primary: #4f46e5;
  --bg: #e0e7ff;
  --text: #3730a3;
  --accent: #6366f1;
  --heading: var(--text);
  --link: var(--text);
}

/* F5: Android Core 폰트 스택 */
body {
  font-family: Roboto, "Noto Sans KR", "Malgun Gothic", "Segoe UI", -apple-system, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0em;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: var(--text);
}

/* 접근성: Skip to Content */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 100;
}

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

/* 키보드 포커스 스타일 */
a:focus-visible,
input:focus-visible,
label:focus-visible {
  outline: 3px solid #0066cc;
  outline-offset: 2px;
}

/* N09: 상단 투명 + 좌측 로고 + 중앙 검색 + 우측 메뉴 + 햄버거 */
header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(79, 70, 229, 0.1);
  z-index: 1000;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.menu-checkbox {
  display: none;
}

.menu-toggle {
  display: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--primary);
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

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

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

nav a[aria-current="page"] {
  color: var(--primary);
  font-weight: 700;
}

nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
}

/* 모바일 네비게이션 */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid rgba(79, 70, 229, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .menu-checkbox:checked ~ nav {
    max-height: 500px;
  }

  nav ul {
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1.25rem;
  }

  nav a[aria-current="page"]::after {
    display: none;
  }
}

/* H14: 반응형 clamp 헤딩 */
h1 {
  font-size: clamp(2.25rem, 4vw + 1rem, 3.625rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-decoration: underline;
  text-decoration-color: var(--primary);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.5rem;
  color: var(--heading);
  margin: 0 0 1.5rem 0;
}

h2 {
  font-size: clamp(1.75rem, 3vw + 0.75rem, 2.875rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--heading);
  margin: 0 0 1.25rem 0;
}

h3 {
  font-size: clamp(1.375rem, 2.5vw + 0.5rem, 2.25rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--heading);
  margin: 0 0 1rem 0;
}

/* S09: 여백 시스템 */
section {
  padding: 6.5rem 0;
}

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

.section-gap {
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
}

.grid-gap {
  gap: 4.5rem;
}

/* B14: 버튼 스타일 (transform: skew(-5deg)) */
.btn {
  display: inline-block;
  border-radius: 0.25rem;
  padding: 1rem 2rem;
  font-weight: 600;
  transform: skew(-5deg);
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn span {
  display: inline-block;
  transform: skew(5deg);
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent);
  transform: skew(-5deg) translateY(-2px);
  box-shadow: 0 8px 16px rgba(79, 70, 229, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: #ffffff;
  transform: skew(-5deg) translateY(-2px);
}

/* K14: 카드 스타일 (border-radius: 1rem 0 1rem 0; border: 2px solid) */
.card {
  border-radius: 1rem 0 1rem 0;
  border: 2px solid var(--primary);
  padding: 1.75rem;
  background: #ffffff;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(79, 70, 229, 0.15);
}

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

.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  margin: 0;
  line-height: 1.65;
}

/* L17: 일러스트 히어로 + 5열 특징 + 비교 슬라이더 + CTA */
.hero {
  background: linear-gradient(135deg, var(--bg) 0%, #ffffff 100%);
  padding: 8rem 0 6rem;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-illustration {
  margin: 3rem auto 0;
  max-width: 600px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
}

@media (max-width: 1200px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 3.5rem 0;
  }

  .section-gap {
    gap: 2.5rem;
  }
}

.feature-item {
  text-align: center;
  padding: 1.5rem;
}

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

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr;
  }
}

.cta-section {
  background: var(--primary);
  color: #ffffff;
  text-align: center;
  padding: 5rem 2rem;
}

.cta-section h2 {
  color: #ffffff;
}

.cta-section p {
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.125rem;
}

/* Footer */
footer {
  background: var(--text);
  color: #ffffff;
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}

.footer-section h3 {
  color: #ffffff;
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #ffffff;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

/* 문서 페이지 (Privacy/Terms) */
.doc-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}

.doc-container h1 {
  margin-bottom: 2rem;
}

.doc-container p {
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* SVG 스타일 */
.svg-icon {
  width: 100%;
  height: auto;
  display: block;
}

/* 텍스트 정렬 */
.text-center {
  text-align: center;
}

.text-balance {
  text-wrap: balance;
}

/* 간격 유틸리티 */
.mb-2 {
  margin-bottom: 1rem;
}

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

.mt-4 {
  margin-top: 2rem;
}

p {
  margin: 0 0 1rem 0;
  line-height: 1.65;
}

ul,
ol {
  margin: 0 0 1rem 0;
  padding-left: 1.5rem;
  line-height: 1.65;
}

strong {
  font-weight: 700;
  color: var(--heading);
}

/* 추가 레이아웃 */
.two-column {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}

@media (max-width: 768px) {
  .two-column {
    grid-template-columns: 1fr;
  }
}

.content-list {
  list-style: none;
  padding: 0;
}

.content-list li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(79, 70, 229, 0.1);
}

.content-list li:last-child {
  border-bottom: none;
}

.highlight-box {
  background: var(--bg);
  padding: 2rem;
  border-left: 4px solid var(--primary);
  margin: 2rem 0;
}

.testimonial {
  background: #ffffff;
  padding: 2rem;
  border-radius: 1rem 0 1rem 0;
  border: 2px solid var(--primary);
  margin-bottom: 2rem;
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary);
  margin-top: 1rem;
}