:root{--build-id:"98fa510e-01da-47c4-9f2a-bc93afd2542f";}
/* 스하바디메 요가매트 - 정적 사이트 스타일 */

/* ===== 색상 시스템 (C07) ===== */
:root {
  --primary: #2563eb;
  --bg: #f0f9ff;
  --text: #0c4a6e;
  --accent: #0ea5e9;
  --heading: var(--text);
  --link: var(--text);
  --white: #ffffff;
  --gray-light: #e0f2fe;
  --gray-medium: #bae6fd;
}

/* ===== 폰트 시스템 (F7) ===== */
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);
  margin: 0;
  padding: 0;
}

/* ===== 헤딩 시스템 (H09) ===== */
h1 {
  font-size: clamp(2.35rem, 3.5vw + 1rem, 3.50rem);
  font-weight: 880;
  line-height: 1.1;
  letter-spacing: -0.020em;
  color: var(--heading);
  margin: 0 0 1.5rem 0;
}

h2 {
  font-size: clamp(1.76rem, 2.625vw + 0.75rem, 2.625rem);
  font-weight: 880;
  line-height: 1.15;
  letter-spacing: -0.020em;
  color: var(--heading);
  margin: 0 0 1.25rem 0;
}

h3 {
  font-size: clamp(1.41rem, 2.1vw + 0.6rem, 2.1rem);
  font-weight: 780;
  line-height: 1.2;
  letter-spacing: -0.020em;
  color: var(--heading);
  margin: 0 0 1rem 0;
}

/* ===== 여백 시스템 (S07) ===== */
.container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5.5rem 0;
}

.section-gap {
  gap: 3.25rem;
}

/* ===== 네비게이션 (N14) ===== */
header {
  background-color: var(--white);
  border-bottom: 1px solid var(--gray-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(12, 74, 110, 0.05);
}

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

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

.menu-checkbox {
  display: none;
}

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

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

nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

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

/* ===== 버튼 스타일 (B08) ===== */
.btn {
  display: inline-block;
  border-radius: 0;
  padding: 0.875rem 2rem;
  font-weight: 500;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background-color: #1e40af;
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
}

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

.btn-secondary:hover {
  background-color: var(--gray-light);
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
}

/* ===== 카드 스타일 (K03) ===== */
.card {
  border-radius: 1.5rem;
  box-shadow: 0 8px 24px rgba(12, 74, 110, 0.12);
  padding: 2.5rem;
  background-color: var(--white);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(12, 74, 110, 0.18);
}

/* ===== 레이아웃 (L19) ===== */
.hero {
  background: linear-gradient(135deg, var(--bg) 0%, var(--white) 100%);
  padding: 6rem 0 5rem;
  text-align: center;
}

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

.hero h1 {
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease;
}

.hero p {
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  color: var(--text);
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* 탭 구조 */
.tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  border-bottom: 2px solid var(--gray-light);
  flex-wrap: wrap;
}

.tab-button {
  padding: 1rem 2rem;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  transition: all 0.3s ease;
  margin-bottom: -2px;
}

.tab-button.active {
  border-bottom-color: var(--primary);
  color: var(--primary);
}

.tab-button:hover {
  color: var(--primary);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

/* 체크리스트 */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-light);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

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

.checklist li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* 그리드 레이아웃 */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3.25rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3.25rem;
}

/* ===== 푸터 ===== */
footer {
  background-color: var(--white);
  border-top: 1px solid var(--gray-light);
  padding: 3rem 0 2rem;
  margin-top: 5.5rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.footer-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-light);
  font-size: 0.875rem;
  color: var(--text);
  opacity: 0.7;
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
label:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

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

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

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

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

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

/* ===== 애니메이션 ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== 반응형 (모바일) ===== */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    border-top: 1px solid var(--gray-light);
    box-shadow: 0 4px 12px rgba(12, 74, 110, 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;
    gap: 0;
    padding: 1rem 0;
  }

  nav li {
    border-bottom: 1px solid var(--gray-light);
  }

  nav li:last-child {
    border-bottom: none;
  }

  nav a {
    display: block;
    padding: 1rem 1.5rem;
    border-bottom: none;
  }

  nav a:hover,
  nav a[aria-current="page"] {
    background-color: var(--gray-light);
    border-bottom: none;
  }

  section {
    padding: 3.5rem 0;
  }

  .hero {
    padding: 4rem 0 3rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .tab-button {
    white-space: nowrap;
  }

  h1 {
    margin-bottom: 1rem;
  }

  h2 {
    margin-bottom: 1rem;
  }
}

/* ===== 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;
}

.doc-container a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 600;
}