:root{
  --bg: #f9fafb;
  --card: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --accent: #2563eb;
  --shadow: 0 10px 30px rgba(0,0,0,0.06);
  --radius: 18px;
  --max: 1120px;
  --pad: 24px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
           "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", Arial;
}

*{ box-sizing: border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: var(--font);
  color: var(--text);
  background: linear-gradient(180deg, #f9fafb 0%, #f1f5f9 100%);
  overflow-x:hidden;
}

a{ color: inherit; text-decoration: none; }
button, input, textarea{ font-family: inherit; }

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

/* Nav */
.nav{
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height: 72px;
}

.brand{
  display:flex;
  gap:10px;
  align-items:center;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 18px;
}

.brand-badge{
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
}

/* Buttons */
.cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  border: 0;
  cursor:pointer;
  box-shadow: 0 6px 20px rgba(37,99,235,0.25);
  transition: transform 120ms ease, filter 120ms ease;
}
.cta:hover{ transform: translateY(-1px); filter: brightness(1.05); }

.ghost{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 14px;
  background: #f1f5f9;
  color: #111827;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid var(--line);
  cursor:pointer;
  transition: transform 120ms ease, background 120ms ease;
}
.ghost:hover{ transform: translateY(-1px); background: #e5e7eb; }

/* Hero */
.hero{ padding: 96px 0 64px; }

.kicker{
  display:inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  font-weight: 700;
  font-size: 13px;
}

.h1{
  margin: 18px 0 14px;
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.lead{
  margin: 0 0 28px;
  max-width: 820px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}

.hero-actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items:center;
}

/* Cards */
.card{
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.card-inner{ padding: 22px 22px; }

.section{ padding: 72px 0; }

.section-title{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.section-title h2{
  margin:0;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.section-title p{
  margin:0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 560px;
}

/* Process */
.process{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 18px;
}

.step{
  display:flex;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.step:first-child{ border-top: 0; padding-top: 6px; }

.badge{
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 800;
  font-size: 13px;
  color: #ffffff;
  background: var(--accent);
}

.step h3{
  margin: 0 0 6px;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.step p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Marquee */
.marquee-wrap{
  overflow:hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #ffffff;
}

.marquee{
  display:flex;
  gap: 16px;
  padding: 20px 0;
  animation: scroll 22s linear infinite;
}

.logo{
  flex: 0 0 auto;
  width: 160px;
  height: 80px;
  border-radius: 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: #f9fafb;
  border: 1px solid var(--line);
  overflow: hidden;
}

.logo img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  filter: saturate(0);
  opacity: 0.9;
}

/* Forms */
.form{
  margin-top: 18px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field{ display:flex; flex-direction: column; gap: 8px; }

.field label{
  font-size: 14px;
  color: #111827;
  font-weight: 700;
}

.input, .textarea{
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: #111827;
  outline: none;
  transition: border 140ms ease;
}

.input:focus, .textarea:focus{
  border-color: var(--accent);
}

.textarea{
  min-height: 140px;
  resize: vertical;
}

.full{ grid-column: 1 / -1; }

.toast{
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  font-size: 13px;
  line-height: 1.55;
}

/* Modal */
.modal{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}
.modal.is-open{ display: flex; }
.modal-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,0.35);
  backdrop-filter: blur(6px);
}
.modal-panel{
  position: relative;
  width: min(520px, calc(100% - 48px));
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 30px 90px rgba(0,0,0,0.18);
  padding: 20px;
}
.modal-head{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.modal-badge{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: var(--accent);
}
.modal-panel h3{
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.modal-body{
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.modal-actions{
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/* Footer */
.footer{
  padding: 48px 0 56px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@keyframes scroll{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(-50%); }
}

@media (max-width: 900px){
  .process{ grid-template-columns: 1fr; }
  .form{ grid-template-columns: 1fr; }
}
