@charset "utf-8";
/* ND CMS 샘플 사이트 — MAIN_CSS (기존 main.css 대체본). 가덕도 전용 스타일/이미지 참조 제거.
   공통 컨테이너 .minner / 섹션 제목 .h2-wrap·.h2-tit-con·.h2-tit / .btn-more 는 기존 클래스명을 유지한다. */

.nd-main { background: #fff; color: #0f172a; }
.nd-main p, .nd-main li { line-height: 1.7; }
.nd-main h2, .nd-main h3 { line-height: 1.3; }
.minner { max-width: 1280px; padding-right: 40px; padding-left: 40px; width: 100%; margin: 0 auto; }
.nd-br-m { display: none; }

/* 섹션 제목 */
.h2-wrap { margin-bottom: 48px; }
.h2-tit-con { margin-bottom: 12px; color: #0e7490; font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; display: inline-block; }
.h2-tit { font-size: 38px; font-weight: 800; letter-spacing: -.03em; color: #0f172a; line-height: 1.3; }
.nd-sec { padding: 110px 0; }
.nd-sec--soft { background: #f8fafc; border-top: 1px solid #eef2f7; border-bottom: 1px solid #eef2f7; }

/* ---------- HERO (1안: 어두운 네이비 + 사이트/콘솔 일러스트) ---------- */
.nd-hero { position: relative; overflow: hidden; color: #fff; background: #0b1b4d; padding: 168px 0 100px; isolation: isolate; }
.nd-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 70% at 88% 20%, rgba(34,211,238,.30), transparent 60%), radial-gradient(50% 60% at 4% 100%, rgba(99,102,241,.38), transparent 60%), linear-gradient(135deg, #0b1b4d 0%, #1e3a8a 62%, #1d4ed8 125%); }
.nd-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 88%); mask-image: linear-gradient(180deg, #000 0%, transparent 88%); }
.nd-hero__inner { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 56px; align-items: center; }
.nd-hero__badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22); color: #e0f2fe; font-size: 14px; font-weight: 600; margin-bottom: 26px; }
.nd-hero__dot { width: 8px; height: 8px; border-radius: 50%; background: #22d3ee; box-shadow: 0 0 0 4px rgba(34,211,238,.25); }
.nd-hero__title { font-size: 54px; font-weight: 800; letter-spacing: -.045em; line-height: 1.22; margin-bottom: 24px; word-break: keep-all; }
.nd-hero__title em { font-style: normal; background: linear-gradient(90deg, #93c5fd, #67e8f9); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #93c5fd; }
.nd-hero__lead { font-size: 19px; color: #cbd5e1; max-width: 560px; margin-bottom: 38px; word-break: keep-all; }
.nd-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.nd-hero__facts { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 52px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.18); list-style: none; }
.nd-hero__facts li { display: flex; flex-direction: column; gap: 2px; }
.nd-hero__facts strong { font-size: 18px; font-weight: 700; color: #fff; }
.nd-hero__facts span { font-size: 14px; color: #a5b4d4; }
.nd-hero__visual { min-width: 0; }
.nd-hero__svg { display: block; width: 100%; height: auto; max-width: 600px; margin: 0 0 0 auto; }

/* ---------- 핵심 기능 카드 6 ---------- */
.nd-fgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; }
.nd-fcard { position: relative; display: flex; flex-direction: column; height: 100%; padding: 32px 30px 28px; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; color: inherit; text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s; }
.nd-fcard:hover, .nd-fcard:focus-visible { transform: translateY(-4px); border-color: #93c5fd; box-shadow: 0 18px 36px -14px rgba(30,58,138,.22); }
.nd-fcard__ico { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 13px; margin-bottom: 22px; }
.nd-fcard__ico--0 { background: #eff6ff; color: #1e3a8a; }
.nd-fcard__ico--1 { background: #ecfeff; color: #0e7490; }
.nd-fcard h3 { font-size: 21px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 10px; color: #0f172a; }
.nd-fcard p { font-size: 16px; color: #475569; margin-bottom: 22px; word-break: keep-all; }
.nd-fcard__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: #1e3a8a; }
.nd-fcard__more::after { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .2s; }
.nd-fcard:hover .nd-fcard__more::after { transform: translateX(4px); }

/* ---------- 아키텍처 ---------- */
.nd-arch { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.nd-arch .h2-wrap { margin-bottom: 24px; }
.nd-arch__lead { font-size: 18px; color: #475569; margin-bottom: 26px; word-break: keep-all; }
.nd-checks { list-style: none; display: grid; gap: 10px; margin-bottom: 34px; }
.nd-checks li { position: relative; padding-left: 32px; font-size: 17px; font-weight: 600; color: #1e293b; }
.nd-checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: #06b6d4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.nd-stack { display: grid; gap: 12px; padding: 28px; border-radius: 20px; background: linear-gradient(160deg, #0b1b4d, #1e3a8a); box-shadow: 0 30px 50px -28px rgba(11,27,77,.55); }
.nd-stack__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 16px 18px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); }
.nd-stack__row b { flex: 0 0 100px; font-size: 15px; font-weight: 700; color: #67e8f9; }
.nd-stack__row span { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; font-size: 14px; font-weight: 500; line-height: 1.3; }
.nd-stack__row--2 { margin-left: 18px; }
.nd-stack__row--3 { margin-left: 36px; }
.nd-stack__row--4 { margin-left: 54px; background: rgba(6,182,212,.18); border-color: rgba(103,232,249,.4); }

/* ---------- 공지사항 ---------- */
.nd-notice { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 72px; align-items: start; }
.nd-notice .h2-wrap { margin-bottom: 16px; }
.nd-notice__head p { font-size: 16px; color: #64748b; margin-bottom: 28px; }
.btn-more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 1.5px solid #1e3a8a; border-radius: 10px; background: #fff; color: #1e3a8a; font-size: 15px; font-weight: 700; text-decoration: none; transition: background-color .2s, color .2s; }
.btn-more:hover, .btn-more:focus-visible { background: #1e3a8a; color: #fff; }
.btn-more span { text-indent: 0; }
.nd-news { list-style: none; border-top: 2px solid #1e3a8a; background: #fff; border-radius: 0 0 12px 12px; }
.nd-news li { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid #e2e8f0; }
.nd-news li a { flex: 1; min-width: 0; padding: 20px 8px 20px 20px; font-size: 18px; font-weight: 600; color: #1e293b; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .2s; }
.nd-news li a:hover, .nd-news li a:focus-visible { color: #1e3a8a; text-decoration: underline; text-underline-offset: 4px; }
.nd-news li span { flex-shrink: 0; padding-right: 20px; font-size: 15px; color: #64748b; font-variant-numeric: tabular-nums; }
.nd-news:empty::before { content: "등록된 공지사항이 없습니다."; display: block; padding: 40px 20px; text-align: center; color: #64748b; border-bottom: 1px solid #e2e8f0; }

/* ---------- 하단 CTA ---------- */
.nd-cta { position: relative; overflow: hidden; color: #fff; text-align: center; padding: 96px 0; background: radial-gradient(60% 120% at 80% 0%, rgba(34,211,238,.26), transparent 60%), linear-gradient(135deg, #0b1b4d, #1e3a8a 70%, #1d4ed8); }
.nd-cta h2 { font-size: 38px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 14px; word-break: keep-all; }
.nd-cta p { font-size: 18px; color: #cbd5e1; margin-bottom: 36px; }
.nd-cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- 반응형 ---------- */
@media screen and (max-width: 1200px) {
    .nd-hero__title { font-size: 46px; }
    .nd-hero__inner { gap: 36px; }
    .nd-arch { gap: 40px; }
    .nd-notice { grid-template-columns: 240px minmax(0, 1fr); gap: 40px; }
}
@media screen and (max-width: 1024px) {
    .h2-tit { font-size: 32px; }
    .nd-sec { padding: 80px 0; }
    .nd-hero { padding: 132px 0 80px; }
    .nd-hero__inner { grid-template-columns: 1fr; }
    .nd-hero__svg { margin: 0 auto; max-width: 520px; }
    .nd-fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nd-arch { grid-template-columns: 1fr; }
    .nd-notice { grid-template-columns: 1fr; gap: 28px; }
    .nd-notice .h2-wrap { margin-bottom: 8px; }
}
@media screen and (max-width: 720px) {
    .minner { padding: 0 20px; }
    .nd-br-pc { display: none; }
    .nd-br-m { display: inline; }
    .h2-wrap { margin-bottom: 28px; }
    .h2-tit { font-size: 26px; }
    .h2-tit-con { font-size: 13px; }
    .nd-sec { padding: 60px 0; }
    .nd-hero { padding: 104px 0 56px; }
    .nd-hero__badge { font-size: 12.5px; padding: 7px 12px; margin-bottom: 18px; }
    .nd-hero__title { font-size: 32px; margin-bottom: 16px; }
    .nd-hero__lead { font-size: 16px; margin-bottom: 26px; }
    .nd-hero__cta { flex-direction: column; }
    .nd-hero__cta .nd-btn { width: 100%; }
    .nd-hero__facts { margin-top: 30px; padding-top: 20px; gap: 14px 24px; }
    .nd-hero__facts strong { font-size: 16px; }
    .nd-hero__visual { margin-top: 12px; }
    .nd-fgrid { grid-template-columns: 1fr; gap: 14px; }
    .nd-fcard { padding: 24px 22px 22px; }
    .nd-fcard h3 { font-size: 19px; }
    .nd-arch__lead { font-size: 16px; }
    .nd-stack { padding: 16px; }
    .nd-stack__row { padding: 14px; }
    .nd-stack__row b { flex-basis: 100%; }
    .nd-stack__row--2, .nd-stack__row--3, .nd-stack__row--4 { margin-left: 0; }
    .nd-news li { flex-direction: column; align-items: flex-start; gap: 0; padding: 16px 4px; }
    .nd-news li a { padding: 0; font-size: 16px; width: 100%; }
    .nd-news li span { padding: 4px 0 0; font-size: 13px; }
    .nd-cta { padding: 64px 0; }
    .nd-cta h2 { font-size: 26px; }
    .nd-cta p { font-size: 15px; margin-bottom: 26px; }
    .nd-cta__btns { flex-direction: column; }
    .nd-cta__btns .nd-btn { width: 100%; }
}
