:root {
  --ink: #111418;
  --muted: #626a73;
  --line: #dfe3e8;
  --surface: #f4f6f8;
  --blue: #2379d7;
  --green: #15965b;
  --coral: #ff6946;
  --violet: #7645e8;
  --white: #ffffff;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Noto Sans KR", system-ui, sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

button, a { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 66px;
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 0 max(22px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: rgba(17, 20, 24, .91);
  border-bottom: 1px solid rgba(255,255,255,.13);
  backdrop-filter: blur(12px);
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.brand-mark {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 6px;
  font-weight: 800;
}

nav { display: flex; gap: 28px; margin-left: auto; }
nav a { color: #d8dde3; font-size: 14px; font-weight: 600; }
nav a:hover { color: var(--white); }

.contact-button,
.primary-button,
.secondary-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.contact-button:hover, .primary-button:hover, .secondary-button:hover { transform: translateY(-2px); }
.contact-button { color: var(--white); background: var(--blue); }
.contact-button.compact { min-height: 38px; padding: 0 16px; font-size: 14px; }
.primary-button { color: var(--white); background: var(--blue); }
.secondary-button { color: var(--white); background: transparent; border-color: rgba(255,255,255,.6); }

.hero {
  position: relative;
  min-height: min(790px, 82svh);
  overflow: hidden;
  color: var(--white);
  background: #252a30;
}
.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(.92) contrast(1.02);
}
.hero-shade { position: absolute; inset: 0; background: rgba(8, 12, 17, .38); }
.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  padding-top: clamp(150px, 20vh, 205px);
}
.eyebrow { margin: 0 0 18px; color: #8bc4ff; font-size: 13px; font-weight: 800; letter-spacing: 0; }
.eyebrow.dark { color: var(--blue); }
.hero h1 { margin: 0; font-size: clamp(58px, 8vw, 104px); line-height: .96; letter-spacing: 0; }
.hero-lead { margin: 30px 0 0; font-size: clamp(20px, 2.2vw, 30px); line-height: 1.55; font-weight: 500; }
.hero-actions { display: flex; gap: 12px; margin-top: 36px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 40px; color: #d5dbe2; font-size: 14px; }
.hero-meta span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 9px; background: var(--green); border-radius: 50%; vertical-align: 2px; }

.quick-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}
.quick-strip div { padding: 26px 28px; border-right: 1px solid var(--line); }
.quick-strip div:last-child { border-right: 0; }
.quick-strip strong, .quick-strip span { display: block; }
.quick-strip strong { margin-bottom: 6px; font-size: 14px; color: var(--blue); }
.quick-strip span { font-size: 16px; font-weight: 700; }

.section { padding: 110px max(22px, calc((100vw - var(--max)) / 2)); }
.section-heading { max-width: 760px; margin-bottom: 46px; }
.section-heading h2, .cta-section h2 { margin: 0; font-size: clamp(32px, 4vw, 52px); line-height: 1.18; letter-spacing: 0; }
.section-heading > p:last-child { margin: 18px 0 0; color: var(--muted); font-size: 18px; line-height: 1.75; }

.product-switcher { display: inline-flex; gap: 4px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.product-switcher button { min-width: 138px; height: 42px; padding: 0 18px; color: var(--muted); background: transparent; border: 0; border-radius: 5px; font-weight: 700; }
.product-switcher button.active { color: var(--white); background: var(--ink); }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.product-grid[data-product-group="sales"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-grid.hidden { display: none; }
.product-card { min-height: 300px; padding: 34px; border: 1px solid var(--line); border-top: 5px solid var(--ink); border-radius: 8px; background: var(--white); }
.product-card.accent-coral { border-top-color: var(--coral); }
.product-card.accent-violet { border-top-color: var(--violet); }
.product-card.accent-blue { border-top-color: var(--blue); }
.product-card.accent-green { border-top-color: var(--green); }
.product-card h3 { margin: 8px 0 14px; font-size: 28px; }
.product-card > p:not(.product-code) { min-height: 56px; margin: 0; color: var(--muted); line-height: 1.75; }
.product-code { margin: 0; color: var(--muted); font-size: 12px; font-weight: 800; }
.product-card ul { margin: 24px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; }
.product-card li { margin-top: 8px; color: #353c44; font-size: 14px; }
.product-card li::before { content: "+"; margin-right: 8px; color: var(--blue); font-weight: 800; }

.workflow { color: var(--white); background: #171b20; }
.section-heading.light > p:last-child { color: #aeb6c0; }
.workflow-list { border-top: 1px solid #353b43; }
.workflow-item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid #353b43;
}
.workflow-item > div:nth-child(2),
.workflow-item.reverse > div:nth-child(2) { grid-column: 2; }
.workflow-item > img,
.workflow-item > .workflow-media,
.workflow-item > .workflow-media-natural {
  grid-column: 1 / -1;
  grid-row: 2;
}
.workflow-item.reverse > img { order: initial; grid-column: 1 / -1; grid-row: 2; }
.workflow-item.reverse .step-number { grid-column: 1; grid-row: 1; }
.step-number { color: #6f7883; font-size: 14px; font-weight: 800; align-self: start; }
.step-label { margin: 0 0 8px; font-size: 13px; font-weight: 800; }
.step-label.coral { color: #ff8d73; }
.step-label.blue { color: #78b9ff; }
.step-label.green { color: #67d9a4; }
.workflow-item h3 { margin: 0 0 16px; font-size: clamp(26px, 3vw, 38px); line-height: 1.35; }
.workflow-item p:last-child { margin: 0; color: #b6bec8; line-height: 1.75; }
.workflow-item > img,
.workflow-media,
.workflow-media-natural {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid #46505b;
  border-radius: 8px;
  background: #0f1419;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .24);
}
.workflow-item > img { object-fit: cover; object-position: center 27%; }
.workflow-media.crop-price img,
.workflow-media.crop-delete img {
  width: 150%;
  max-width: none;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center 27%;
  border: 0;
  border-radius: 0;
}

@media (min-width: 901px) {
  .workflow-item.workflow-focus { grid-template-columns: 68px minmax(0, 1fr); }
  .workflow-item.workflow-focus > div:nth-child(2) { grid-column: 2; }
  .workflow-item.workflow-focus img {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    object-position: center 33%;
  }
  .workflow-item.workflow-focus .workflow-media {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .workflow-item.workflow-focus .workflow-media img { object-position: center 27%; }
  .workflow-item.workflow-focus .workflow-media.crop-delete img { object-position: center 40%; }
}

.feature-band { background: var(--surface); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #cfd5dc; border-left: 1px solid #cfd5dc; }
.feature-grid article { min-height: 230px; padding: 28px; border-right: 1px solid #cfd5dc; border-bottom: 1px solid #cfd5dc; }
.feature-grid span { color: var(--blue); font-size: 12px; font-weight: 800; }
.feature-grid h3 { margin: 32px 0 12px; font-size: 21px; }
.feature-grid p { margin: 0; color: var(--muted); line-height: 1.7; }

.detail-showcase { background: var(--white); }
.detail-group { padding: 54px 0 64px; border-top: 1px solid var(--line); }
.detail-heading { display: grid; grid-template-columns: 58px minmax(0, 760px); gap: 22px; margin-bottom: 28px; }
.detail-number { margin: 4px 0 0; color: var(--blue); font-size: 13px; font-weight: 800; }
.detail-heading h3 { margin: 0 0 10px; font-size: clamp(25px, 3vw, 36px); line-height: 1.3; }
.detail-heading div > p { margin: 0; color: var(--muted); line-height: 1.75; }
.detail-grid { position: relative; display: block; width: 100%; margin: 0; }
.detail-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid #d7dde4;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(17, 20, 24, .09);
}
.detail-carousel figure { display: none; }
.detail-carousel figure.active { display: block; animation: carousel-fade .35s ease; }
.detail-grid figure > img,
.detail-image-crop,
.detail-image-natural,
.detail-image-stack {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #151b21;
  border-bottom: 1px solid #d7dde4;
}
.detail-grid figure > img { object-fit: cover; object-position: center 27%; }
.detail-image-crop { overflow: hidden; }
.detail-image-crop.crop-notice img {
  width: 150%;
  max-width: none;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center 27%;
}
.detail-image-crop.crop-partner-auto img { object-position: center 40%; }
.detail-image-natural {
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  padding: 6px;
  background: #f5f7f9;
}
.detail-grid .detail-image-natural img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}
.workflow-media-natural {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  padding: 6px;
  background: #f5f7f9;
}
.workflow-item .workflow-media-natural img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 3px;
}
.workflow-media-natural.delete-shot,
.detail-image-natural.delete-shot {
  aspect-ratio: 676 / 254;
  padding: 0;
  background: #151b21;
}
.workflow-item .workflow-media-natural.delete-shot img,
.detail-grid .detail-image-natural.delete-shot img {
  object-fit: cover;
  border-radius: 0;
}
.detail-image-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  overflow: hidden;
  padding: 10px;
}
.detail-grid .detail-image-stack img {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  border: 1px solid rgba(255, 255, 255, .14);
}
.detail-grid .detail-image-stack img + img { border-top: 1px solid rgba(255, 255, 255, .14); }
.detail-grid figcaption { min-height: 108px; padding: 19px 22px 20px; background: var(--white); }
.detail-grid strong, .detail-grid span { display: block; }
.detail-grid strong { font-size: 18px; }
.detail-grid span { margin-top: 7px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 54px; margin-top: 16px; }
.carousel-arrow { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--white); font-size: 27px; line-height: 1; cursor: pointer; }
.carousel-arrow:hover, .carousel-arrow:focus-visible { color: var(--white); background: var(--blue); border-color: var(--blue); outline: none; }
.carousel-dots { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 74px; }
.carousel-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #c8ced5; cursor: pointer; }
.carousel-dot.active { width: 24px; border-radius: 8px; background: var(--blue); }
@keyframes carousel-fade { from { opacity: .25; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

.cta-section {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  padding: 84px max(22px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: var(--blue);
}
.cta-section p:last-child { margin: 18px 0 0; color: #dbeeff; font-size: 17px; }
.cta-section .eyebrow { color: #dbeeff; }
.light-button { flex: 0 0 auto; color: var(--ink); background: var(--white); }

footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px 40px;
  align-items: center;
  padding: 44px max(22px, calc((100vw - var(--max)) / 2));
  color: #c5cbd2;
  background: #111418;
}
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--white); }
footer p { margin: 0; }
.kakao-link { color: #8bc4ff; font-weight: 700; }
.disclaimer { grid-column: 1 / -1; max-width: 840px; color: #747d87; font-size: 12px; line-height: 1.6; }

@media (max-width: 900px) {
  nav { display: none; }
  .topbar { gap: 16px; }
  .contact-button.compact { margin-left: auto; }
  .hero { min-height: 720px; }
  .hero > img { object-position: 62% center; }
  .hero-content { padding-top: 150px; }
  .quick-strip { grid-template-columns: repeat(2, 1fr); }
  .quick-strip div:nth-child(2) { border-right: 0; }
  .quick-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .product-grid, .product-grid[data-product-group="sales"] { grid-template-columns: 1fr; }
  .workflow-item, .workflow-item.reverse { grid-template-columns: 44px 1fr; gap: 22px 18px; }
  .workflow-item img, .workflow-item.reverse img { grid-column: 1 / -1; order: 3; }
  .workflow-item .workflow-media, .workflow-item.reverse .workflow-media { grid-column: 1 / -1; order: 3; }
  .workflow-item .workflow-media-natural, .workflow-item.reverse .workflow-media-natural { grid-column: 1 / -1; order: 3; }
  .workflow-item.reverse > div:nth-child(2) { grid-column: 2; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-grid figure > img { aspect-ratio: 16 / 9; object-position: center 27%; }
  .detail-image-crop, .detail-image-stack { aspect-ratio: 16 / 9; }
  .detail-image-natural { aspect-ratio: 16 / 9; }
  .detail-image-crop img { aspect-ratio: auto; }
}

@media (max-width: 560px) {
  .topbar { height: 60px; padding: 0 16px; }
  .brand { font-size: 18px; }
  .brand-mark { width: 28px; height: 28px; }
  .contact-button.compact { min-height: 34px; padding: 0 12px; }
  .hero { min-height: 680px; }
  .hero-content { width: calc(100% - 32px); padding-top: 132px; }
  .hero-lead br { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 290px; }
  .hero-meta { gap: 8px 16px; }
  .quick-strip { width: 100%; }
  .quick-strip div { padding: 20px 16px; }
  .quick-strip span { font-size: 14px; }
  .section { padding: 78px 16px; }
  .section-heading { margin-bottom: 34px; }
  .section-heading > p:last-child { font-size: 16px; }
  .product-switcher { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .product-switcher button { min-width: 0; padding: 0 10px; }
  .product-card { min-height: 0; padding: 26px 22px; }
  .product-card > p:not(.product-code) { min-height: 0; }
  .workflow-item, .workflow-item.reverse { grid-template-columns: 34px 1fr; padding: 38px 0; }
  .workflow-item img, .workflow-item.reverse img { aspect-ratio: 16 / 9; object-position: center 27%; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 190px; }
  .detail-group { padding: 42px 0 50px; }
  .detail-heading { grid-template-columns: 34px 1fr; gap: 12px; margin-bottom: 22px; }
  .detail-grid figcaption { min-height: 0; padding: 16px; }
  .cta-section { align-items: stretch; flex-direction: column; padding: 68px 16px; }
  .light-button { width: 100%; }
  footer { grid-template-columns: 1fr; padding: 36px 16px; }
  .disclaimer { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
