/* ═══════════════════════════════════════════════════
   아라마루 AI — 랜딩 페이지 전용 스타일시트 (landing.css)
   ═══════════════════════════════════════════════════ */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

:root {
  --primary:       #001f3f;
  --primary-mid:   #003366;
  --primary-light: #0056b3;
  --accent:        #0077b6;
  --accent-light:  #00b4d8;
  --success:       #198754;
  --gold:          #f59e0b;
  --bg-light:      #f4f6fb;
  --text-dark:     #1a1a2e;
  --text-muted:    #6c757d;
  --white:         #ffffff;
  --font: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

/* ── 네비게이션바 ── */
.lp-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(0,31,63,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.3s;
}
.lp-nav.scrolled { background: rgba(0,31,63,0.98); }
.lp-nav-logo {
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none; color: var(--white);
  font-size: 1.25rem; font-weight: 800; letter-spacing: -0.5px;
}
.lp-nav-logo img { width: 32px; height: 32px; }
.lp-nav-logo span { color: #00AEEF; }
.lp-nav-links { display: flex; align-items: center; gap: 1.5rem; }
.lp-nav-links a {
  color: rgba(255,255,255,0.8); text-decoration: none;
  font-size: 0.88rem; font-weight: 500; transition: color 0.2s;
}
.lp-nav-links a:hover { color: var(--white); }
.lp-nav-btns { display: flex; gap: 0.7rem; }
.btn-login {
  padding: 0.45rem 1.1rem; border-radius: 8px; font-size: 0.85rem;
  font-weight: 600; text-decoration: none; transition: all 0.2s;
  border: 1px solid rgba(255,255,255,0.3); color: var(--white);
  background: transparent;
}
.btn-login:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.btn-start {
  padding: 0.45rem 1.1rem; border-radius: 8px; font-size: 0.85rem;
  font-weight: 700; text-decoration: none; transition: all 0.2s;
  background: linear-gradient(135deg, #0077b6, #00b4d8);
  color: var(--white); border: none;
}
.btn-start:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,119,182,0.4); color: var(--white); }

/* ── Hero 섹션 ── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #001f3f 0%, #003366 55%, #0056b3 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; padding: 6rem 1.5rem 4rem;
}
.hero-stars {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-star {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.85);
  animation: starFloat linear infinite;
}
@keyframes starFloat {
  0%   { transform: translateY(0) scale(1); opacity: 0.8; }
  50%  { opacity: 0.4; }
  100% { transform: translateY(-120px) scale(0.5); opacity: 0; }
}
.hero-content {
  position: relative; z-index: 2; text-align: center; max-width: 800px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(0,174,239,0.15); border: 1px solid rgba(0,174,239,0.35);
  color: #00AEEF; border-radius: 50px; padding: 0.4rem 1rem;
  font-size: 0.82rem; font-weight: 600; margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900;
  color: var(--white); line-height: 1.2; margin-bottom: 1rem;
  letter-spacing: -1px;
}
.hero h1 .hero-accent { color: #00b4d8; }
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem); color: rgba(255,255,255,0.75);
  margin-bottom: 2.5rem; line-height: 1.7;
}
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-hero-primary {
  padding: 0.9rem 2rem; border-radius: 50px; font-size: 1rem;
  font-weight: 700; text-decoration: none; color: var(--white);
  background: linear-gradient(135deg, #0077b6, #00b4d8);
  box-shadow: 0 6px 24px rgba(0,119,182,0.45); transition: all 0.25s;
}
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(0,119,182,0.55); color: var(--white); }
.btn-hero-secondary {
  padding: 0.9rem 2rem; border-radius: 50px; font-size: 1rem;
  font-weight: 600; text-decoration: none;
  color: var(--white); border: 2px solid rgba(255,255,255,0.35);
  background: transparent; transition: all 0.25s;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.hero-scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.5); font-size: 0.8rem; text-align: center;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ── 공통 섹션 ── */
.lp-section { padding: 5rem 1.5rem; }
.lp-section-light { background: var(--bg-light); }
.lp-section-dark {
  background: linear-gradient(135deg, #001f3f 0%, #003366 100%);
  color: var(--white);
}
.section-label {
  display: inline-block; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.6rem;
}
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 900;
  color: var(--text-dark); line-height: 1.25; margin-bottom: 1rem;
  letter-spacing: -0.5px;
}
.section-title-white { color: var(--white); }
.section-desc {
  font-size: 1rem; color: var(--text-muted); max-width: 560px;
  margin: 0 auto 3rem; line-height: 1.7;
}
.section-desc-white { color: rgba(255,255,255,0.7); }

/* ── 스크롤 등장 애니메이션 ── */
.fade-up {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Section 2: 핵심 지표 ── */
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem; max-width: 900px; margin: 0 auto;
}
.stat-card {
  background: var(--white); border-radius: 16px; padding: 2rem 1rem;
  text-align: center; box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: transform 0.25s, box-shadow 0.25s;
}
.stat-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,0.12); }
.stat-card .stat-icon { font-size: 2rem; margin-bottom: 0.6rem; }
.stat-card .stat-num {
  font-size: 2.4rem; font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-card .stat-suffix { font-size: 1.1rem; font-weight: 700; }
.stat-card .stat-label { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.4rem; }

/* ── Section 3: 기능 카드 ── */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; max-width: 1100px; margin: 0 auto;
}
.feature-card {
  background: var(--white); border-radius: 20px; padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07); border: 1px solid #f0f0f0;
  transition: transform 0.25s, box-shadow 0.25s;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: 0 16px 40px rgba(0,0,0,0.12); }
.feature-icon-wrap {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 1.2rem;
}
.feature-title { font-size: 1.1rem; font-weight: 800; margin-bottom: 0.5rem; }
.feature-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* ── Section 4: 페르소나 탭 ── */
.persona-tabs { display: flex; gap: 0.5rem; justify-content: center; margin-bottom: 2.5rem; }
.persona-tab {
  padding: 0.6rem 1.8rem; border-radius: 50px; font-size: 0.9rem;
  font-weight: 700; cursor: pointer; border: 2px solid #dee2e6;
  background: var(--white); color: #555; transition: all 0.2s;
}
.persona-tab.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-color: transparent; color: var(--white);
  box-shadow: 0 4px 16px rgba(0,119,182,0.35);
}
.persona-content { display: none; }
.persona-content.active { display: block; }
.persona-panel {
  background: var(--white); border-radius: 20px; padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08); max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center;
}
.persona-visual { font-size: 5rem; text-align: center; }
.persona-list { list-style: none; }
.persona-list li {
  display: flex; align-items: flex-start; gap: 0.7rem;
  padding: 0.7rem 0; border-bottom: 1px solid #f5f5f5; font-size: 0.92rem;
}
.persona-list li:last-child { border-bottom: none; }
.persona-list li .pi { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }

/* ── Section 5: 커리큘럼 ── */
.level-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem; max-width: 1050px; margin: 0 auto;
}
.level-card {
  border-radius: 16px; padding: 1.5rem 1rem; text-align: center;
  color: var(--white); transition: transform 0.25s, box-shadow 0.25s;
  cursor: default;
}
.level-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,0.2); }
.level-code { font-size: 1.4rem; font-weight: 900; margin-bottom: 0.3rem; }
.level-name { font-size: 0.82rem; opacity: 0.85; margin-bottom: 0.5rem; }
.level-badge {
  display: inline-block; font-size: 0.68rem; font-weight: 700;
  background: rgba(255,255,255,0.25); border-radius: 50px;
  padding: 0.2rem 0.6rem;
}

/* ── Section 6: 사용 흐름 ── */
.steps-wrap {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem; max-width: 900px; margin: 0 auto; position: relative;
}
.step-item { text-align: center; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--white); font-size: 1.3rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem; box-shadow: 0 4px 16px rgba(0,119,182,0.35);
}
.step-icon { font-size: 2rem; margin-bottom: 0.7rem; }
.step-title { font-size: 1rem; font-weight: 800; margin-bottom: 0.4rem; color: var(--white); }
.step-desc { font-size: 0.85rem; color: rgba(255,255,255,0.65); line-height: 1.6; }

/* ── Section 7: 추천사 ── */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; max-width: 1050px; margin: 0 auto;
}
.testimonial-card {
  background: var(--white); border-radius: 20px; padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  border-left: 4px solid var(--accent); transition: transform 0.25s;
}
.testimonial-card:hover { transform: translateY(-4px); }
.testimonial-quote { font-size: 2rem; color: var(--accent); margin-bottom: 0.8rem; line-height: 1; }
.testimonial-text { font-size: 0.92rem; color: #374151; line-height: 1.7; margin-bottom: 1.2rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.7rem; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.testimonial-name { font-size: 0.85rem; font-weight: 700; }
.testimonial-role { font-size: 0.75rem; color: var(--text-muted); }

/* ── Section 8: 요금제 TBD ── */
.pricing-tbd {
  background: var(--white); border-radius: 20px; padding: 3rem 2rem;
  text-align: center; max-width: 560px; margin: 0 auto;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  border: 2px dashed rgba(0,119,182,0.25);
}
.pricing-tbd-icon { font-size: 3rem; margin-bottom: 1rem; }
.pricing-tbd-title { font-size: 1.4rem; font-weight: 800; margin-bottom: 0.6rem; }
.pricing-tbd-desc { font-size: 0.92rem; color: var(--text-muted); line-height: 1.7; }
.pricing-tbd-badge {
  display: inline-block; margin-top: 1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--white); border-radius: 50px; padding: 0.4rem 1.2rem;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.05em;
}

/* ── Section 9: CTA ── */
.cta-section {
  background: linear-gradient(135deg, #001f3f 0%, #003366 55%, #0056b3 100%);
  padding: 5rem 1.5rem; text-align: center;
}
.cta-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900;
  color: var(--white); margin-bottom: 1rem; letter-spacing: -0.5px;
}
.cta-desc { font-size: 1rem; color: rgba(255,255,255,0.7); margin-bottom: 2.5rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-cta-main {
  padding: 1rem 2.5rem; border-radius: 50px; font-size: 1rem; font-weight: 800;
  text-decoration: none; color: var(--white);
  background: linear-gradient(135deg, #0077b6, #00b4d8);
  box-shadow: 0 6px 24px rgba(0,119,182,0.45); transition: all 0.25s;
}
.btn-cta-main:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(0,119,182,0.55); color: var(--white); }
.btn-cta-login {
  padding: 1rem 2.5rem; border-radius: 50px; font-size: 1rem; font-weight: 700;
  text-decoration: none; color: var(--white);
  border: 2px solid rgba(255,255,255,0.35); background: transparent; transition: all 0.25s;
}
.btn-cta-login:hover { background: rgba(255,255,255,0.1); color: var(--white); }

/* ── Footer ── */
.lp-footer {
  background: #001220; color: rgba(255,255,255,0.6);
  padding: 3rem 1.5rem; text-align: center;
  font-size: 0.82rem; border-top: 1px solid rgba(255,255,255,0.07);
}
.lp-footer a { color: rgba(255,255,255,0.5); text-decoration: none; }
.lp-footer a:hover { color: var(--white); }
.lp-footer-logo {
  font-size: 1.2rem; font-weight: 800; color: var(--white);
  margin-bottom: 0.8rem;
}
.lp-footer-logo span { color: #00AEEF; }

/* ── 반응형 ── */
@media (max-width: 768px) {
  .lp-nav-links { display: none; }
  .persona-panel { grid-template-columns: 1fr; }
  .persona-visual { display: none; }
  .hero-btns { flex-direction: column; align-items: center; }
  .cta-btns  { flex-direction: column; align-items: center; }
}
