:root {
  --brand: #4b3fa0;
  --brand-600: #3f3590;
  --brand-700: #342b78;
  --ink: #16161d;
  --body: #41414c;
  --muted: #8a8a98;
  --line: #e8e8ef;
  --bg: #ffffff;
  --bg-soft: #f6f5fb;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(75, 63, 160, 0.08);
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { color: var(--ink); line-height: 1.25; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-title { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -0.02em; }
.center { text-align: center; }
.eyebrow { color: var(--brand); font-weight: 700; font-size: 14px; letter-spacing: 0.02em; margin-bottom: 12px; }
.eyebrow.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 24px; border-radius: 999px;
  font-weight: 700; font-size: 16px; cursor: pointer; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(75,63,160,.25); }
.btn-primary:hover { background: var(--brand-600); }
.btn-ghost { background: #fff; color: var(--brand); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), #6f63d6);
  color: #fff; display: grid; place-items: center; font-weight: 900;
}
.brand-name { color: var(--ink); letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-weight: 600; font-size: 15px; color: var(--body); }
.nav-links a:hover { color: var(--brand); }
.nav .btn-primary { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); display: block; border-radius: 2px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 92px 0 80px; background: var(--bg-soft); }
.hero-inner { position: relative; z-index: 1; text-align: center; max-width: 820px; margin: 0 auto; }
.hero h1 { font-size: clamp(34px, 5.2vw, 60px); font-weight: 900; letter-spacing: -0.03em; }
.hero .lead { margin: 22px auto 0; font-size: clamp(16px, 1.9vw, 19px); color: var(--body); max-width: 680px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.hero-badges { list-style: none; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; padding: 0; margin: 28px 0 0; }
.hero-badges li { font-size: 13px; font-weight: 600; color: var(--brand-700); background: #fff; border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; }
.hero-glow {
  position: absolute; inset: -30% 0 auto 0; height: 600px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(111,99,214,.18), transparent 70%);
}

/* Grid */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Problem */
.problem { background: #fff; }
.pain { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.pain h3 { font-size: 18px; margin-bottom: 8px; }
.pain p { font-size: 15px; color: var(--body); }

/* Features */
.features { margin-top: 40px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(75,63,160,.12); }
.card-ico { font-size: 30px; margin-bottom: 14px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--body); }
.card.highlight { border-color: var(--brand); background: linear-gradient(180deg, #fbfaff, #fff); }

/* Why */
.why { background: var(--bg-soft); }
.why-grid { margin-top: 40px; }
.why-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.why-item h3 { font-size: 19px; margin-bottom: 10px; color: var(--brand-700); }
.why-item p { font-size: 15px; }

/* Industries */
.industries { background: #fff; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; padding: 0; margin: 36px 0 0; }
.chips li { font-weight: 600; font-size: 16px; color: var(--brand-700); background: var(--bg-soft); border: 1px solid var(--line); padding: 12px 22px; border-radius: 999px; }

/* Steps */
.steps { background: var(--bg-soft); }
.step-list { list-style: none; padding: 0; margin: 40px 0 0; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.step-no { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 14px; }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14px; }

/* Contact */
.contact { background: linear-gradient(160deg, var(--brand-700), var(--brand)); color: #fff; }
.contact .section-title, .contact h2 { color: #fff; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-copy h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; margin-bottom: 14px; }
.contact-copy p { color: rgba(255,255,255,.85); }
.contact-list { list-style: none; padding: 0; margin: 22px 0 0; }
.contact-list a { color: #fff; font-weight: 700; text-decoration: underline; }
.contact-form { background: #fff; border-radius: 20px; padding: 28px; box-shadow: 0 20px 50px rgba(0,0,0,.2); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.optional { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px;
  font-size: 15px; font-family: inherit; color: var(--ink); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(75,63,160,.15); }
.field textarea { resize: vertical; }
.consent { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--body); margin: 4px 0 18px; }
.consent input { margin-top: 3px; }
.form-note { font-size: 14px; margin-top: 12px; min-height: 20px; }
.form-note.ok { color: #2e9e6b; }
.form-note.err { color: #d64545; }

/* Footer */
.site-footer { background: #14131c; color: #c9c9d6; padding: 48px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.footer-brand .brand-name { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-tagline { width: 100%; color: var(--muted); font-size: 14px; margin-top: 6px; }
.footer-meta { text-align: right; font-size: 14px; }
.footer-meta a { color: #fff; text-decoration: underline; }
.footer-meta .muted { color: var(--muted); margin-top: 4px; }

/* Responsive */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .nav-links, .nav .btn-primary { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .site-header.open .nav-links {
    display: flex; position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 16px;
  }
  .site-header.open .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-meta { text-align: left; }
}
