/* ─────────────────────────────────────────────
   팀공 홍보 홈페이지
   브랜드 파랑 #1F6FD0 · IBM Plex Sans KR (앱과 동일)
   ───────────────────────────────────────────── */

:root {
  --brand: #1F6FD0;
  --brand-dark: #1857A6;
  --brand-soft: #EAF2FC;
  --ink: #17222E;
  --ink-2: #47576A;
  --ink-3: #7A8AA0;
  --line: #E4EAF1;
  --bg: #FFFFFF;
  --bg-soft: #F6F9FC;
  --warn: #C2410C;
  --ok: #15803D;
  --radius: 16px;
  --shadow: 0 8px 30px rgba(23, 34, 46, .08);
  --font: 'IBM Plex Sans KR', 'Apple SD Gothic Neo', 'Noto Sans KR', -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;              /* 한글은 라틴보다 여유 있게 (D23) */
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── 공통 타이포 ── */
.eyebrow {
  color: var(--brand);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(26px, 4.2vw, 38px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.section-sub {
  color: var(--ink-2);
  margin-top: 14px;
  font-size: clamp(15px, 1.8vw, 17px);
}

/* ── 버튼 ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 14px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer;
}
.btn:active { transform: scale(.98); }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 18px rgba(31, 111, 208, .28);
}
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--bg-soft); }
.btn-white {
  background: #fff;
  color: var(--brand);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.18); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; border-radius: 12px; }
.btn-block { width: 100%; margin-top: 20px; }

/* ── 상단 바 ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.nav-links a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 6px 2px;
}
.nav-links a:hover { color: var(--ink); }

/* ── 히어로 ── */
.hero {
  padding: clamp(56px, 9vw, 110px) 0 clamp(48px, 7vw, 90px);
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(31,111,208,.10), transparent 60%),
    radial-gradient(700px 420px at -10% 30%, rgba(31,111,208,.06), transparent 60%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 5.6vw, 54px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.03em;
}
.hero h1 em {
  font-style: normal;
  color: var(--brand);
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  border-radius: 99px;
  padding: 7px 16px;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-pill b { font-weight: 700; }
.hero-pill i {
  width: 4px; height: 4px; border-radius: 50%;
  background: currentColor; opacity: .45;
}
.hero-sub {
  margin-top: 22px;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--ink-2);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--ink-3);
}

/* ── 앱 목업 ── */
.hero-visual { min-width: 0; }
.mock-window {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  .mock-window { animation: none; }
  html { scroll-behavior: auto; }
}
.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: #D8E0E9; }
.mock-title { margin-left: 10px; font-size: 12px; color: var(--ink-3); }
.mock-body { display: flex; }
.mock-side {
  width: 52px;
  border-right: 1px solid var(--line);
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: var(--bg-soft);
}
.mock-side-logo { margin-bottom: 4px; }
.mock-side-item { width: 22px; height: 22px; border-radius: 7px; background: #E1E8F0; }
.mock-side-item.on { background: var(--brand-soft); outline: 2px solid rgba(31,111,208,.45); }
.mock-main { flex: 1; padding: 18px 18px 20px; min-width: 0; }
.mock-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.mock-h1 { font-weight: 700; font-size: 15px; }
.mock-progress {
  flex: 1; max-width: 130px; height: 8px; border-radius: 99px; background: #E9EEF4; overflow: hidden;
}
.mock-progress i { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.mock-task {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px;
  font-size: 13.5px;
}
.mock-task.done { opacity: .62; }
.mock-task.done .mock-task-name { text-decoration: line-through; }
.mock-check {
  width: 20px; height: 20px; border-radius: 7px; border: 1.5px solid #C7D2DE;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; color: #fff; flex-shrink: 0;
}
.mock-task.done .mock-check { background: var(--brand); border-color: var(--brand); }
.mock-task-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-tag {
  font-size: 11.5px; font-weight: 700; color: var(--ink-3);
  background: var(--bg-soft); border-radius: 8px; padding: 2px 8px; flex-shrink: 0;
}
.mock-tag.warn { color: var(--warn); background: #FDF0E7; }
.mock-meeting {
  margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 12px;
  background: linear-gradient(180deg, #FAFCFF, #F4F8FD);
}
.mock-meeting-top { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.mock-rec {
  width: 9px; height: 9px; border-radius: 50%; background: #E0442E; flex-shrink: 0;
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 0%,100% { opacity: 1 } 50% { opacity: .35 } }
.mock-badge {
  margin-left: auto; font-size: 11px; font-weight: 700; color: var(--ok);
  background: #E9F6EE; padding: 2px 8px; border-radius: 8px;
}
.mock-wave { display: flex; align-items: center; gap: 3px; height: 26px; margin: 10px 0; }
.mock-wave i {
  flex: 1; background: rgba(31,111,208,.45); border-radius: 2px;
  height: calc(20% + (var(--h, 0) * 1%));
}
.mock-wave i:nth-child(3n)  { height: 78%; }
.mock-wave i:nth-child(3n+1){ height: 36%; }
.mock-wave i:nth-child(4n)  { height: 58%; }
.mock-wave i:nth-child(5n)  { height: 90%; background: var(--brand); }
.mock-summary { font-size: 12.5px; color: var(--ink-2); line-height: 1.75; }
.mock-summary b { color: var(--ink); }

/* ── 공감 섹션 ── */
.pain { padding: clamp(64px, 9vw, 110px) 0; background: var(--bg-soft); }
.pain .section-title { text-align: center; }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(32px, 5vw, 52px);
}
.pain-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.pain-card h3 { font-size: 18px; margin: 18px 0 8px; }
.pain-card p { font-size: 14.5px; color: var(--ink-2); }
.pain-file { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-3); }
.pain-file span { background: var(--bg-soft); border-radius: 8px; padding: 6px 10px; }
.pain-file .hot { color: var(--warn); background: #FDF0E7; font-weight: 600; }
.pain-chat { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.bubble {
  align-self: flex-start; background: var(--bg-soft);
  border-radius: 14px 14px 14px 4px; padding: 8px 12px; max-width: 90%;
}
.bubble.me {
  align-self: flex-end; background: var(--brand-soft); color: var(--brand-dark);
  border-radius: 14px 14px 4px 14px;
}
.pain-dday { display: flex; align-items: center; gap: 12px; padding: 6px 0; }
.pain-dday .d {
  font-size: 24px; font-weight: 700; color: var(--warn);
  background: #FDF0E7; border-radius: 12px; padding: 8px 14px;
}
.pain-dday .t { font-size: 13px; color: var(--ink-3); }

/* ── 기능 ── */
.features { padding: clamp(64px, 9vw, 110px) 0; }
.features .eyebrow, .features .section-title, .features .section-sub { text-align: center; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: clamp(36px, 5vw, 56px);
}
.feature-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(31,111,208,.35);
}
.feature-icon {
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--brand-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--ink-2); }

/* ── AI 회의록 ── */
.meetings {
  padding: clamp(64px, 9vw, 110px) 0;
  background: linear-gradient(180deg, #10365F 0%, #0C2A4C 100%);
  color: #fff;
}
.meetings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}
.meetings .eyebrow { color: #8FC0F5; }
.meetings .section-title { color: #fff; }
.check-list { list-style: none; margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.check-list li {
  padding-left: 34px; position: relative;
  font-size: 15.5px; color: #C9DAEE;
}
.check-list li b { color: #fff; }
.check-list li::before {
  content: '✓';
  position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 8px;
  background: rgba(143,192,245,.18); color: #8FC0F5;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.meetings-note { margin-top: 22px; font-size: 13.5px; color: #7FA2C9; }
.transcript-card {
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  padding: 20px;
}
.transcript-head {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 14.5px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px;
}
.transcript-len { margin-left: auto; font-weight: 500; font-size: 12.5px; color: var(--ink-3); }
.transcript-row { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.transcript-row p { font-size: 13.5px; color: var(--ink-2); line-height: 1.65; }
.speaker {
  flex-shrink: 0; font-size: 11.5px; font-weight: 700;
  border-radius: 8px; padding: 3px 8px; margin-top: 1px;
}
.speaker.s1 { background: var(--brand-soft); color: var(--brand-dark); }
.speaker.s2 { background: #F0E9FB; color: #6D4AA8; }
.transcript-summary {
  margin-top: 6px; background: var(--bg-soft);
  border-radius: 12px; padding: 12px 14px;
}
.ts-title { font-size: 11.5px; font-weight: 700; color: var(--brand); margin-bottom: 6px; }
.transcript-summary p { font-size: 13px; color: var(--ink-2); }

/* ── 대상 확장 ── */
.scope { padding: clamp(56px, 8vw, 90px) 0; text-align: center; }
.scope-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-top: 28px;
}
.chip {
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 9px 18px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  background: #fff;
}

/* ── 시작 3단계 ── */
.steps { padding: clamp(64px, 9vw, 110px) 0; }
.steps .eyebrow, .steps .section-title, .steps .section-sub { text-align: center; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(32px, 5vw, 52px);
}
.step-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 11px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 16px;
}
.step-card h3 { font-size: 17px; margin-bottom: 8px; }
.step-card p { font-size: 14.5px; color: var(--ink-2); }
.steps-cta { text-align: center; margin-top: clamp(28px, 4vw, 40px); }

/* ── 가격 ── */
.pricing { padding: clamp(64px, 9vw, 110px) 0; background: var(--bg-soft); }
.pricing .eyebrow, .pricing .section-title { text-align: center; }
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 380px));
  justify-content: center;
  gap: 22px;
  margin-top: clamp(36px, 5vw, 56px);
}
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 28px;
}
.price-card.featured {
  border: 2px solid var(--brand);
  box-shadow: 0 16px 44px rgba(31,111,208,.16);
  position: relative;
}
.price-flag {
  position: absolute; top: -14px; left: 28px;
  background: var(--brand); color: #fff;
  font-size: 12.5px; font-weight: 700;
  border-radius: 99px; padding: 4px 14px;
}
.price-card h3 { font-size: 17px; color: var(--ink-2); }
.price { margin: 10px 0 6px; }
.price b { font-size: 36px; font-weight: 700; letter-spacing: -0.02em; }
.price span { font-size: 14px; color: var(--ink-3); }
.price-desc { font-size: 14px; color: var(--ink-2); margin-bottom: 18px; }
.price-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.price-card li {
  font-size: 14.5px; color: var(--ink-2);
  padding-left: 26px; position: relative;
}
.price-card li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--brand); font-weight: 700;
}

/* ── FAQ ── */
.faq { padding: clamp(64px, 9vw, 110px) 0; }
.faq .section-title { text-align: center; }
.faq-list { max-width: 720px; margin: clamp(30px, 4vw, 44px) auto 0; }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 36px 20px 4px;
  font-size: 16.5px;
  font-weight: 600;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute; right: 8px; top: 50%;
  transform: translateY(-50%);
  font-size: 22px; font-weight: 400; color: var(--ink-3);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p {
  padding: 0 4px 22px;
  font-size: 15px;
  color: var(--ink-2);
}
.faq details p a { color: var(--brand); font-weight: 600; }

/* ── CTA ── */
.cta {
  padding: clamp(72px, 10vw, 120px) 0;
  background:
    radial-gradient(700px 400px at 50% -20%, rgba(255,255,255,.14), transparent 65%),
    linear-gradient(160deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  text-align: center;
}
.cta-mark { margin: 0 auto 20px; }
.cta h2 {
  font-size: clamp(28px, 4.6vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.cta p { margin: 16px 0 30px; font-size: clamp(15px, 2vw, 17px); color: rgba(255,255,255,.85); }
.cta-small { margin-top: 18px !important; font-size: 13px !important; color: rgba(255,255,255,.6) !important; }

/* ── 푸터 ── */
.footer { padding: 40px 0 48px; border-top: 1px solid var(--line); }
.footer-inner { text-align: center; }
.footer-brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 17px;
}
.footer-line { margin-top: 8px; font-size: 13.5px; color: var(--ink-3); }
.footer-copy { margin-top: 18px; font-size: 12.5px; color: var(--ink-3); }

/* ── 스크롤 리빌 ── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ─────────────────────────────────────────────
   반응형
   ───────────────────────────────────────────── */
@media (max-width: 980px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .meetings-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .pain-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: minmax(0, 420px); }
  .wide-only { display: none; }
  .hero-actions .btn { flex: 1; }
}

@media (max-width: 460px) {
  .feature-grid { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
}
