@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap');

/* ══ CSS 변수 ══ */
:root {
  --primary:    #355895;
  --primary-dk: #27406e;
  --primary-bg: #dce6f5;
  --surface:    #ffffff;
  --bg:         #f0f4fb;
  --border:     #c4d2e8;
  --text:       #1a2640;
  --sub:        #4a5e80;
  --hint:       #7a92b8;
  --dark:       #27406e;
  --darkest:    #1e3356;
  --shadow-1:   0 1px 2px rgba(30,51,86,.18), 0 1px 3px rgba(30,51,86,.10);
  --shadow-2:   0 1px 3px rgba(30,51,86,.18), 0 4px 8px rgba(30,51,86,.12);
  --r:          8px;
}

/* ══ 리셋 & 기본 ══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: 'Noto Sans KR', system-ui, sans-serif; font-size: 15px; color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a     { text-decoration: none; color: inherit; }
img   { max-width: 100%; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ══ GOV TOPBAR ══ */
.gov-bar { background: var(--darkest); color: #fff; font-size: 12px; padding: 6px 0; text-align: center; letter-spacing: .3px; }
.gov-bar a { color: rgba(255,255,255,.8); }

/* ══ NAV ══ */
.nav         { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-1); }
.nav-inner   { display: flex; align-items: center; height: 60px; gap: 32px; }
.nav-logo    { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; color: var(--primary); }
.nav-logo-icon { width: 34px; height: 34px; background: var(--primary); border-radius: 7px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 17px; font-weight: 800; }
.nav-links   { display: flex; gap: 4px; flex: 1; }
.nav-links a { padding: 6px 14px; border-radius: 4px; font-size: 13px; font-weight: 500; color: var(--sub); transition: background .15s, color .15s; }
.nav-links a:hover { background: var(--primary-bg); color: var(--primary); }
.nav-cta     { display: flex; gap: 8px; }

/* ══ 버튼 ══ */
.btn           { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; border-radius: 4px; font-size: 13px; font-weight: 600; font-family: inherit; cursor: pointer; border: none; transition: box-shadow .15s, background .15s; }
.btn-green     { background: #1B6B3A !important; color: #fff !important; }
.btn-green:hover { background: #145530 !important; box-shadow: var(--shadow-1); }
.btn-contained { background: var(--primary); color: #fff; }
.btn-contained:hover { background: var(--primary-dk); box-shadow: var(--shadow-1); }
.btn-outlined  { background: transparent; border: 1.5px solid var(--primary); color: var(--primary); }
.btn-outlined:hover { background: var(--primary-bg); }
.btn-lg        { padding: 12px 28px; font-size: 15px; border-radius: 6px; }

/* ══ HERO ══ */
.hero {
  color: #fff;
  position: relative;
  min-height: 440px;
  background: linear-gradient(150deg, #1a3a6b 0%, #2563A8 50%, #1e50a0 100%);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(30,51,86,.30);
  pointer-events: none; z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }
.hero-inner  { display: flex; align-items: center; justify-content: space-between; gap: 48px; padding: 64px 0 56px; min-height: 440px; }
.hero-left   { flex: 1; text-align: left; }
.hero-badge  { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.35); border-radius: 20px; padding: 6px 16px; font-size: 12px; font-weight: 700; margin-bottom: 22px; color: #fff; }
.hero-dot    { width: 7px; height: 7px; border-radius: 50%; background: #a8d4ff; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.6; transform:scale(1.3); } }
.hero h1     { font-size: clamp(26px,4.5vw,46px); font-weight: 800; line-height: 1.2; margin-bottom: 18px; letter-spacing: -1px; text-align: left; }
.hero h1 em  { color: #a8d4ff; font-style: normal; }
.hero-desc   { font-size: 15px; color: rgba(255,255,255,.82); max-width: 460px; margin: 0 0 28px; line-height: 1.7; text-align: left; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-start; margin-bottom: 16px; }
.hero-links  { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-link   { font-size: 12px; color: rgba(255,255,255,.60); display: flex; align-items: center; gap: 6px; }
.hero-link::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.hero-link:hover { color: rgba(255,255,255,.90); }
.hero-stats  { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 40px; }
.hero-stat-val { font-size: 26px; font-weight: 800; color: #fff; }
.hero-stat-lbl { font-size: 11px; color: rgba(255,255,255,.6); margin-top: 2px; }

/* 스마트폰 목업 */
.hero-right  { flex-shrink: 0; width: 280px; }
.phone-mockup {
  position: relative; width: 240px; margin: 0 auto;
  background: #1a1a2e; border-radius: 36px; padding: 14px 8px;
  box-shadow: 0 0 0 2px rgba(255,255,255,.15), 0 0 0 4px rgba(255,255,255,.05),
              0 32px 64px rgba(0,0,0,.4), 0 8px 16px rgba(0,0,0,.3);
}
.phone-notch  { width: 80px; height: 20px; background: #1a1a2e; border-radius: 0 0 14px 14px; margin: 0 auto 6px; position: relative; z-index: 2; }
.phone-screen { background: #F4F6F9; border-radius: 24px; overflow: hidden; min-height: 380px; }
.phone-topbar { background: #17212B; padding: 10px 14px 8px; display: flex; align-items: center; gap: 8px; }
.phone-topbar-logo { width: 22px; height: 22px; background: #0057A8; border-radius: 5px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: #fff; flex-shrink: 0; }
.phone-topbar-info { flex: 1; }
.phone-topbar-name { font-size: 10px; font-weight: 700; color: #fff; line-height: 1; }
.phone-topbar-sub  { font-size: 8px; color: rgba(255,255,255,.5); margin-top: 1px; }
.phone-body  { padding: 12px 10px; }
.phone-camera-box {
  background: #e0e5ec; border-radius: 10px; height: 130px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px; position: relative; overflow: hidden;
}
.phone-camera-icon { color: #9AA5B4; font-size: 28px; }
.phone-scan-line   { position: absolute; inset: 0; border: 2px solid rgba(0,87,168,.4); border-radius: 10px; }
.phone-scan-corner { position: absolute; width: 16px; height: 16px; border-color: #0057A8; border-style: solid; border-width: 0; }
.phone-scan-corner.tl { top:6px;    left:6px;  border-top-width:2px;    border-left-width:2px; }
.phone-scan-corner.tr { top:6px;    right:6px; border-top-width:2px;    border-right-width:2px; }
.phone-scan-corner.bl { bottom:6px; left:6px;  border-bottom-width:2px; border-left-width:2px; }
.phone-scan-corner.br { bottom:6px; right:6px; border-bottom-width:2px; border-right-width:2px; }
.phone-msg         { background: #fff; border-radius: 8px; padding: 8px 10px; font-size: 9px; color: #4A5568; line-height: 1.5; margin-bottom: 8px; border: 1px solid #E2E8F0; }
.phone-msg-label   { font-size: 8px; font-weight: 700; color: #0057A8; margin-bottom: 3px; text-transform: uppercase; letter-spacing: .3px; }
.phone-send-btn    { width: 100%; background: #0057A8; color: #fff; border: none; border-radius: 8px; padding: 10px 0; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; }

/* ══ 섹션 공통 ══ */
.section       { padding: 72px 0; }
.section-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--primary); margin-bottom: 10px; }
.section-title { font-size: clamp(22px,3.5vw,32px); font-weight: 800; letter-spacing: -0.5px; margin-bottom: 12px; color: var(--text); }
.section-desc  { font-size: 15px; color: var(--sub); max-width: 560px; }
.section-alt   { background: var(--surface); }

/* ══ HOW-TO 스텝 ══ */
.steps-grid  { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; margin-top: 48px; }
.step-card   { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 24px 20px; box-shadow: var(--shadow-1); position: relative; }
.step-num    { width: 32px; height: 32px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; margin-bottom: 14px; }
.step-title  { font-size: 14px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.step-desc   { font-size: 13px; color: var(--sub); line-height: 1.6; }
.step-arrow  { position: absolute; right: -14px; top: 50%; transform: translateY(-50%); color: var(--border); font-size: 20px; z-index: 1; }

/* ══ 시나리오 ══ */
.scenarios-section { padding: 72px 0; background: var(--bg); }
.scenario-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.scenario-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 28px 24px; box-shadow: var(--shadow-1); transition: box-shadow .2s, transform .2s; display: flex; flex-direction: column; gap: 0; }
.scenario-card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.sc-header { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 12px; }
.sc-icon   { width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.sc-icon-ocean  { background: var(--primary-bg); }
.sc-icon-water  { background: #d4e8de; }
.sc-icon-forest { background: #e8dcc8; }
.sc-title { font-size: 17px; font-weight: 800; color: var(--text); margin-bottom: 3px; letter-spacing: -.3px; }
.sc-sub   { font-size: 13px; font-weight: 600; }
.sc-sub-ocean  { color: var(--primary); }
.sc-sub-water  { color: #2e7d52; }
.sc-sub-forest { color: #7a5000; }
.sc-desc  { font-size: 13px; color: var(--sub); line-height: 1.65; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.sc-list  { list-style: none; margin-bottom: 20px; display: flex; flex-direction: column; gap: 0; }
.sc-list li { font-size: 13px; color: var(--text); padding: 7px 0; border-bottom: 1px solid var(--bg); display: flex; align-items: center; gap: 8px; }
.sc-list li:last-child { border-bottom: none; }
.sc-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.scenario-ocean  .sc-list li::before { background: var(--primary); }
.scenario-water  .sc-list li::before { background: #2e7d52; }
.scenario-forest .sc-list li::before { background: #7a5000; }
.sc-footer { margin-top: auto; padding: 10px 14px; border-radius: 6px; font-size: 12px; font-weight: 700; }
.sc-footer-ocean  { background: var(--primary-bg); color: var(--primary); }
.sc-footer-water  { background: #d4e8de; color: #2e7d52; }
.sc-footer-forest { background: #e8dcc8; color: #7a5000; }

/* ══ AI 엔진 ══ */
.ai-section    { padding: 72px 0; background: var(--surface); }
.ai-cycle      { display: flex; align-items: center; gap: 0; margin: 40px 0; overflow-x: auto; padding-bottom: 8px; }
.ai-step       { background: var(--primary-bg); border: 1px solid var(--border); border-radius: var(--r); padding: 16px 20px; min-width: 160px; flex-shrink: 0; }
.ai-step-num   { font-size: 11px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.ai-step-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.ai-step-desc  { font-size: 12px; color: var(--sub); line-height: 1.5; }
.ai-arrow      { color: var(--hint); font-size: 20px; padding: 0 8px; flex-shrink: 0; }

/* ══ 프롬프트 박스 ══ */
.prompt-box    { background: var(--darkest); border-radius: var(--r); padding: 24px; font-family: 'JetBrains Mono','Courier New',monospace; font-size: 12px; color: #c8d8f0; line-height: 1.7; margin-top: 32px; overflow-x: auto; }
.prompt-comment { color: #7898c8; }
.prompt-key    { color: #c8e0ff; }
.prompt-val    { color: #b0e8c0; }

/* ══ 블록체인 ══ */
.chain-section { padding: 72px 0; }
.chain-grid    { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.chain-card    { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-1); }
.chain-card-header { background: var(--primary); color: #fff; padding: 14px 18px; font-size: 13px; font-weight: 700; }
.chain-card-body   { padding: 18px; font-family: 'JetBrains Mono','Courier New',monospace; font-size: 11px; }
.chain-row     { display: flex; gap: 10px; margin-bottom: 8px; line-height: 1.5; }
.chain-row:last-child { margin-bottom: 0; }
.chain-k       { color: var(--hint); min-width: 100px; flex-shrink: 0; }
.chain-v       { color: var(--text); word-break: break-all; }
.chain-v.hash  { color: var(--primary); }

/* ══ 대시보드 프리뷰 ══ */
.dashboard-section { padding: 72px 0; background: var(--surface); }
.dash-preview  { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow-2); margin-top: 40px; }
.dash-topbar   { display: flex; align-items: center; justify-content: space-between; background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 10px 16px; margin-bottom: 16px; }
.dash-status   { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #2e7d52; }
.dash-dot      { width: 7px; height: 7px; border-radius: 50%; background: #2e7d52; }
.dash-stats    { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.dash-stat     { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 14px 16px; box-shadow: var(--shadow-1); }
.dash-stat-icon { font-size: 18px; margin-bottom: 6px; }
.dash-stat-val { font-size: 22px; font-weight: 800; color: var(--text); }
.dash-stat-lbl { font-size: 11px; color: var(--sub); margin-top: 2px; }
.dash-stat-sub { font-size: 11px; color: var(--primary); margin-top: 2px; font-weight: 600; }

/* ══ 접근 ══ */
.access-section { padding: 72px 0; }
.access-grid   { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.access-card   { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 32px; box-shadow: var(--shadow-1); display: flex; flex-direction: column; gap: 16px; }
.access-icon   { font-size: 36px; }
.access-title  { font-size: 18px; font-weight: 800; color: var(--text); }
.access-desc   { font-size: 13px; color: var(--sub); line-height: 1.6; }
.access-list   { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.access-list li { font-size: 13px; color: var(--text); display: flex; align-items: center; gap: 8px; }
.access-list li::before { content: '▸'; color: var(--primary); font-size: 11px; }
.access-note   { font-size: 11px; color: var(--hint); text-align: center; }

/* ══ 로드맵 ══ */
.roadmap-section { padding: 72px 0; background: var(--surface); }
.roadmap-grid  { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.roadmap-card  { border: 1px solid var(--border); border-radius: var(--r); padding: 24px; background: var(--bg); }
.roadmap-phase { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--primary); margin-bottom: 8px; }
.roadmap-title { font-size: 16px; font-weight: 800; margin-bottom: 4px; color: var(--text); }
.roadmap-period { font-size: 12px; color: var(--sub); margin-bottom: 14px; }
.roadmap-list  { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.roadmap-list li { font-size: 13px; color: var(--text); display: flex; align-items: flex-start; gap: 8px; }
.roadmap-list li::before { content: '•'; color: var(--primary); flex-shrink: 0; margin-top: 1px; }

/* ══ 푸터 ══ */
.footer        { background: var(--darkest); color: rgba(255,255,255,.7); padding: 48px 0 32px; }
.footer-grid   { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-brand  { font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.footer-brand-desc  { font-size: 12px; line-height: 1.7; color: rgba(255,255,255,.5); }
.footer-col-title   { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.4); margin-bottom: 14px; }
.footer-links  { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links li a  { font-size: 13px; color: rgba(255,255,255,.6); transition: color .15s; }
.footer-links li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; font-size: 12px; color: rgba(255,255,255,.4); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }

/* ══ 모바일 햄버거 메뉴 ══ */
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--text); margin-left: auto; flex-direction: column; gap: 5px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .25s; }
.nav-mobile-menu { display: none; flex-direction: column; background: var(--darkest); border-top: 1px solid rgba(255,255,255,.10); padding: 8px 0; }
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a { padding: 12px 20px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.80); border-bottom: 1px solid rgba(255,255,255,.06); transition: background .15s; }
.nav-mobile-menu a:last-child { border-bottom: none; }
.nav-mobile-menu a:hover { background: rgba(255,255,255,.07); color: #fff; }
.nav-mobile-cta { margin: 8px 16px 4px; }
.nav-mobile-cta .btn { width: 100%; justify-content: center; padding: 11px 0; font-size: 14px; }

/* ══ FLOATING 상담 버튼 ══ */
.float-btn        { position: fixed; bottom: 32px; right: 28px; z-index: 9999; display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; text-decoration: none; }
.float-btn-circle { width: 60px; height: 60px; background: linear-gradient(135deg, #0057A8, #006CC3); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(0,87,168,.50), 0 0 0 0 rgba(0,87,168,.30); animation: float-pulse 2.2s ease-in-out infinite; transition: transform .2s, box-shadow .2s; }
.float-btn:hover .float-btn-circle { transform: scale(1.12); box-shadow: 0 6px 28px rgba(0,87,168,.65), 0 0 0 8px rgba(0,87,168,.12); animation-play-state: paused; }
.float-btn-icon   { font-size: 26px; line-height: 1; animation: float-icon-bounce 2.2s ease-in-out infinite; }
.float-btn-label  { background: rgba(0,60,130,.92); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 10px; letter-spacing: .3px; white-space: nowrap; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
@keyframes float-pulse {
  0%   { transform: scale(1);    box-shadow: 0 4px 20px rgba(0,87,168,.50), 0 0 0 0   rgba(0,87,168,.30); }
  40%  { transform: scale(1.10); box-shadow: 0 6px 28px rgba(0,87,168,.55), 0 0 0 10px rgba(0,87,168,.12); }
  70%  { transform: scale(1.04); box-shadow: 0 5px 24px rgba(0,87,168,.50), 0 0 0 16px rgba(0,87,168,.04); }
  100% { transform: scale(1);    box-shadow: 0 4px 20px rgba(0,87,168,.50), 0 0 0 20px rgba(0,87,168,.00); }
}
@keyframes float-icon-bounce {
  0%,100% { transform: translateY(0); }
  40%     { transform: translateY(-3px); }
}

/* ══ 앱 모달 ══ */
.app-modal-overlay { display: none; position: fixed; inset: 0; background: rgba(10,20,40,.75); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); z-index: 10000; align-items: center; justify-content: center; }
.app-modal-overlay.show { display: flex; }
.app-modal-phone   {
  position: relative; width: 380px; max-width: 92vw; background: #1a1a2e;
  border-radius: 44px; padding: 16px 10px;
  box-shadow: 0 0 0 2px rgba(255,255,255,.15), 0 0 0 5px rgba(255,255,255,.05), 0 40px 80px rgba(0,0,0,.6);
  animation: modal-pop .3s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes modal-pop {
  from { transform: scale(.85) translateY(30px); opacity: 0; }
  to   { transform: scale(1)   translateY(0);    opacity: 1; }
}
.app-modal-notch   { width: 100px; height: 24px; background: #1a1a2e; border-radius: 0 0 18px 18px; margin: 0 auto 8px; }
.app-modal-screen  { border-radius: 30px; overflow: hidden; height: 72vh; max-height: 680px; background: #F0F4F8; position: relative; }
.app-modal-screen iframe { width: 100%; height: 100%; border: none; display: block; }
.app-modal-close   { position: absolute; top: -16px; right: -16px; width: 36px; height: 36px; background: #fff; border: none; border-radius: 50%; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 12px rgba(0,0,0,.25); color: #1A202C; font-weight: 700; line-height: 1; transition: background .15s, transform .15s; }
.app-modal-close:hover { background: #f0f0f0; transform: scale(1.1); }
.app-modal-label   { text-align: center; margin-top: 10px; font-size: 11px; color: rgba(255,255,255,.40); letter-spacing: .3px; }

/* ── 앱 로딩 화면 ── */
.app-loading-screen      { display: flex; flex-direction: column; height: 100%; background: #F0F4F8; font-family: 'Pretendard', -apple-system, sans-serif; }
.app-loading-topbar      { background: #17212B; padding: 12px 16px; display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.app-loading-logo        { width: 28px; height: 28px; background: #0057A8; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; color: #fff; flex-shrink: 0; }
.app-loading-name        { font-size: 13px; font-weight: 700; color: #fff; line-height: 1; }
.app-loading-sub         { font-size: 10px; color: rgba(255,255,255,.45); margin-top: 2px; }
.app-loading-body        { flex: 1; display: flex; flex-direction: column; padding: 12px; gap: 10px; overflow-y: auto; }
.app-loading-camera-wrap { flex-shrink: 0; }
.app-loading-camera-box  { background: #DDE3EC; border-radius: 12px; height: 160px; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; position: relative; transition: background .15s; gap: 8px; }
.app-loading-camera-box:hover { background: #CDD5E0; }
.app-loading-camera-hint { font-size: 11px; color: #718096; font-weight: 600; }
.app-scan-corner         { position: absolute; width: 18px; height: 18px; border-color: #0057A8; border-style: solid; border-width: 0; }
.app-scan-corner.tl { top:8px;    left:8px;  border-top-width:2px;    border-left-width:2px; }
.app-scan-corner.tr { top:8px;    right:8px; border-top-width:2px;    border-right-width:2px; }
.app-scan-corner.bl { bottom:8px; left:8px;  border-bottom-width:2px; border-left-width:2px; }
.app-scan-corner.br { bottom:8px; right:8px; border-bottom-width:2px; border-right-width:2px; }
.app-loading-msg-wrap    { display: flex; align-items: flex-start; gap: 8px; }
.app-loading-avatar      { width: 28px; height: 28px; background: #0057A8; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 800; color: #fff; flex-shrink: 0; margin-top: 2px; }
.app-loading-bubble      { background: #fff; border: 1px solid #E2E8F0; border-radius: 4px 12px 12px 12px; padding: 10px 12px; font-size: 12px; color: #1A202C; line-height: 1.65; box-shadow: 0 1px 3px rgba(0,0,0,.07); }
.app-loading-bubble-label { font-size: 9px; font-weight: 700; color: #0057A8; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 4px; }
.app-loading-input-wrap  { display: flex; align-items: center; gap: 6px; background: #fff; border: 1.5px solid #D1D9E6; border-radius: 24px; padding: 6px 6px 6px 10px; flex-shrink: 0; }
.app-loading-cam-btn     { background: none; border: none; cursor: pointer; color: #718096; padding: 4px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background .15s, color .15s; flex-shrink: 0; }
.app-loading-cam-btn:hover { background: #EBF3FC; color: #0057A8; }
.app-loading-input       { flex: 1; font-size: 12px; color: #A0AEC0; cursor: text; padding: 4px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-loading-send-btn    { width: 32px; height: 32px; background: #0057A8; border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; transition: background .15s; }
.app-loading-send-btn:hover { background: #003C82; }
.app-loading-launch      { text-align: center; font-size: 11px; font-weight: 700; color: #0057A8; cursor: pointer; padding: 6px; border-radius: 6px; transition: background .15s; }
.app-loading-launch:hover { background: #EBF3FC; }

/* ══ 반응형 ══ */
@media (max-width: 900px) {
  .nav-links       { display: none; }
  .scenario-grid   { grid-template-columns: 1fr 1fr; }
  .chain-grid      { grid-template-columns: 1fr; }
  .footer-grid     { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 860px) {
  .hero-inner      { flex-direction: column; align-items: flex-start; padding: 48px 0 40px; }
  .hero-right      { display: none; }
  .hero-stats      { gap: 20px; }
}
@media (max-width: 760px) {
  .chain-grid      { grid-template-columns: 1fr; }
  .roadmap-grid    { grid-template-columns: 1fr; }
  .footer-grid     { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body             { font-size: 14px; }
  .container       { padding: 0 16px; }
  .gov-bar         { font-size: 10px; padding: 5px 12px; }
  .nav             { height: 52px; }
  .nav-inner       { padding: 0 16px; height: 52px; }
  .nav-cta .btn    { padding: 7px 12px; font-size: 12px; }
  .nav-hamburger   { display: flex; }
  .hero            { padding: 0; }
  .hero-inner      { flex-direction: column; align-items: flex-start; padding: 36px 0 32px; gap: 28px; }
  .hero h1         { font-size: 28px; letter-spacing: -.5px; margin-bottom: 12px; }
  .hero-badge      { font-size: 11px; padding: 5px 12px; margin-bottom: 16px; }
  .hero-desc       { font-size: 14px; margin-bottom: 20px; }
  .hero-actions    { flex-direction: column; gap: 10px; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; padding: 13px 0; font-size: 14px; }
  .hero-links      { flex-direction: column; gap: 6px; }
  .hero-stats      { gap: 16px; flex-wrap: wrap; margin-top: 24px; }
  .hero-stat-val   { font-size: 22px; }
  .hero-stat-lbl   { font-size: 10px; }
  .hero-right      { display: none; }
  .section         { padding: 48px 0; }
  .section-title   { font-size: 22px; }
  .section-desc    { font-size: 13px; }
  .steps-grid      { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
  .step-arrow      { display: none; }
  .step-card       { padding: 18px 16px; }
  .scenario-grid   { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
  .ai-pipeline     { flex-direction: column; align-items: flex-start; gap: 0; }
  .ai-step         { min-width: unset; width: 100%; }
  .ai-arrow        { transform: rotate(90deg); margin: 4px auto; }
  .chain-grid      { grid-template-columns: 1fr; }
  .chain-card-body { font-size: 12px; }
  .chain-k         { min-width: 80px; font-size: 11px; }
  .chain-v         { font-size: 11px; }
  .access-grid     { grid-template-columns: 1fr; gap: 14px; }
  .access-card     { padding: 20px 16px; }
  .roadmap-grid    { grid-template-columns: 1fr; }
  .footer-grid     { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom   { flex-direction: column; text-align: center; gap: 4px; }
  .float-btn       { bottom: 20px; right: 16px; }
  .float-btn-circle { width: 52px; height: 52px; }
  .float-btn-icon  { font-size: 22px; }
  .float-btn-label { font-size: 9px; padding: 2px 7px; }
  .dash-stats      { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 380px) {
  .hero h1         { font-size: 24px; }
}
