/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  color: #1A1A1A;
  background: #FFFFFF;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* 한글은 어절 단위로 끊어 모바일에서 "테이" + "프" 같은 orphan 방지.
     overflow-wrap으로 너무 긴 단어는 부득이 끊기 허용 (영문 URL 등) */
  word-break: keep-all;
  overflow-wrap: break-word;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }

:root {
  --mint: #4ECDC4;
  --mint-dark: #3AB8B0;
  --mint-soft: #E8F9F7;
  --ink: #1A1A1A;
  --ink-soft: #555;
  --line: #ECECEC;
  --bg-alt: #FAFAFA;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 50px rgba(78,205,196,0.18);
  --radius: 16px;
}

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* 반응형 줄바꿈 유틸: 데스크탑에서는 의도된 line break 유지, 모바일에서는 숨겨 자연 흐름 */
.br-md { display: inline; }
@media (max-width: 560px) { .br-md { display: none; } }

/* ===== Navbar ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav__logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.nav__logo img { width: 28px; height: 28px; border-radius: 6px; }
.nav__links { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; color: var(--ink-soft); }
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  background: var(--ink); color: #fff !important;
  padding: 8px 16px; border-radius: 999px; font-weight: 600;
}
.nav__cta:hover { background: #000; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600; font-size: 16px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer; border: none;
}
.btn--primary {
  background: var(--mint); color: #fff;
  box-shadow: var(--shadow-lg);
}
.btn--primary:hover { background: var(--mint-dark); transform: translateY(-2px); }
.btn--ghost {
  background: #fff; color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn--ghost:hover { border-color: var(--ink); }
.btn--block { width: 100%; }

/* ===== Hero ===== */
.hero {
  padding: 80px 0 100px;
  background:
    radial-gradient(ellipse at top right, var(--mint-soft) 0%, transparent 50%),
    radial-gradient(ellipse at bottom left, #FFF6E8 0%, transparent 55%),
    #fff;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.badge {
  display: inline-block;
  background: var(--mint-soft);
  color: var(--mint-dark);
  font-weight: 600; font-size: 14px;
  padding: 8px 14px; border-radius: 999px;
  margin-bottom: 24px;
}
.hero__title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}
.accent { color: var(--mint); }
.hero__sub {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0 0 32px;
}
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 18px; color: var(--ink-soft); font-size: 14px; }

/* Phone Mockup */
.hero__visual { position: relative; display: flex; justify-content: center; }
.hero__blob {
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, var(--mint) 0%, transparent 60%);
  opacity: 0.15; filter: blur(40px); z-index: 0;
}
.phone {
  position: relative; z-index: 1;
  width: 320px; height: 640px;
  background: #fff;
  border-radius: 44px;
  border: 10px solid #111;
  box-shadow: 0 30px 60px rgba(0,0,0,0.18);
  padding: 24px 18px;
  overflow: hidden;
}
.phone__notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 24px; background: #111; border-radius: 999px;
}
.phone__screen { margin-top: 32px; }
.mock-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px; padding: 0 6px;
}
.mock-title { font-weight: 700; font-size: 18px; }
.mock-dot { width: 28px; height: 28px; border-radius: 999px; background: var(--mint); }
.mock-card {
  display: flex; gap: 12px; align-items: center;
  padding: 14px; background: #F7F7F7;
  border-radius: 14px; margin-bottom: 12px;
}
.mock-card--joint {
  background: linear-gradient(135deg, #E8F9F7 0%, #D5F3F0 100%);
  border: 1.5px solid var(--mint);
}
.mock-thumb {
  width: 52px; height: 52px; border-radius: 12px;
  background: #FFE7C2; display: grid; place-items: center; font-size: 24px;
  flex-shrink: 0;
}
.mock-thumb--mint { background: #D5F3F0; }
.mock-thumb--pink { background: #FFD9DC; }
.mock-name { font-weight: 700; font-size: 14px; }
.mock-meta { font-size: 12px; color: var(--ink-soft); }
.mock-members { display: flex; gap: 4px; margin-top: 6px; }
.mock-members span {
  width: 14px; height: 14px; border-radius: 999px; border: 2px solid #fff;
  margin-left: -4px;
}
.mock-members span:first-child { margin-left: 0; }

/* ===== Sections ===== */
.section { padding: 100px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.eyebrow {
  display: inline-block;
  color: var(--mint-dark); font-weight: 700; font-size: 13px;
  letter-spacing: 0.12em; margin-bottom: 12px;
}
.section__head h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800; margin: 0 0 14px; letter-spacing: -0.02em;
}
.section__head p { color: var(--ink-soft); font-size: 17px; margin: 0; }

/* ===== Features ===== */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--mint);
}
.feature__icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--mint-soft); color: var(--mint-dark);
  display: grid; place-items: center; font-size: 28px;
  margin-bottom: 18px;
}
.feature h3 { font-size: 19px; font-weight: 700; margin: 0 0 10px; }
.feature p { color: var(--ink-soft); margin: 0; font-size: 15px; }

/* ===== Tape Cards ===== */
.tape-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 920px;
  margin: 0 auto;
}
.tape-card {
  position: relative;
  background: #fff;
  border-radius: 24px;
  padding: 36px 32px;
  border: 1.5px solid var(--line);
  display: flex; flex-direction: column;
}
.tape-card--featured {
  border-color: var(--mint);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(180deg, #fff 0%, var(--mint-soft) 100%);
}
.tape-card__ribbon {
  position: absolute; top: -14px; left: 32px;
  background: var(--mint); color: #fff;
  font-size: 13px; font-weight: 700;
  padding: 6px 14px; border-radius: 999px;
}
.tape-card__top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.tape-card__tag {
  display: inline-block;
  background: #F2F2F2; color: var(--ink-soft);
  font-size: 13px; font-weight: 600;
  padding: 6px 12px; border-radius: 999px;
}
.tape-card__tag--mint { background: var(--mint); color: #fff; }
.tape-card__price {
  font-size: 28px; font-weight: 800; color: var(--ink);
  letter-spacing: -0.02em;
}
.tape-card__price .won { font-size: 16px; font-weight: 600; color: var(--ink-soft); margin-left: 2px; }
.tape-card h3 { font-size: 22px; margin: 0 0 8px; font-weight: 700; }
.tape-card__lead { color: var(--ink-soft); margin: 0 0 22px; font-size: 15px; }
.tape-card__list { margin: 0 0 28px; flex: 1; }
.tape-card__list li {
  padding: 8px 0 8px 26px;
  position: relative;
  font-size: 15px;
}
.tape-card__list li::before {
  content: '✓';
  position: absolute; left: 0; top: 8px;
  color: var(--mint); font-weight: 700;
}
.tape-card__note { margin: 12px 0 0; font-size: 12px; color: var(--ink-soft); text-align: center; }

/* ===== CTA ===== */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--mint) 0%, var(--mint-dark) 100%);
  color: #fff;
  text-align: center;
}
.cta h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800; margin: 0 0 14px;
  letter-spacing: -0.02em;
}
.cta p { font-size: 17px; opacity: 0.9; margin: 0 0 36px; }
.cta__buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.store-btn {
  display: flex; flex-direction: column; align-items: flex-start;
  background: #111; color: #fff;
  padding: 12px 24px; border-radius: 12px;
  transition: transform 0.15s ease;
}
.store-btn:hover { transform: translateY(-2px); }
.store-btn__small { font-size: 11px; opacity: 0.7; }
.store-btn__big { font-size: 17px; font-weight: 700; }

/* 출시 전 — 눌리지 않는 상태 버튼 / 미제공 기능 카드 */
.store-btn--soon {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}
.store-btn--soon:hover { transform: none; }
.tape-card--soon { opacity: 0.72; }
.tape-card__price--soon { font-size: 18px; color: var(--ink-soft); }

/* ===== Footer ===== */
.footer { padding: 40px 0; border-top: 1px solid var(--line); background: #fff; }
.footer__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
}
.footer__brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.footer__brand img { width: 24px; height: 24px; border-radius: 5px; }
.footer p { color: var(--ink-soft); font-size: 14px; margin: 0; }
.footer a { color: var(--ink-soft); border-bottom: 1px dashed transparent; transition: border-color 0.15s ease, color 0.15s ease; }
.footer a:hover { color: var(--ink); border-bottom-color: var(--ink-soft); }
.footer__biz { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.footer__biz p { color: var(--ink-soft); font-size: 12px; line-height: 1.7; opacity: 0.85; }

/* ===== Legal Pages ===== */
.legal { padding: 60px 0 80px; background: var(--bg-alt); min-height: calc(100vh - 64px - 120px); }
.legal__container { max-width: 760px; }
.legal__back {
  display: inline-block; margin-bottom: 24px;
  color: var(--ink-soft); font-size: 14px; font-weight: 500;
}
.legal__back:hover { color: var(--mint-dark); }
.legal__title {
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 800; margin: 0 0 8px; letter-spacing: -0.02em;
}
.legal__meta { color: var(--ink-soft); font-size: 14px; margin: 0 0 36px; }
.legal__body {
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 40px clamp(20px, 4vw, 48px);
  color: #2A2A2A;
  font-size: 15px;
  line-height: 1.75;
}
.legal__body h2 {
  font-size: 17px; font-weight: 700;
  margin: 28px 0 12px; padding-top: 8px;
  border-top: 1px solid var(--line);
  color: var(--ink);
}
.legal__body h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.legal__body p { margin: 0 0 12px; }
.legal__body ul, .legal__body ol { margin: 0 0 16px; padding-left: 22px; }
.legal__body li { padding: 3px 0; list-style: disc; }
.legal__body ol li { list-style: decimal; }
.legal__body a { color: var(--mint-dark); border-bottom: 1px solid currentColor; }
.legal__note { color: var(--ink-soft); font-size: 0.92em; }
.legal__body li > ul { margin: 6px 0 4px; }
.legal__body li > ul li { list-style: circle; color: var(--ink-soft); font-size: 0.95em; }
.legal__pager {
  margin-top: 28px; display: flex; justify-content: flex-end;
  font-size: 14px;
}
.legal__pager a {
  color: var(--mint-dark); font-weight: 600;
  padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--mint);
  transition: background 0.15s ease, color 0.15s ease;
}
.legal__pager a:hover { background: var(--mint); color: #fff; }
@media (max-width: 560px) {
  .legal { padding: 40px 0 60px; }
  .legal__body { padding: 28px 18px; font-size: 14px; line-height: 1.7; }
}

/* ===== Responsive ===== */
@media (max-width: 920px) {
  .hero { padding: 60px 0 80px; }
  .hero__grid { grid-template-columns: 1fr; gap: 50px; }
  .hero__visual { order: -1; }
  .phone { width: 260px; height: 520px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .tape-grid { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
}
@media (max-width: 560px) {
  .nav__links a:not(.nav__cta) { display: none; }
  .features { grid-template-columns: 1fr; }
  .hero__title { font-size: 34px; }
  .hero__sub { font-size: 16px; }
  .phone { width: 240px; height: 480px; padding: 18px 14px; }
  .phone__screen { margin-top: 24px; }
  .footer__inner { flex-direction: column; text-align: center; }
}
