:root{--build-id:"06dfcf39-709f-4a75-a43d-7b63ad31437a";}
/* rotavo16.shop - 로타보다16 칼국수 */
/* 변수: L28, C29, T25, B15, N15, K15, S07, H15, F8, CS15 */

:root {
  /* C29 색상 팔레트 */
  --primary: #9333ea;
  --bg: #faf5ff;
  --text: #581c87;
  --accent: #a855f7;
  --heading: var(--text);
  --link: var(--text);

  /* S07 여백 시스템 */
  --section-padding: 5.5rem 0;
  --container-width: 1250px;
  --gap: 3.25rem;
}

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

/* F8 폰트 */
body {
  font-family: system-ui, "Helvetica Neue", Arial, "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--text);
  background: var(--bg);
}

/* H15 헤딩 */
h1 {
  font-size: 2.625rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--heading);
}

h2 {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--heading);
}

h3 {
  font-size: 1.68rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--heading);
}

a {
  color: var(--link);
  text-decoration: none;
}

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

/* 접근성 */
.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;
}

/* N15 네비게이션 */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.menu-checkbox {
  display: none;
}

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

nav ul {
  display: flex;
  gap: 0.5rem;
  list-style: none;
}

/* B15 버튼형 메뉴 */
nav ul li a {
  display: inline-block;
  border-radius: 2rem;
  padding: 0.625rem 1.25rem;
  font-weight: 600;
  border: 2px dashed transparent;
  transition: all 0.3s;
}

nav ul li a:hover,
nav ul li a[aria-current="page"] {
  border-color: var(--primary);
  background: rgba(147, 51, 234, 0.05);
}

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

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
  }

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

  nav ul {
    flex-direction: column;
    padding: 1rem;
    gap: 0.5rem;
  }

  nav ul li a {
    display: block;
    padding: 0.75rem 1rem;
  }
}

/* 컨테이너 */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: var(--section-padding);
}

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

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

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.btn-secondary:hover {
  background: rgba(147, 51, 234, 0.1);
}

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

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

.card:hover {
  box-shadow: 0 8px 24px rgba(147, 51, 234, 0.15);
  transform: translateY(-4px);
}

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

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

/* 후기 섹션 */
.testimonial {
  background: #fff;
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 0.5rem;
}

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

/* 멀티CTA */
.cta-section {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 4rem 2rem;
}

.cta-section h2 {
  color: #fff;
  margin-bottom: 1.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.cta-buttons .btn {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

.cta-buttons .btn:hover {
  background: rgba(255, 255, 255, 0.9);
}

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

/* 리스트 */
.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
}

.feature-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.25rem;
}

/* 푸터 */
footer {
  background: #fff;
  border-top: 1px solid #e5e7eb;
  padding: 3rem 0 2rem;
  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);
  font-size: 0.9rem;
}

footer p {
  font-size: 0.875rem;
  color: #6b7280;
}

/* 문의 정보 */
.contact-info {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--primary);
}

/* 문서 컨테이너 (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 {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

/* 반응형 */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  .hero {
    padding: 4rem 0;
  }

  section {
    padding: 3.5rem 0;
  }

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

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}