/* ---------- Reset & tokens ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; cursor: pointer; }
input, textarea { font: inherit; }

:root {
  --bg: #0b1220;
  --bg-alt: #0f1a2e;
  --surface: #121e33;
  --surface-2: #182a47;
  --border: #22314e;
  --text: #e7ecf5;
  --text-dim: #9fb0c9;
  --text-faint: #6b7ea0;
  --accent: #33d6a8;
  --accent-strong: #22b98f;
  --accent-soft: rgba(51, 214, 168, 0.12);
  --gold: #e8c26a;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(0,0,0,0.5);
  --max: 1140px;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.center { text-align: center; display: block; }
.text-accent { color: var(--accent); }

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn--primary {
  background: var(--accent);
  color: #06251c;
}
.btn--primary:hover { background: var(--accent-strong); }
.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--outline {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
  width: 100%;
  margin-top: 8px;
}
.btn--outline:hover { background: var(--accent-soft); }
.btn--kakao {
  background: #FEE500;
  color: #191919;
}
.btn--kakao:hover { background: #f5d800; }
.btn--sm { padding: 9px 16px; font-size: 0.85rem; }
.btn--lg { padding: 15px 28px; font-size: 1rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
}
.logo__mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--accent);
  color: #06251c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}
.nav {
  display: flex;
  gap: 32px;
}
.nav a {
  font-size: 0.95rem;
  color: var(--text-dim);
  font-weight: 600;
}
.nav a:hover { color: var(--text); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 0 8px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 64px;
  background:
    radial-gradient(600px 300px at 85% -10%, rgba(51,214,168,0.16), transparent 60%),
    radial-gradient(500px 260px at 5% 0%, rgba(232,194,106,0.10), transparent 60%);
}
.hero__inner { text-align: center; max-width: 780px; }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero__desc {
  color: var(--text-dim);
  font-size: 1.08rem;
  max-width: 620px;
  margin: 0 auto 32px;
}
.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat strong { font-size: 1.35rem; color: var(--accent); }
.stat span { font-size: 0.85rem; color: var(--text-faint); }

/* ---------- Trust bar ---------- */
.trustbar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.trustbar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 26px 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.92rem;
}
.trust-item svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; }

/* ---------- Section ---------- */
.section { padding: 96px 0; }
.section--dark { background: var(--bg-alt); }
.section--alt { background: var(--surface); }
.section__title {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  font-weight: 800;
  margin-bottom: 14px;
}
.section__desc {
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 48px;
}

/* ---------- Program cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.card__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: rgba(232,194,106,0.12);
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.card h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 10px; }
.card__lead { color: var(--text-dim); margin-bottom: 14px; font-weight: 600; }
.card__desc { color: var(--text-dim); font-size: 0.92rem; margin-bottom: 22px; }
.card__list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 8px; }
.card__list li {
  position: relative;
  padding-left: 22px;
  color: var(--text-dim);
  font-size: 0.94rem;
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--accent);
}
.card__list li strong { color: var(--text); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

/* ---------- Feedback / Update request ---------- */
.feedback-section {
  padding: 96px 0;
  background: linear-gradient(180deg, var(--accent-soft), var(--bg) 45%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.feedback {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.feedback__badge {
  display: inline-block;
  background: var(--accent);
  color: #06251c;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.feedback__text h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.35;
}
.feedback__text p { color: var(--text-dim); margin-bottom: 20px; }
.feedback__text strong { color: var(--text); }
.feedback__points { display: flex; flex-direction: column; gap: 12px; }
.feedback__points li {
  position: relative;
  padding-left: 24px;
  color: var(--text-dim);
  font-size: 0.94rem;
}
.feedback__points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}
.feedback__text .btn--kakao { margin-top: 24px; }
.feedback__form h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 20px; }

.nav__highlight {
  color: var(--accent) !important;
}

.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.field input[type="text"],
.field input[type="email"],
.field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.checkbox-group { display: flex; gap: 18px; flex-wrap: wrap; }
.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: var(--text-dim);
  margin: 0;
}
.checkbox-group input { width: 16px; height: 16px; accent-color: var(--accent); }

.form-note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--text-faint);
  text-align: center;
}
.form-note a {
  color: var(--accent);
  text-decoration: underline;
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.price-card--highlight {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-soft), var(--surface) 40%);
}
.price-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #06251c;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.price-card__badge--outline {
  position: static;
  transform: none;
  align-self: flex-start;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  margin-bottom: 14px;
}
.price-card h4 { font-size: 1.2rem; font-weight: 800; margin-bottom: 6px; }
.price-card__sub { color: var(--text-faint); font-size: 0.85rem; margin-bottom: 18px; }
.price-card__price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.price-card__unit {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-faint);
  margin-left: 4px;
}
.price-card ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; flex: 1; }
.price-card li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

.download-link {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-faint);
  text-decoration: underline;
}
.download-link:hover { color: var(--accent); }
.download-link-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 10px;
}
.download-link-group .download-link { margin-top: 0; }

.pricing-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-faint);
  margin-top: 28px;
}
.pricing-note a { color: var(--accent); text-decoration: underline; }

/* ---------- Founder ---------- */
.founder {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 44px;
  align-items: center;
}
.founder__avatar {
  width: clamp(170px, 22vw, 240px);
  height: clamp(170px, 22vw, 240px);
  border-radius: 28px;
  background: var(--accent-soft);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  flex-shrink: 0;
}
.founder__avatar svg { width: 70%; height: 70%; fill: var(--accent); }
.founder__text h2 { font-size: 1.7rem; font-weight: 800; margin-bottom: 4px; }
.founder__role { color: var(--text-faint); font-weight: 600; margin-bottom: 18px; }
.founder__text p { color: var(--text-dim); margin-bottom: 14px; }
.founder__text strong { color: var(--text); }

/* ---------- Contact ---------- */
.contact-form { max-width: 640px; margin: 0 auto; }

.kakao-cta {
  max-width: 640px;
  margin: 0 auto 24px;
  text-align: center;
}
.kakao-cta .btn--kakao { display: inline-flex; }
.kakao-cta__note {
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--text-faint);
}

.form-divider {
  max-width: 640px;
  margin: 0 auto 24px;
  text-align: center;
  position: relative;
  color: var(--text-faint);
  font-size: 0.82rem;
}
.form-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
  z-index: 0;
}
.form-divider span {
  position: relative;
  background: var(--bg);
  padding: 0 14px;
  z-index: 1;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 32px;
}
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__links a { color: var(--text-dim); font-size: 0.9rem; font-weight: 600; }
.footer__links a:hover { color: var(--accent); }
.footer__disclaimer {
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--text-faint);
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-bottom: 20px;
}
.footer__copy { font-size: 0.78rem; color: var(--text-faint); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .header__actions .btn--primary { display: none; }

  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    gap: 16px;
  }

  .cards { grid-template-columns: 1fr; }
  .feedback { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .field-row { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 520px) {
  .header__inner { height: 64px; }
  .hero { padding: 64px 0 40px; }
  .section { padding: 64px 0; }
}
