/* try3rd 공통 스타일 (애플 홈페이지풍 미니멀 히어로형 + 컬러 포인트/스크롤 애니메이션) · version 3.0 · 2026-08-30 */
:root {
  --black: #000000;
  --near-black: #1d1d1f;
  --white: #ffffff;
  --gray-bg: #f5f5f7;
  --gray-text: #6e6e73;
  --gray-text-dark: #a1a1a6;
  --link: #0071e3;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "Apple SD Gothic Neo", "맑은 고딕", "Malgun Gothic", sans-serif;
  color: var(--near-black);
  background: var(--white);
}

/* 히어로 섹션 (은은한 방사형 그라데이션 + 그라데이션 텍스트) */
.hero {
  min-height: auto;
  background: radial-gradient(circle at 50% 32%, #232326 0%, #000000 68%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 56px 24px 44px;
}
.hero h1 {
  font-size: clamp(38px, 9vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  background: linear-gradient(100deg, #ffffff 10%, #9db4ff 45%, #b98cff 70%, #ffffff 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: #ffffff;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: clamp(14px, 2.2vw, 17px);
  color: var(--gray-text-dark);
  line-height: 1.55;
  max-width: 560px;
  margin: 0;
}

/* 메뉴 카드 그리드 (한 화면에 다 들어오도록 압축) */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 20px 64px;
  background: var(--gray-bg);
}
.menu-grid-3 { grid-template-columns: repeat(3, 1fr); max-width: 720px; }
@media (max-width: 480px) {
  .menu-grid { grid-template-columns: 1fr 1fr; gap: 12px; padding: 24px 14px 48px; }
  .menu-grid-3 { grid-template-columns: 1fr 1fr; }
}
.card {
  background: var(--white);
  border-radius: 18px;
  padding: 26px 14px;
  text-align: center;
  text-decoration: none;
  color: var(--near-black);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.1);
}
.card .icon-badge {
  width: 56px;
  height: 56px;
  font-size: 26px;
  margin-bottom: 8px;
}
.card h3 {
  font-size: 15.5px;
  font-weight: 700;
  margin: 0;
}
.card .desc {
  font-size: 11.5px;
  color: var(--gray-text);
  line-height: 1.4;
  margin: 0;
}
.card .link, .card .soon {
  font-size: 12px;
  margin-top: 4px;
}

/* 콘텐츠 섹션 (밝은/회색 배경 번갈아 + 스크롤 등장 애니메이션) */
.section {
  padding: 100px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section.bg-white { background: var(--white); }
.section.bg-gray { background: var(--gray-bg); }
.section h2 {
  font-size: clamp(32px, 5.8vw, 54px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.section p.desc {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--gray-text);
  max-width: 560px;
  line-height: 1.65;
  margin: 0 0 26px;
}

/* 컬러 포인트가 있는 아이콘 배지 */
.icon-badge {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  margin-bottom: 26px;
  background: var(--accent-soft, rgba(0,0,0,0.06));
  box-shadow: 0 0 0 1px rgba(0,0,0,0.03) inset;
}

.accent-blue   { --accent: #0071e3; --accent-soft: rgba(0,113,227,0.12); }
.accent-purple { --accent: #7c3aed; --accent-soft: rgba(124,58,237,0.12); }
.accent-teal   { --accent: #0f9d78; --accent-soft: rgba(15,157,120,0.12); }
.accent-pink   { --accent: #ff375f; --accent-soft: rgba(255,55,95,0.12); }
.accent-orange { --accent: #ff9f0a; --accent-soft: rgba(255,159,10,0.12); }

.section a.link {
  color: var(--accent, var(--link));
  font-size: 19px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}
.section a.link:hover { gap: 9px; text-decoration: underline; }
.section .soon {
  color: var(--accent, var(--gray-text));
  font-size: 14.5px;
  font-weight: 600;
  background: var(--accent-soft, rgba(0,0,0,0.05));
  padding: 7px 18px;
  border-radius: 20px;
}

/* 스크롤 시 서서히 나타나는 효과 */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s cubic-bezier(.2,.7,.3,1), transform 0.9s cubic-bezier(.2,.7,.3,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 자기소개 등 글 위주 페이지 */
.content-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 90px 24px;
  text-align: left;
}
.content-wrap h1 {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 26px;
}
.content-wrap p {
  font-size: 19px;
  line-height: 1.9;
  color: var(--near-black);
  margin: 0 0 22px;
}
.draft-note {
  margin-top: 30px;
  padding: 14px 18px;
  background: #fff8e6;
  border: 1px dashed #d8b45a;
  border-radius: 12px;
  font-size: 13px;
  color: #8a6d1f;
  text-align: left;
}

/* 상단 고정 내비게이션 */
.topnav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  display: flex;
  justify-content: center;
  padding: 14px 20px;
  font-size: 14px;
}
.topnav a {
  color: var(--near-black);
  text-decoration: none;
  font-weight: 600;
}
.topnav a:hover { color: var(--link); }

/* 하단 버전 표기 */
.version {
  padding: 30px 24px 50px;
  text-align: center;
  font-size: 12px;
  color: var(--gray-text-dark);
  background: var(--gray-bg);
}
