/* ================================================
   2026 지방선거 AI 백서 랜딩페이지 - 메인 스타일
   ================================================ */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #1a56db;
  --primary-dark: #1240a0;
  --accent: #f97316;
  --accent-dark: #ea6100;
  --dark: #111827;
  --dark2: #1f2937;
  --mid: #374151;
  --gray: #6b7280;
  --light: #f9fafb;
  --white: #ffffff;
  --border: #e5e7eb;
  --success: #10b981;
  --danger: #ef4444;

  /* Module Colors */
  --mod-a: #f97316;
  --mod-b: #3b82f6;
  --mod-c: #ef4444;
  --mod-d: #8b5cf6;
  --mod-e: #ec4899;
  --mod-f: #f59e0b;
  --mod-g: #dc2626;
  --mod-h: #10b981;
  --mod-i: #84cc16;
  --mod-j: #06b6d4;

  --font: 'Noto Sans KR', sans-serif;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.15);
  --radius: 12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--dark);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
input, select, textarea {
  font-family: var(--font);
  font-size: 0.95rem;
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s;
  background: var(--white);
  color: var(--dark);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,86,219,0.12);
}
textarea { resize: vertical; min-height: 100px; }

/* ── TYPOGRAPHY ── */
.text-gradient {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-accent { color: var(--accent); }
.text-accent-light { color: #fbbf24; }

/* ── CONTAINERS ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── SECTION HEADERS ── */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header.light { text-align: center; margin-bottom: 3.5rem; }
.section-tag {
  display: inline-block;
  background: rgba(26,86,219,0.08);
  color: var(--primary);
  padding: 0.3rem 1rem;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-tag-light {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  padding: 0.3rem 1rem;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--dark);
  margin-bottom: 1rem;
}
.section-title-light {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--white);
  margin-bottom: 1rem;
}
.section-desc { color: var(--gray); font-size: 1.05rem; }
.section-desc-light { color: rgba(255,255,255,0.75); font-size: 1.05rem; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--white);
  color: var(--dark);
  padding: 0.9rem 2rem;
  border-radius: 99px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.25s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.25); background: #f8fafc; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--accent);
  color: var(--white);
  padding: 0.9rem 2rem;
  border-radius: 99px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.25s;
  box-shadow: 0 4px 20px rgba(249,115,22,0.4);
}
.btn-secondary:hover { transform: translateY(-2px); background: var(--accent-dark); box-shadow: 0 8px 30px rgba(249,115,22,0.5); }

.btn-download-sm {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.5);
  color: var(--white);
  padding: 0.45rem 1.1rem;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-download-sm:hover { background: rgba(255,255,255,0.15); }
.btn-brief-sm {
  background: var(--accent);
  color: var(--white);
  padding: 0.45rem 1.1rem;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-brief-sm:hover { background: var(--accent-dark); }

.btn-cta-large {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--accent);
  color: var(--white);
  padding: 1rem 2.5rem;
  border-radius: 99px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.25s;
  box-shadow: 0 6px 25px rgba(249,115,22,0.35);
}
.btn-cta-large:hover { transform: translateY(-3px); background: var(--accent-dark); box-shadow: 0 10px 35px rgba(249,115,22,0.45); }

.btn-final-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--accent);
  color: var(--white);
  padding: 1.2rem 3rem;
  border-radius: 99px;
  font-weight: 800;
  font-size: 1.2rem;
  transition: all 0.25s;
  box-shadow: 0 6px 30px rgba(249,115,22,0.4);
}
.btn-final-cta:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(249,115,22,0.5); }

.btn-survey {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--primary);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 99px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.25s;
}
.btn-survey:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: all 0.3s;
}
.navbar.scrolled {
  background: rgba(17,24,39,0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
/* 공식 로고 이미지 */
.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s;
}
.nav-logo-img:hover { opacity: 0.85; }
.footer-logo-img {
  height: 30px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.logo-badge {
  background: var(--primary);
  color: var(--white);
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.logo-text { color: var(--white); font-weight: 700; font-size: 0.95rem; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  margin-left: auto;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--white); }
.nav-cta { display: flex; align-items: center; gap: 0.7rem; flex-shrink: 0; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 5px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem 1.5rem 1.5rem;
  background: rgba(17,24,39,0.97);
  gap: 0.5rem;
}
.mobile-menu a, .mobile-menu button {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: block;
  text-align: left;
  width: 100%;
}
.mobile-menu.open { display: flex; }
.btn-download-mobile {
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 0.7rem 1rem !important;
  margin-top: 0.5rem;
  border-bottom: none !important;
}
.btn-brief-mobile {
  background: var(--accent) !important;
  color: var(--white) !important;
  border-radius: 8px !important;
  padding: 0.7rem 1rem !important;
  text-align: center !important;
  font-weight: 700 !important;
  border-bottom: none !important;
}
.nav-back {
  margin-left: auto;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.nav-back:hover { color: var(--white); }

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: saturate(1.2);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(17,24,39,0.85) 0%,
    rgba(26,58,110,0.7) 50%,
    rgba(17,24,39,0.75) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 8rem 1.5rem 4rem;
  max-width: 900px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.9);
  padding: 0.4rem 1.1rem;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(5px);
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}
.hero-subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  margin-bottom: 1rem;
}
.hero-desc {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  z-index: 2;
  animation: bounce 2.5s infinite;
  pointer-events: none;
}
.scroll-arrow { font-size: 1rem; }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── ANIMATIONS ── */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.7s forwards;
}
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }
.delay-5 { animation-delay: 0.75s; }
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ── CRISIS ── */
.crisis {
  padding: 6rem 0;
  background: var(--light);
}
.crisis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}
.crisis-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.crisis-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.crisis-icon-wrap {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.crisis-people { background: linear-gradient(135deg, #f97316, #ef4444); }
.crisis-space { background: linear-gradient(135deg, #8b5cf6, #6366f1); }
.crisis-infra { background: linear-gradient(135deg, #0ea5e9, #1a56db); }
.crisis-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--dark);
}
.crisis-stats { display: flex; gap: 0; margin-bottom: 1.5rem; flex-wrap: nowrap; justify-content: space-between; }
.cstat { text-align: center; flex: 1; min-width: 0; }
.cstat-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.1rem;
  white-space: nowrap;
}
.cstat-num {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.cstat-unit { font-size: 0.82rem; font-weight: 600; color: var(--gray); }
.cstat-label { font-size: 0.68rem; color: var(--gray); margin-top: 0.2rem; }
.crisis-desc { font-size: 0.9rem; color: var(--mid); line-height: 1.7; }
.crisis-footer { text-align: center; }
.crisis-quote {
  display: inline-block;
  background: var(--dark);
  color: var(--white);
  padding: 1.2rem 2.5rem;
  border-radius: var(--radius);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.6;
}
.crisis-quote .fa-quote-left, .crisis-quote .fa-quote-right {
  color: var(--accent);
  margin: 0 0.4rem;
  font-size: 0.9rem;
}

/* ── VISION ── */
.vision {
  padding: 6rem 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
  position: relative;
  overflow: hidden;
}
.vision::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(26,86,219,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.vision-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
.vision-tabs { display: flex; flex-direction: column; gap: 0.8rem; }
.vtab {
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  text-align: left;
  transition: all 0.25s;
  color: rgba(255,255,255,0.7);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.vtab:hover { background: rgba(255,255,255,0.1); }
.vtab.active {
  background: rgba(26,86,219,0.3);
  border-color: var(--primary);
  color: var(--white);
}
.vtab-num { font-size: 0.75rem; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; }
.vtab-label { font-size: 1rem; font-weight: 700; }
.vision-panels { position: relative; min-height: 350px; }
.vpanel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  animation: fadeIn 0.4s ease;
}
.vpanel.active { display: grid; }
@keyframes fadeIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: translateX(0); } }
.vpanel-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255,255,255,0.05);
}
.vpanel-img img { width: 100%; height: 100%; object-fit: cover; }
.vpanel-content { color: var(--white); }
.vpanel-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.vpanel-title { font-size: 1.4rem; font-weight: 800; margin-bottom: 1.5rem; line-height: 1.4; }
.vpanel-list { display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 1.5rem; }
.vpanel-list li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.95rem; color: rgba(255,255,255,0.85); }
.vpanel-list .fa-check-circle { color: var(--success); margin-top: 0.2rem; flex-shrink: 0; }
.vpanel-modules { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.module-tag {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  padding: 0.2rem 0.7rem;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 600;
}
.vision-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}
.vision-arrow .fas { font-size: 1.4rem; color: var(--accent); }
.vision-arrow-label {
  background: var(--accent);
  color: var(--white);
  padding: 0.4rem 1.5rem;
  border-radius: 99px;
  font-weight: 700;
  font-size: 1rem;
}

/* ── NEIGHBORHOOD BRAIN ── */
.nb {
  padding: 6rem 0;
  background: #0a0f1a;
  position: relative;
  overflow: hidden;
}
.nb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a0f1a 0%, #0f1e33 100%);
  z-index: 0;
}
.nb::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/static/images/nb-datacenter-scale.jpg');
  background-position: center;
  background-size: 100% auto;
  background-repeat: no-repeat;
  opacity: 0.12;
  z-index: 0;
  mix-blend-mode: screen;
}
.nb > * { position: relative; z-index: 1; }
.nb .container { position: relative; z-index: 1; }
.nb-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}
.nb-concept-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.nb-concept-img img { width: 100%; }
.nb-img-badge {
  position: absolute;
  bottom: 1rem; right: 1rem;
  background: rgba(17,24,39,0.85);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 600;
  display: flex; align-items: center; gap: 0.4rem;
  backdrop-filter: blur(5px);
}
.nb-img-badge .fas { color: var(--success); }
.nb-features { display: flex; flex-direction: column; gap: 1.5rem; }
.nb-feature {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.2rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  transition: transform 0.25s;
}
.nb-feature:hover { transform: translateX(5px); }
.nb-feat-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--primary);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
}
.nb-feature strong { display: block; font-weight: 700; margin-bottom: 0.2rem; color: rgba(255,255,255,0.9); }
.nb-feature p { font-size: 0.88rem; color: rgba(255,255,255,0.5); }

.nb-types-title, .nb-sizes-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.2rem;
  padding-left: 0.5rem;
  border-left: 3px solid var(--primary);
}
.nb-types-title { margin-top: 0; }
.nb-sizes-title { margin-top: 3rem; }

.nb-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 0;
}
.nb-type-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s;
  color: rgba(255,255,255,0.85);
  backdrop-filter: blur(4px);
}
.nb-type-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.4); }
.nb-type-icon { font-size: 2rem; color: var(--primary); margin-bottom: 0.8rem; }
.nb-type-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 0.2rem 0.7rem;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.nb-type-card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; color: rgba(255,255,255,0.9); }
.nb-type-card p { font-size: 0.85rem; color: rgba(255,255,255,0.45); margin-bottom: 1rem; }
.nb-type-count {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
}

.nb-sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.nb-size-card {
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem 2rem;
  text-align: center;
  color: var(--white);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(4px);
}
.nb-size-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  z-index: 0;
}
.nb-size-card > * { position: relative; z-index: 1; }
.nb-size-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.5); }

/* S — 소도시·농촌형: 짙은 슬레이트 + 청록 강조 */
.s-size {
  background: linear-gradient(160deg, #1a2535 0%, #0f1e2e 60%, #0d2233 100%);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4), inset 0 1px 0 rgba(56,189,248,0.15);
}
.s-size .size-scale-visual svg rect[fill="rgba(100,160,220,0.5)"] { fill: rgba(56,189,248,0.45); }
.s-size .size-tier { color: #38bdf8; border-color: rgba(56,189,248,0.3); }
.s-size .size-budget { color: #7dd3fc; }

/* M — 중소도시형: 짙은 인디고 + 파랑 강조 */
.m-size {
  background: linear-gradient(160deg, #1a1f35 0%, #0f1428 60%, #111830 100%);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4), inset 0 1px 0 rgba(99,102,241,0.2);
}
.m-size .size-tier { color: #818cf8; border-color: rgba(99,102,241,0.3); }
.m-size .size-budget { color: #a5b4fc; }

/* L — 대도시형: 짙은 차콜 + 시안 강조 */
.l-size {
  background: linear-gradient(160deg, #141e2a 0%, #0a1520 60%, #0c1c2b 100%);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4), inset 0 1px 0 rgba(34,211,238,0.18);
}
.l-size .size-tier { color: #22d3ee; border-color: rgba(34,211,238,0.3); }
.l-size .size-budget { color: #67e8f9; }

/* 카드 내부 요소 */
.size-scale-visual {
  width: 80px; height: 60px;
  margin: 0 auto 1rem;
  opacity: 0.9;
}
.size-scale-visual svg { width: 100%; height: 100%; }
.size-tier {
  display: inline-block;
  font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.15em;
  border: 1px solid;
  border-radius: 4px;
  padding: 0.15rem 0.5rem;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}
.size-label { font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; color: rgba(255,255,255,0.95); }
.size-pop { font-size: 0.78rem; opacity: 0.55; margin-bottom: 0.9rem; letter-spacing: 0.02em; }
.size-budget { font-size: 1.55rem; font-weight: 800; margin-bottom: 0.4rem; }
.size-modules { font-size: 0.72rem; opacity: 0.5; line-height: 1.4; }

/* ── MODULES ── */
.modules {
  padding: 6rem 0;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}
.modules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.module-card {
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
  cursor: pointer;
}
.module-card:hover { border-color: rgba(255,255,255,0.25); }
.module-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
}
.module-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--white);
}
.mod-a-color { background: var(--mod-a); }
.mod-b-color { background: var(--mod-b); }
.mod-c-color { background: var(--mod-c); }
.mod-d-color { background: var(--mod-d); }
.mod-e-color { background: var(--mod-e); }
.mod-f-color { background: var(--mod-f); }
.mod-g-color { background: var(--mod-g); }
.mod-h-color { background: var(--mod-h); }
.mod-i-color { background: var(--mod-i); }
.mod-j-color { background: var(--mod-j); }
.module-info { flex: 1; }
.module-code { font-size: 0.7rem; font-weight: 800; color: rgba(255,255,255,0.5); letter-spacing: 0.1em; }
.module-name { font-size: 1rem; font-weight: 700; color: var(--white); }
.module-badge {
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 700;
}
.module-badge.required { background: rgba(239,68,68,0.2); color: #fca5a5; border: 1px solid rgba(239,68,68,0.4); }
.module-badge.optional { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.5); border: 1px solid rgba(255,255,255,0.12); }
.module-arrow {
  color: rgba(255,255,255,0.4);
  transition: transform 0.3s;
  font-size: 0.85rem;
}
.module-arrow.open { transform: rotate(180deg); }
.module-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.module-detail.open { max-height: 500px; }
.module-detail-inner {
  padding: 0 1.5rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.md-stat, .md-solution, .md-effect, .md-budget {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.md-stat .fas { color: #fbbf24; margin-top: 0.2rem; flex-shrink: 0; }
.md-solution .fas { color: #60a5fa; margin-top: 0.2rem; flex-shrink: 0; }
.md-effect .fas { color: var(--success); margin-top: 0.2rem; flex-shrink: 0; }
.md-budget .fas { color: var(--accent); margin-top: 0.2rem; flex-shrink: 0; }
.md-img {
  width: 100%;
  border-radius: 8px;
  margin-top: 0.5rem;
  opacity: 0.85;
  max-height: 180px;
  object-fit: cover;
}

/* ── CUSTOM SECTION ── */
.custom { padding: 6rem 0; background: var(--white); }
.profile-axes {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.axis-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--light);
  border-radius: var(--radius);
  transition: all 0.25s;
}
.axis-item:hover { background: var(--primary); color: var(--white); }
.axis-item:hover .axis-icon { color: var(--white); }
.axis-icon { font-size: 1.8rem; color: var(--primary); margin-bottom: 0.5rem; }
.axis-label { font-size: 0.8rem; font-weight: 600; }
.custom-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--gray);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 3rem;
}
.custom-arrow .fas { font-size: 1.5rem; color: var(--primary); }
.type-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}
.type-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.type-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.type-header {
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.type-a { background: linear-gradient(135deg, #1a56db, #6366f1); color: var(--white); }
.type-b { background: linear-gradient(135deg, #0369a1, #0ea5e9); color: var(--white); }
.type-c { background: linear-gradient(135deg, #15803d, #84cc16); color: var(--white); }
.type-d { background: linear-gradient(135deg, #b45309, #f97316); color: var(--white); }
.type-city { font-size: 1.1rem; font-weight: 800; }
.type-size {
  background: rgba(255,255,255,0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
}
.type-body { padding: 1.5rem; background: var(--white); }
.type-quote {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--mid);
  margin-bottom: 1rem;
  padding-left: 0.8rem;
  border-left: 2px solid var(--accent);
}
.type-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.type-detail span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}
.type-modules {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.type-modules span {
  width: 26px; height: 26px;
  background: var(--primary);
  color: var(--white);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}
.type-desc { font-size: 0.84rem; color: var(--gray); line-height: 1.6; }

.custom-cta-box {
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.custom-cta-text h3 { font-size: 1.4rem; font-weight: 800; color: var(--white); margin-bottom: 0.5rem; }
.custom-cta-text p { color: rgba(255,255,255,0.7); }

/* ── FINANCE ── */
.finance {
  padding: 6rem 0;
  background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
}
.finance-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.finance-pyramid { display: flex; flex-direction: column; gap: 0.5rem; }
.fp-layer {
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  text-align: center;
  transition: transform 0.25s;
}
.fp-layer:hover { transform: scale(1.02); }
.fp-1 {
  background: linear-gradient(135deg, #1a56db, #3b82f6);
  color: var(--white);
}
.fp-2 {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  color: var(--white);
  margin: 0 1.5rem;
}
.fp-3 {
  background: linear-gradient(135deg, #6366f1, #818cf8);
  color: var(--white);
  margin: 0 3rem;
}
.fp-label { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.2rem; }
.fp-pct { font-size: 1.8rem; font-weight: 900; margin-bottom: 0.2rem; }
.fp-detail { font-size: 0.78rem; opacity: 0.85; }

.finance-packages { color: var(--white); }
.fp-title { font-size: 1.3rem; font-weight: 800; margin-bottom: 1.5rem; }
.fp-pkg { margin-bottom: 1.5rem; }
.fp-pkg-type { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-bottom: 0.3rem; }
.fp-pkg-budget { font-size: 1.2rem; font-weight: 800; margin-bottom: 0.5rem; }
.fp-pkg-bar { background: rgba(255,255,255,0.1); border-radius: 99px; height: 8px; overflow: hidden; }
.fp-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 99px;
  transition: width 1.2s ease;
}
.fp-note { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 1rem; }

/* ── STORY ── */
.story { padding: 6rem 0; background: var(--light); }
.story-timeline { max-width: 700px; margin: 0 auto 3rem; display: flex; flex-direction: column; gap: 0; }
.st-item {
  display: grid;
  grid-template-columns: 70px 20px 1fr;
  gap: 0 1.5rem;
  align-items: start;
  padding-bottom: 2rem;
  position: relative;
}
.st-item::before {
  content: '';
  position: absolute;
  left: calc(70px + 1.5rem + 9px);
  top: 24px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--border), transparent);
}
.st-item:last-child::before { display: none; }
.st-time {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  text-align: right;
  padding-top: 4px;
}
.st-dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  margin-top: 4px;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px var(--light);
  z-index: 1;
}
.st-morning { background: #fbbf24; }
.st-alert { background: var(--accent); }
.st-emergency { background: var(--danger); }
.st-infra { background: var(--primary); }
.st-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s;
}
.st-card:hover { transform: translateX(5px); }
.st-card-emergency { border-left: 3px solid var(--danger); }
.st-icon { font-size: 1.4rem; color: var(--primary); flex-shrink: 0; padding-top: 2px; }
.st-content strong { display: block; font-weight: 700; margin-bottom: 0.3rem; }
.st-content p { font-size: 0.9rem; color: var(--gray); line-height: 1.6; }
.st-highlight { color: var(--accent); font-weight: 700; }
.st-highlight-red { color: var(--danger); font-weight: 700; }

.story-quote { max-width: 600px; margin: 0 auto; }
.sq-inner {
  background: var(--dark);
  color: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
}
.sq-icon { font-size: 1.5rem; color: var(--accent); margin-bottom: 1rem; display: block; }
.sq-text { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.8rem; line-height: 1.7; }
.sq-sub { font-size: 0.9rem; color: rgba(255,255,255,0.6); }

/* ── MEMBERS ── */
.members {
  padding: 6rem 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
}
.members-grid { margin-bottom: 3rem; display: flex; flex-direction: column; gap: 1rem; }
.member-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  align-items: center;
}
.mr-module {
  font-size: 0.82rem;
  font-weight: 700;
  text-align: right;
}
.mr-bar-wrap { background: rgba(255,255,255,0.08); border-radius: 99px; height: 36px; overflow: hidden; }
.mr-bar {
  height: 100%;
  border-radius: 99px;
  display: flex;
  align-items: center;
  padding-right: 0.8rem;
  justify-content: flex-end;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  transition: width 1.5s ease;
}
.mod-a-color-sm .mr-module, [class*="mod-a"] { color: var(--mod-a); }
.mr-module { color: rgba(255,255,255,0.7); }
.mr-bar { background: linear-gradient(90deg, rgba(255,255,255,0.05), rgba(255,255,255,0.2)); }

/* Override bar colors */
.member-row:nth-child(1) .mr-bar { background: linear-gradient(90deg, var(--mod-a), rgba(249,115,22,0.6)); }
.member-row:nth-child(2) .mr-bar { background: linear-gradient(90deg, var(--mod-b), rgba(59,130,246,0.6)); }
.member-row:nth-child(3) .mr-bar { background: linear-gradient(90deg, var(--mod-e), rgba(236,72,153,0.6)); }
.member-row:nth-child(4) .mr-bar { background: linear-gradient(90deg, var(--mod-h), rgba(16,185,129,0.6)); }
.member-row:nth-child(5) .mr-bar { background: linear-gradient(90deg, var(--mod-c), rgba(239,68,68,0.6)); }
.member-row:nth-child(6) .mr-bar { background: linear-gradient(90deg, var(--mod-i), rgba(132,204,22,0.6)); }
.member-row:nth-child(7) .mr-bar { background: linear-gradient(90deg, var(--mod-g), rgba(220,38,38,0.6)); }
.member-row:nth-child(8) .mr-bar { background: linear-gradient(90deg, var(--mod-f), rgba(245,158,11,0.6)); }
.member-row:nth-child(9) .mr-bar { background: linear-gradient(90deg, var(--mod-j), rgba(6,182,212,0.6)); }
.member-row:nth-child(10) .mr-bar { background: linear-gradient(90deg, var(--mod-d), rgba(139,92,246,0.6)); }

.mod-a-color-sm { color: var(--mod-a) !important; }
.mod-b-color-sm { color: var(--mod-b) !important; }
.mod-c-color-sm { color: var(--mod-c) !important; }
.mod-d-color-sm { color: var(--mod-d) !important; }
.mod-e-color-sm { color: var(--mod-e) !important; }
.mod-f-color-sm { color: var(--mod-f) !important; }
.mod-g-color-sm { color: var(--mod-g) !important; }
.mod-h-color-sm { color: var(--mod-h) !important; }
.mod-i-color-sm { color: var(--mod-i) !important; }
.mod-j-color-sm { color: var(--mod-j) !important; }

.members-cta { text-align: center; }
.members-cta p { color: rgba(255,255,255,0.7); margin-bottom: 1.5rem; font-size: 1.05rem; }

/* ── PRESS ── */
.press { padding: 6rem 0; background: var(--white); }
.press-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.press-card {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1.5px solid var(--border);
  transition: all 0.3s;
}
.press-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow); }
.press-type {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 0.2rem 0.7rem;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.press-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.8rem; line-height: 1.5; color: var(--dark); }
.press-date { font-size: 0.8rem; color: var(--gray); margin-bottom: 1rem; }
.press-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.2s;
}
.press-link:hover { color: var(--primary-dark); }

/* ── FINAL CTA ── */
.final-cta {
  background: linear-gradient(135deg, #0f172a 0%, #1a3a6e 50%, #0f172a 100%);
  padding: 6rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(249,115,22,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.final-cta-inner { max-width: 700px; margin: 0 auto; position: relative; }
.fct-quote {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.fct-quote .fas { color: var(--accent); font-size: 0.8em; }
.fct-sub { color: rgba(255,255,255,0.75); font-size: 1.05rem; margin-bottom: 2.5rem; line-height: 1.8; }
.fct-contacts {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.fct-contacts a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.fct-contacts a:hover { color: var(--white); }

/* ── FOOTER ── */
.footer {
  background: var(--dark);
  padding: 2rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-logo { display: flex; align-items: center; gap: 0.5rem; color: var(--white); }
.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-left: auto;
}
.footer-links a { color: rgba(255,255,255,0.5); font-size: 0.82rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-copy { color: rgba(255,255,255,0.4); font-size: 0.78rem; width: 100%; }

/* ── MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  padding: 1.5rem;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s;
}
.modal-overlay.open .modal-box { transform: scale(1); }
.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--light);
  color: var(--gray);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.modal-close:hover { background: var(--border); }
.modal-header { text-align: center; margin-bottom: 2rem; }
.modal-icon { font-size: 2.5rem; color: var(--danger); margin-bottom: 0.8rem; }
.modal-header h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 0.4rem; }
.modal-subtitle { color: var(--gray); font-size: 0.9rem; }
.modal-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.4rem;
}
.req { color: var(--danger); }
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}
.cb-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--mid);
}
.cb-item input[type="checkbox"] { width: auto; accent-color: var(--primary); }
.privacy-cb { margin-top: 0.3rem; }
.btn-modal-submit {
  width: 100%;
  background: var(--primary);
  color: var(--white);
  padding: 0.9rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: background 0.2s;
  margin-top: 0.5rem;
}
.btn-modal-submit:hover { background: var(--primary-dark); }

/* ── BRIEF PAGE ── */
.sub-page .navbar { background: rgba(17,24,39,0.97) !important; }
.brief-page { padding-top: 80px; min-height: 100vh; }
.brief-hero {
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  color: var(--white);
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}
.bh-badge {
  display: inline-block;
  background: rgba(249,115,22,0.2);
  border: 1px solid rgba(249,115,22,0.4);
  color: var(--accent);
  padding: 0.3rem 1rem;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.brief-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; line-height: 1.3; margin-bottom: 1rem; }
.brief-hero p { color: rgba(255,255,255,0.75); font-size: 1.05rem; line-height: 1.8; margin-bottom: 2rem; }
.bh-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}
.bh-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  padding: 0.5rem 1rem;
  border-radius: 99px;
}
.bh-step span {
  background: var(--accent);
  color: var(--white);
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
}
.bh-steps .fas { color: rgba(255,255,255,0.3); }

.survey-hero { background: linear-gradient(135deg, #0f3460, #16213e); }
.survey-badge { background: rgba(59,130,246,0.2) !important; border-color: rgba(59,130,246,0.4) !important; color: #60a5fa !important; }

.brief-form-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.brief-form { display: flex; flex-direction: column; gap: 2rem; }
.bf-section {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.bf-section h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.bf-section h3 .fas { color: var(--primary); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 0.8rem; }
.form-group:last-child { margin-bottom: 0; }
.region-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1rem; align-items: start; }
.field-hint { font-size: 0.78rem; color: var(--gray); margin-top: 0.2rem; line-height: 1.4; }
@media (max-width: 540px) { .region-row { grid-template-columns: 1fr; } }

.module-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}
.mcb-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  background: var(--light);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--dark);
  transition: background 0.2s;
  border: 1.5px solid transparent;
}
.mcb-item:hover { background: rgba(26,86,219,0.05); border-color: rgba(26,86,219,0.2); }
.mcb-item input[type="checkbox"] { width: auto; accent-color: var(--primary); }
.mcb-code {
  width: 24px; height: 24px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}
.mcb-all { grid-column: 1 / -1; }
.mod-all-color { background: var(--gray); }

.btn-brief-submit {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 1.1rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  transition: all 0.25s;
  box-shadow: 0 4px 20px rgba(26,86,219,0.3);
}
.btn-brief-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(26,86,219,0.4); }
.survey-submit { background: linear-gradient(135deg, #0ea5e9, #0369a1) !important; }

/* ── SUCCESS STATE ── */
.success-message {
  background: rgba(16,185,129,0.1);
  border: 2px solid rgba(16,185,129,0.3);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  color: var(--dark);
}
.success-message .fa-check-circle { font-size: 3rem; color: var(--success); display: block; margin-bottom: 1rem; }
.success-message h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 0.5rem; }
.success-message p { color: var(--gray); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .profile-axes { grid-template-columns: repeat(3, 1fr); }
  .type-cards { grid-template-columns: repeat(2, 1fr); }
  .finance-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-stats { gap: 1.2rem; }
  .stat-num { font-size: 1.5rem; }

  .crisis-grid { grid-template-columns: 1fr; }

  .vision-layout { grid-template-columns: 1fr; }
  .vision-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 0.5rem; }
  .vtab { min-width: 140px; }
  .vpanel.active { grid-template-columns: 1fr; }
  .vpanel-img { height: 200px; }

  .nb-main { grid-template-columns: 1fr; }
  .nb-types { grid-template-columns: 1fr; }
  .nb-sizes { grid-template-columns: 1fr; }

  .modules-grid { grid-template-columns: 1fr; }

  .profile-axes { grid-template-columns: repeat(2, 1fr); }
  .type-cards { grid-template-columns: 1fr; }

  .custom-cta-box { flex-direction: column; text-align: center; }

  .member-row { grid-template-columns: 110px 1fr; }

  .press-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }
  .module-checkbox-grid { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { margin-left: 0; }

  .story-timeline { padding: 0 0.5rem; }
  .st-item { grid-template-columns: 55px 16px 1fr; gap: 0 1rem; }
}

@media (max-width: 480px) {
  .hero-stats { gap: 0.8rem; }
  .stat-divider { display: none; }
  .crisis-stats { justify-content: space-around; flex-wrap: nowrap; }
  .cstat-num { font-size: 1.35rem; }
  .checkbox-grid { grid-template-columns: 1fr; }
}
