/* (주)SJ산업개발 인트로 — 카탈로그 색 체계(남보라·주황) + 시뮬레이터 디자인 가이드(07) */
:root {
  --navy: #1b1a55;
  --indigo: #2b2a86;
  --violet: #4b3a9e;
  --accent: #e8601c;
  --accent-strong: #c94d10;
  --bg: #ffffff;
  --bg-alt: #f4f5fa;
  --text: #1a1c24;
  --muted: #5d6275;
  --line: #dadde6;
  --me-bg: #fff8ea;
  --radius: 14px;
  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic',
    'Noto Sans KR', system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.25; margin: 0; letter-spacing: -0.01em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; }
.skip:focus { left: 8px; }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 700;
  border-radius: 999px; padding: 12px 22px; border: 2px solid var(--accent);
  transition: background 0.2s, transform 0.2s;
}
.btn:hover { background: var(--accent-strong); border-color: var(--accent-strong); transform: translateY(-1px); }
.btn-lg { font-size: 1.05rem; padding: 15px 28px; }
.btn-sm { padding: 7px 16px; font-size: 0.9rem; }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, 0.7); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

/* 상단 메뉴 */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(27, 26, 85, 0.92); color: #fff;
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.05rem; white-space: nowrap; }
.nav nav { display: flex; align-items: center; gap: 22px; font-size: 0.95rem; }
.nav nav a:not(.btn) { text-decoration: none; opacity: 0.85; }
.nav nav a:not(.btn):hover { opacity: 1; }
@media (max-width: 860px) { .nav nav a:not(.btn) { display: none; } }
@media (max-width: 400px) { .brand span { display: none; } }

/* 첫 화면 */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--navy); }
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(27, 26, 85, 0.96) 0%, rgba(43, 42, 134, 0.86) 42%, rgba(75, 58, 158, 0.35) 100%),
    url('assets/hero-breakwater.webp') center 60% / cover no-repeat;
}
.hero-in { position: relative; padding: 96px 16px 104px; }
@media (min-width: 768px) { .hero-in { padding: 140px 32px 150px; } }
.eyebrow { margin: 0 0 18px; font-size: 0.95rem; opacity: 0.9; letter-spacing: 0.02em; }
.hero h1 { font-size: clamp(2.6rem, 8vw, 5.2rem); font-weight: 900; }
.accent { color: var(--accent); }
.hero .sub { font-size: clamp(1.2rem, 3vw, 1.7rem); font-weight: 700; margin: 12px 0 18px; }
.acronym { margin: 0 0 36px; opacity: 0.88; font-size: 1rem; }
.acronym b { color: #ff8a4c; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.pc-note { margin: 16px 0 0; font-size: 0.88rem; opacity: 0.8; }

/* 공통 구역 */
.section { padding: 80px 0; }
@media (min-width: 768px) { .section { padding: 110px 0; } }
.section.alt { background: var(--bg-alt); }
.kicker { margin: 0 0 10px; color: var(--accent); font-weight: 800; letter-spacing: 0.12em; font-size: 0.85rem; }
.section h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); font-weight: 800; color: var(--navy); margin-bottom: 28px; }
.lead { font-size: 1.1rem; color: var(--muted); margin: 0 0 28px; }
.lead strong { color: var(--text); }
.note { color: var(--muted); font-size: 0.85rem; margin: 14px 0 0; }

/* 제품 소개 */
.about { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: 1.1fr 1fr; gap: 64px; } }
.about-fig { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 50px rgba(27, 26, 85, 0.25); }
.stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stats li { background: var(--bg-alt); border-radius: var(--radius); padding: 18px 12px; text-align: center; }
.stats b { display: block; font-size: clamp(1.5rem, 4vw, 2.1rem); color: var(--navy); font-weight: 900; line-height: 1.1; }
.stats small { font-size: 0.6em; margin-left: 2px; }
.stats span { color: var(--muted); font-size: 0.9rem; }

/* 특징 */
.features { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .features { grid-template-columns: repeat(4, 1fr); } }
.feat { background: #fff; border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--line); }
.feat img { width: 104px; height: 104px; border-radius: 50%; margin-bottom: 18px; box-shadow: 0 8px 22px rgba(27, 26, 85, 0.22); }
.feat h3 { font-size: 1.3rem; color: var(--navy); margin-bottom: 12px; }
.feat ul, .cmp ul { margin: 0; padding-left: 1.1em; }
.feat li { margin-bottom: 6px; color: var(--muted); font-size: 0.95rem; }
.feat li.hl { color: var(--accent-strong); font-weight: 600; }

/* 표 */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
table { border-collapse: collapse; width: 100%; }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
thead th { background: var(--indigo); color: #fff; font-weight: 700; white-space: nowrap; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { color: var(--navy); white-space: nowrap; }
.cmp { min-width: 720px; table-layout: fixed; }
.cmp th:first-child { width: 120px; }
.cmp thead th.me { background: var(--accent); }
.cmp td.me { background: var(--me-bg); color: var(--accent-strong); }
.cmp td.shape { background: #f0f9fe; }
.cmp td.shape.me { background: #fffdee; }
.cmp td.shape img { width: 150px; margin: 0 auto; }
.cmp li { margin-bottom: 4px; font-size: 0.95rem; }
.specs { min-width: 620px; font-variant-numeric: tabular-nums; }
.specs td, .specs th { text-align: right; }
.specs tbody th { text-align: center; }
.specs thead th:first-child { text-align: center; }
.specs tbody tr:nth-child(even) { background: #f8f9fc; }

/* 시뮬레이터 안내 */
.sim { background: linear-gradient(120deg, var(--navy), var(--violet)); color: #fff; }
.sim h2 { color: #fff; }
.sim .lead { color: rgba(255, 255, 255, 0.85); }
.steps { list-style: none; padding: 0; margin: 0 0 36px; display: grid; gap: 12px; counter-reset: s; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.steps li {
  counter-increment: s; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius); padding: 16px 14px;
}
.steps li::before { content: counter(s, decimal-leading-zero); display: block; color: #ff8a4c; font-weight: 900; font-size: 1.1rem; }
.steps b { display: block; }
.steps span { font-size: 0.85rem; opacity: 0.8; }

/* 회사 정보 */
.footer { background: #12113b; color: rgba(255, 255, 255, 0.86); padding: 56px 0 28px; }
.foot-in { display: grid; gap: 28px; }
@media (min-width: 860px) { .foot-in { grid-template-columns: 1fr 1.4fr; align-items: start; } }
.foot-brand { display: flex; gap: 14px; align-items: center; }
.foot-name { margin: 0; font-size: 1.3rem; font-weight: 800; color: #fff; }
.foot-tag { margin: 0; font-size: 0.9rem; opacity: 0.75; }
address { font-style: normal; display: grid; gap: 6px; font-size: 0.95rem; }
address p { margin: 0; display: flex; gap: 12px; }
address span { flex: 0 0 52px; color: rgba(255, 255, 255, 0.55); }
address a { text-decoration: none; }
address a:hover { text-decoration: underline; }
.copy { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.82rem; opacity: 0.6; }
