:root {
  --navy: #102a43;
  --navy-2: #183f62;
  --blue: #214c9a;
  --mint: #59c5c0;
  --mint-dark: #248f8d;
  --ink: #152333;
  --muted: #5c6c7d;
  --line: #dce5ec;
  --soft: #f4f8fa;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(16, 42, 67, 0.09);
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
}

.skip-link:focus { top: 16px; }

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(220, 229, 236, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  color: var(--blue);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.brand img { width: 34px; height: 34px; object-fit: contain; }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a {
  position: relative;
  color: #3d4e60;
  font-size: 0.95rem;
  font-weight: 650;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -9px;
  height: 2px;
  background: var(--mint-dark);
  transition: right 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { right: 0; }
.site-nav a[aria-current="page"] { color: var(--navy); }

.nav-cta {
  padding: 10px 17px !important;
  color: var(--white) !important;
  background: var(--navy);
  border-radius: 999px;
}
.nav-cta::after { display: none; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--navy);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 670px;
  display: grid;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(rgba(89,197,192,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(89,197,192,.08) 1px, transparent 1px),
    linear-gradient(132deg, #0b2238 0%, #123d5e 56%, #155f70 100%);
  background-size: 48px 48px, 48px 48px, auto;
}

.hero::before {
  content: "";
  position: absolute;
  width: 470px;
  height: 470px;
  right: -130px;
  top: -180px;
  border: 80px solid rgba(89, 197, 192, 0.12);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  gap: 72px;
  align-items: center;
  padding-block: 96px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(2.65rem, 6vw, 5.55rem);
  line-height: 1.06;
  letter-spacing: -0.055em;
}

.hero-copy {
  max-width: 610px;
  margin: 28px 0 36px;
  color: #dcebf0;
  font-size: 1.12rem;
}

.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 750;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #092337; background: var(--mint); }
.button-primary:hover { background: #74d5cf; }
.button-secondary { color: var(--white); border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.06); }
.button-secondary:hover { border-color: var(--white); background: rgba(255,255,255,.12); }
.button-dark { color: var(--white); background: var(--navy); }
.button-outline { color: var(--navy); border-color: var(--line); background: var(--white); }

.hero-panel {
  padding: 30px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 26px;
  background: rgba(255,255,255,.08);
  box-shadow: 0 28px 80px rgba(0,0,0,.18);
  backdrop-filter: blur(10px);
}

.hero-panel-head { display: flex; align-items: center; gap: 15px; margin-bottom: 24px; }
.hero-panel-head img { width: 58px; height: 58px; border-radius: 16px; background: #fff; padding: 9px; }
.hero-panel-head strong { display: block; font-size: 1.08rem; }
.hero-panel-head span { color: #c5dce5; font-size: .9rem; }

.workflow { display: grid; gap: 10px; }
.workflow-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  padding: 15px;
  border-radius: 13px;
  background: rgba(255,255,255,.075);
}
.workflow-num {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 10px;
  color: var(--navy);
  background: var(--mint);
  font-size: .8rem;
  font-weight: 900;
}
.workflow-item strong { display: block; font-size: .96rem; }
.workflow-item span { color: #c9dde6; font-size: .84rem; }

.section { padding: 100px 0; }
.section-soft { background: var(--soft); }
.section-dark { color: var(--white); background: var(--navy); }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 42px;
}
.section-head h2,
.page-hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.15;
  letter-spacing: -0.045em;
}
.section-dark .section-head h2 { color: var(--white); }
.section-head p { max-width: 560px; margin: 0; color: var(--muted); }
.section-dark .section-head p { color: #c8d6df; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.stat { padding: 36px; background: var(--white); }
.stat strong { display: block; color: var(--navy); font-size: 2.4rem; line-height: 1.1; }
.stat span { display: block; margin-top: 10px; color: var(--muted); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  min-height: 245px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.card:hover { transform: translateY(-4px); border-color: #b7d9dc; box-shadow: var(--shadow); }
.card-kicker { color: var(--mint-dark); font-size: .8rem; font-weight: 800; letter-spacing: .08em; }
.card h3 { margin: 18px 0 10px; color: var(--navy); font-size: 1.28rem; line-height: 1.3; }
.card p { margin: 0; color: var(--muted); }
.card-link { display: inline-block; margin-top: 24px; color: var(--blue); font-weight: 750; }

.split {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 72px;
  align-items: start;
}
.split-copy h2 { margin: 0 0 20px; color: var(--navy); font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.18; letter-spacing: -.04em; }
.split-copy p { color: var(--muted); }
.detail-list { margin: 0; border-top: 1px solid var(--line); }
.detail-row { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.detail-row dt { color: var(--muted); }
.detail-row dd { margin: 0; color: var(--navy); font-weight: 700; }

.page-hero {
  padding: 95px 0 72px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #effafb 0%, #f7fafc 55%, #eef2f7 100%);
}
.page-hero .eyebrow { color: var(--mint-dark); }
.page-hero p { max-width: 720px; margin: 22px 0 0; color: var(--muted); font-size: 1.08rem; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.filter-button {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--navy);
  background: var(--white);
  font-weight: 700;
}
.filter-button.active,
.filter-button:hover { color: var(--white); border-color: var(--navy); background: var(--navy); }

.search-box { position: relative; margin-bottom: 28px; }
.search-box input {
  width: 100%;
  min-height: 54px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: var(--white);
  outline: none;
}
.search-box input:focus { border-color: var(--mint-dark); box-shadow: 0 0 0 4px rgba(89,197,192,.14); }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-card {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--white);
}
.product-card[hidden] { display: none; }
.product-meta { color: var(--mint-dark); font-size: .78rem; font-weight: 800; letter-spacing: .06em; }
.product-card h3 { margin: 14px 0 8px; color: var(--navy); font-size: 1.17rem; line-height: 1.35; }
.product-card p { margin: 0 0 18px; color: var(--muted); font-size: .93rem; }
.product-spec { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); color: #415465; font-size: .86rem; }
.empty-state { display: none; padding: 34px; border: 1px dashed #b9c8d3; border-radius: 14px; text-align: center; color: var(--muted); }
.empty-state.show { display: block; }

.resource-list { display: grid; gap: 12px; }
.resource-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--white);
}
.resource-item[hidden] { display: none; }
.resource-type { color: var(--mint-dark); font-size: .78rem; font-weight: 850; letter-spacing: .08em; }
.resource-item h3 { margin: 3px 0 0; color: var(--navy); font-size: 1rem; }
.download-link { color: var(--blue); font-weight: 750; white-space: nowrap; }
.resource-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.resource-actions .download-link { padding: 8px 11px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); font-size: .86rem; }
.resource-actions .download-link:hover { border-color: var(--mint-dark); }
.resource-actions .download-bundle { color: var(--white); border-color: var(--navy); background: var(--navy); }

.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 64px; }
.contact-panel { padding: 34px; color: var(--white); border-radius: 22px; background: var(--navy); }
.contact-panel h2 { margin-top: 0; font-size: 2rem; line-height: 1.2; }
.contact-panel p { color: #cad8e0; }
.contact-link { display: block; margin-top: 22px; color: var(--mint); font-size: 1.08rem; font-weight: 800; }
.contact-note { margin-top: 36px !important; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); font-size: .9rem; }

.contact-form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { color: var(--navy); font-size: .92rem; font-weight: 750; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: var(--white);
  outline: none;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--mint-dark); box-shadow: 0 0 0 4px rgba(89,197,192,.14); }
.field textarea { min-height: 150px; resize: vertical; }
.form-note { margin: 0; color: var(--muted); font-size: .88rem; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.consent-row { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: .88rem; cursor: pointer; }
.consent-row input { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 3px; accent-color: var(--navy); }
.form-status { min-height: 25px; margin: -5px 0 0; color: var(--muted); font-size: .9rem; font-weight: 700; }
.form-status.success { color: #16725f; }
.form-status.error { color: #b42318; }
.contact-form button:disabled { cursor: wait; opacity: .65; transform: none; }

.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 42px; border-radius: 24px; color: var(--white); background: linear-gradient(120deg, var(--navy), #15596a); }
.cta-band h2 { margin: 0 0 8px; font-size: clamp(1.65rem, 3vw, 2.3rem); line-height: 1.2; }
.cta-band p { margin: 0; color: #c8dae2; }

.site-footer { padding: 58px 0 28px; color: #cbd7df; background: #091d30; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 50px; }
.footer-brand { color: var(--white); }
.footer-brand p { max-width: 360px; color: #9fb1bf; }
.footer-title { margin: 0 0 14px; color: var(--white); font-size: .92rem; }
.footer-list { display: grid; gap: 7px; color: #aebec9; font-size: .9rem; }
.footer-bottom { margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: #8296a5; font-size: .82rem; }

.fade-in { opacity: 0; transform: translateY(12px); transition: opacity 500ms ease, transform 500ms ease; }
.fade-in.visible { opacity: 1; transform: none; }

:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }

@media (max-width: 900px) {
  .menu-toggle { display: inline-grid; place-items: center; }
  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 70px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 10px; }
  .site-nav a::after { display: none; }
  .nav-cta { margin-top: 6px; text-align: center; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 42px; padding-block: 72px; }
  .hero { min-height: auto; }
  .card-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav-wrap { min-height: 68px; }
  .brand { font-size: .9rem; letter-spacing: .16em; }
  .brand img { width: 30px; height: 30px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); padding-block: 64px; }
  .hero h1 { font-size: clamp(2.45rem, 13vw, 4rem); }
  .hero-copy { font-size: 1rem; }
  .hero-panel { padding: 20px; }
  .section { padding: 72px 0; }
  .section-head { align-items: start; flex-direction: column; margin-bottom: 30px; }
  .stats, .card-grid, .product-grid { grid-template-columns: 1fr; }
  .stat { padding: 28px; }
  .detail-row { grid-template-columns: 1fr; gap: 4px; }
  .page-hero { padding: 70px 0 52px; }
  .resource-item { grid-template-columns: 1fr; gap: 12px; }
  .resource-actions { justify-content: flex-start; }
  .cta-band { align-items: flex-start; flex-direction: column; padding: 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-brand { grid-column: auto; }
  .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .fade-in { opacity: 1; transform: none; }
}
