@import url('fonts.css');

:root {
  --navy: #0b1f3a;
  --navy-2: #14315a;
  --accent: #1f7ae0;
  --accent-2: #19b6a8;
  --ink: #1b2430;
  --muted: #5d6b7c;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --radius: 14px;
  --max: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans KR', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  word-break: keep-all;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 22px; color: var(--navy); }
.logo img { height: 44px; width: auto; }
.nav { display: flex; gap: 32px; }
.nav a { font-weight: 500; color: var(--muted); transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--accent); }
.menu-btn { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--navy); }

/* hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #1a4f8a 100%);
  color: #fff; padding: 120px 0 110px; position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; right: -120px; top: -120px; width: 480px; height: 480px;
  border-radius: 50%; background: radial-gradient(circle, rgba(25,182,168,.35), transparent 70%);
}
.hero .eyebrow { color: var(--accent-2); font-weight: 700; letter-spacing: .08em; margin-bottom: 16px; }
.hero h1 { font-size: 48px; line-height: 1.3; font-weight: 900; margin-bottom: 24px; }
.hero p { font-size: 18px; color: #c9d6e8; max-width: 640px; margin-bottom: 40px; }
.btn {
  display: inline-block; padding: 14px 30px; border-radius: 999px; font-weight: 700;
  background: var(--accent); color: #fff; transition: transform .2s, background .2s;
}
.btn:hover { background: #1866bf; transform: translateY(-2px); }
.btn.ghost { background: transparent; border: 1px solid rgba(255,255,255,.5); margin-left: 10px; }
.btn.ghost:hover { background: rgba(255,255,255,.1); }

.page-hero { background: var(--navy); color: #fff; padding: 80px 0 64px; }
.page-hero h1 { font-size: 38px; font-weight: 900; }
.page-hero p { color: #c9d6e8; margin-top: 10px; }

/* sections */
section { padding: 96px 0; }
section.soft { background: var(--bg-soft); }
.sec-title { text-align: center; margin-bottom: 56px; }
.sec-title .eyebrow { color: var(--accent); font-weight: 700; letter-spacing: .08em; font-size: 14px; }
.sec-title h2 { font-size: 34px; font-weight: 900; margin-top: 8px; color: var(--navy); }
.sec-title p { color: var(--muted); margin-top: 12px; }

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

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 12px 32px rgba(11,31,58,.08); transform: translateY(-4px); }
.card .tag { display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent); background: #e8f1fc; padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.card h3 { font-size: 20px; color: var(--navy); margin-bottom: 10px; }
.card p, .card li { color: var(--muted); font-size: 15px; }
.card ul { list-style: none; }
.card li::before { content: '· '; color: var(--accent); font-weight: 700; }
.card .num { font-size: 40px; font-weight: 900; color: var(--accent-2); line-height: 1; margin-bottom: 12px; }

.quote {
  text-align: center; font-size: 26px; font-weight: 700; color: var(--navy); line-height: 1.6;
}
.quote em { font-style: normal; color: var(--accent); }

/* flow */
.flow { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.flow .step { background: var(--navy); color: #fff; padding: 18px 34px; border-radius: 999px; font-weight: 900; font-size: 20px; }
.flow .step.accent { background: var(--accent); }
.flow .arrow { color: var(--muted); font-size: 24px; }

/* timeline */
.timeline { position: relative; max-width: 860px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 130px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.tl-item { display: grid; grid-template-columns: 130px 1fr; gap: 32px; padding: 18px 0; position: relative; }
.tl-item::before { content: ''; position: absolute; left: 124px; top: 28px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--accent); }
.tl-year { font-weight: 900; color: var(--navy); font-size: 18px; padding-top: 2px; }
.tl-body h4 { font-size: 17px; color: var(--ink); }
.tl-body span { font-size: 14px; color: var(--muted); }

/* roadmap */
.roadmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.road { border-top: 4px solid var(--accent); background: #fff; border-radius: 0 0 var(--radius) var(--radius); padding: 24px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.road:nth-child(2) { border-top-color: var(--accent-2); }
.road:nth-child(3) { border-top-color: #7a5af8; }
.road:nth-child(4) { border-top-color: var(--navy); }
.road h4 { color: var(--navy); font-size: 18px; margin-bottom: 4px; }
.road .period { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.road li { list-style: none; font-size: 14px; color: var(--muted); padding: 4px 0; border-bottom: 1px dashed var(--line); }

/* platform module */
.module { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: center; padding: 48px 0; border-bottom: 1px solid var(--line); }
.module:last-child { border-bottom: 0; }
.module .badge { font-size: 13px; font-weight: 700; color: var(--accent-2); letter-spacing: .08em; }
.module h3 { font-size: 30px; font-weight: 900; color: var(--navy); margin: 6px 0 10px; }
.module .lead { font-size: 18px; color: var(--ink); font-weight: 500; }
.module ol { padding-left: 20px; color: var(--muted); }
.module ol li { padding: 4px 0; }
.module .visual {
  background: linear-gradient(135deg, #e8f1fc, #e6f7f5); border-radius: var(--radius);
  min-height: 220px; display: flex; align-items: center; justify-content: center;
  font-size: 44px; font-weight: 900; color: var(--navy-2);
}

.card .card-img { width: 100%; height: 160px; object-fit: contain; margin-bottom: 18px; background: linear-gradient(135deg, #e8f1fc, #e6f7f5); border-radius: 10px; padding: 12px; }
.module .visual img { max-height: 260px; width: auto; object-fit: contain; padding: 16px; }

/* cta */
.cta { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; text-align: center; padding: 80px 0; }
.cta h2 { font-size: 30px; font-weight: 900; margin-bottom: 12px; }
.cta p { margin-bottom: 28px; opacity: .92; }
.cta .btn { background: #fff; color: var(--navy); }

/* contact */
.contact-box { max-width: 720px; margin: 0 auto; }
.contact-row { display: grid; grid-template-columns: 140px 1fr; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-row dt { font-weight: 700; color: var(--navy); }
.contact-row dd { color: var(--ink); }
.contact-row dd a { color: var(--accent); }

/* footer */
.footer { background: #08172b; color: #8a9bb3; padding: 48px 0; font-size: 14px; }
.footer .container { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer strong { color: #fff; font-size: 18px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.on { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .grid-3, .grid-4, .roadmap { grid-template-columns: repeat(2, 1fr); }
  .module { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 680px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 16px 20px; border-top: 1px solid var(--line); }
  .menu-btn { display: block; }
  .hero { padding: 80px 0; }
  .hero h1 { font-size: 32px; }
  .btn.ghost { margin: 10px 0 0; }
  section { padding: 64px 0; }
  .sec-title h2 { font-size: 26px; }
  .quote { font-size: 20px; }
  .grid-2, .grid-3, .grid-4, .roadmap { grid-template-columns: 1fr; }
  .timeline::before { left: 8px; }
  .tl-item { grid-template-columns: 1fr; gap: 4px; padding-left: 32px; }
  .tl-item::before { left: 2px; }
  .contact-row { grid-template-columns: 1fr; gap: 4px; }
}

/* 지도 보기 */
.map-link { display: inline-block; margin-left: 8px; padding: 1px 10px; border: 1px solid var(--accent); border-radius: 999px; font-size: 13px; color: var(--accent) !important; }
.map-link:hover { background: var(--accent); color: #fff !important; }
