/* ═══════════════════════════════════════════
   직원톡 (JikwonTalk) — Design System CSS
   Reference: Toss Design System (TDS)
   Version: 1.0
   ═══════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Primary */
  --jt-blue: #3182F6;
  --jt-blue-dark: #1B64DA;
  --jt-blue-light: #E8F3FF;

  /* Neutral */
  --gray-900: #191F28;
  --gray-700: #4E5968;
  --gray-500: #8B95A1;
  --gray-300: #D1D6DB;
  --gray-100: #F2F4F6;
  --white: #FFFFFF;

  /* Semantic */
  --success: #03B26C;
  --warning: #F59F00;
  --error: #F04452;

  /* Kakao */
  --kakao-yellow: #FEE500;
  --kakao-text: #191919;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

.text-center { text-align: center; }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s ease;
}
.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}
.btn-nav {
  background: var(--jt-blue);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}
.btn-nav:hover {
  background: var(--jt-blue-dark);
  transform: translateY(-1px);
}

/* ── HERO ── */
.hero {
  background: linear-gradient(180deg, #0D1117 0%, #131B2E 60%, #0D1117 100%);
  padding: 180px 0 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(49,130,246,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-title {
  font-size: 52px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin: 24px 0 20px;
}
.hero-sub {
  font-size: 20px;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 40px;
}
.hero-sub strong {
  color: var(--white);
}
.hero-cta {
  display: inline-block;
  font-size: 18px;
  padding: 18px 40px;
}
.hero-caption {
  margin-top: 16px;
  font-size: 14px;
  color: var(--gray-500);
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--jt-blue);
  color: var(--white);
  border: none;
  border-radius: 16px;
  padding: 16px 32px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(49, 130, 246, 0.35);
  display: inline-block;
  font-family: inherit;
}
.btn-primary:hover {
  background: var(--jt-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(49, 130, 246, 0.45);
}
.btn-kakao {
  background: var(--kakao-yellow);
  color: var(--kakao-text);
  border: none;
  border-radius: 16px;
  padding: 18px 40px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(254, 229, 0, 0.35);
  font-family: inherit;
}
.btn-kakao:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(254, 229, 0, 0.5);
}
.kakao-icon { font-size: 22px; }

/* ── BADGE ── */
.badge {
  display: inline-flex;
  align-items: center;
  background: var(--jt-blue-light);
  color: var(--jt-blue);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.badge-dark {
  background: rgba(49, 130, 246, 0.15);
  color: #6DB0FF;
}

/* ── SECTIONS ── */
.section {
  padding: 120px 0;
}
.section-light { background: var(--white); }
.section-gray { background: var(--gray-100); }
.section-dark { background: #0D1117; }
.section-cta {
  background: linear-gradient(180deg, #0D1117 0%, #131B2E 50%, #0D1117 100%);
  padding: 140px 0;
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
  margin-bottom: 20px;
}
.section-sub {
  font-size: 18px;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 48px;
}
.title-white { color: var(--white); }
.sub-white { color: var(--gray-500); }

/* ── PROBLEM ── */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.problem-card {
  background: var(--gray-100);
  border-radius: 20px;
  padding: 40px 28px;
  text-align: center;
  transition: transform 0.3s ease;
}
.problem-card:hover { transform: translateY(-4px); }
.problem-emoji { font-size: 48px; display: block; margin-bottom: 20px; }
.problem-card p { font-size: 17px; font-weight: 500; line-height: 1.6; color: var(--gray-700); }

/* ── CHAT MOCKUP ── */
.chat-mockup {
  max-width: 480px;
  margin: 48px auto 0;
  background: #1A2332;
  border-radius: 24px;
  padding: 32px 24px;
  border: 1px solid rgba(255,255,255,0.06);
}
.chat-bubble {
  margin-bottom: 16px;
  padding: 16px 20px;
  border-radius: 18px;
  max-width: 85%;
  font-size: 15px;
  line-height: 1.65;
}
.chat-user {
  background: var(--jt-blue);
  color: var(--white);
  margin-left: auto;
  border-bottom-right-radius: 6px;
}
.chat-bot {
  background: #2A3544;
  color: #E0E6ED;
  border-bottom-left-radius: 6px;
}
.chat-name {
  font-size: 12px;
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
  opacity: 0.7;
}
.chat-bot em { font-style: normal; color: var(--jt-blue); font-size: 13px; }

/* ── FEATURES ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.feature-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 28px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.feature-icon {
  font-size: 40px;
  margin-bottom: 18px;
}
.feature-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--gray-900);
}
.feature-card li {
  font-size: 15px;
  color: var(--gray-700);
  padding: 6px 0;
  padding-left: 12px;
  position: relative;
}
.feature-card li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--jt-blue);
  font-weight: 700;
}

/* ── COMPARISON TABLE ── */
.compare-table {
  margin-top: 48px;
  overflow-x: auto;
}
.compare-table table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.compare-table th, .compare-table td {
  padding: 18px 24px;
  text-align: center;
  font-size: 16px;
  border-bottom: 1px solid var(--gray-100);
}
.compare-table th {
  background: var(--gray-100);
  font-weight: 700;
  font-size: 15px;
  color: var(--gray-700);
}
.compare-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--gray-700);
}
.highlight-col {
  background: var(--jt-blue-light) !important;
  color: var(--jt-blue);
  font-weight: 600;
}
.highlight-col strong {
  color: var(--jt-blue);
  font-size: 18px;
}

/* ── PRICING ── */
.pricing-card {
  max-width: 420px;
  margin: 48px auto 0;
  background: var(--white);
  border-radius: 24px;
  padding: 48px 40px;
  box-shadow: 0 4px 24px rgba(49,130,246,0.12);
  border: 2px solid var(--jt-blue-light);
  text-align: center;
}
.pricing-label {
  font-size: 16px;
  color: var(--gray-500);
  margin-top: 16px;
  margin-bottom: 8px;
}
.pricing-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}
.pricing-currency {
  font-size: 28px;
  font-weight: 700;
  color: var(--gray-700);
}
.pricing-number {
  font-size: 52px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.03em;
}
.pricing-per {
  font-size: 15px;
  color: var(--gray-500);
  margin-bottom: 32px;
}
.pricing-features {
  text-align: left;
  margin-bottom: 32px;
}
.pricing-features li {
  padding: 10px 0;
  font-size: 16px;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}

/* ── TESTIMONIALS ── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.testimonial-card {
  background: var(--white);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.testimonial-stars { font-size: 16px; margin-bottom: 16px; }
.testimonial-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: 16px;
}
.testimonial-author {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
}

/* ── FAQ ── */
.faq-list {
  max-width: 720px;
  margin: 48px auto 0;
}
.faq-item {
  background: var(--gray-100);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: background 0.2s;
}
.faq-item[open] { background: var(--jt-blue-light); }
.faq-item summary {
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--gray-500);
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--jt-blue);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
  padding: 0 24px 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-700);
}

/* ── CTA SECTION ── */
.cta-caption {
  margin-top: 16px;
  font-size: 14px;
  color: var(--gray-500);
}

/* ── FOOTER ── */
.footer {
  background: #0D1117;
  padding: 60px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}
.footer-brand {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-info {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.8;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 13px;
  color: var(--gray-500);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-copyright {
  font-size: 12px;
  color: var(--gray-500);
  opacity: 0.6;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
}

/* ── ANIMATIONS ── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero { padding: 140px 0 80px; }
  .hero-title { font-size: 32px; }
  .hero-sub { font-size: 17px; }
  .section { padding: 80px 0; }
  .section-title { font-size: 28px; }
  .section-sub { font-size: 16px; }

  .problem-grid,
  .feature-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .compare-table th, .compare-table td {
    padding: 14px 12px;
    font-size: 14px;
  }

  .pricing-number { font-size: 40px; }

  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-links { flex-direction: column; gap: 12px; }

  .section-cta { padding: 100px 0; }
}
