:root{--build-id:"9af7efd4-1d0b-4ab1-9d1e-4e685356f018";}
/* 고이이나19 선크림 웹사이트 - 스타일시트 */

/* F6 폰트 스택 */
:root {
  --font-primary:
    -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard Variable", Pretendard, Roboto, "Noto Sans KR", "Segoe UI", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  --font-secondary: "Nanum Myeongjo", Georgia, "Times New Roman", serif;
}

/* C39 색상 팔레트 */
:root {
  --primary: #1c1917;
  --bg: #fafaf9;
  --text: #0c0a09;
  --accent: #57534e;
  --heading: var(--text);
  --link: var(--text);
}

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

body {
  font-family: var(--font-primary);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

/* S07 여백 시스템 */
section {
  padding: 5.5rem 0;
}

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

.gap-section {
  gap: 3.25rem;
}

/* N11 네비게이션 - 상단 스크롤 + 중앙 로고 + 좌우 메뉴 (대칭) */
header {
  background-color: var(--bg);
  border-bottom: 1px solid #e7e5e4;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

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

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

.nav-left,
.nav-right {
  display: flex;
  gap: 2rem;
  flex: 1;
}

.nav-left {
  justify-content: flex-start;
}

.nav-right {
  justify-content: flex-end;
}

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

nav a {
  color: var(--link);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.3s ease;
}

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

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

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

/* H19 헤딩 스타일 */
h1 {
  font-size: clamp(2.5rem, 5vw, 4.125rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--heading);
  font-family: var(--font-primary);
}

h2 {
  font-size: clamp(1.875rem, 4vw, 3.09375rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--heading);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.32031rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--heading);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* B19 버튼 스타일 - 소프트 라운드 미니멀 */
.btn {
  display: inline-block;
  border-radius: 0.375rem;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: var(--font-primary);
}

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

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

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

.btn-secondary:hover {
  background-color: var(--primary);
  color: var(--bg);
}

/* K19 카드 스타일 - 미니멀 */
.card {
  border-radius: 0.25rem;
  background: #f9fafb;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.card p {
  font-size: 0.9375rem;
  color: var(--accent);
  margin-bottom: 0;
}

/* L10 레이아웃 - 그라데이션 히어로 */
.hero {
  background: linear-gradient(135deg, #fafaf9 0%, #f5f5f4 50%, #e7e5e4 100%);
  padding: 6rem 0 5rem;
  text-align: center;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.125rem;
  color: var(--accent);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* 6열 그리드 */
.grid-6 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}

/* 통계 섹션 */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-family: var(--font-secondary);
}

.stat-item p {
  color: var(--accent);
  font-size: 0.9375rem;
}

/* 중앙 CTA */
.cta-center {
  text-align: center;
  padding: 4rem 2rem;
  background: #f5f5f4;
  border-radius: 0.5rem;
}

.cta-center h2 {
  margin-bottom: 1rem;
}

.cta-center p {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: var(--accent);
}

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

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

.footer-section h3 {
  color: var(--bg);
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.footer-section p,
.footer-section a {
  color: #d6d3d1;
  font-size: 0.9375rem;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-section a:hover {
  color: var(--bg);
}

.footer-bottom {
  border-top: 1px solid #44403c;
  padding-top: 2rem;
  text-align: center;
  color: #d6d3d1;
  font-size: 0.875rem;
}

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

.footer-links a {
  display: inline;
  margin: 0;
}

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

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

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

  .nav-left.active,
  .nav-right.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e7e5e4;
    gap: 1rem;
  }

  .hamburger {
    display: flex;
  }

  section {
    padding: 3rem 0;
  }

  .grid-6 {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
  }

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

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

/* 아이콘 스타일 */
.icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

/* 리스트 스타일 */
ul {
  list-style: none;
}

ul li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.75rem;
}

ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* SVG 스타일 */
svg {
  max-width: 100%;
  height: auto;
}

.svg-container {
  margin: 2rem 0;
  text-align: center;
}