﻿/* ============================================
   intro-screen.css — 서비스 소개 페이지
   - 모바일 우선
   - 캐릭터별 컬러 액센트
   ============================================ */

#intro-screen.intro-screen {
  padding: 20px 16px calc(60px + 24px + env(safe-area-inset-bottom, 0px));
  max-width: 480px;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, 'Noto Sans KR', 'Noto Sans JP', sans-serif;
  color: #1f2937;
}

/* ===== Hero ===== */
.intro-hero {
  background: linear-gradient(135deg, #4FC3F7 0%, #9575CD 100%);
  border-radius: 20px;
  padding: 28px 20px;
  color: #fff;
  text-align: center;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(79, 195, 247, 0.25);
}
.intro-hero h1 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 10px;
  letter-spacing: -0.3px;
}
.intro-hero p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  opacity: 0.95;
}
.intro-hero .hero-badges {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.intro-hero .hero-badge {
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
}

/* ===== 섹션 공통 ===== */
.intro-section {
  margin-bottom: 28px;
}
.intro-section-title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 14px;
  letter-spacing: -0.3px;
}
.intro-section-subtitle {
  font-size: 13px;
  color: #6b7280;
  margin: -10px 0 14px;
  line-height: 1.5;
}

/* ===== 특징 카드 ===== */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.feature-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.feature-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 20px;
  margin-bottom: 8px;
}
.feature-card.c1 .feature-icon { background: #E1F5FE; }
.feature-card.c2 .feature-icon { background: #FCE4EC; }
.feature-card.c3 .feature-icon { background: #EDE7F6; }
.feature-card.c4 .feature-icon { background: #EFEBE9; }
.feature-card h3 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 4px;
  color: #1f2937;
}
.feature-card p {
  font-size: 12px;
  line-height: 1.5;
  color: #6b7280;
  margin: 0;
}

/* ===== 학습 단계 타임라인 ===== */
.steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px;
  position: relative;
}
.step-number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4FC3F7, #9575CD);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(79, 195, 247, 0.3);
}
.step-content h4 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 3px;
  color: #1f2937;
}
.step-content p {
  font-size: 12px;
  line-height: 1.55;
  color: #6b7280;
  margin: 0;
}
.step-content .step-note {
  display: inline-block;
  margin-top: 6px;
  font-size: 11px;
  color: #9575CD;
  background: #F3E5F5;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 500;
}

/* ===== CTA ===== */
.intro-cta {
  background: #fff;
  border: 2px dashed #4FC3F7;
  border-radius: 16px;
  padding: 22px 16px;
  text-align: center;
  margin-top: 8px;
}
.intro-cta p {
  font-size: 14px;
  color: #374151;
  margin: 0 0 14px;
  line-height: 1.5;
}
.intro-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #4FC3F7, #29B6F6);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 12px rgba(79, 195, 247, 0.35);
  -webkit-tap-highlight-color: transparent;
}
.intro-cta-btn:hover {
  box-shadow: 0 6px 16px rgba(79, 195, 247, 0.45);
}
.intro-cta-btn:active {
  transform: scale(0.97);
}
.intro-cta-btn .cta-emoji {
  font-size: 16px;
}

/* ===== 작은 화면 대응 ===== */
@media (max-width: 360px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .intro-hero h1 {
    font-size: 20px;
  }
}