:root{--build-id:"bb838089-56c5-405d-8b0e-9f00fc7c14bb";}
/* ====================================
   베고보라49 - 키보드 전문 사이트
   변수: L28, C31, T05, B15, N07, K15, S07, H15, F4, CS15
   ==================================== */

/* F4: Windows Modern 폰트 스택 */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Merriweather:wght@400;700&display=swap");

:root {
  /* C31: 퍼플 계열 색상 */
  --primary: #a855f7;
  --bg: #faf5ff;
  --text: #581c87;
  --accent: #c084fc;
  --heading: var(--text);
  --link: var(--text);
}

/* 기본 설정 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI Variable", "Malgun Gothic", "Noto Sans KR", Arial, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0em;
  color: var(--text);
  background-color: var(--bg);
}

/* 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 var(--primary);
  outline-offset: 2px;
}

/* 헤딩 스타일 - H15 */
h1 {
  font-family: Inter, sans-serif;
  font-size: clamp(2rem, 5vw, 2.625rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--heading);
  margin-bottom: 1rem;
}

h2 {
  font-family: Inter, sans-serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.005em;
  color: var(--heading);
  margin-bottom: 0.875rem;
}

h3 {
  font-family: Inter, sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0em;
  color: var(--heading);
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
}

/* N07: 상단 스크롤 + 좌측 로고 + 우측 메뉴 (드롭다운) + 햄버거 */
header {
  background: rgba(250, 245, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(168, 85, 247, 0.1);
}

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

.logo {
  font-family: Inter, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.menu-checkbox {
  display: none;
}

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

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: var(--link);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  padding: 0.5rem 0;
}

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

/* S07: section 5.5rem 0, container 1250px, gap 3.25rem */
.container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5.5rem 0;
}

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

/* B15: 버튼 스타일 */
.btn {
  display: inline-block;
  border-radius: 2rem;
  padding: 1rem 2.5rem;
  font-weight: 600;
  border: 2px dashed var(--primary);
  background: var(--primary);
  color: white;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
}

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

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

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

/* K15: 카드 스타일 */
.card {
  border-radius: 2rem;
  background: #ffffff;
  box-shadow: 0 0 0 1px #e5e7eb;
  padding: 2rem;
  transition: box-shadow 0.3s;
}

.card:hover {
  box-shadow: 0 4px 16px rgba(168, 85, 247, 0.15);
}

/* L28: 스토리텔링 히어로 */
.hero {
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
  padding: 7rem 0 5.5rem;
  text-align: center;
}

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

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

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

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

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

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

/* 리스트 스타일 */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  font-size: 1.25rem;
}

/* 후기 섹션 */
.testimonial {
  background: white;
  border-radius: 2rem;
  padding: 2.5rem;
  box-shadow: 0 0 0 1px #e5e7eb;
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary);
}

/* CTA 섹션 */
.cta-section {
  background: var(--primary);
  color: white;
  text-align: center;
  border-radius: 2rem;
  padding: 4rem 2rem;
}

.cta-section h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

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

.cta-section .btn:hover {
  background: transparent;
  color: white;
  border-color: white;
}

/* 푸터 */
footer {
  background: #ffffff;
  border-top: 1px solid rgba(168, 85, 247, 0.1);
  padding: 3rem 0 2rem;
  margin-top: 5.5rem;
}

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

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

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

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

.footer-info {
  font-size: 0.875rem;
  color: var(--text);
  opacity: 0.8;
  line-height: 1.6;
}

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

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(250, 245, 255, 0.98);
    backdrop-filter: blur(10px);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

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

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

  nav li {
    width: 100%;
    border-bottom: 1px solid rgba(168, 85, 247, 0.1);
  }

  nav a {
    display: block;
    padding: 1rem;
  }

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

  section {
    padding: 3rem 0;
  }

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

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

  .btn {
    text-align: center;
  }
}

/* 문서 페이지 (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: none;
  font-weight: 600;
}

.doc-container a:hover {
  text-decoration: underline;
}