/* ============================================================
   WindArk — Single Page Landing
   Theme: Brushed-silver / Light gunmetal with metallic borders
   ============================================================ */

:root {
  --bg-page:           #b8bec6;
  --bg-section:        #c8ced6;
  --bg-section-alt:    #b0b6be;
  --bg-card:           #dde1e7;
  --bg-card-elevated:  #e8ebef;
  --bg-nav:            rgba(225, 229, 234, 0.72);
  --bg-nav-scrolled:   rgba(225, 229, 234, 0.92);
  --bg-footer:         #2a2f37;

  --text-heading:      #0d1014;
  --text-body:         #1f242b;
  --text-muted:        #4f5862;
  --text-on-dark:      #d6dbe2;

  --line-soft:         rgba(0, 0, 0, 0.10);
  --line-strong:       rgba(0, 0, 0, 0.18);

  --metallic-bevel: linear-gradient(135deg,
      #ffffff 0%,
      #c4ccd5 22%,
      #6e7681 50%,
      #c4ccd5 78%,
      #ffffff 100%);

  --metallic-bevel-soft: linear-gradient(135deg,
      rgba(255,255,255,0.95) 0%,
      rgba(190,198,207,0.85) 30%,
      rgba(110,118,129,0.85) 50%,
      rgba(190,198,207,0.85) 70%,
      rgba(255,255,255,0.95) 100%);

  --metallic-dark: linear-gradient(180deg, #4a525d 0%, #2a2f37 100%);
  --metallic-silver: linear-gradient(180deg, #f0f3f7 0%, #b5bcc6 60%, #6e7681 100%);
}

/* --------- Reset & Base --------- */
:root {
  --font-stack: "Pretendard Variable", "Pretendard",
                -apple-system, BlinkMacSystemFont,
                "Apple SD Gothic Neo", "Noto Sans KR",
                "Malgun Gothic", "맑은 고딕",
                "Segoe UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text-body);
  background:
    /* subtle brushed horizontal noise */
    repeating-linear-gradient(90deg,
      rgba(255,255,255,0.025) 0,
      rgba(255,255,255,0.025) 1px,
      transparent 1px,
      transparent 3px),
    linear-gradient(180deg, #c5ccd5 0%, #b3bac2 40%, #c1c8d0 100%);
  background-attachment: fixed;
  font-family: var(--font-stack);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.005em;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
/* Inherit comfortable stack everywhere */
button, input, select, textarea, h1, h2, h3, h4, h5 { font-family: inherit; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4, h5 {
  margin: 0;
  color: var(--text-heading);
  font-weight: 600;        /* was 700 - lighter, softer */
  letter-spacing: -0.012em;
  line-height: 1.35;
}
p { margin: 0; }

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

.hl {
  background: linear-gradient(180deg, #2a2f37 0%, #4a525d 50%, #6e7681 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #2a2f37;
}

.badge {
  display: inline-block;
  font-size: 0.7em;
  padding: 3px 9px;
  margin-left: 6px;
  border-radius: 999px;
  color: #f0f3f7;
  background: var(--metallic-dark);
  border: 1px solid rgba(0,0,0,0.15);
  letter-spacing: 0.04em;
  vertical-align: middle;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}

/* ====================================================
   Metallic border helper (background-clip trick)
   ==================================================== */
.metallic-border {
  border: 1px solid transparent;
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

/* --------- TOP NAV --------- */
.topnav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  background: var(--bg-nav);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid transparent;
  background-image: linear-gradient(var(--bg-nav), var(--bg-nav)), var(--metallic-bevel);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  transition: background-color 0.25s ease;
}
.topnav.scrolled {
  background-image: linear-gradient(var(--bg-nav-scrolled), var(--bg-nav-scrolled)), var(--metallic-bevel);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-heading);
}
.brand-logo {
  height: 36px; width: auto; display: block;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.18));
}
.brand-fallback { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--metallic-bevel);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.5),
    inset 0 -2px 4px rgba(0,0,0,0.25),
    0 2px 6px rgba(0,0,0,0.18);
}
.brand-text { font-family: "Segoe UI", "Pretendard", sans-serif; letter-spacing: -0.01em; }
.brand-text em {
  font-style: normal;
  background: var(--metallic-dark);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-links {
  display: flex; gap: 26px;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.nav-links a {
  position: relative;
  padding: 6px 2px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-heading); }
.nav-links a.active { color: var(--text-heading); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--metallic-bevel);
}

/* --------- HERO --------- */
.hero {
  position: relative;
  padding: 110px 0 70px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, #d6dce3 0%, #b8bec6 45%, #a5acb4 100%);
}
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  background-image:
    /* metallic streak highlight */
    linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.18) 50%, transparent 60%),
    /* faint grid */
    linear-gradient(rgba(0,0,0,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.05) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 35%, #000 35%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 35%, #000 35%, transparent 78%);
}
.hero-inner { position: relative; z-index: 1; text-align: center; }
.hero-logo {
  display: block;
  max-width: 540px;
  width: 80%;
  height: auto;
  margin: 0 auto 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  background:
    linear-gradient(#cfd5dc, #cfd5dc) padding-box,
    var(--metallic-bevel) border-box;
  filter: drop-shadow(0 14px 36px rgba(0,0,0,0.25));
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 6px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
    var(--metallic-bevel-soft) border-box;
}
.hero-title {
  font-size: clamp(1.3rem, 3.0vw, 2.3rem);    /* 70% of previous */
  line-height: 1.32;
  margin: 22px 0 8px;
  font-weight: 600;
  letter-spacing: -0.018em;
}
.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-size: clamp(0.95rem, 2.15vw, 1.65rem); /* ~50% of original */
  font-weight: 500;
  color: var(--text-heading);
  margin: 0 0 14px;
  letter-spacing: -0.005em;
  line-height: 1.4;
}
.hero-tagline-icon {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
  color: #006b6a;
  filter: drop-shadow(0 1px 2px rgba(0,107,106,0.25));
}
.hero-sub {
  color: var(--text-body);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 760px;
  margin: 0 auto;
}
.hero-cta {
  display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  margin-top: 36px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.15s, filter 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.btn-primary {
  color: #f0f3f7;
  background: var(--metallic-dark) padding-box,
              var(--metallic-bevel) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.20),
    inset 0 -2px 4px rgba(0,0,0,0.25),
    0 6px 18px rgba(0,0,0,0.25);
}
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.1); }
.btn-ghost {
  color: var(--text-heading);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0.25)) padding-box,
    var(--metallic-bevel-soft) border-box;
}
.btn-ghost:hover { filter: brightness(1.05); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }

.hero-chips {
  margin-top: 56px;
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
}
.hero-chips li {
  font-size: 0.82rem;
  color: var(--text-body);
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.2)) padding-box,
    var(--metallic-bevel-soft) border-box;
  letter-spacing: 0.01em;
}

/* --------- SECTIONS --------- */
.section {
  position: relative;
  padding: 64px 0;
}
.section-alt {
  background:
    repeating-linear-gradient(90deg,
      rgba(255,255,255,0.02) 0,
      rgba(255,255,255,0.02) 1px,
      transparent 1px,
      transparent 3px),
    linear-gradient(180deg, #b0b6be 0%, #bdc3cb 50%, #b0b6be 100%);
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  background-clip: padding-box, padding-box;
  position: relative;
}
.section-alt::before,
.section-alt::after {
  content: "";
  position: absolute; left: 0; right: 0; height: 1px;
  background: var(--metallic-bevel);
  opacity: 0.7;
}
.section-alt::before { top: 0; }
.section-alt::after { bottom: 0; }

.section-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.65rem, 2.7vw, 2.25rem);
  line-height: 1.3;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

/* --------- WHY (3-card grid) --------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.card {
  padding: 30px 26px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, var(--bg-card-elevated) 0%, var(--bg-card) 100%) padding-box,
    var(--metallic-bevel) border-box;
  transition: transform 0.2s, box-shadow 0.25s;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    0 2px 6px rgba(0,0,0,0.06);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    0 14px 30px rgba(0,0,0,0.14);
}
.card-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: #f0f3f7;
  background: var(--metallic-dark);
  border: 1px solid transparent;
  background-clip: padding-box;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 -2px 4px rgba(0,0,0,0.35);
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--text-heading); }
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* --------- FEATURE ROWS --------- */
.feature-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 30px;
  padding: 38px 36px;
  border-radius: 12px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, var(--bg-card-elevated), var(--bg-card)) padding-box,
    var(--metallic-bevel) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    0 3px 8px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s, transform 0.15s;
}
.feature-row::before {
  content: "";
  position: absolute; top: 0; bottom: 0; left: 0; width: 4px;
  background: var(--metallic-silver);
}
.feature-row.reverse::before {
  left: auto; right: 0;
}
.feature-row:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    0 10px 24px rgba(0,0,0,0.12);
}
.feature-num {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(180deg, #4a525d 0%, #2a2f37 60%, #1a1d23 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.04em;
  font-family: "Segoe UI", "Pretendard", sans-serif;
  text-shadow: 0 1px 0 rgba(255,255,255,0.5);
}
.feature-body h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
  color: var(--text-heading);
}
.feature-body ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  color: var(--text-body);
  line-height: 1.7;
}
.feature-body ul li::before {
  content: "";
  position: absolute; left: 0; top: 12px;
  width: 12px; height: 1px;
  background: linear-gradient(90deg, #4a525d, transparent);
}

/* --------- WORKFLOW --------- */
.workflow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  counter-reset: wf;
}
@media (max-width: 880px) {
  .workflow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .workflow { grid-template-columns: 1fr; }
}
.workflow li {
  padding: 26px 22px;
  border-radius: 10px;
  position: relative;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, var(--bg-card-elevated), var(--bg-card)) padding-box,
    var(--metallic-bevel) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    0 2px 6px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.workflow li:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    0 10px 22px rgba(0,0,0,0.12);
}
.step {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  padding: 3px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  margin-bottom: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.2)) padding-box,
    var(--metallic-bevel-soft) border-box;
}
.workflow h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--text-heading);
}
.workflow p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.65; }

/* --------- ENV GRID --------- */
.env-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.env-card {
  padding: 26px 24px;
  border-radius: 10px;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, var(--bg-card-elevated), var(--bg-card)) padding-box,
    var(--metallic-bevel) border-box;
  transition: transform 0.2s, box-shadow 0.25s;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    0 2px 6px rgba(0,0,0,0.06);
}
.env-card:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    0 14px 30px rgba(0,0,0,0.14);
}
.env-card h4 {
  font-size: 1.05rem;
  color: var(--text-heading);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid;
  border-image: var(--metallic-bevel) 1;
}
.env-card li {
  color: var(--text-body);
  font-size: 0.92rem;
  padding: 4px 0;
  position: relative;
  padding-left: 14px;
}
.env-card li::before {
  content: "·";
  position: absolute; left: 2px; top: 1px;
  color: #4a525d;
  font-weight: 700;
}

/* --------- PATENT NOTICE --------- */
.patent-notice {
  text-align: center;
  padding: 22px 16px;
  background: linear-gradient(180deg, #c8ced5 0%, #b8bec6 100%);
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  border-image: var(--metallic-bevel) 1;
}
.patent-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.4) 100%);
  border: 1px solid rgba(13,16,20,0.18);
  color: var(--text-heading);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    0 1px 3px rgba(0,0,0,0.08);
}
.patent-badge svg {
  width: 18px;
  height: 18px;
  color: #006b6a;
}
.patent-badge em {
  font-style: normal;
  font-weight: 600;
}
.patent-badge .patent-dots {
  color: #4a525d;
  letter-spacing: 0.15em;
  font-weight: 700;
}

/* --------- CONTACT --------- */
.section-contact {
  background:
    radial-gradient(ellipse 60% 50% at 50% 100%, #d6dce3 0%, #b8bec6 70%);
  padding: 64px 0 54px;
  text-align: center;
  border-top: 1px solid transparent;
  border-image: var(--metallic-bevel) 1;
}
.contact-inner .section-title { margin-bottom: 16px; }
.contact-lead { color: var(--text-muted); margin-bottom: 38px; }
.contact-grid {
  display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center;
}
.contact-item {
  display: flex; flex-direction: column;
  padding: 18px 28px;
  border-radius: 10px;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, var(--bg-card-elevated), var(--bg-card)) padding-box,
    var(--metallic-bevel) border-box;
  min-width: 200px;
  text-align: left;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    0 3px 8px rgba(0,0,0,0.08);
  transition: transform 0.15s, box-shadow 0.2s;
}
.contact-item:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    0 10px 22px rgba(0,0,0,0.14);
}
.contact-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.contact-value { color: var(--text-heading); font-size: 1.05rem; font-weight: 600; }
.contact-cta .contact-value { color: #006b6a; }

/* --------- INQUIRY MODAL --------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 23, 28, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 24px 28px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, #d2d6dd 0%, #c0c6cd 100%) padding-box,
    var(--metallic-bevel) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    0 20px 60px rgba(0,0,0,0.45);
  text-align: left;
  animation: modalIn 0.18s ease-out;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.97) translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.4);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  padding: 0;
}
.modal-close:hover { background: rgba(255, 255, 255, 0.75); }

/* --------- INQUIRY FORM (inside modal) --------- */
.inquiry-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.inquiry-sub {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 14px;
}
.inquiry-form { display: flex; flex-direction: column; gap: 10px; }
.inquiry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 640px) {
  .inquiry-grid { grid-template-columns: 1fr; }
}
.inquiry-field { display: flex; flex-direction: column; gap: 4px; }
.inquiry-field-full { width: 100%; }
.inquiry-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-heading);
  letter-spacing: -0.005em;
}
.inquiry-label em {
  font-style: normal;
  color: #c0392b;
  margin-left: 2px;
}
.inquiry-field input,
.inquiry-field textarea {
  width: 100%;
  padding: 7px 11px;
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--text-heading);
  border: 1px solid transparent;
  border-radius: 6px;
  background:
    linear-gradient(rgba(255,255,255,0.55), rgba(255,255,255,0.55)) padding-box,
    var(--metallic-bevel-soft) border-box;
  transition: box-shadow 0.15s;
  resize: vertical;
}
.inquiry-field input::placeholder,
.inquiry-field textarea::placeholder { color: rgba(31, 36, 43, 0.42); }
.inquiry-field input:focus,
.inquiry-field textarea:focus {
  outline: none;
  background:
    linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.85)) padding-box,
    linear-gradient(135deg, #006b6a, #c4ccd5, #006b6a) border-box;
  box-shadow: 0 0 0 2px rgba(0,107,106,0.20);
}
.inquiry-checks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px 14px;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(255,255,255,0.4), rgba(255,255,255,0.4)) padding-box,
    var(--metallic-bevel-soft) border-box;
  margin: 0;
}
.inquiry-checks legend {
  padding: 0 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-heading);
}
.inquiry-check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.88rem;
  color: var(--text-body);
  cursor: pointer;
  user-select: none;
}
.inquiry-check input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: #006b6a;
  cursor: pointer;
  margin: 0;
  flex-shrink: 0;
}
.inquiry-check span { line-height: 1.35; }
.inquiry-check:hover span { color: #006b6a; }
@media (max-width: 640px) {
  .inquiry-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.inquiry-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.inquiry-actions .btn { padding: 9px 18px; font-size: 0.9rem; }
.inquiry-note {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(0,0,0,0.15);
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --------- FOOTER --------- */
.footer {
  background: var(--bg-footer);
  border-top: 1px solid transparent;
  border-image: var(--metallic-bevel) 1;
  padding: 36px 0;
  color: var(--text-on-dark);
  font-size: 0.86rem;
}
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; justify-content: space-between;
}
.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: #ecf0f4; font-size: 1.05rem; }
.footer-logo-link {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  border-radius: 8px;
  transition: opacity 0.2s, transform 0.2s;
}
.footer-logo-link:hover { opacity: 0.85; transform: translateY(-1px); }
.footer-logo-link:focus-visible { outline: 2px solid #69a297; outline-offset: 3px; }
.footer-logo {
  height: 40px; width: auto; display: block;
  border-radius: 6px;
  border: 1px solid transparent;
  background:
    linear-gradient(#cfd5dc, #cfd5dc) padding-box,
    var(--metallic-bevel) border-box;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.45));
}
.footer-info p { margin: 3px 0; color: #b5bdc7; }
.footer-info a { color: #d6dbe2; text-decoration: underline; text-underline-offset: 2px; }
.footer-info .copy { margin-top: 10px; color: #8b95a1; }
.footer-info .visit-line {
  margin-top: 6px;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: #7c8693;
}
.footer-info #visit-count {
  color: #d6dbe2;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* --------- BUTTON SVG ICON (inline) --------- */
.btn-ico {
  width: 18px; height: 18px;
  margin-right: 8px;
  vertical-align: -3px;
  flex-shrink: 0;
}
.btn { gap: 0; }

/* --------- SECTION LEAD (paragraph under title) --------- */
.section-lead {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 760px;
  margin: -32px 0 36px;
}

/* --------- ROADMAP --------- */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.roadmap-card {
  position: relative;
  padding: 26px 24px 22px;
  border-radius: 10px;
  border: 1px dashed transparent;
  background:
    linear-gradient(180deg, var(--bg-card-elevated), var(--bg-card)) padding-box,
    var(--metallic-bevel) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    0 2px 6px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.25s;
}
.roadmap-card::before {
  /* dashed inner outline to communicate "coming soon" */
  content: "";
  position: absolute; inset: 6px;
  border: 1px dashed rgba(74, 82, 93, 0.35);
  border-radius: 8px;
  pointer-events: none;
}
.roadmap-card:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    0 12px 26px rgba(0,0,0,0.12);
}
.roadmap-tag {
  position: absolute;
  top: 14px; right: 16px;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  color: #f0f3f7;
  background: var(--metallic-dark);
  border: 1px solid rgba(0,0,0,0.15);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
  z-index: 1;
}
.roadmap-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  color: #f0f3f7;
  background: var(--metallic-dark);
  border: 1px solid transparent;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 -2px 4px rgba(0,0,0,0.35);
  position: relative; z-index: 1;
}
.roadmap-icon svg { width: 22px; height: 22px; }
.roadmap-card h3 {
  font-size: 1.1rem;
  color: var(--text-heading);
  margin-bottom: 8px;
  position: relative; z-index: 1;
  padding-right: 46px; /* keep title clear of the "예정" tag */
}
.roadmap-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  position: relative; z-index: 1;
}

/* --------- KISA SECTION --------- */
.kisa-card {
  position: relative;
  padding: 30px 32px;
  border-radius: 12px;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, #cdd2d8 0%, #bdc3ca 100%) padding-box,
    var(--metallic-bevel) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    0 4px 14px rgba(0,0,0,0.10);
}
.kisa-head {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid;
  border-image: var(--metallic-bevel-soft) 1;
}
/* KISA section title with inline shield icon */
.kisa-title {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  flex-wrap: wrap;
}
.kisa-title > span { display: inline-block; }
.kisa-title-icon {
  width: 0.95em;
  height: 0.95em;
  flex-shrink: 0;
  color: var(--text-heading);
  vertical-align: -0.08em;
}
.kisa-free-badge {
  display: inline-block;
  font-size: 0.5em;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.35em 0.85em;
  border-radius: 999px;
  margin-left: 0.2em;
  color: #fff;
  background: linear-gradient(135deg, #006b6a 0%, #004f4e 100%);
  border: 1px solid rgba(0,107,106,0.6);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 2px 6px rgba(0,107,106,0.25);
  vertical-align: 0.5em;
}
.kisa-titleblock { flex: 1 1 280px; min-width: 240px; }
.kisa-titleblock h3 {
  font-size: 1.4rem;
  color: var(--text-heading);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.kisa-sub {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}
.kisa-download {
  flex-shrink: 0;
  white-space: nowrap;
}
.kisa-download-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.kisa-download-count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.kisa-download-count-icon {
  color: #006b6a;
  font-weight: 700;
}
.kisa-download-count #download-count {
  color: var(--text-heading);
  font-variant-numeric: tabular-nums;
}
.kisa-body {
  display: block;
}
/* 굴림체 — 사용자 요청: KISA 실행 안내 본문 전체를 굴림 폰트로 */
.kisa-gulim {
  font-family: "굴림체", GulimChe, "굴림", Gulim, monospace;
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--text-body);
}
.kisa-gulim code {
  font-family: inherit;
  background: rgba(0,0,0,0.06);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 0.95em;
  color: var(--text-heading);
}
.kisa-steps {
  list-style: decimal;
  padding-left: 24px;
  margin: 0 0 16px;
}
.kisa-steps li { margin-bottom: 6px; }
.kisa-line {
  margin: 6px 0;
  padding: 4px 0;
}
.kisa-highlight {
  font-weight: 700;
  color: var(--text-heading);
  padding: 10px 14px;
  border-left: 4px solid #006b6a;
  background: rgba(0, 107, 106, 0.07);
  margin: 12px 0;
  border-radius: 0 6px 6px 0;
}
.kisa-mail {
  font-weight: 700;
  color: #006b6a;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.kisa-mail:hover { color: #004f4e; }
.kisa-privacy {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(0,0,0,0.15);
  font-size: 0.9rem;
  color: var(--text-muted);
}
.kisa-block h4 {
  font-size: 1.02rem;
  color: var(--text-heading);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.kisa-block ul,
.kisa-block ol {
  color: var(--text-body);
  font-size: 0.92rem;
  line-height: 1.7;
  padding-left: 18px;
}
.kisa-block ul { list-style: disc; }
.kisa-block ol { list-style: decimal; }
.kisa-block li { margin-bottom: 4px; }
.kisa-block code {
  background: rgba(0,0,0,0.06);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 0.86em;
  font-family: Consolas, "Courier New", monospace;
  color: #1c2127;
}
/* 굴림체 — 사용자 요청: 명령 한 줄을 굴림 폰트로 강조 */
.kisa-block code.cmd-gulim,
code.cmd-gulim {
  display: inline-block;
  margin: 6px 0;
  padding: 6px 12px;
  font-family: "굴림체", GulimChe, "굴림", Gulim, monospace;
  font-size: 0.98em;
  background: #14171c;
  color: #d6dbe2;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  word-break: break-all;
  letter-spacing: 0;
}
.kisa-reply {
  grid-column: 1 / -1;
  margin-top: 6px;
  padding: 20px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.18)) padding-box,
    var(--metallic-bevel) border-box;
}
.kisa-reply-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 6px 0;
}
.kisa-reply-label {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  min-width: 86px;
  flex-shrink: 0;
}
.kisa-reply-value {
  color: var(--text-heading);
  font-size: 1rem;
  font-weight: 600;
  word-break: break-all;
}
.kisa-reply-value code {
  background: rgba(0,0,0,0.06);
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 0.92em;
  font-weight: 500;
}
a.kisa-reply-value { text-decoration: underline; text-underline-offset: 3px; }
a.kisa-reply-value:hover { color: #1a1d23; }
.kisa-note {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(0,0,0,0.12);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 880px) {
  .kisa-card { padding: 24px 22px; }
  .kisa-head { gap: 12px; }
  .kisa-download { width: 100%; justify-content: center; }
  .kisa-body { grid-template-columns: 1fr; }
}

/* --------- TO TOP --------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid transparent;
  background: var(--metallic-dark) padding-box,
              var(--metallic-bevel) border-box;
  color: #ecf0f4;
  font-size: 1.2rem;
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.15s;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.2),
    0 6px 20px rgba(0,0,0,0.3);
}
.to-top.visible { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-2px); filter: brightness(1.15); }

/* --------- REVEAL ON SCROLL --------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* --------- RESPONSIVE --------- */
@media (max-width: 880px) {
  .nav-links { display: none; }
  .hero { padding: 90px 0 56px; }
  .section { padding: 48px 0; }
  .feature-row { grid-template-columns: 1fr; padding: 28px 24px; gap: 12px; }
  .feature-num { font-size: 2.4rem; }
  .footer-inner { flex-direction: column; }
}
@media (max-width: 520px) {
  .hero-title { line-height: 1.25; }
  .hero-logo { width: 92%; }
  .brand-logo { height: 30px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .contact-grid { flex-direction: column; align-items: stretch; }
  .contact-item { min-width: 0; }
}

/* --------- Print --------- */
@media print {
  .topnav, .to-top { display: none; }
  body { background: #fff; color: #000; }
  .hero, .section, .section-alt, .section-contact, .footer { background: #fff; color: #000; }
}
