/* ============================================================
   [PRODUCT NAME] — 마케팅 자동화 랜딩 페이지 스타일
   브랜드: primary #175cff · teal #00b088 · Pretendard
   ============================================================ */

@font-face {
  font-family: "Pretendard Variable";
  src: url("/assets/fonts/PretendardVariable.woff2") format("woff2-variations");
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #175cff;
  --blue-strong: #124ad1;
  --teal: #00b088;
  --grad: linear-gradient(90deg, #175cff 0%, #00b088 100%);
  --grad-135: linear-gradient(135deg, #175cff 0%, #00b088 100%);

  --bg: #ffffff;
  --bg-alt: #f6f8fc;
  --ink: #101828;
  --muted: #475467;
  --muted-2: #667085;
  --border: #e4e7ec;
  --accent-blue: #eef4ff;
  --accent-green: #f2fbf8;

  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 18px 34px rgba(23, 92, 255, 0.11);
  --shadow-sm: 0 6px 20px rgba(16, 24, 40, 0.06);
  --container: 1120px;

  --font-sans: "Pretendard Variable", -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  word-break: keep-all;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.28; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

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

.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }

.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.01em;
  margin-bottom: 14px;
}

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(23, 92, 255, 0.28); }
.btn--primary:hover { background: var(--blue-strong); box-shadow: 0 10px 26px rgba(23, 92, 255, 0.34); }
.btn--ghost { background: #fff; color: var(--blue); border-color: #cdd9ff; }
.btn--ghost:hover { background: var(--accent-blue); }
.btn--on-grad { background: #fff; color: var(--blue); }
.btn--on-grad:hover { background: #f0f4ff; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--outline-light:hover { background: rgba(255,255,255,.14); }
.btn--lg { font-size: 17px; padding: 16px 30px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.nav.is-scrolled { border-color: var(--border); box-shadow: 0 1px 0 rgba(16,24,40,.04); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.brand__mark { width: 28px; height: 28px; border-radius: 8px; flex: 0 0 auto; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-size: 15px; font-weight: 600; color: var(--muted); transition: color .15s ease; }
.nav__links a:hover { color: var(--ink); }
/* nav__links 안의 CTA 버튼은 모바일 드롭다운 전용 — 데스크톱에선 오른쪽 nav__cta 버튼만 노출(중복 방지) */
.nav__links .btn { display: none; }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; margin: 5px 0; transition: transform .2s ease, opacity .2s ease; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 96px;
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(0,176,136,.10), transparent 45%),
    radial-gradient(110% 90% at 0% 0%, rgba(23,92,255,.09), transparent 42%);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero__kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-blue); color: var(--blue);
  font-size: 13.5px; font-weight: 700;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(32px, 5.2vw, 54px); font-weight: 850; letter-spacing: -0.035em; }
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { margin-top: 22px; font-size: 19px; color: var(--muted); max-width: 560px; }
.hero__actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__badges { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted-2); font-size: 14px; font-weight: 600; }
.hero__badges li { display: inline-flex; align-items: center; gap: 7px; }
.hero__badges svg { color: var(--teal); flex: 0 0 auto; }

/* Hero mockup (CSS-drawn app window) */
.mock {
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.mock__bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; background: #f5f7fb; border-bottom: 1px solid var(--border); }
.mock__dot { width: 11px; height: 11px; border-radius: 50%; background: #d3d8e0; }
.mock__dot:nth-child(1){ background:#ff6159; } .mock__dot:nth-child(2){ background:#ffbd2e; } .mock__dot:nth-child(3){ background:#28c840; }
.mock__title { margin-left: 10px; font-size: 12.5px; color: var(--muted-2); font-weight: 600; }
.mock__body { padding: 22px; }
.pipe { display: grid; gap: 12px; }
.pipe__step {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: #fff;
}
.pipe__step.is-live { border-color: rgba(23,92,255,.35); background: linear-gradient(90deg, rgba(23,92,255,.05), rgba(0,176,136,.05)); }
.pipe__ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; flex: 0 0 auto; background: var(--grad-135); }
.pipe__tx b { display: block; font-size: 14.5px; font-weight: 700; }
.pipe__tx span { font-size: 12.5px; color: var(--muted-2); }
.pipe__arrow { text-align: center; color: #cbd3e1; font-size: 13px; line-height: 0; }
.pipe__channels { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.chip { font-size: 12px; font-weight: 700; padding: 6px 11px; border-radius: 999px; background: var(--accent-blue); color: var(--blue); }
.chip--green { background: var(--accent-green); color: #067a5e; }

/* ---------- Problem ---------- */
.problem__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pain {
  display: flex; gap: 16px;
  padding: 26px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.pain__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: 0 0 auto; background: #fff1f0; color: #e5484d; }
.pain h3 { font-size: 18px; }
.pain p { margin-top: 6px; color: var(--muted); font-size: 15.5px; }
.pain__time { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; color: #e5484d; background: #fff1f0; padding: 4px 10px; border-radius: 999px; }

.solve {
  margin-top: 30px;
  display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center;
  padding: 30px 32px; border-radius: var(--radius);
  background: var(--grad-135); color: #fff;
  box-shadow: 0 20px 44px rgba(23,92,255,.28);
}
.solve__badge { font-size: 13px; font-weight: 800; letter-spacing: .02em; background: rgba(255,255,255,.18); padding: 8px 14px; border-radius: 999px; white-space: nowrap; }
.solve h3 { font-size: clamp(20px, 2.6vw, 26px); font-weight: 800; }
.solve p { margin-top: 8px; color: rgba(255,255,255,.92); font-size: 16px; }
.solve strong { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }

/* ---------- Features ---------- */
.features__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.feature {
  padding: 30px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature__ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: var(--grad-135); margin-bottom: 18px; }
.feature h3 { font-size: 19px; }
.feature p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.feature__tag { display: inline-block; margin-top: 14px; font-size: 12.5px; font-weight: 700; color: var(--teal); background: var(--accent-green); padding: 5px 11px; border-radius: 999px; }

/* ---------- Cases / Social proof ---------- */
.industries { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.industry {
  text-align: center; padding: 32px 24px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.industry:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.industry__ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin: 0 auto 16px; color: var(--blue); background: var(--accent-blue); }
.industry h3 { font-size: 18px; }
.industry p { margin-top: 8px; color: var(--muted); font-size: 14.5px; }

.proof {
  margin-top: 30px;
  display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center;
  padding: 36px 40px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow);
}
.proof__stat { text-align: center; padding-right: 36px; border-right: 1px solid var(--border); }
.proof__num { font-size: 66px; font-weight: 850; letter-spacing: -0.04em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.proof__num span { font-size: 34px; }
.proof__label { margin-top: 12px; font-size: 14.5px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.proof__body h3 { font-size: clamp(20px, 2.6vw, 25px); }
.proof__body p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.proof__tags { margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.step {
  position: relative; padding: 28px 24px;
  border-radius: var(--radius); background: #fff; border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.step__num {
  width: 44px; height: 44px; border-radius: 13px;
  display: grid; place-items: center; font-weight: 800; font-size: 18px;
  color: #fff; background: var(--blue); margin-bottom: 16px;
}
.step h3 { font-size: 17px; }
.step p { margin-top: 8px; color: var(--muted); font-size: 14.5px; }
.steps__note {
  margin-top: 26px; text-align: center; color: var(--muted);
  font-size: 15px; display: flex; align-items: center; justify-content: center; gap: 9px;
}
.steps__note svg { color: var(--teal); flex: 0 0 auto; }

/* ---------- Pricing ---------- */
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  display: flex; flex-direction: column;
  padding: 32px 28px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.plan--featured { border: 2px solid var(--blue); box-shadow: var(--shadow); position: relative; }
.plan__flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff; font-size: 12.5px; font-weight: 800; padding: 6px 16px; border-radius: 999px; white-space: nowrap; }
.plan__name { font-size: 18px; font-weight: 800; }
.plan__vol { margin-top: 6px; color: var(--muted-2); font-size: 14.5px; }
.plan__price { margin-top: 20px; font-size: 30px; font-weight: 850; letter-spacing: -0.03em; }
.plan__price span { font-size: 15px; font-weight: 600; color: var(--muted-2); }
.plan__price small { display: block; font-size: 14px; font-weight: 600; color: var(--muted-2); margin-top: 4px; }
.plan__list { margin: 22px 0; display: grid; gap: 11px; }
.plan__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--muted); }
.plan__list svg { color: var(--teal); flex: 0 0 auto; margin-top: 3px; }
.plan .btn { margin-top: auto; width: 100%; }
.pricing__note {
  margin-top: 26px; text-align: center; color: var(--muted-2); font-size: 14px; line-height: 1.7;
}
.pricing__llm {
  max-width: 760px; margin: 26px auto 0; text-align: center;
  background: var(--accent-green); color: #067a5e; border: 1px solid #c5eede;
  border-radius: var(--radius-sm); padding: 16px 22px; font-size: 15px; font-weight: 600;
}
.pricing__llm strong { color: #045c46; }

/* ---------- CTA band ---------- */
.cta {
  background: var(--grad-135); color: #fff; text-align: center;
  padding: 84px 0;
}
.cta h2 { font-size: clamp(28px, 4.4vw, 42px); font-weight: 850; }
.cta p { margin: 18px auto 0; max-width: 620px; font-size: 18px; color: rgba(255,255,255,.94); }
.cta__actions { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: #0d1424; color: #aeb6c6; padding: 56px 0 40px; font-size: 14.5px; }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer .brand { color: #fff; }
.footer__desc { margin-top: 14px; max-width: 340px; color: #8b95a8; }
.footer__cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer__col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #6b7688; font-weight: 700; margin-bottom: 14px; }
.footer__col a { display: block; color: #aeb6c6; margin-bottom: 9px; transition: color .15s ease; }
.footer__col a:hover { color: #fff; }
.footer__bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid #1e2637; color: #6b7688; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .section { padding: 72px 0; }
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__visual { order: -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: block; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 14px 24px 20px;
  }
  .nav.is-open .nav__links a { width: 100%; padding: 10px 0; font-size: 16px; }
  .nav.is-open .nav__links .btn { display: inline-flex; width: 100%; margin-top: 8px; color: #fff; font-size: 16px; }
  .problem__grid { grid-template-columns: 1fr; }
  .solve { grid-template-columns: 1fr; text-align: center; }
  .solve__badge { justify-self: center; }
  .proof { grid-template-columns: 1fr; text-align: center; padding: 30px 24px; }
  .proof__stat { padding: 0 0 22px; border-right: none; border-bottom: 1px solid var(--border); }
  .proof__tags { justify-content: center; }
  .pricing__grid { grid-template-columns: 1fr; }
  .plan--featured { order: -1; }
}
@media (max-width: 480px) {
  .section { padding: 56px 0; }
  .steps { grid-template-columns: 1fr; }
  .hero__actions .btn, .cta__actions .btn { width: 100%; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
