/* ============================================================
   mobileN G5 theme — main.css
   Dark premium portfolio. Gold accent. Asymmetric bento.
   Pretendard Variable + GSAP-style perpetual micro-motion.
   ============================================================ */

:root {
  --font-sans: "Pretendard Variable", "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --color-bg: #131316;
  --color-bg-deep: #09090b;
  --color-surface: #1a1a1f;
  --color-surface-2: #1c1c20;
  --color-surface-3: #242428;
  --color-border: #2a2a2e;
  --color-border-light: #1e1e22;
  --color-text: #f0f0f0;
  --color-text-muted: #8e8e96;
  --color-text-subtle: #5c5c64;
  --color-accent: #C4A55A;
  --color-accent-dim: #9A7D3D;
  --color-accent-bright: #D4C080;
  --color-accent-glow: rgba(196, 165, 90, 0.12);
  --header-h: 94px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  color-scheme: dark;
  background-color: #131316;
}

/* ─── Light Mode ─── */
[data-theme="light"] {
  --color-bg:            #eceae4;
  --color-bg-deep:       #e4e1d8;
  --color-surface:       #ffffff;
  --color-surface-2:     #f8f7f3;
  --color-surface-3:     #f0ede6;
  --color-border:        #dedad0;
  --color-border-light:  #e8e4dc;
  --color-text:          #18181a;
  --color-text-muted:    #5a5a62;
  --color-text-subtle:   #9a9aa2;
  --color-accent:        #a8853a;
  --color-accent-dim:    #8a6e2a;
  --color-accent-bright: #c4a55a;
  --color-accent-glow:   rgba(168, 133, 58, 0.10);
  color-scheme: light;
  background-color: #eceae4;
}

/* 라이트 모드 컴포넌트 오버라이드 */
[data-theme="light"] body { background-color: var(--color-bg); }
[data-theme="light"] html { background-color: var(--color-bg); }

[data-theme="light"] .mobilen-header {
  background: rgba(244,243,239,.88);
  border-bottom-color: var(--color-border);
}
[data-theme="light"] .mobilen-header.is-scrolled {
  background: rgba(244,243,239,.96);
  box-shadow: 0 1px 0 var(--color-border);
}
[data-theme="light"] .mobilen-nav__link,
[data-theme="light"] .mn-dropdown-toggle { color: var(--color-text); }
[data-theme="light"] .mn-dropdown { background: #ffffff; border-color: var(--color-border); }
[data-theme="light"] .mn-drawer { background: #ffffff; }

/* 로고 다크/라이트 전환 */
img.logo-light-mode { display: none !important; }
img.logo-dark-mode  { display: block !important; }
[data-theme="light"] img.logo-light-mode { display: block !important; background-color: transparent; }
[data-theme="light"] img.logo-dark-mode  { display: none !important; }

/* 라이트모드 히어로: 다크모드 배경요소 숨김 + WebGL 배경 */
[data-theme="light"] .us-bg-wrap   { display: none !important; }
[data-theme="light"] .glow-orb     { display: none !important; }
[data-theme="light"] .hero-grid-bg { display: none !important; }
[data-theme="light"] .hero-wrap    { background: #eceae4 !important; }

#hero-light-gl {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
#hero-light-gl canvas { display: block; width: 100% !important; height: 100% !important; }

/* 라이트모드 히어로 텍스트 가독성 */
[data-theme="light"] .t-label,
[data-theme="light"] .t-label span    { color: #1a1a1a !important; }
[data-theme="light"] .t-dot           { background: var(--color-accent) !important; }
[data-theme="light"] .t-display--sub  { color: #111111 !important; }
[data-theme="light"] .hero-agency-desc { color: #444444 !important; }
[data-theme="light"] .mn-gooey-t1,
[data-theme="light"] .mn-gooey-t2    { color: var(--color-accent) !important; }

[data-theme="light"] .pf-card { border: 2px solid #ffffff; }
[data-theme="light"] .pagination a { color: #ffffff !important; background: #2a2a2e !important; border-color: #2a2a2e !important; }
[data-theme="light"] .pagination a[style*="var(--color-accent)"] { background: var(--color-accent) !important; }


/* 스크롤바 */
[data-theme="light"] ::-webkit-scrollbar-track { background: var(--color-bg); }
[data-theme="light"] ::-webkit-scrollbar-thumb { background: var(--color-border); }

/* 디바이더 */
[data-theme="light"] .divider { background: linear-gradient(90deg, transparent, var(--color-border), transparent); }

/* 버튼 — 라이트모드 텍스트 흰색 */
[data-theme="light"] .btn-primary {
  color: #ffffff;
}
[data-theme="light"] .btn-ghost {
  background: #2a2a2e;
  border-color: #2a2a2e;
  color: #ffffff;
}
[data-theme="light"] .btn-ghost:hover {
  background: #3a3a3e;
  border-color: #3a3a3e;
}
/* G5 기본 버튼 */
[data-theme="light"] .btn_submit,
[data-theme="light"] .btn_b01,
[data-theme="light"] input[type="submit"],
[data-theme="light"] button[type="submit"]:not([class*="bl-"]),
[data-theme="light"] .btn_admin { color: #ffffff !important; }
[data-theme="light"] .btn_b02,
[data-theme="light"] .btn_cancel {
  background: #2a2a2e !important;
  border-color: #2a2a2e !important;
  color: #ffffff !important;
}

/* 메타 컬러 */
[data-theme="light"] .t-display--sub,
[data-theme="light"] .t-headline { color: var(--color-text); }
[data-theme="light"] .t-body,
[data-theme="light"] .hero-agency-desc { color: var(--color-text-muted); }

/* 테마 토글 버튼 */
.theme-toggle {
  width: 34px; height: 34px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: color .2s, border-color .2s, background .2s;
  flex-shrink: 0;
}
.theme-toggle:hover {
  color: var(--color-accent);
  border-color: var(--color-accent-dim);
  background: var(--color-accent-glow);
}
.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun  { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun  { display: block; }

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; background-color: var(--color-bg); }
body {
  font-family: var(--font-sans);
  background: transparent;  /* let html bg show through; canvas z:-1 paints between html bg and body content */
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}
.mobilen-header { z-index: 50; }
img { background-color: var(--color-bg); display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: rgba(196, 165, 90, 0.25); color: var(--color-text); }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-accent-dim); }

/* ─── Noise overlay (subtle texture) ─── */
/* NOTE: do NOT use mix-blend-mode here — it creates an isolation group that
   hides z-index:-1 fixed siblings (the WebGL canvas). Use plain opacity. */
.noise-overlay {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.025;
}

/* ─── GooeyText morphing ─── */
.mn-gooey-wrap {
  position: relative;
  height: clamp(2.2rem, 4.8vw, 4rem);
  margin: 4px 0;
}
.mn-gooey-svg {
  position: absolute;
  width: 0; height: 0;
}
.mn-gooey-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}
.mn-gooey-t1,
.mn-gooey-t2 {
  position: absolute;
  left: 0;
  font-size: clamp(1.6rem, 3.9vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  white-space: nowrap;
  color: var(--color-accent);
  user-select: none;
}

/* ─── Typography ─── */
.t-display--sub {
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--color-text-muted);
  margin: 0;
}
.t-display {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0;
}
.t-headline {
  font-size: clamp(1.875rem, 4vw, 2.625rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--color-text);
}
.t-body {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  max-width: 65ch;
}
.t-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
/* 영문 라벨 → 한글 타이틀 간격 통일: h1/h2.t-headline 자체 margin-top 제거 */
h1.t-headline,
h2.t-headline { margin-top: 0; }
/* 게시판 스킨 flex-gap 제거 (t-label margin-bottom으로만 간격 제어) */
.bl-head__title-group { gap: 0; }
.t-label .t-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-accent);
  animation: pulse-dot 2.5s ease-in-out infinite;
}
.hero-agency-desc {
  margin: 14px 0 0;
  font-size: clamp(13px, 1.4vw, 18px);
  color: var(--color-text-muted);
  line-height: 1.75;
  font-weight: 400;
}
@media (max-width: 768px) {
  .hero-agency-desc { font-size: clamp(12px, 3.5vw, 15px); }
}
.t-gold { color: var(--color-accent); }

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* ─── Header ─── */
.mobilen-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 50;
  background: rgba(9, 9, 11, 0.75);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: all 0.4s var(--ease-smooth);
}
.mobilen-header__inner {
  max-width: 1400px; margin: 0 auto; height: 100%;
  padding: 15px 24px;
  display: flex; align-items: center; gap: 48px;
}
.mobilen-logo img {
  height: 28px; width: auto; display: block;
}

.mobilen-nav {
  display: flex; align-items: center; gap: 4px;
  flex: 1;
  justify-content: center;
}
.mobilen-nav__link {
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-muted);
  border-radius: 8px;
  transition: color 0.18s ease, background-color 0.18s ease;
  white-space: nowrap;
  position: relative;
  background: transparent;
  border: none;
}
.mobilen-nav__link:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.05);
}
.mobilen-nav__link.active {
  color: var(--color-accent) !important;
  background: rgba(196, 165, 90, 0.12) !important;
}

/* ─── Dropdown (고객센터 등) ─── */
.mn-has-dropdown {
  position: relative;
}
.mn-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  line-height: inherit;
}
.mn-chevron { transition: transform 0.2s ease; flex-shrink: 0; }
.mn-has-dropdown:hover .mn-chevron,
.mn-has-dropdown:focus-within .mn-chevron { transform: rotate(180deg); }

.mn-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 148px;
  background: rgba(16, 16, 16, 0.97);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  /* 위쪽 패딩으로 시각적 간격 확보 + 마우스 이탈 방지 */
  padding: 14px 6px 6px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 300;
}
.mn-has-dropdown:hover .mn-dropdown,
.mn-has-dropdown:focus-within .mn-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mn-dropdown__link {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.mn-dropdown__link:hover,
.mn-dropdown__link.active {
  background: rgba(196, 165, 90, 0.1);
  color: var(--color-accent);
}

.mobilen-header__actions {
  display: flex; align-items: center; gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

/* ─── 헤더 포인트 배지 ─── */
.mn-point-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 12px;
  background: rgba(196,165,90,.1);
  border: 1px solid rgba(196,165,90,.25);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-gold, #C4A55A);
  text-decoration: none;
  transition: background .2s, border-color .2s;
  white-space: nowrap;
}
.mn-point-badge:hover {
  background: rgba(196,165,90,.18);
  border-color: rgba(196,165,90,.5);
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  transition: all 0.25s var(--ease-out-expo);
  position: relative;
  text-decoration: none;
}
.btn:active { transform: translateY(1px) scale(0.97); }
.btn-primary { background: var(--color-accent); color: #0a0a0a; }
.btn-primary:hover { background: var(--color-accent-bright); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn-ghost:hover {
  background: var(--color-surface);
  border-color: var(--color-accent-dim);
}
.btn-sm { padding: 8px 16px; font-size: 0.75rem; }
.btn-lg { padding: 16px 32px; font-size: 0.9375rem; }

/* ─── Section base ─── */
.sec { padding: 100px 0; }
.sec-inner { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.sec-head { margin-bottom: 56px; }
.sec-head .t-label { margin-bottom: 14px; }
.sec-head .t-headline { margin: 0; }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-border) 50%, transparent 100%);
}

/* ─── Hero ─── */
.hero-wrap {
  min-height: auto;
  padding-top: var(--header-h);
  display: flex; align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.us-bg-wrap {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: -1;
  pointer-events: none;
  transition: opacity 0.6s ease;
}
.us-bg-wrap > div {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}

.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(42, 42, 46, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 42, 46, 0.08) 1px, transparent 1px);
  background-size: 100px 100px;
  mask-image: radial-gradient(ellipse 60% 50% at 30% 45%, black 10%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 30% 45%, black 10%, transparent 65%);
}

.glow-orb {
  position: absolute; border-radius: 9999px;
  pointer-events: none; filter: blur(64px);
}
.glow-orb--1 { width: 320px; height: 320px; background: rgba(190, 242, 100, 0.2); top: -96px; left: -96px; }
.glow-orb--2 { width: 288px; height: 288px; background: rgba(254, 240, 138, 0.1); top: 33%; right: -96px; }
.glow-orb--3 { width: 576px; height: 256px; background: rgba(163, 230, 53, 0.1); bottom: 0; left: 50%; transform: translateX(-50%); }

.hero-inner {
  position: relative; z-index: 1;
  max-width: 1400px; margin: 0 auto;
  padding: 40px 24px 50px;
  width: 100%;
}
.hero-inner > .t-label { margin-bottom: 24px; }

/* ─── Hero top split (2-col: heading+gooey | carousel) ─── */
.hero-top-split {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}
.hero-top-left { display: flex; flex-direction: column; gap: 12px; }

/* ─── Feature carousel ─── */
.hero-top-right { position: relative; margin-right: -24px; }

.mn-carousel {
  position: relative;
  width: 100%;
  user-select: none;
}

.mn-carousel__stage {
  position: relative;
  height: 420px;
  perspective: 900px;
  perspective-origin: 50% 50%;
}

.mn-carousel__slide {
  position: absolute;
  top: 0;
  left: 50%;
  width: 234px;
  height: 420px;
  transform-origin: center center;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              opacity   0.55s cubic-bezier(0.16, 1, 0.3, 1),
              filter    0.55s ease;
  will-change: transform, opacity;
  border-radius: 12px;
  overflow: hidden;
}
.mn-carousel__slide a { display: block; width: 100%; height: 100%; }
.mn-carousel__slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  background: var(--color-surface);
}

/* Slide states */
.mn-carousel__slide.is-center {
  transform: translateX(-50%) translateZ(0) scale(1);
  opacity: 1;
  z-index: 3;
  box-shadow: 0 24px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(196,165,90,0.25);
}
.mn-carousel__slide.is-left {
  transform: translateX(calc(-50% - 210px)) translateZ(-120px) rotateY(18deg) scale(0.82);
  opacity: 0.55;
  z-index: 2;
  filter: brightness(0.65);
}
.mn-carousel__slide.is-right {
  transform: translateX(calc(-50% + 210px)) translateZ(-120px) rotateY(-18deg) scale(0.82);
  opacity: 0.55;
  z-index: 2;
  filter: brightness(0.65);
}
.mn-carousel__slide.is-far {
  transform: translateX(-50%) translateZ(-260px) scale(0.6);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

/* Controls */
.mn-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}
.mn-carousel__btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-muted);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.mn-carousel__btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: var(--color-accent-glow);
}
.mn-carousel__dots { display: flex; gap: 6px; align-items: center; }
.mn-carousel__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  border: none;
  background: var(--color-border);
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}
.mn-carousel__dot.is-active {
  background: var(--color-accent);
  transform: scale(1.4);
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.hero-left .t-body { margin: 0 0 32px; max-width: 440px; }
.hero-btns { display: flex; gap: 12px; }

/* preview-card (terminal style) */
.preview-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: 16px;
  padding: 0;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.04);
}
.pc-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border-light);
  display: flex; align-items: center; gap: 8px;
}
.pc-dot { width: 8px; height: 8px; border-radius: 50%; }
.pc-url {
  margin-left: 12px;
  font-size: 0.6875rem;
  color: var(--color-text-subtle);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
.pc-body {
  flex: 1;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pc-title { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; }
.pc-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.pc-tag {
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text-muted);
  font-size: 0.6875rem;
  font-weight: 500;
}
.pc-tag--gold {
  background: rgba(196, 165, 90, 0.1);
  color: var(--color-accent);
}
.pc-desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
}
.pc-stats {
  margin-top: auto;
  display: flex; gap: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border-light);
}
.pc-stat-num { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.03em; }
.pc-stat-label { font-size: 0.625rem; color: var(--color-text-subtle); margin-top: 2px; }

/* ─── Bento Services ─── */
.bento-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.bento-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: 16px;
  padding: 28px;
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
  display: flex;
  flex-direction: column;
}
.bento-card:hover {
  border-color: rgba(196, 165, 90, 0.3);
  transform: translateY(-2px);
}
.bento-card--featured {
  grid-row: span 2;
  border-color: rgba(196, 165, 90, 0.2);
  background: linear-gradient(170deg, rgba(196, 165, 90, 0.04) 0%, var(--color-surface) 40%);
}
.bento-card--featured .t-label { margin-bottom: 20px; }
.bento-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 12px 0 8px;
}
.bento-card__desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.65;
}
.bento-card__num {
  margin-top: auto;
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--color-accent);
  opacity: 0.4;
  line-height: 1;
}
.bento-card__link {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent);
  padding: 0;
  margin-top: 16px;
  text-align: left;
}
.sv-ai {
  margin-top: 16px;
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* ─── Portfolio Grid ─── */
.pf-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.pf-card {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  transition: all 0.3s var(--ease-out-expo);
  aspect-ratio: 1;
}
.pf-card:hover {
  border-color: rgba(196, 165, 90, 0.4);
  transform: translateY(-2px);
}
.pf-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease-out-expo);
}
.pf-card:hover img { transform: scale(1.03); }
.pf-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: #dc2626;
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 4px;
  letter-spacing: 0.02em;
  line-height: 1;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.18);
}

/* ─── CTA ─── */
.cta-wrap {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-deep) 100%);
  position: relative;
  overflow: hidden;
}
.cta-inner {
  position: relative; z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.cta-email {
  font-size: 0.8125rem;
  color: var(--color-text-subtle);
}

/* ─── Footer ─── */
.mobilen-footer {
  background: var(--color-bg-deep);
  border-top: 1px solid var(--color-border-light);
  padding: 60px 0 40px;
}
.mobilen-footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}
.mobilen-footer__brand {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.mobilen-footer__logo { height: 28px; }
.mobilen-footer__ci-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.mobilen-footer__ci-btn:hover {
  border-color: var(--color-gold, #C4A55A);
  color: var(--color-gold, #C4A55A);
}
.mobilen-footer__ci-chevron {
  transition: transform .25s ease;
  flex-shrink: 0;
}
.mobilen-footer__ci-btn[aria-expanded="true"] .mobilen-footer__ci-chevron {
  transform: rotate(180deg);
}
.mobilen-footer__info {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, opacity .3s ease, margin-bottom .3s ease;
  opacity: 0;
  margin-bottom: 0;
}
.mobilen-footer__info.is-open {
  max-height: 200px;
  opacity: 1;
  margin-bottom: 20px;
}
.mobilen-footer__info p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin: 4px 0;
}
.mobilen-footer__bottom {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border-light);
  font-size: 0.75rem;
  color: var(--color-text-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.mobilen-footer__legal { display: flex; gap: 20px; }
.mobilen-footer__legal a {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color .2s;
}
.mobilen-footer__legal a:hover { color: var(--color-gold, #C4A55A); }

/* ─── Animation utility classes ─── */
.a-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out-expo) forwards;
}
.a-up.d1 { animation-delay: 0.15s; }
.a-up.d2 { animation-delay: 0.3s; }
.a-up.d3 { animation-delay: 0.45s; }
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   G5 BUILT-IN COMPONENT OVERRIDES (board, member, content)
   Match dark theme — override G5 default light styles
   ============================================================ */

/* Generic G5 page wrapper — must be transparent so WebGL canvas (z-index:-1) shows */
#container, #wrapper {
  background: transparent !important;
  color: var(--color-text);
  padding-top: var(--header-h);
  min-height: calc(100vh - var(--header-h));
}

/* G5 page heading */
#bo_list, #bo_v, #bo_w, #fregisterform, #flogin, #fmemberform,
#mb_confirm, #fconfirm, #content, #bo_cate {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 24px 100px;
  color: var(--color-text);
}

#bo_list h2:not(.t-headline), #bo_v h2, #bo_w h2, #fregisterform h2, #flogin h2,
#mb_confirm h2, #content h2 {
  font-size: clamp(1.875rem, 4vw, 2.625rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--color-text);
  margin-bottom: 40px;
}

/* G5 tables */
.tbl_head01, .tbl_head02, .tbl_wrap {
  background: var(--color-surface) !important;
  border-radius: 12px;
  border: 1px solid var(--color-border-light);
  overflow: hidden;
  margin-bottom: 24px;
}
.tbl_head01 table, .tbl_head02 table, .tbl_wrap table {
  background: transparent !important;
  width: 100%;
  border-collapse: collapse;
}
.tbl_head01 thead th, .tbl_head02 thead th, .tbl_wrap thead th {
  background: rgba(255,255,255,0.03) !important;
  color: var(--color-text-muted) !important;
  font-weight: 600;
  font-size: 0.8125rem;
  padding: 16px 12px;
  border-bottom: 1px solid var(--color-border-light);
  text-align: center;
}
.tbl_head01 tbody td, .tbl_head02 tbody td, .tbl_wrap tbody td {
  background: transparent !important;
  color: var(--color-text-muted);
  padding: 14px 12px;
  border-bottom: 1px solid var(--color-border-light);
  font-size: 0.875rem;
}
.tbl_head01 tbody tr:hover td, .tbl_head02 tbody tr:hover td, .tbl_wrap tbody tr:hover td {
  background: rgba(196, 165, 90, 0.04) !important;
}
.tbl_head01 tbody tr:last-child td { border-bottom: none; }
.bo_tit a { color: var(--color-text) !important; }
.bo_tit a:hover { color: var(--color-accent) !important; }

/* Inputs */
.frm_input, .form_01 input[type="text"], .form_01 input[type="password"],
.form_01 input[type="email"], .form_01 textarea, .form_01 select,
input[type="text"]:not([class*="bl-"]), input[type="password"]:not([class*="bl-"]),
input[type="email"]:not([class*="bl-"]), textarea:not([class*="bl-"]), select:not([class*="bl-"]),
input[type="file"]:not([class*="bl-"]) {
  background: var(--color-surface) !important;
  border: 1px solid rgba(255,255,255,0.22) !important;
  border-radius: 8px !important;
  color: var(--color-text) !important;
  padding: 12px 16px !important;
  font-size: 0.9375rem !important;
  font-family: var(--font-sans) !important;
  transition: border-color 0.18s ease;
}
/* ── Light mode inputs ── */
[data-theme="light"] .frm_input,
[data-theme="light"] .form_01 input[type="text"],
[data-theme="light"] .form_01 input[type="password"],
[data-theme="light"] .form_01 input[type="email"],
[data-theme="light"] .form_01 textarea,
[data-theme="light"] .form_01 select,
[data-theme="light"] input[type="text"]:not([class*="bl-"]),
[data-theme="light"] input[type="password"]:not([class*="bl-"]),
[data-theme="light"] input[type="email"]:not([class*="bl-"]),
[data-theme="light"] textarea:not([class*="bl-"]),
[data-theme="light"] select:not([class*="bl-"]),
[data-theme="light"] input[type="file"]:not([class*="bl-"]) {
  background: #f4f3ef !important;
  border: 1px solid #d6d3cb !important;
  color: #18181a !important;
}
.frm_input:focus, input[type="text"]:focus, input[type="password"]:focus,
input[type="email"]:focus, textarea:focus, select:focus {
  border-color: var(--color-accent) !important;
  outline: none;
}
.frm_input::placeholder, input::placeholder, textarea::placeholder {
  color: var(--color-text-subtle);
}

/* Form labels and rows */
.form_01 li, .form_01 dl, .form_01 dt, .form_01 dd, .write_div {
  background: transparent !important;
  color: var(--color-text);
  padding: 12px 0;
}
.form_01 label, .write_div label, label {
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  font-weight: 600;
}

/* G5 buttons */
.btn_submit, .btn_b01, .btn_b02, .btn_b03, .btn_frmline,
input[type="submit"], button[type="submit"]:not([class*="bl-"]), .btn_admin, .btn_cancel {
  background: var(--color-accent) !important;
  color: #0a0a0a !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 12px 24px !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  font-family: var(--font-sans) !important;
  cursor: pointer !important;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn_submit:hover, .btn_b01:hover, input[type="submit"]:hover {
  background: var(--color-accent-bright) !important;
  transform: translateY(-1px);
}
.btn_b02, .btn_cancel {
  background: transparent !important;
  color: var(--color-text) !important;
  border: 1px solid var(--color-border) !important;
}
.btn_b02:hover, .btn_cancel:hover {
  background: var(--color-surface) !important;
  border-color: var(--color-accent-dim) !important;
}

/* G5 board action buttons row */
.bo_fx, .btn_bo_user, .btn_bo_adm {
  display: flex;
  gap: 8px;
  margin: 16px 0;
}
.bo_fx a, .btn_bo_user a, .btn_bo_adm a {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  color: var(--color-text);
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.bo_fx a:hover, .btn_bo_user a:hover {
  border-color: var(--color-accent-dim);
  background: var(--color-surface-2);
}

/* Pagination */
.pg_wrap, .pg {
  text-align: center;
  margin: 40px 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.pg_page, .pg_current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.18s;
}
.pg_page {
  background: rgba(255,255,255,0.04);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border-light);
}
.pg_page:hover {
  border-color: var(--color-accent-dim);
  color: var(--color-text);
}
.pg_current {
  background: var(--color-accent);
  color: #0a0a0a;
}

/* G5 view (게시글 상세) */
#bo_v_top { padding: 24px; background: var(--color-surface); border-radius: 12px; margin-bottom: 16px; }
#bo_v_title { color: var(--color-text); font-size: 1.5rem; font-weight: 800; margin-bottom: 12px; }
#bo_v_info { color: var(--color-text-subtle); font-size: 0.8125rem; }
#bo_v_atc { padding: 32px 24px; background: var(--color-surface); border-radius: 12px; margin: 16px 0; line-height: 1.8; color: var(--color-text-muted); }

/* Comments */
#bo_vc { background: var(--color-surface); border-radius: 12px; padding: 24px; margin-top: 24px; }
.cmt_contents, .comment_box { color: var(--color-text-muted); }

/* Member: register / login forms */
#flogin .login_input, #fregisterform .register_form,
.member_form, .login_form, .auth_form {
  max-width: 420px;
  margin: 80px auto;
  padding: 40px;
  background: var(--color-surface);
  border-radius: 16px;
  border: 1px solid var(--color-border-light);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}

/* Captcha block */
.captcha, #captcha {
  background: var(--color-surface);
  border-radius: 8px;
  padding: 12px;
}

/* Sound only (G5 a11y class) */
.sound_only, .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  border: 0 !important;
}

/* Hide G5's own header/footer remnants when our theme is active */
#hd, #ft, #tnb, #hd_h1, #skip_to_container { display: none !important; }

/* G5 member skin (login/register/find pw) */
.mbskin, .mbskin_box, .mb_login, .mbskin > h1, .mbskin > div {
  background: var(--color-surface) !important;
  color: var(--color-text) !important;
  border: 1px solid var(--color-border-light) !important;
  border-radius: 16px !important;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.mbskin {
  max-width: 480px;
  margin: 120px auto 80px !important;
  padding: 40px !important;
}
.mbskin h1, .mbskin h2 {
  color: var(--color-text) !important;
  font-size: 1.5rem !important;
  font-weight: 800;
  text-align: center;
  margin-bottom: 28px !important;
  border: none !important;
  padding: 0 !important;
  background: transparent !important;
}
.mbskin .login_input, .mbskin label, .mbskin .info_msg {
  color: var(--color-text-muted) !important;
}
.mbskin a { color: var(--color-text-muted); }
.mbskin a:hover { color: var(--color-accent); }

/* G5 register/agreement pages */
.cbox, .agreebox, .reg_box, .form_01 fieldset {
  background: var(--color-surface) !important;
  border: 1px solid var(--color-border-light) !important;
  border-radius: 12px;
  padding: 24px;
  color: var(--color-text-muted);
}

/* All any remaining G5 white panels - belt and suspenders */
.tbl_frm01, .tbl_frm02, .pcg_box, .frm_box {
  background: var(--color-surface) !important;
  color: var(--color-text);
  border-radius: 12px;
  border: 1px solid var(--color-border-light) !important;
}

/* G5 alert / notice / info messages */
.msg_sound_only, .info_msg, .alert, .notice, .pwc_status,
.member_form_info, .form_required, .agree_box,
[class*="alert_"], [class*="notice_"] {
  background: var(--color-surface) !important;
  color: var(--color-text-muted) !important;
  border: 1px solid var(--color-border-light) !important;
  border-left: 3px solid var(--color-accent) !important;
  border-radius: 8px;
  padding: 14px 18px !important;
}

/* Required field indicator (often a small inline span with white bg) */
.required, span.required, em.required, strong.required {
  background: var(--color-accent) !important;
  color: #0a0a0a !important;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.6875rem;
}

/* G5 captcha box */
#captcha, .captcha, .auto_input, .captcha_block {
  background: var(--color-surface) !important;
  border: 1px solid var(--color-border-light) !important;
  border-radius: 8px;
  padding: 12px !important;
}

/* All G5 fieldset / legend cleanup */
fieldset { background: transparent !important; border: none !important; padding: 0 !important; }
legend { color: var(--color-text); font-weight: 700; padding: 0 !important; margin: 0 0 16px !important; }

/* Force any remaining div with inline white bg via attribute selector */
div[style*="background-color:#fff"], div[style*="background:#fff"],
div[style*="background-color:#ffffff"], div[style*="background:#ffffff"] {
  background: var(--color-surface) !important;
}

/* G5 form alerts (pink/red bg paragraphs) — reset all p bgs in container */
#container p, #wrapper p, form p {
  background-color: transparent !important;
}
/* Then style the first child <p> of forms (G5 alert convention) as our notice */
form > p:first-child {
  background: var(--color-surface) !important;
  color: var(--color-text-muted) !important;
  border: 1px solid var(--color-border-light) !important;
  border-left: 3px solid var(--color-accent) !important;
  border-radius: 8px;
  padding: 14px 18px !important;
  margin-bottom: 20px !important;
}

/* Empty state messages */
.empty_table, .empty_list, .empty_table td {
  color: var(--color-text-subtle);
  text-align: center;
  padding: 80px 24px !important;
  background: transparent !important;
}

/* ─── Hamburger button ─── */
.mn-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}
.mn-hamburger span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease-out-expo), opacity 0.2s;
  transform-origin: center;
}
.mn-hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mn-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mn-hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── Mobile drawer ─── */
.mn-drawer {
  position: fixed;
  top: var(--header-h); right: 0;
  width: 280px; height: calc(100vh - var(--header-h));
  background: var(--color-surface);
  border-left: 1px solid var(--color-border-light);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease-out-expo);
  overflow-y: auto;
  display: none;
}
.mn-drawer.is-open { transform: translateX(0); }
.mn-drawer__inner {
  padding: 32px 24px;
  display: flex; flex-direction: column;
  height: 100%;
}
.mn-drawer__nav {
  display: flex; flex-direction: column;
  gap: 4px;
  flex: 1;
}
.mn-drawer__link {
  display: block;
  padding: 13px 16px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-muted);
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.mn-drawer__link:hover,
.mn-drawer__link.active {
  background: rgba(196,165,90,0.08);
  color: var(--color-accent);
}
/* Drawer accordion group */
.mn-drawer__group { display: flex; flex-direction: column; }
.mn-drawer__group-toggle {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; background: none; border: none; cursor: pointer; font: inherit;
  text-align: left;
}
.mn-drawer__group-toggle .mn-chevron { transition: transform 0.2s; }
.mn-drawer__group-toggle[aria-expanded="true"] .mn-chevron { transform: rotate(180deg); }
.mn-drawer__sub {
  padding-left: 12px;
  display: flex; flex-direction: column; gap: 2px;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.25s ease;
}
.mn-drawer__sub.is-open { max-height: 200px; }
.mn-drawer__sublink {
  display: block;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px; font-weight: 600;
  color: var(--color-text-muted);
  transition: background 0.15s, color 0.15s;
}
.mn-drawer__sublink:hover,
.mn-drawer__sublink.active {
  background: rgba(196,165,90,0.08);
  color: var(--color-accent);
}

.mn-drawer__actions {
  display: flex; flex-direction: column;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border-light);
  margin-top: 24px;
}
.mn-drawer__actions .btn { width: 100%; justify-content: center; }

/* Backdrop */
.mn-drawer__backdrop {
  display: none;
  position: fixed; inset: 0;
  z-index: 199;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mn-drawer__backdrop.is-open { opacity: 1; pointer-events: auto; }

/* ─── Responsive ─── */
.desktop-only { display: inline-flex; }
.mobile-only { display: none; }

@media (max-width: 1024px) {
  .hero-top-split { grid-template-columns: 1fr; gap: 40px; margin-bottom: 40px; }
  .hero-split { grid-template-columns: 1fr !important; gap: 40px; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card--featured { grid-row: auto; }
  .pf-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { grid-template-columns: 1fr; gap: 40px; }
  .mn-carousel__stage { height: 220px; }
  .mn-carousel__slide { width: 170px; height: 220px; }
  .mn-carousel__slide.is-left  { transform: translateX(calc(-50% - 130px)) translateZ(-100px) rotateY(18deg) scale(0.82); }
  .mn-carousel__slide.is-right { transform: translateX(calc(-50% + 130px)) translateZ(-100px) rotateY(-18deg) scale(0.82); }
}
@media (max-width: 768px) {
  .mobilen-nav { display: none; }
  .desktop-only { display: none; }
  .mobile-only { display: inline-flex; }
  .mn-hamburger { display: flex; }
  .mn-drawer { display: block; }
  .mn-drawer__backdrop { display: block; }
  .pf-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .sec { padding: 60px 20px; }
  .hero-inner { padding: 60px 20px 80px; }
  .mobilen-header__inner { padding: 0 16px; gap: 16px; }
  .mn-carousel__stage { height: 200px; }
  .mn-carousel__slide { width: 150px; height: 200px; }
  .mn-carousel__slide.is-left  { transform: translateX(calc(-50% - 110px)) translateZ(-80px) rotateY(18deg) scale(0.82); }
  .mn-carousel__slide.is-right { transform: translateX(calc(-50% + 110px)) translateZ(-80px) rotateY(-18deg) scale(0.82); }
}

/* ── AI 서비스 단가 배너 ──────────────────────────────────────── */
.ai-cost-bar {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: 12px;
  padding: 14px 20px;
  flex-wrap: wrap;
  row-gap: 10px;
}
.ai-cost-bar__group {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.ai-cost-bar__label {
  font-size: 12px;
  color: var(--color-text-muted);
  letter-spacing: .03em;
}
.ai-cost-bar__price {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: -.01em;
}
.ai-cost-bar__price em {
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-left: 2px;
}
.ai-cost-bar__sep {
  width: 1px;
  height: 24px;
  background: var(--color-border);
  margin: 0 20px;
}
.ai-cost-bar__btn {
  margin-left: auto;
  padding: 7px 18px;
  background: transparent;
  border: 1px solid var(--color-accent);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.ai-cost-bar__btn:hover {
  background: var(--color-accent);
  color: #000;
}
@media (max-width: 600px) {
  .ai-cost-bar { padding: 12px 16px; }
  .ai-cost-bar__sep { margin: 0 14px; }
  .ai-cost-bar__btn { width: 100%; text-align: center; margin-left: 0; }
}

/* ── AI 서비스 벤토 섹션 ──────────────────────────────────────── */
.ai-svc-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 48px;
}
.ai-svc-head__left {}
.ai-svc-head__left .t-label { margin-bottom: 14px; }
.ai-svc-head__left .t-headline { margin: 0 0 12px; }
.ai-svc-head__left .t-body { margin: 0; font-size: 0.9375rem; }
@media (max-width: 768px) {
  .ai-svc-head { grid-template-columns: 1fr; }
  .ai-svc-head__right { display: none; }
}

/* 벤토 그리드: left wide + right 2-stack */
.ai-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
@media (max-width: 640px) {
  .ai-bento { grid-template-columns: 1fr; }
}

.ai-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 32px;
  overflow: hidden;
  text-decoration: none;
  color: var(--color-text);
  transition: border-color .25s var(--ease-out-expo),
              transform .25s var(--ease-out-expo),
              box-shadow .25s var(--ease-out-expo);
}
.ai-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse at 70% 0%, rgba(196,165,90,.07) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.ai-card:hover {
  border-color: rgba(196,165,90,.35);
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(0,0,0,.35);
}
.ai-card:hover::before { opacity: 1; }

.ai-card--image,
.ai-card--detail,
.ai-card--video {
  min-height: 320px;
  justify-content: flex-end;
}

/* 서비스 배지 (상단 좌) */
.ai-card__tag {
  position: absolute;
  top: 22px; left: 24px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(196,165,90,.1);
  border: 1px solid rgba(196,165,90,.2);
  border-radius: 4px;
  padding: 4px 10px;
}

/* 크레딧 뱃지 (상단 우) */
.ai-card__cost {
  position: absolute;
  top: 22px; right: 24px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-muted);
  background: var(--color-bg-deep);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 4px 10px;
  letter-spacing: .02em;
}

/* 아이콘 영역 */
.ai-card__icon {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 20px 0 16px;
}
.ai-card__icon svg {
  opacity: .18;
  transition: opacity .3s;
}
.ai-card:hover .ai-card__icon svg { opacity: .28; }

/* 텍스트 */
.ai-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--color-text);
  margin: 0 0 8px;
}
.ai-card--image .ai-card__title { font-size: 1.625rem; }

.ai-card__desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0 0 20px;
}

/* CTA 화살표 */
.ai-card__arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent);
  transition: gap .2s var(--ease-out-expo);
}
.ai-card:hover .ai-card__arrow { gap: 10px; }

/* 하단 크레딧 CTA 스트립 */
.ai-svc-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 28px;
  background: var(--color-bg-deep);
  border: 1px solid var(--color-border);
  border-radius: 14px;
}
.ai-svc-bottom__text {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}
.ai-svc-bottom__text strong {
  color: var(--color-text);
  font-weight: 600;
}
@media (max-width: 640px) {
  .ai-svc-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── CTA 섹션 개선 ──────────────────────────────────────────── */
.cta-actions--row {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* ── 실적 Stats Bar ─────────────────────────────────────────── */
.stats-bar {
  padding: 52px 0;
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}
.stats-bar__inner {
  max-width: 1400px; margin: 0 auto; padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stats-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 24px;
  border-right: 1px solid var(--color-border-light);
  text-align: center;
}
.stats-item:first-child { border-left: none; }
.stats-item:last-child  { border-right: none; }
.stats-item__num {
  font-size: clamp(2rem, 3.5vw, 2.875rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--color-text);
}
.stats-item__num em {
  font-style: normal;
  color: var(--color-accent);
}
.stats-item__label {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-weight: 500;
  letter-spacing: 0.01em;
}
@media (max-width: 768px) {
  .stats-bar__inner { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .stats-item { border-right: none; border-bottom: 1px solid var(--color-border-light); padding: 0 0 28px; }
  .stats-item:nth-child(2n) { border-bottom: none; }
  .stats-item:last-child, .stats-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }
}

/* ── WP 호스팅 배너 ─────────────────────────────────────────── */
.hosting-banner {
  background: linear-gradient(120deg, var(--color-surface) 0%, rgba(196,165,90,.06) 100%);
  border: 1px solid rgba(196,165,90,.2);
  border-radius: 20px;
  padding: 40px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin: 0;
}
.hosting-banner::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(196,165,90,.1) 0%, transparent 70%);
  pointer-events: none;
}
.hosting-banner__tag {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(196,165,90,.1);
  border: 1px solid rgba(196,165,90,.2);
  border-radius: 4px;
  padding: 4px 10px;
  display: inline-block;
  margin-bottom: 14px;
}
.hosting-banner__title {
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--color-text);
  margin: 0 0 10px;
  line-height: 1.2;
}
.hosting-banner__desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}
.hosting-banner__inc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 16px;
  list-style: none;
  padding: 0;
}
.hosting-banner__inc li {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hosting-banner__inc li::before {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}
.hosting-banner__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex-shrink: 0;
}
.hosting-banner__price-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: right;
  letter-spacing: .02em;
}
.hosting-banner__price {
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--color-text);
  line-height: 1;
  text-align: right;
  white-space: nowrap;
}
.hosting-banner__price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-muted);
}
@media (max-width: 768px) {
  .hosting-banner { grid-template-columns: 1fr; padding: 28px 24px; gap: 24px; }
  .hosting-banner__right { align-items: flex-start; }
  .hosting-banner__price { text-align: left; }
  .hosting-banner__price-label { text-align: left; }
}

/* ── 제작 프로세스 ──────────────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  counter-reset: step;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 28px; left: calc(12.5%);
  width: calc(75%);
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--color-border) 10%,
    var(--color-border) 90%,
    transparent 100%);
}
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
}
.process-step__num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-accent);
  letter-spacing: -.02em;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  transition: background .25s, border-color .25s;
}
.process-step:hover .process-step__num {
  background: rgba(196,165,90,.12);
  border-color: rgba(196,165,90,.4);
}
.process-step__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 8px;
  letter-spacing: -.01em;
}
.process-step__desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
}
@media (max-width: 768px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
  .process-grid::before { display: none; }
  .process-step { padding: 0 12px; }
}
@media (max-width: 480px) {
  .process-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ── 자동 견적 배너 ─────────────────────────────────────────── */
.estimate-banner {
  background: var(--color-bg-deep);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: 14px;
  padding: 28px 36px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.estimate-banner__icon {
  width: 48px; height: 48px;
  background: rgba(196,165,90,.1);
  border: 1px solid rgba(196,165,90,.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent);
}
.estimate-banner__body { flex: 1; }
.estimate-banner__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 4px;
}
.estimate-banner__sub {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0;
}
.estimate-banner__sub strong {
  color: var(--color-accent);
  font-weight: 600;
}
@media (max-width: 640px) {
  .estimate-banner { flex-direction: column; align-items: flex-start; gap: 16px; padding: 22px 20px; }
}

/* ─── 신설 배지 ─── */
.mn-new-badge {
  display: inline-block;
  margin-left: 5px;
  padding: 1px 5px;
  background: #e53935;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 3px;
  line-height: 1.5;
  vertical-align: middle;
  letter-spacing: 0;
}


