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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  color: #1A1B23;
  background: #F8F9FA;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

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

/* ===== Layout ===== */
.container {
  max-width: 100%;
  padding: 0 16px;
  margin: 0 auto;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FFFFFF;
  border-bottom: 1px solid #E5E7EB;
  height: 56px;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header-logo {
  font-size: 18px;
  font-weight: 800;
  color: #1A1B23;
}

.header-logo span {
  color: #3182F6;
}

.header-cta {
  font-size: 14px;
  font-weight: 600;
  color: #3182F6;
}

/* ===== Footer ===== */
.footer {
  background: #1A1B23;
  padding: 48px 16px;
}

.footer .container {
  max-width: 720px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
}

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

.footer-links a {
  color: #9CA3AF;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #2C2D3A;
}

.footer-bottom p {
  color: #6B7280;
  font-size: 13px;
  line-height: 1.6;
}

/* ===== Hero Section ===== */
.hero {
  background: #FFFFFF;
  padding: 48px 0;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #3182F6;
  background: #EDF2FF;
  padding: 6px 16px;
  border-radius: 20px;
}

.hero-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  margin-top: 16px;
}

.hero-title .highlight {
  color: #3182F6;
}

.hero-desc {
  font-size: 16px;
  font-weight: 500;
  color: #6B7280;
  line-height: 1.5;
  margin-top: 16px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
  padding: 0 16px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  background: #1A1B23;
  color: #FFFFFF;
  border-radius: 12px;
  padding: 0 24px;
  font-size: 16px;
  font-weight: 600;
  transition: opacity 0.2s;
  width: 100%;
}

.cta-btn:hover {
  opacity: 0.85;
}

.cta-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.hero-screenshot {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

.hero-screenshot img {
  max-width: 320px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

/* ===== Features Section ===== */
.features {
  background: #F8F9FA;
  padding: 48px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: #1A1B23;
}

.section-subtitle {
  font-size: 16px;
  font-weight: 500;
  color: #6B7280;
  margin-top: 8px;
  line-height: 1.5;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.feature-card {
  background: #FFFFFF;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid #E5E7EB;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: #EDF2FF;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1A1B23;
  margin-top: 16px;
}

.feature-card p {
  font-size: 15px;
  font-weight: 400;
  color: #6B7280;
  line-height: 1.6;
  margin-top: 8px;
}

/* ===== Bottom CTA ===== */
.bottom-cta {
  background: #FFFFFF;
  padding: 48px 0;
  text-align: center;
}

.bottom-cta .section-title {
  margin-bottom: 0;
}

.bottom-cta .section-subtitle {
  margin-top: 12px;
}

/* ===== Legal Pages ===== */
.legal-page {
  background: #FFFFFF;
  min-height: calc(100vh - 56px);
}

.legal-content {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 16px;
}

.legal-content h1 {
  font-size: 22px;
  font-weight: 700;
  color: #1A1B23;
  margin-bottom: 8px;
}

.legal-date {
  font-size: 14px;
  color: #9CA3AF;
  margin-bottom: 40px;
}

.legal-intro {
  font-size: 14px;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 32px;
}

.legal-content h2 {
  font-size: 18px;
  font-weight: 700;
  color: #1A1B23;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-content p,
.legal-content li {
  font-size: 14px;
  font-weight: 400;
  color: #374151;
  line-height: 1.8;
}

.legal-content ul {
  padding-left: 20px;
  list-style: disc;
}

.legal-content ul li {
  margin-bottom: 4px;
}

.legal-content ol {
  padding-left: 20px;
  list-style: decimal;
}

.legal-content ol li {
  margin-bottom: 4px;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}

.legal-content th,
.legal-content td {
  border: 1px solid #E5E7EB;
  padding: 12px;
  text-align: left;
  color: #374151;
  line-height: 1.6;
}

.legal-content th {
  background: #F8F9FA;
  font-weight: 600;
}

/* ===== Support Page ===== */
.support-hero {
  padding: 48px 0 32px;
  text-align: center;
  background: #FFFFFF;
}

.contact-card {
  max-width: 640px;
  margin: 0 auto 48px;
  background: #F8F9FA;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 32px;
  height: 32px;
  color: #3182F6;
}

.contact-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1A1B23;
  margin-top: 12px;
}

.contact-email {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: #3182F6;
  margin-top: 8px;
}

.contact-note {
  font-size: 14px;
  color: #9CA3AF;
  margin-top: 8px;
}

/* FAQ */
.faq-section {
  max-width: 640px;
  margin: 0 auto;
  padding-bottom: 48px;
}

.faq-title {
  font-size: 22px;
  font-weight: 700;
  color: #1A1B23;
  margin-bottom: 24px;
}

.faq-item {
  border-bottom: 1px solid #E5E7EB;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: #1A1B23;
  gap: 16px;
}

.faq-question:focus {
  outline: 2px solid #3182F6;
  outline-offset: 2px;
  border-radius: 4px;
}

.faq-arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding-bottom: 20px;
  font-size: 15px;
  font-weight: 400;
  color: #6B7280;
  line-height: 1.7;
}

.faq-answer-inner ul {
  padding-left: 20px;
  list-style: disc;
  margin-top: 8px;
}

.faq-answer-inner li {
  margin-bottom: 4px;
}

/* ===== Tablet & Desktop (768px+) ===== */
@media (min-width: 768px) {
  body {
    font-size: 16px;
  }

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

  .header .container {
    max-width: 720px;
    padding: 0 24px;
  }

  .footer {
    padding: 48px 24px;
  }

  .footer-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .footer-links {
    flex-direction: row;
    gap: 24px;
  }

  .hero {
    padding: 80px 0;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-desc {
    font-size: 18px;
  }

  .cta-buttons {
    flex-direction: row;
    justify-content: center;
    padding: 0;
  }

  .cta-btn {
    width: auto;
  }

  .features {
    padding: 80px 0;
  }

  .section-title {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 18px;
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .bottom-cta {
    padding: 80px 0;
  }

  .legal-content {
    padding: 48px 24px;
  }

  .legal-content h1 {
    font-size: 28px;
  }

  .support-hero {
    padding: 48px 0 32px;
  }
}
