:root {
  --purple: #5634e8;
  --purple-2: #6f4dff;
  --purple-3: #efeaff;
  --ink: #111827;
  --text: #4b5563;
  --muted: #7b8494;
  --line: #e7e9f0;
  --bg: #ffffff;
  --soft: #f7f8fc;
  --card: #ffffff;
  --shadow: 0 24px 80px rgba(17, 24, 39, 0.09);
  --shadow-sm: 0 12px 36px rgba(17, 24, 39, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Segoe UI", sans-serif;
  word-break: keep-all;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.section-pad { padding: 108px 0; }
.section-pad-sm { padding: 84px 0; }
.mobile-only { display: none; }
.desktop-only { display: inline; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(231, 233, 240, 0.7);
}
.nav-wrap { height: 74px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; color: var(--purple); letter-spacing: -0.04em; font-size: 23px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 11px;
  display: grid; place-items: center;
  color: #fff; background: linear-gradient(135deg, var(--purple), var(--purple-2));
  font-weight: 1000; box-shadow: 0 10px 22px rgba(86,52,232,.28);
}
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 26px; color: #252b37; font-weight: 700; font-size: 15px; }
.site-nav a { transition: color .18s ease; }
.site-nav a:hover { color: var(--purple); }
.header-cta { padding: 12px 18px; border-radius: 999px; background: var(--purple); color: #fff; font-weight: 800; font-size: 14px; box-shadow: 0 12px 26px rgba(86,52,232,.25); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 0; background: #f3f4f8; border-radius: 12px; padding: 11px; }
.nav-toggle span { display: block; height: 2px; background: #252b37; border-radius: 999px; margin: 5px 0; }

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.82) 42%, rgba(255,255,255,.34) 100%),
    url("./assets/hero-dashboard.webp") center / cover no-repeat;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1fr; align-items: center; }
.hero-copy { max-width: 720px; }
.eyebrow { margin: 0 0 14px; color: var(--purple); font-weight: 900; letter-spacing: -0.02em; }
.hero h1 { margin: 0; font-size: clamp(36px, 5vw, 64px); line-height: 1.12; letter-spacing: -0.065em; }
.hero-desc { margin: 24px 0 0; max-width: 560px; color: var(--text); font-size: 20px; line-height: 1.75; letter-spacing: -0.025em; }
.hero-badges { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
.hero-badges span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: rgba(239, 234, 255, .86); color: #111827; font-size: 16px; font-weight: 900; letter-spacing: -0.04em; box-shadow: 0 10px 28px rgba(86,52,232,.08); }
.hero-badges span::before { content: "✓"; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--purple), #3517cf); font-size: 13px; font-weight: 1000; box-shadow: 0 6px 14px rgba(86,52,232,.24); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.hero-actions .btn-primary { min-width: 385px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 26px; border-radius: 16px; font-weight: 900; letter-spacing: -0.02em; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--purple), #4318d1); box-shadow: 0 18px 40px rgba(86,52,232,.28); }
.btn-ghost { color: #252b37; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.btn-white { color: var(--purple); background: #fff; box-shadow: 0 18px 48px rgba(0,0,0,.14); }
.microcopy { margin-top: 14px; color: #6b7280; font-size: 14px; }

.centered { text-align: center; }
h2 { margin: 0; font-size: clamp(30px, 4.2vw, 48px); line-height: 1.25; letter-spacing: -0.055em; }
.section-desc { margin: 18px auto 0; max-width: 760px; color: var(--text); font-size: 18px; line-height: 1.8; }
.problem { background: #fff; }
.steps-grid { margin-top: 58px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.step-card { position: relative; min-height: 184px; padding: 28px 16px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 12px 34px rgba(17,24,39,.05); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 18px; }
.step-card span { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--purple-3); color: var(--purple); font-weight: 900; }
.step-card strong { font-size: 18px; letter-spacing: -0.04em; }
.notice { margin-top: 28px; display: flex; align-items: center; justify-content: center; gap: 10px; color: #6b7280; }
.notice span { width: 22px; height: 22px; border-radius: 50%; background: #8d95a5; color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 13px; }

.compare-section, .features-section { background: linear-gradient(180deg, #fbfbfe 0%, #fff 100%); }
.image-shell { margin-top: 44px; padding: 10px; background: rgba(255,255,255,.76); border: 1px solid rgba(231, 233, 240, .9); border-radius: var(--radius-xl); box-shadow: var(--shadow); overflow: hidden; }
.image-shell img { width: 100%; border-radius: 24px; }
.story-image { margin-top: 36px; }
.feature-intro { text-align: center; }
.feature-accordion { margin-top: 54px; display: grid; gap: 16px; }
.mini-feature { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 10px 32px rgba(17,24,39,.05); transition: border-color .18s ease, box-shadow .18s ease; }
.mini-feature.active { border-color: rgba(86,52,232,.42); box-shadow: 0 22px 58px rgba(86,52,232,.13); }
.feature-trigger { appearance: none; width: 100%; cursor: pointer; color: inherit; font: inherit; text-align: left; display: flex; align-items: center; gap: 18px; padding: 24px; border: 0; background: transparent; }
.feature-trigger:hover { background: #fbf9ff; }
.feature-trigger span { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 15px; background: var(--purple-3); color: var(--purple); display: grid; place-items: center; font-weight: 1000; }
.feature-trigger h3 { margin: 0 0 8px; font-size: 22px; letter-spacing: -0.045em; }
.feature-trigger p { margin: 0; color: var(--text); line-height: 1.7; }
.feature-panel { max-height: 0; opacity: 0; overflow: hidden; padding: 0 34px; text-align: center; transition: max-height .35s ease, opacity .25s ease, padding-bottom .35s ease; }
.mini-feature.active .feature-panel { max-height: none; opacity: 1; padding-bottom: 34px; }
.feature-panel h3 { margin: 0 0 24px; font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.05em; }
.feature-video { border-radius: 28px; background: radial-gradient(circle at 50% 30%, rgba(111,77,255,.16), transparent 34%), linear-gradient(135deg, #f4f1ff 0%, #ffffff 48%, #eef2ff 100%); border: 1px solid rgba(86,52,232,.12); overflow: hidden; }
.feature-video video { display: block; width: 100%; height: auto; object-fit: contain; }
.feature-video strong { color: var(--purple); font-size: 20px; letter-spacing: -0.03em; }
.play-icon { width: 76px; height: 76px; border-radius: 50%; background: linear-gradient(135deg, var(--purple), var(--purple-2)); box-shadow: 0 20px 40px rgba(86,52,232,.24); position: relative; }
.play-icon::after { content: ""; position: absolute; left: 31px; top: 24px; border-left: 22px solid #fff; border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.feature-panel > p { max-width: 720px; margin: 24px auto 0; color: var(--text); font-size: 18px; line-height: 1.8; }

.benefits-section { background: #fff; }
.pill { display: inline-flex; align-items: center; justify-content: center; padding: 8px 14px; border: 1px solid rgba(86,52,232,.22); color: var(--purple); background: #fbf9ff; border-radius: 999px; font-size: 14px; font-weight: 900; margin-bottom: 16px; }
.benefits-grid { margin-top: 46px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.benefit-card { padding: 28px; min-height: 246px; border: 1px solid var(--line); background: #fff; border-radius: 24px; box-shadow: 0 16px 42px rgba(17,24,39,.06); }
.benefit-icon { width: 64px; height: 64px; border-radius: 22px; background: var(--purple-3); display: grid; place-items: center; font-size: 28px; margin-bottom: 22px; }
.benefit-card strong { display: block; font-size: 21px; line-height: 1.35; letter-spacing: -0.045em; }
.benefit-card p { color: var(--text); line-height: 1.7; margin: 14px 0 0; }

.faq-section { background: linear-gradient(180deg, #fff 0%, #f7f8ff 100%); }
.faq-grid { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 64px; align-items: start; }
.faq-title p:last-child { color: var(--text); line-height: 1.8; }
.faq-list { display: grid; gap: 14px; }
details { border: 1px solid var(--line); background: #fff; border-radius: 18px; padding: 22px 24px; box-shadow: 0 12px 30px rgba(17,24,39,.05); }
summary { cursor: pointer; font-weight: 900; font-size: 18px; letter-spacing: -0.03em; }
details p { margin: 14px 0 0; color: var(--text); line-height: 1.75; }

.cta-section { background: #fff; }
.cta-card { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 56px; border-radius: 32px; background: radial-gradient(circle at 82% 18%, rgba(255,255,255,.25), transparent 26%), linear-gradient(135deg, #5c35f2 0%, #3b12c7 100%); color: #fff; box-shadow: 0 28px 72px rgba(86,52,232,.28); }
.cta-card h2 { color: #fff; }
.cta-card p { color: rgba(255,255,255,.82); font-size: 17px; line-height: 1.7; }
.eyebrow.light { color: rgba(255,255,255,.8); }
.site-footer { padding: 34px 0; border-top: 1px solid var(--line); }
.footer-wrap { display: flex; justify-content: space-between; align-items: center; color: #6b7280; }
.footer-wrap .brand { font-size: 19px; }
.footer-wrap .brand-mark { width: 28px; height: 28px; border-radius: 9px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .18s; }

@media (max-width: 1180px) {
  .hero-copy { margin: 0 auto; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-badges, .hero-actions { justify-content: center; }
}

@media (max-width: 980px) {
  .container { width: min(100% - 32px, var(--container)); }
  .section-pad { padding: 80px 0; }
  .section-pad-sm { padding: 68px 0; }
  .nav-wrap { height: 66px; }
  .site-nav, .header-cta { display: none; }
  .nav-toggle { display: inline-block; margin-left: auto; }
  .site-header.nav-open .site-nav {
    display: grid;
    position: absolute;
    top: 66px;
    left: 16px;
    right: 16px;
    padding: 16px;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
  }
  .site-header.nav-open .site-nav a { padding: 14px 12px; border-radius: 12px; }
  .site-header.nav-open .site-nav a:hover { background: #f6f4ff; }

  .hero {
    min-height: calc(100svh - 66px);
    align-items: flex-start;
    padding-top: 56px;
    padding-bottom: 48px;
    background-position:
      center,
      center 59%;
    background-image:
      linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.94) 36%, rgba(255,255,255,0) 50%, rgba(255,255,255,0) 100%),
      url("./assets/hero-dashboard.webp");
    background-size:
      auto,
      min(118vw, 720px) auto;
  }
  .hero-grid { min-height: calc(100svh - 170px); text-align: center; }
  .hero-copy { display: flex; flex-direction: column; max-width: none; min-height: inherit; }
  .hero-desc { margin-left: auto; margin-right: auto; font-size: 18px; }
  .hero-badges { justify-content: center; width: min(100%, 720px); margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; width: min(100%, 720px); margin: auto auto 0; }
  .hero-actions .btn-primary { width: 100%; }

  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-video { min-height: 0; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 24px, var(--container)); }
  .brand { font-size: 20px; }
  .brand-mark { width: 31px; height: 31px; }
  .mobile-only { display: block; }
  .desktop-only { display: none; }
  .section-pad { padding: 64px 0; }
  .section-pad-sm { padding: 58px 0; }
  .hero {
    min-height: max(760px, calc(100svh - 66px));
    padding-top: 58px;
    padding-bottom: 42px;
    background-position:
      center,
      center 43%;
    background-size:
      auto,
      min(122vw, 560px) auto;
  }
  .hero-grid { min-height: 620px; }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: 34px; }
  .hero-desc, .section-desc { font-size: 16px; line-height: 1.72; }
  .hero-badges { width: calc(100% - 32px); justify-content: center; gap: 8px; margin: auto auto 0; transform: translateY(-28px); }
  .hero-badges span { flex: 1 1 0; justify-content: center; min-width: 0; padding: 8px 8px; font-size: 13px; white-space: nowrap; }
  .hero-badges span::before { width: 18px; height: 18px; font-size: 11px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; width: calc(100% - 32px); margin: 12px auto 0; transform: translateY(-28px); }
  .hero-actions .btn-primary { min-width: 0; }
  .btn { width: 100%; min-height: 54px; }
  h2 { font-size: 29px; line-height: 1.28; }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 34px; }
  .step-card { min-height: 132px; padding: 20px 12px; gap: 12px; }
  .step-card span { width: 44px; height: 44px; }
  .step-card strong { font-size: 16px; }
  .image-shell { margin-top: 28px; padding: 6px; border-radius: 22px; }
  .image-shell img { border-radius: 16px; }
  .feature-accordion { margin-top: 32px; gap: 14px; }
  .feature-trigger { padding: 20px; gap: 14px; }
  .feature-trigger h3 { font-size: 19px; }
  .feature-panel { padding: 0 18px; }
  .mini-feature.active .feature-panel { padding-bottom: 22px; }
  .feature-video { min-height: 0; border-radius: 20px; }
  .feature-video strong { font-size: 17px; }
  .feature-panel > p { font-size: 16px; line-height: 1.72; }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit-card { min-height: auto; padding: 24px; }
  .cta-card { padding: 32px 22px; flex-direction: column; align-items: stretch; text-align: center; }
  .footer-wrap { flex-direction: column; gap: 14px; text-align: center; }
}

.repeat-work-section {
  width: 100%;
  padding: 96px 20px;
  background: #ffffff;
  overflow: hidden;
}

.repeat-work-header {
  max-width: 920px;
  margin: 0 auto 48px;
  text-align: center;
}

.repeat-work-header .section-label {
  margin: 0 0 14px;
  color: #5b35f5;
  font-size: 15px;
  font-weight: 800;
}

.repeat-work-header h2 {
  margin: 0; font-size: clamp(30px, 4.2vw, 48px); line-height: 1.25; letter-spacing: -0.055em;
}

.repeat-work-header p {
  margin: 18px 0 0;
  color: #6b7280;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.7;
  font-weight: 500;
}

.workflow-loop {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 0 82px;
}

.workflow-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  position: relative;
  z-index: 2;
}

.workflow-card {
  min-height: 210px;
  padding: 36px 18px;
  border: 1px solid #e5e7eb;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  text-align: center;
}

.step-number {
  width: 78px;
  height: 78px;
  border-radius: 999px;
  background: #eee7ff;
  color: #4f35f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.workflow-card strong {
  color: #111827;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.loop-arrow {
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: 8px;
  height: 56px;
  border-bottom: 4px solid #6d4aff;
  border-left: 4px solid #6d4aff;
  border-right: 4px solid #6d4aff;
  border-radius: 0 0 40px 40px;
  z-index: 1;
}

.loop-arrow::before {
  content: "";
  position: absolute;
  left: -9px;
  top: -10px;
  width: 16px;
  height: 16px;
  border-top: 4px solid #6d4aff;
  border-left: 4px solid #6d4aff;
  transform: rotate(45deg);
  background: #ffffff;
}

.loop-arrow::after {
  display: none;
}

.loop-arrow span {
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  padding: 8px 20px;
  border-radius: 999px;
  background: #ffffff;
  color: #5b35f5;
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 10px 28px rgba(91, 53, 245, 0.14);
}

/* 태블릿 */
@media (max-width: 1024px) {
  .workflow-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .workflow-loop {
    padding-bottom: 0;
  }

  .loop-arrow {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 28px auto 0;
    width: calc(100% - 40px);
  }
}

/* 모바일 */
@media (max-width: 640px) {
  .repeat-work-section {
    padding: 44px 14px;
  }

  .repeat-work-header {
    margin-bottom: 22px;
    text-align: left;
  }

  .repeat-work-header .section-label {
    margin-bottom: 8px;
    font-size: 14px;
  }

  .repeat-work-header h2 {
    font-size: clamp(26px, 7vw, 32px);
    line-height: 1.22;
  }

  .repeat-work-header p {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.55;
  }

  .workflow-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .workflow-card {
    min-height: 108px;
    padding: 14px 10px;
    border-radius: 18px;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    text-align: center;
  }

  .step-number {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    font-size: 15px;
  }

  .workflow-card strong {
    font-size: 16px;
  }

  .loop-arrow {
    width: 100%;
    height: auto;
    margin-top: 12px;
    padding: 12px;
    border: 1px solid #d8ccff;
    border-radius: 18px;
    background: #f7f4ff;
  }

  .loop-arrow::before,
  .loop-arrow::after {
    display: none;
  }

  .loop-arrow span {
    position: static;
    display: block;
    transform: none;
    padding: 0;
    background: transparent;
    box-shadow: none;
    text-align: center;
    font-size: 14px;
  }

  .loop-arrow span::before {
    content: "↺ ";
  }
}