/* ============================================================================
   AIR&D · style.css
   ----------------------------------------------------------------------------
   원본 프로토타입(style.css: Arial 기반 심플 버전)과
   Claude 프리미엄 랜딩 디자인을 병합한 최종 스타일시트입니다.
   - 기존 .card, header 클래스명은 그대로 유지하여 app.js/모듈 연동 호환성 확보
   - AI Future Civilization Institute(AI 미래문명연구소) 브랜드 정체성 반영
   - 소속 도메인: chatdoumi.com (module.json 기준, aiplatmarket.com 경로 제거)
   ============================================================================ */

/* ============================================================
   1. 디자인 토큰 (Design Tokens)
   ------------------------------------------------------------
   AIR&D = 그린 · 화이트 계열 (연구소 · 미래문명 설계의 신뢰감 + 성장/생태계 이미지)
   ※ 기존 블루 계열에서 그린 계열로 전면 변경 (2026-08 업데이트)
   자매 프로젝트 "AI Simul"(/simul/)은 퍼플 · 네이비 계열 예정 —
   동일 구조 + 토큰(색상)만 교체하는 공통 디자인 시스템 공유 방식
   ============================================================ */
:root{
  --bg: #F4FAF6;
  --bg-alt: #E9F5EC;
  --bg-hero-glow-1: rgba(22,163,74,0.16);
  --bg-hero-glow-2: rgba(20,184,166,0.14);

  --surface: rgba(255,255,255,0.62);
  --surface-border: rgba(15,76,58,0.12);
  --surface-solid: #FFFFFF;

  --text: #0B241B;
  --text-muted: #4A6459;
  --text-faint: #7C9C8E;

  --primary: #0F4C3A;      /* 딥 포레스트 그린 - 신뢰 */
  --primary-2: #146356;
  --accent: #16A34A;       /* 에메랄드 그린 - AI/기술 */
  --accent-2: #14B8A6;     /* 틸 그린 - 데이터/신호 */

  --gradient-brand: linear-gradient(135deg, var(--primary) 0%, var(--accent) 55%, var(--accent-2) 100%);
  --gradient-soft: linear-gradient(135deg, rgba(22,163,74,0.10), rgba(20,184,166,0.08));

  --shadow-sm: 0 2px 10px rgba(15,76,58,0.06);
  --shadow-md: 0 10px 30px rgba(15,76,58,0.10);
  --shadow-lg: 0 24px 60px rgba(15,76,58,0.16);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --font-kr: 'Pretendard Variable', 'Pretendard', -apple-system, sans-serif;
  --font-display: 'Space Grotesk', var(--font-kr);
  --font-mono: 'JetBrains Mono', monospace;

  --blur-glass: blur(18px);
  --ease: cubic-bezier(.22,1,.36,1);
}

[data-theme="dark"]{
  --bg: #05120D;
  --bg-alt: #0A1D16;
  --bg-hero-glow-1: rgba(52,211,153,0.22);
  --bg-hero-glow-2: rgba(45,212,191,0.16);

  --surface: rgba(15,45,35,0.55);
  --surface-border: rgba(255,255,255,0.10);
  --surface-solid: #0D2A20;

  --text: #EAFBF2;
  --text-muted: #93C4AC;
  --text-faint: #5E9280;

  --primary: #E8FFF4;
  --primary-2: #B9F3D9;
  --accent: #34D399;
  --accent-2: #2DD4BF;

  --gradient-soft: linear-gradient(135deg, rgba(52,211,153,0.14), rgba(45,212,191,0.10));

  --shadow-sm: 0 2px 10px rgba(0,0,0,0.30);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.40);
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.55);
}

/* ============================================================
   2. 리셋 & 베이스 (원본 style.css의 body/header/.card 클래스 유지·확장)
   ============================================================ */
*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  font-family:var(--font-kr);           /* 원본: Arial → Pretendard로 고도화 */
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  transition:background .4s var(--ease), color .4s var(--ease);
  overflow-x:hidden;
}
img,svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; cursor:pointer; border:none; background:none; color:inherit; }
ul{ list-style:none; }
::selection{ background:var(--accent); color:#fff; }
:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; border-radius:4px; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; }
}

.container{ width:100%; max-width:1240px; margin:0 auto; padding:0 24px; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-mono); font-size:12.5px; letter-spacing:.06em;
  color:var(--accent); text-transform:uppercase;
  background:var(--gradient-soft); border:1px solid var(--surface-border);
  padding:6px 14px; border-radius:999px;
}
.section-head{ max-width:640px; margin-bottom:44px; }
.section-head h2{ font-family:var(--font-display); font-size:clamp(26px,3.4vw,38px); font-weight:600; margin:14px 0 10px; letter-spacing:-.01em; }
.section-head p{ color:var(--text-muted); font-size:15.5px; }
section{ padding:88px 0; position:relative; }

/* 원본 .card 클래스 → glass 유리질감으로 업그레이드 (하위 호환 유지) */
.card, .glass{
  background:var(--surface);
  border:1px solid var(--surface-border);
  backdrop-filter:var(--blur-glass);
  -webkit-backdrop-filter:var(--blur-glass);
  border-radius:var(--radius-md);
  box-shadow:var(--shadow-sm);
  padding:28px;
}

/* ============================================================
   3. Beta/Preview 안내 배너
   ============================================================ */
#beta-banner{
  background:var(--gradient-brand);
  color:#fff; font-size:13.5px; font-weight:500;
  text-align:center; padding:9px 44px 9px 16px; position:relative;
}
#beta-banner strong{ font-family:var(--font-mono); letter-spacing:.03em; margin-right:8px; }
#beta-banner .banner-close{
  position:absolute; right:12px; top:50%; transform:translateY(-50%);
  width:24px; height:24px; display:grid; place-items:center; border-radius:50%; opacity:.85;
}
#beta-banner .banner-close:hover{ background:rgba(255,255,255,.18); opacity:1; }

/* ============================================================
   4. 공통 Header / Navigation
   (원본: <header class="topbar"><div class="logo">AIR&D</div><nav>...</nav>)
   ============================================================ */
header.topbar{
  position:sticky; top:0; z-index:60;
  background:var(--surface);
  backdrop-filter:var(--blur-glass); -webkit-backdrop-filter:var(--blur-glass);
  border-bottom:1px solid var(--surface-border);
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; height:72px; }
.brand{ display:flex; align-items:center; gap:10px; font-family:var(--font-display); font-weight:700; font-size:19px; }
.brand .logo-mark{
  width:34px; height:34px; border-radius:9px; background:var(--gradient-brand);
  display:grid; place-items:center; color:#fff; font-size:14px; font-weight:700; box-shadow:var(--shadow-sm);
}
.brand .brand-sub{ font-family:var(--font-kr); font-weight:500; font-size:11.5px; color:var(--text-faint); display:block; margin-top:1px; }

.header-actions{ display:flex; align-items:center; gap:8px; }
.icon-btn{
  width:38px; height:38px; border-radius:12px; display:grid; place-items:center; color:var(--text-muted);
  transition:background .25s var(--ease), color .25s var(--ease), transform .2s var(--ease);
  flex-shrink:0;
}
.icon-btn:hover{ background:var(--gradient-soft); color:var(--accent); transform:translateY(-1px); }
.icon-btn svg{ width:19px; height:19px; }

.btn{
  display:inline-flex; align-items:center; gap:8px; padding:11px 20px; border-radius:999px;
  font-size:14px; font-weight:600; transition:transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s var(--ease);
  white-space:nowrap;
}
.btn-primary{ background:var(--gradient-brand); color:#fff; box-shadow:var(--shadow-sm); }
.btn-primary:hover{ transform:translateY(-2px); box-shadow:var(--shadow-md); filter:brightness(1.05); }
.btn-ghost{ border:1px solid var(--surface-border); color:var(--text); background:var(--surface); }
.btn-ghost:hover{ border-color:var(--accent); color:var(--accent); }

/* 원본 <section class="hero"><button>/<button class="secondary"> 하위 호환 */
button.secondary{ border:1px solid var(--surface-border); background:var(--surface); color:var(--text); }
button.secondary:hover{ border-color:var(--accent); color:var(--accent); }

/* ------------------------------------------------------------
   4-1. 헤더 모바일 최소화
   ------------------------------------------------------------
   문제: 기존 헤더 안에 풀텍스트 내비게이션(.main-nav)이 있어
   모바일 폭에서 단어가 세로로 줄바꿈되며 품질이 떨어져 보였음.
   해결: 헤더에서는 로고 + 최소 아이콘/버튼만 남기고,
   전체 메뉴는 헤더 바로 아래 가로 스크롤 GNB 탭바(.gnb-tabs)로 분리.
   ------------------------------------------------------------ */
@media (max-width:640px){
  .header-inner{ height:60px; }
  .brand{ font-size:16px; gap:8px; }
  .brand .logo-mark{ width:28px; height:28px; font-size:11px; border-radius:8px; }
  .brand .brand-sub{ display:none; } /* 부제목은 좁은 화면에서 숨김 */
  .header-actions .btn{ display:none; } /* 텍스트 버튼(연구영역 보기 등)은 숨기고 아이콘만 유지 */
}

/* ------------------------------------------------------------
   4-2. GNB 가로 스크롤 탭바 (헤더 바로 아래, 콘텐츠 위)
   ------------------------------------------------------------
   챗도우미 공통 GNB 배치 규칙 적용:
   센터 컬럼 안쪽, 헤더 아래 · 콘텐츠 위, 화면 전체폭이 아니라
   컨테이너 폭에 맞춰 중앙 정렬 + 가로 스크롤(줄바꿈 없음).
   ------------------------------------------------------------ */
.gnb-wrap{
  position:sticky; top:60px; z-index:55;
  background:var(--surface);
  backdrop-filter:var(--blur-glass); -webkit-backdrop-filter:var(--blur-glass);
  border-bottom:1px solid var(--surface-border);
}
@media (min-width:641px){ .gnb-wrap{ top:72px; } }

.gnb-tabs{
  display:flex; align-items:center; gap:6px;
  overflow-x:auto; overflow-y:hidden; white-space:nowrap;
  padding:10px 24px; max-width:1240px; margin:0 auto;
  scrollbar-width:none; -ms-overflow-style:none;
}
.gnb-tabs::-webkit-scrollbar{ display:none; }
.gnb-tabs a{
  flex-shrink:0; font-size:13.5px; font-weight:500; color:var(--text-muted);
  padding:8px 15px; border-radius:999px; border:1px solid transparent;
  transition:background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.gnb-tabs a:hover{ background:var(--gradient-soft); color:var(--accent); }
.gnb-tabs a.active{ background:var(--gradient-brand); color:#fff; }
.gnb-tabs a.nav-simul{ color:var(--accent-2); border-color:var(--surface-border); }
.gnb-tabs a.nav-simul:hover{ color:#fff; background:var(--gradient-brand); }

/* ============================================================
   5. Hero Section
   (원본 <section class="hero"><span class="badge">…</span><h1>…) 클래스 유지
   ------------------------------------------------------------
   시그니처 요소: AI Core 중심 연구 네트워크 애니메이션.
   "미래를 예측하는 것이 아니라 미래를 설계합니다" — 원본 헤드라인 그대로 채택.
   ============================================================ */
section.hero{
  padding:96px 0 100px; overflow:hidden; isolation:isolate; text-align:left;
}
section.hero::before, section.hero::after{
  content:''; position:absolute; z-index:-1; border-radius:50%; filter:blur(70px);
}
section.hero::before{ width:520px; height:520px; background:var(--bg-hero-glow-1); top:-180px; right:-120px; }
section.hero::after{ width:460px; height:460px; background:var(--bg-hero-glow-2); bottom:-200px; left:-140px; }

.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; }
@media (max-width:980px){ .hero-grid{ grid-template-columns:1fr; } }

/* 원본 .badge → eyebrow 톤앤매너로 통일 */
.hero .badge{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-mono); font-size:12.5px; letter-spacing:.04em;
  color:var(--accent); background:var(--gradient-soft); border:1px solid var(--surface-border);
  padding:6px 14px; border-radius:999px;
}
.hero h1{
  font-family:var(--font-display); font-weight:700; letter-spacing:-.02em;
  font-size:clamp(32px,4.4vw,50px); line-height:1.28; margin:18px 0 20px; color:var(--text);
}
.hero h1 .grad{ background:var(--gradient-brand); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero p{ font-size:16.5px; color:var(--text-muted); max-width:540px; margin-bottom:32px; }
.buttons{ display:flex; gap:12px; flex-wrap:wrap; margin-bottom:36px; }

.hero-meta{ display:flex; gap:26px; flex-wrap:wrap; }
.hero-meta div{ font-family:var(--font-mono); }
.hero-meta strong{ display:block; font-size:20px; color:var(--text); font-weight:600; }
.hero-meta span{ font-size:11.5px; color:var(--text-faint); letter-spacing:.03em; }

.hero-visual{ position:relative; display:grid; place-items:center; }
.network-card{ width:100%; aspect-ratio:1/1; max-width:440px; padding:20px; }
.network-svg{ width:100%; height:100%; }
.node-label{ font-family:var(--font-mono); font-size:10.2px; fill:var(--text-muted); }
.orbit-line{ fill:none; stroke:var(--accent); stroke-width:1.4; stroke-dasharray:5 7; opacity:.55; animation:dashMove 6s linear infinite; }
.pulse-ring{ fill:none; stroke:var(--accent-2); stroke-width:1.2; opacity:.5; transform-origin:center; animation:pulseRing 3.2s var(--ease) infinite; }
.node-dot{ animation:floatNode 5.5s ease-in-out infinite; transform-origin:center; }
.node-dot:nth-child(2){ animation-delay:.3s; }
.node-dot:nth-child(3){ animation-delay:1s; }

@keyframes dashMove{ to{ stroke-dashoffset:-120; } }
@keyframes pulseRing{ 0%{ transform:scale(.9); opacity:.55; } 70%{ transform:scale(1.35); opacity:0; } 100%{ opacity:0; } }
@keyframes floatNode{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-6px); } }

/* ============================================================
   6. Platform Charter (플랫폼 헌장) — 원본 <section class="charter card"> 반영
   ============================================================ */
.charter-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:16px; margin-top:8px; }
@media (max-width:640px){ .charter-grid{ grid-template-columns:1fr; } }
.charter-item{
  display:flex; align-items:flex-start; gap:12px; padding:18px 20px; border-radius:14px;
  background:var(--surface-solid); border:1px solid var(--surface-border);
}
.charter-item .c-icon{
  width:30px; height:30px; flex-shrink:0; border-radius:8px; background:var(--gradient-soft);
  color:var(--accent); display:grid; place-items:center;
}
.charter-item .c-icon svg{ width:15px; height:15px; }
.charter-item p{ font-size:14px; color:var(--text); font-weight:500; }

/* ============================================================
   7. Innovation Pipeline (혁신 파이프라인) — 원본 문구 그대로 시각화
   ============================================================ */
.pipeline-flow{ display:flex; flex-wrap:wrap; align-items:center; gap:0; }
.pipeline-step{
  display:flex; align-items:center; gap:10px; padding:12px 18px; border-radius:999px;
  background:var(--surface-solid); border:1px solid var(--surface-border);
  font-family:var(--font-mono); font-size:13px; font-weight:500; color:var(--text);
  white-space:nowrap; margin:6px 0;
}
.pipeline-step .p-num{
  width:20px; height:20px; border-radius:50%; background:var(--gradient-brand); color:#fff;
  display:grid; place-items:center; font-size:10.5px; flex-shrink:0;
}
.pipeline-arrow{ color:var(--accent); flex-shrink:0; padding:0 8px; opacity:.7; }
.pipeline-arrow svg{ width:16px; height:16px; }

/* ============================================================
   8. KPI / AII 지표 표시 영역
   ============================================================ */
#kpi-gdi{ background:var(--bg-alt); }
.kpi-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:18px; } /* KPI/GDI/AII 등 5개 지표 */
@media (max-width:1100px){ .kpi-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:700px){ .kpi-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:420px){ .kpi-grid{ grid-template-columns:1fr; } }

.kpi-card{ padding:26px 22px; transition:transform .3s var(--ease), box-shadow .3s var(--ease); position:relative; overflow:hidden; }
.kpi-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); }
.kpi-card .kpi-icon{
  width:38px; height:38px; border-radius:11px; background:var(--gradient-soft);
  display:grid; place-items:center; color:var(--accent); margin-bottom:16px;
}
.kpi-card .kpi-icon svg{ width:19px; height:19px; }
.kpi-value{ font-family:var(--font-mono); font-size:30px; font-weight:600; letter-spacing:-.01em; }
.kpi-label{ font-size:13px; color:var(--text-muted); margin-top:6px; }
.kpi-trend{ font-family:var(--font-mono); font-size:11.5px; margin-top:10px; display:inline-block; padding:3px 9px; border-radius:999px; }
.kpi-trend.up{ color:#0E8F6B; background:rgba(14,143,107,.10); }

.skeleton{ position:relative; overflow:hidden; background:var(--surface-border); border-radius:8px; }
.skeleton::after{
  content:''; position:absolute; inset:0;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  transform:translateX(-100%); animation:shimmer 1.5s infinite;
}
[data-theme="dark"] .skeleton::after{ background:linear-gradient(90deg, transparent, rgba(255,255,255,.10), transparent); }
@keyframes shimmer{ 100%{ transform:translateX(100%); } }
.skel-value{ width:70px; height:26px; margin-bottom:8px; }
.skel-label{ width:100px; height:12px; }

/* ============================================================
   9. 연구영역 Card UI
   ============================================================ */
.research-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
@media (max-width:980px){ .research-grid{ grid-template-columns:1fr; } }

.research-card{ padding:32px 28px; position:relative; overflow:hidden; transition:transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.research-card::before{
  content:''; position:absolute; inset:0; opacity:0; transition:opacity .35s var(--ease);
  background:radial-gradient(420px circle at var(--mx,50%) var(--my,0%), var(--bg-hero-glow-1), transparent 60%);
}
.research-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); border-color:var(--accent); }
.research-card:hover::before{ opacity:1; }

.research-tag{ font-family:var(--font-mono); font-size:11px; letter-spacing:.05em; color:var(--accent); text-transform:uppercase; margin-bottom:14px; display:inline-block; }
.research-icon{
  width:48px; height:48px; border-radius:14px; background:var(--gradient-brand);
  display:grid; place-items:center; color:#fff; margin-bottom:18px; box-shadow:var(--shadow-sm);
}
.research-icon svg{ width:23px; height:23px; }
.research-card h3{ font-family:var(--font-display); font-size:20px; font-weight:600; margin-bottom:10px; }
.research-card p{ font-size:14.3px; color:var(--text-muted); margin-bottom:20px; min-height:66px; }
.research-foot{ display:flex; align-items:center; justify-content:space-between; }
.research-link{ font-size:13.5px; font-weight:600; color:var(--accent); display:inline-flex; align-items:center; gap:5px; }
.research-link svg{ width:14px; height:14px; transition:transform .25s var(--ease); }
.research-card:hover .research-link svg{ transform:translateX(3px); }
.badge-soon{ font-family:var(--font-mono); font-size:10.5px; padding:4px 9px; border-radius:999px; background:var(--gradient-soft); color:var(--accent); border:1px solid var(--surface-border); }

/* ============================================================
   10. AI Core 연동 예약 영역
   ============================================================ */
#ai-core-link{ background:var(--bg-alt); }
.core-panel{ display:grid; grid-template-columns:.9fr 1.1fr; gap:0; overflow:hidden; padding:0; }
@media (max-width:900px){ .core-panel{ grid-template-columns:1fr; } }
.core-panel-left{ padding:44px; display:flex; flex-direction:column; justify-content:center; gap:16px; background:var(--gradient-soft); }
.core-panel-left h3{ font-family:var(--font-display); font-size:24px; font-weight:600; }
.core-panel-left p{ color:var(--text-muted); font-size:14.5px; }
.core-status{ display:flex; align-items:center; gap:8px; font-family:var(--font-mono); font-size:12.5px; color:var(--text-muted); }
.core-status .dot{ width:8px; height:8px; border-radius:50%; background:#E0A400; box-shadow:0 0 0 4px rgba(224,164,0,.18); animation:blink 1.8s infinite; }
@keyframes blink{ 50%{ opacity:.4; } }

.core-panel-right{ padding:44px; display:flex; flex-direction:column; gap:12px; }
.core-log-line{
  font-family:var(--font-mono); font-size:12.5px; color:var(--text-muted);
  display:flex; gap:10px; padding:10px 14px; border-radius:10px; background:var(--surface-solid); border:1px solid var(--surface-border);
}
.core-log-line .tag{ color:var(--accent); flex-shrink:0; }
.core-log-line.skeleton-line{ height:38px; }

/* ============================================================
   11. 공통 공지사항
   ============================================================ */
.notice-list{ display:flex; flex-direction:column; gap:1px; border-radius:var(--radius-md); overflow:hidden; border:1px solid var(--surface-border); }
.notice-item{ background:var(--surface-solid); padding:20px 24px; display:flex; align-items:center; gap:16px; cursor:pointer; transition:background .2s var(--ease); }
.notice-item:hover{ background:var(--gradient-soft); }
.notice-item .n-badge{ font-family:var(--font-mono); font-size:10.5px; padding:4px 10px; border-radius:999px; flex-shrink:0; background:var(--gradient-soft); color:var(--accent); }
.notice-item .n-title{ flex:1; font-size:14.5px; font-weight:500; }
.notice-item .n-date{ font-family:var(--font-mono); font-size:12px; color:var(--text-faint); flex-shrink:0; }
.notice-skel-row{ height:64px; display:flex; align-items:center; gap:16px; padding:0 24px; background:var(--surface-solid); }
.notice-skel-row .skel-badge{ width:52px; height:20px; }
.notice-skel-row .skel-title{ width:60%; height:14px; }

/* ============================================================
   12. 공통 Footer (원본 <footer><p>© AIR&D Version 1.0 Prototype</p>) 확장
   ============================================================ */
footer{ background:var(--surface-solid); border-top:1px solid var(--surface-border); padding:56px 0 28px; margin-top:40px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr repeat(3,1fr); gap:36px; margin-bottom:40px; }
@media (max-width:820px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
.footer-brand p{ font-size:13.5px; color:var(--text-muted); margin-top:12px; max-width:280px; }
.footer-col h4{ font-size:13px; font-weight:600; margin-bottom:14px; color:var(--text-faint); text-transform:uppercase; letter-spacing:.04em; }
.footer-col a{ display:block; font-size:14px; color:var(--text-muted); padding:6px 0; transition:color .2s var(--ease); }
.footer-col a:hover{ color:var(--accent); }
.footer-bottom{
  border-top:1px solid var(--surface-border); padding-top:22px;
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px;
  font-size:12.5px; color:var(--text-faint); font-family:var(--font-mono);
}
.footer-domains{ display:flex; gap:14px; }

/* ============================================================
   13. 공통 Feedback / Search 모달
   ============================================================ */
.modal-overlay{
  position:fixed; inset:0; background:rgba(6,11,22,.45); backdrop-filter:blur(4px);
  display:flex; align-items:center; justify-content:center; z-index:100;
  opacity:0; pointer-events:none; transition:opacity .25s var(--ease); padding:20px;
}
.modal-overlay.open{ opacity:1; pointer-events:auto; }
.modal-box{
  width:100%; max-width:460px; background:var(--surface-solid); border:1px solid var(--surface-border);
  border-radius:var(--radius-md); padding:28px; box-shadow:var(--shadow-lg);
  transform:translateY(14px) scale(.98); transition:transform .3s var(--ease);
}
.modal-overlay.open .modal-box{ transform:translateY(0) scale(1); }
.modal-head{ display:flex; justify-content:space-between; align-items:center; margin-bottom:18px; }
.modal-head h3{ font-family:var(--font-display); font-size:18px; font-weight:600; }
.modal-body input, .modal-body textarea{
  width:100%; font:inherit; font-size:14px; padding:12px 14px; border-radius:10px;
  border:1px solid var(--surface-border); background:var(--bg-alt); color:var(--text); margin-bottom:12px; resize:vertical;
}
.modal-body textarea{ min-height:110px; }
.modal-foot{ display:flex; justify-content:flex-end; gap:10px; margin-top:6px; }
.feedback-fab{
  position:fixed; right:24px; bottom:24px; z-index:50; width:52px; height:52px; border-radius:50%;
  background:var(--gradient-brand); color:#fff; display:grid; place-items:center; box-shadow:var(--shadow-lg);
  transition:transform .25s var(--ease);
}
.feedback-fab:hover{ transform:translateY(-3px) scale(1.03); }
.feedback-fab svg{ width:22px; height:22px; }
.form-hint{ font-size:12px; color:var(--text-faint); margin-top:-4px; margin-bottom:14px; }
.toast{
  position:fixed; left:50%; bottom:30px; transform:translateX(-50%) translateY(20px);
  background:var(--primary); color:#fff; padding:12px 20px; border-radius:999px; font-size:13.5px;
  opacity:0; pointer-events:none; transition:all .3s var(--ease); z-index:200; box-shadow:var(--shadow-md);
}
.toast.show{ opacity:1; transform:translateX(-50%) translateY(0); }
