/* ══════════════════════════════════════════════════════════════
   MONOBUILD 통합 CSS — 다크 이머시브 테마
   preview-d.html 기반 전면 재작성
   수정일: 2026-06-04 07:05 (KST)
   ══════════════════════════════════════════════════════════════ */

/* ── 디자인 토큰 — 수정일: 2026-06-04 07:05 (KST) ── */
:root {
    /* 기본 색상 (Core) */
    --background: #0a0a0a;
    --foreground: #e8e8e8;
    --foreground-bright: #ffffff;
    --foreground-muted: rgba(255,255,255,0.4);
    --foreground-dim: rgba(255,255,255,0.25);
    --foreground-ghost: rgba(255,255,255,0.12);

    /* 액센트 (Accent) */
    --accent-blue: #3B82F6;
    --accent-green: #10B981;
    --accent-amber: #F59E0B;
    --accent-violet: #8B5CF6;
    --accent-cyan: #06B6D4;

    /* 표면 (Surface) */
    --surface-card: rgba(255,255,255,0.02);
    --surface-card-hover: rgba(255,255,255,0.04);
    --border-subtle: rgba(255,255,255,0.06);
    --border-hover: rgba(255,255,255,0.1);
    --border-faint: rgba(255,255,255,0.04);

    /* 메시 블롭 (Blob) */
    --blob-blue: rgba(30, 64, 175, 0.25);
    --blob-green: rgba(16, 185, 129, 0.2);
    --blob-violet: rgba(139, 92, 246, 0.12);

    /* 버튼 */
    --btn-solid-bg: #ffffff;
    --btn-solid-text: #0a0a0a;
    --btn-wire-border: rgba(255,255,255,0.2);
    --btn-wire-text: #ffffff;

    /* 타이포그래피 */
    --font-family: 'Noto Sans KR', sans-serif;
    --font-base: 16px;
}

/* ── 리셋 — 수정일: 2026-06-04 07:05 (KST) ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: var(--font-base); scroll-behavior: smooth; }
body {
    font-family: var(--font-family);
    background: var(--background);
    color: var(--foreground);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    cursor: none;
}
a { color: inherit; text-decoration: none; cursor: none; }
ul { list-style: none; }
button { cursor: none; font-family: inherit; }
img { max-width: 100%; display: block; }

/* ══════════════════════════════════════════════════════════════
   커스텀 커서 — 수정일: 2026-06-04 07:05 (KST)
   ══════════════════════════════════════════════════════════════ */
.cursor {
    position: fixed; top: 0; left: 0;
    width: 16px; height: 16px;
    background: var(--foreground-bright);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: width 0.3s, height 0.3s, margin 0.3s;
}
.cursor.expand {
    width: 60px; height: 60px;
    margin: -22px 0 0 -22px;
}

/* ══════════════════════════════════════════════════════════════
   네비게이션 — 수정일: 2026-06-04 07:05 (KST)
   PC: 심플 네비 | 모바일: 햄버거 + 풀스크린 드로어
   ══════════════════════════════════════════════════════════════ */
.nav {
    position: fixed; top: 0; left: 0; right: 0;
    height: 72px; z-index: 500;
    display: flex; align-items: center;
    padding: 0 clamp(24px, 4vw, 56px);
    mix-blend-mode: difference;
}
.nav__inner {
    width: 100%; max-width: 1400px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
}
.nav__logo {
    font-size: 16px; font-weight: 800; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--foreground-bright);
}
.nav__logo img { height: 28px; }
.nav__links { display: flex; gap: 32px; }
.nav__links a {
    font-size: 13px; font-weight: 500; letter-spacing: 0.06em;
    color: rgba(255,255,255,0.6);
    transition: color 0.3s;
    position: relative;
}
.nav__links a:hover,
.nav__links a.active { color: var(--foreground-bright); }
.nav__links a::after {
    content: ''; position: absolute;
    bottom: -4px; left: 0; width: 0; height: 1px;
    background: var(--foreground-bright);
    transition: width 0.3s;
}
.nav__links a:hover::after { width: 100%; }
.nav__cta {
    padding: 10px 28px; font-size: 12px; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--btn-solid-text); background: var(--btn-solid-bg);
    border: none; border-radius: 100px;
    transition: all 0.3s;
}
.nav__cta:hover { transform: scale(1.05); }

/* 햄버거 버튼 — 수정일: 2026-06-04 07:05 (KST) */
.nav__toggle {
    display: none;
    flex-direction: column; gap: 5px;
    background: none; border: none; padding: 8px;
    z-index: 601;
}
.nav__toggle-bar {
    display: block; width: 24px; height: 2px;
    background: var(--foreground-bright);
    transition: all 0.3s;
}
.nav__toggle.is-open .nav__toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav__toggle.is-open .nav__toggle-bar:nth-child(2) { opacity: 0; }
.nav__toggle.is-open .nav__toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* 모바일 드로어 — 수정일: 2026-06-04 07:05 (KST) */
.nav__drawer {
    display: none;
    position: fixed; inset: 0; z-index: 600;
    background: rgba(10,10,10,0.97);
    flex-direction: column; align-items: center; justify-content: center;
    gap: 28px;
    opacity: 0; pointer-events: none;
    transition: opacity 0.4s;
}
.nav__drawer.is-open { opacity: 1; pointer-events: auto; }
.nav__drawer a {
    font-size: 24px; font-weight: 600; color: var(--foreground-bright);
    letter-spacing: 0.04em;
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.4s, transform 0.4s, color 0.3s;
}
.nav__drawer.is-open a {
    opacity: 1; transform: translateY(0);
}
.nav__drawer a:hover { color: var(--accent-blue); }
/* 드로어 링크 순차 딜레이 — 수정일: 2026-06-04 07:05 (KST) */
.nav__drawer a:nth-child(1) { transition-delay: 0.05s; }
.nav__drawer a:nth-child(2) { transition-delay: 0.1s; }
.nav__drawer a:nth-child(3) { transition-delay: 0.15s; }
.nav__drawer a:nth-child(4) { transition-delay: 0.2s; }
.nav__drawer a:nth-child(5) { transition-delay: 0.25s; }
.nav__drawer a:nth-child(6) { transition-delay: 0.3s; }
.nav__drawer a:nth-child(7) { transition-delay: 0.35s; }
.nav__drawer a:nth-child(8) { transition-delay: 0.4s; }

/* ══════════════════════════════════════════════════════════════
   HERO — 수정일: 2026-06-04 07:05 (KST)
   풀스크린 비디오 + 메시 블롭 + 거대 타이포
   ══════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    overflow: hidden;
}
/* 비디오 배경 — 수정일: 2026-06-04 07:05 (KST) */
.hero__video {
    position: absolute; inset: 0; z-index: 0;
    overflow: hidden;
}
.hero__video video {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.25;
}
.hero__video::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to bottom,
        rgba(10,10,10,0.6) 0%,
        rgba(10,10,10,0.3) 50%,
        rgba(10,10,10,0.8) 100%);
}
/* 메시 블롭 — 수정일: 2026-06-04 07:05 (KST) */
.hero__mesh { position: absolute; inset: 0; z-index: 0; }
.hero__mesh .blob {
    position: absolute; border-radius: 50%;
    filter: blur(100px);
    animation: mb-float 20s ease-in-out infinite;
}
.blob--1 {
    width: 600px; height: 600px; top: -15%; left: -10%;
    background: var(--blob-blue); animation-delay: 0s;
}
.blob--2 {
    width: 500px; height: 500px; bottom: -20%; right: -10%;
    background: var(--blob-green); animation-delay: -7s;
}
.blob--3 {
    width: 400px; height: 400px; top: 30%; right: 20%;
    background: var(--blob-violet); animation-delay: -14s;
}
/* 히어로 콘텐츠 — 수정일: 2026-06-04 07:05 (KST) */
.hero__content {
    position: relative; z-index: 2;
    text-align: center; padding: 0 24px;
}
.hero__pre {
    font-size: 13px; font-weight: 500; letter-spacing: 0.25em;
    text-transform: uppercase; color: rgba(255,255,255,0.35);
    margin-bottom: 32px; overflow: hidden;
}
.hero__pre span {
    display: inline-block; opacity: 0; transform: translateY(100%);
    animation: mb-charReveal 0.6s forwards;
}
.hero__title {
    font-size: clamp(48px, 10vw, 140px);
    font-weight: 900; line-height: 0.95;
    letter-spacing: -0.06em; color: var(--foreground-bright);
    margin-bottom: 24px;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line span {
    display: inline-block; opacity: 0; transform: translateY(105%);
    animation: mb-lineReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero__title .line:nth-child(2) span { animation-delay: 0.15s; }
.hero__title .accent {
    -webkit-text-stroke: 2px rgba(59,130,246,0.6);
    -webkit-text-fill-color: transparent;
    transition: all 0.4s;
}
.hero__title .accent:hover {
    -webkit-text-fill-color: var(--accent-blue);
    text-shadow: 0 0 60px rgba(59,130,246,0.4);
}
.hero__sub {
    font-size: clamp(14px, 1.5vw, 17px);
    font-weight: 300; color: var(--foreground-muted);
    line-height: 1.7; max-width: 480px;
    margin: 0 auto 40px;
    opacity: 0; animation: mb-fadeUp 0.8s 0.6s forwards;
}
.hero__cta-row {
    display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
    opacity: 0; animation: mb-fadeUp 0.8s 0.8s forwards;
}
.hero__scroll-line {
    position: absolute; bottom: 0; left: 50%;
    width: 1px; height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.15));
    opacity: 0; animation: mb-fadeIn 1s 1.5s forwards;
}

/* ══════════════════════════════════════════════════════════════
   공통 버튼 — 수정일: 2026-06-04 07:05 (KST)
   ══════════════════════════════════════════════════════════════ */
.btn-glow {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 18px 40px; font-size: 14px; font-weight: 600;
    background: var(--btn-solid-bg); color: var(--btn-solid-text);
    border: none; border-radius: 100px;
    transition: all 0.4s;
    box-shadow: 0 0 30px rgba(255,255,255,0.08);
}
.btn-glow:hover {
    box-shadow: 0 0 60px rgba(255,255,255,0.15);
    transform: scale(1.03);
}
.btn-wire {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 18px 40px; font-size: 14px; font-weight: 600;
    background: transparent; color: var(--btn-wire-text);
    border: 1px solid var(--btn-wire-border); border-radius: 100px;
    transition: all 0.4s;
}
.btn-wire:hover { border-color: var(--foreground-bright); }
/* 작은 버튼 변형 — 수정일: 2026-06-04 07:05 (KST) */
.btn-glow--sm, .btn-wire--sm { padding: 12px 28px; font-size: 13px; }

/* ══════════════════════════════════════════════════════════════
   마르키 띠배너 — 수정일: 2026-06-04 07:05 (KST)
   ══════════════════════════════════════════════════════════════ */
.marquee {
    padding: 28px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    overflow: hidden; white-space: nowrap;
}
.marquee--no-border-bottom { border-bottom: none; }
.marquee__track {
    display: flex; gap: 0;
    animation: mb-marquee 25s linear infinite;
    width: max-content;
}
.marquee__track--reverse { animation-direction: reverse; }
.marquee__item {
    font-size: clamp(14px, 2vw, 20px);
    font-weight: 300; letter-spacing: 0.1em;
    color: rgba(255,255,255,0.6);
    padding: 0 clamp(20px, 3vw, 48px);
    flex-shrink: 0;
}
.marquee__item .dot {
    display: inline-block; width: 6px; height: 6px;
    border-radius: 50%; background: rgba(59,130,246,0.4);
    margin: 0 clamp(16px, 2vw, 32px);
    vertical-align: middle;
}

/* ══════════════════════════════════════════════════════════════
   사업영역 수평 스크롤 — 수정일: 2026-06-04 07:05 (KST)
   ══════════════════════════════════════════════════════════════ */
.biz-horizontal__header {
    padding: clamp(80px, 10vw, 140px) clamp(24px, 4vw, 56px) 48px;
}
.biz-horizontal__label {
    font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--foreground-dim);
    margin-bottom: 20px;
}
.biz-horizontal__title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900; line-height: 1.1; letter-spacing: -0.04em;
    color: var(--foreground-bright);
}
.biz-horizontal__title .thin {
    font-weight: 100; color: rgba(255,255,255,0.3);
}
.biz-scroll-container {
    overflow-x: auto; overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 0 clamp(60px, 8vw, 100px);
}
.biz-scroll-container::-webkit-scrollbar { display: none; }
.biz-scroll-track {
    display: flex; gap: 0; width: max-content;
    padding: 0 clamp(24px, 4vw, 56px);
}
.biz-panel {
    width: clamp(320px, 40vw, 520px);
    flex-shrink: 0;
    padding: 0 clamp(12px, 2vw, 24px);
}
.biz-panel__inner {
    height: 100%;
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: clamp(32px, 3vw, 48px);
    background: var(--surface-card);
    transition: all 0.5s;
    position: relative; overflow: hidden;
}
.biz-panel__inner:hover {
    background: var(--surface-card-hover);
    border-color: var(--border-hover);
}
/* 패널 배경 텍스처 — 수정일: 2026-06-04 07:05 (KST) */
.biz-panel__bg-img {
    position: absolute; inset: 0; opacity: 0;
    background-size: cover; background-position: center;
    transition: opacity 0.6s ease; z-index: 0;
}
.biz-panel__inner:hover .biz-panel__bg-img { opacity: 0.5; }
.biz-panel__bg-img::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(10,10,10,0.5) 0%, rgba(10,10,10,0.15) 100%);
}
.biz-panel__num {
    font-size: 80px; font-weight: 900;
    -webkit-text-stroke: 1px var(--border-subtle);
    -webkit-text-fill-color: transparent;
    position: absolute; top: 24px; right: 28px; line-height: 1;
}
.biz-panel__icon-wrap {
    width: 56px; height: 56px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 28px; position: relative; z-index: 1;
}
.biz-panel__icon-wrap svg {
    width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.5;
}
.biz-panel__icon-wrap--blue   { background: rgba(59,130,246,0.1);  color: var(--accent-blue); }
.biz-panel__icon-wrap--green  { background: rgba(16,185,129,0.1);  color: var(--accent-green); }
.biz-panel__icon-wrap--amber  { background: rgba(245,158,11,0.1);  color: var(--accent-amber); }
.biz-panel__icon-wrap--violet { background: rgba(139,92,246,0.1);  color: var(--accent-violet); }
.biz-panel__title {
    font-size: 22px; font-weight: 700; color: var(--foreground-bright);
    margin-bottom: 12px; position: relative; z-index: 1;
}
.biz-panel__desc {
    font-size: 14px; font-weight: 300; color: var(--foreground-muted);
    line-height: 1.7; position: relative; z-index: 1;
}
.biz-panel__tag {
    display: inline-block; margin-top: 24px;
    padding: 6px 16px; font-size: 11px; font-weight: 600;
    letter-spacing: 0.06em; border-radius: 100px;
    border: 1px solid var(--border-hover);
    color: rgba(255,255,255,0.3); transition: all 0.3s;
    position: relative; z-index: 1;
}
.biz-panel__inner:hover .biz-panel__tag {
    color: var(--foreground-bright); border-color: rgba(255,255,255,0.3);
}

/* ══════════════════════════════════════════════════════════════
   통계 섹션 — 수정일: 2026-06-04 07:05 (KST)
   ══════════════════════════════════════════════════════════════ */
.stats-section {
    padding: clamp(80px, 10vw, 160px) clamp(24px, 4vw, 56px);
    border-top: 1px solid var(--border-faint);
}
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 0; max-width: 1400px; margin: 0 auto;
}
.stat-block {
    text-align: center; padding: 40px 16px;
    border-right: 1px solid var(--border-faint);
}
.stat-block:last-child { border-right: none; }
.stat-block__num {
    font-size: clamp(48px, 7vw, 80px);
    font-weight: 100; line-height: 1;
    color: var(--foreground-bright);
    letter-spacing: -0.04em; margin-bottom: 8px;
}
.stat-block__suffix {
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-block__label {
    font-size: 12px; font-weight: 400;
    color: var(--foreground-dim);
    letter-spacing: 0.08em; text-transform: uppercase;
}

/* ══════════════════════════════════════════════════════════════
   AI 텍스처 스플릿 — 수정일: 2026-06-04 07:05 (KST)
   ══════════════════════════════════════════════════════════════ */
.ai-section {
    display: grid; grid-template-columns: 1fr 1fr;
    min-height: 80vh;
}
.ai-section__text {
    display: flex; flex-direction: column; justify-content: center;
    padding: clamp(40px, 6vw, 100px) clamp(24px, 4vw, 80px);
}
.ai-section__label {
    font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
    text-transform: uppercase; color: rgba(255,255,255,0.2);
    margin-bottom: 24px;
}
.ai-section__title {
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 800; line-height: 1.2;
    letter-spacing: -0.03em; color: var(--foreground-bright);
    margin-bottom: 16px;
}
.ai-section__desc {
    font-size: 15px; font-weight: 300;
    color: var(--foreground-muted); line-height: 1.7;
    margin-bottom: 36px; max-width: 420px;
}
.ai-section__visual {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, #111827 0%, #1E293B 100%);
    display: flex; align-items: center; justify-content: center;
}
.ai-section__visual::before {
    content: ''; position: absolute;
    top: 0; left: -10%; width: 20%; height: 100%;
    background: var(--background); transform: skewX(-3deg); z-index: 2;
}
.texture-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 8px; padding: 24px;
    width: 100%; height: 100%;
    position: relative; z-index: 1;
}
.texture-grid__item {
    border-radius: 8px; overflow: hidden;
    position: relative; transition: transform 0.4s;
}
.texture-grid__item:hover { transform: scale(1.06); z-index: 3; }
.texture-grid__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.texture-grid__label {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 8px 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    font-size: 10px; font-weight: 600;
    color: rgba(255,255,255,0.7); letter-spacing: 0.04em;
}

/* ══════════════════════════════════════════════════════════════
   프로젝트 매시너리 그리드 — 수정일: 2026-06-04 07:05 (KST)
   ══════════════════════════════════════════════════════════════ */
.projects-section {
    padding: clamp(80px, 10vw, 160px) clamp(24px, 4vw, 56px);
}
.projects-section__header {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 56px; flex-wrap: wrap; gap: 16px;
}
.projects-section__title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900; line-height: 1.1;
    letter-spacing: -0.04em; color: var(--foreground-bright);
}
.projects-section__link {
    font-size: 13px; font-weight: 500;
    color: rgba(255,255,255,0.3); letter-spacing: 0.06em;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding-bottom: 4px; transition: all 0.3s;
}
.projects-section__link:hover { color: var(--foreground-bright); border-color: var(--foreground-bright); }
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(220px, auto);
    gap: 16px;
}
.masonry-item {
    position: relative; border-radius: 16px; overflow: hidden;
    cursor: pointer;
    background: linear-gradient(135deg, #151515 0%, #1a1a1a 100%);
}
.masonry-item:nth-child(1) { grid-column: 1 / 7; grid-row: span 2; }
.masonry-item:nth-child(2) { grid-column: 7 / 13; grid-row: span 2; }
.masonry-item:nth-child(3) { grid-column: 1 / 5; grid-row: span 2; }
.masonry-item:nth-child(4) { grid-column: 5 / 9; grid-row: span 2; }
.masonry-item:nth-child(5) { grid-column: 9 / 13; grid-row: span 2; }
.masonry-item__bg {
    position: absolute; inset: 0;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.masonry-item__bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.masonry-item:hover .masonry-item__bg { transform: scale(1.06); }
.masonry-item__overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
    opacity: 0; transition: opacity 0.4s;
}
.masonry-item:hover .masonry-item__overlay { opacity: 1; }
.masonry-item__info {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
    padding: 28px;
    transform: translateY(12px); opacity: 0; transition: all 0.4s;
}
.masonry-item:hover .masonry-item__info { transform: translateY(0); opacity: 1; }
.masonry-item__cat {
    font-size: 10px; font-weight: 700;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--accent-blue); margin-bottom: 6px;
}
.masonry-item__name { font-size: 18px; font-weight: 700; color: var(--foreground-bright); }

/* ══════════════════════════════════════════════════════════════
   CTA 풀밴드 — 수정일: 2026-06-04 07:05 (KST)
   ══════════════════════════════════════════════════════════════ */
.cta-final {
    position: relative;
    padding: clamp(100px, 14vw, 200px) clamp(24px, 4vw, 56px);
    text-align: center; overflow: hidden;
}
.cta-final__bg-text {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(80px, 20vw, 280px);
    font-weight: 900; letter-spacing: -0.06em;
    color: rgba(255,255,255,0.02);
    white-space: nowrap; pointer-events: none; z-index: 0;
}
.cta-final__content { position: relative; z-index: 1; }
.cta-final__title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800; color: var(--foreground-bright);
    letter-spacing: -0.03em; margin-bottom: 16px;
}
.cta-final__desc {
    font-size: 16px; font-weight: 300;
    color: rgba(255,255,255,0.35); margin-bottom: 36px;
}
.cta-final__buttons {
    display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════════════
   푸터 — 수정일: 2026-06-04 07:05 (KST)
   ══════════════════════════════════════════════════════════════ */
.footer {
    border-top: 1px solid var(--border-faint);
    padding: 56px clamp(24px, 4vw, 56px);
}
.footer__top {
    max-width: 1400px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: flex-start;
    flex-wrap: wrap; gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-faint);
}
.footer__brand {
    font-size: 14px; font-weight: 800; letter-spacing: 0.15em;
    color: rgba(255,255,255,0.6); text-transform: uppercase;
    margin-bottom: 8px;
}
.footer__brand-desc {
    font-size: 12px; color: rgba(255,255,255,0.2);
    line-height: 1.6; max-width: 280px;
}
.footer__nav { display: flex; gap: 48px; }
.footer__col-title {
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: rgba(255,255,255,0.3); margin-bottom: 12px;
}
.footer__col a {
    display: block; font-size: 13px; color: rgba(255,255,255,0.2);
    padding: 3px 0; transition: color 0.2s;
}
.footer__col a:hover { color: var(--foreground-bright); }
.footer__info {
    max-width: 1400px; margin: 0 auto;
    padding-top: 20px; padding-bottom: 12px;
    font-size: 11px; color: var(--foreground-ghost);
    line-height: 1.8;
}
.footer__bottom {
    max-width: 1400px; margin: 0 auto;
    padding-top: 12px;
    display: flex; justify-content: space-between;
    font-size: 11px; color: var(--foreground-ghost);
}

/* ══════════════════════════════════════════════════════════════
   서브페이지 공통 — 수정일: 2026-06-04 07:05 (KST)
   ══════════════════════════════════════════════════════════════ */
/* 서브페이지 히어로 배너 — 수정일: 2026-06-04 07:05 (KST) */
.sub-hero {
    padding: clamp(120px, 15vw, 200px) clamp(24px, 4vw, 56px) clamp(60px, 8vw, 100px);
    text-align: center;
    border-bottom: 1px solid var(--border-subtle);
}
.sub-hero__label {
    font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--foreground-dim);
    margin-bottom: 16px;
}
.sub-hero__title {
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 900; color: var(--foreground-bright);
    letter-spacing: -0.04em; line-height: 1.1;
    margin-bottom: 16px;
}
.sub-hero__desc {
    font-size: clamp(14px, 1.5vw, 17px);
    font-weight: 300; color: var(--foreground-muted);
    max-width: 560px; margin: 0 auto; line-height: 1.7;
}
/* 서브페이지 콘텐츠 영역 — 수정일: 2026-06-04 07:05 (KST) */
.sub-content {
    max-width: 1200px; margin: 0 auto;
    padding: clamp(60px, 8vw, 120px) clamp(24px, 4vw, 56px);
}
.sub-content h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800; color: var(--foreground-bright);
    margin-bottom: 24px; letter-spacing: -0.02em;
}
.sub-content h3 {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 700; color: var(--foreground-bright);
    margin-bottom: 16px;
}
.sub-content p {
    font-size: 15px; font-weight: 300;
    color: var(--foreground-muted); line-height: 1.8;
    margin-bottom: 20px;
}
/* 카드 그리드 — 수정일: 2026-06-04 07:05 (KST) */
.card-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}
.card {
    border: 1px solid var(--border-subtle);
    border-radius: 16px; padding: 32px;
    background: var(--surface-card);
    transition: all 0.4s;
}
.card:hover {
    background: var(--surface-card-hover);
    border-color: var(--border-hover);
}
/* 폼 요소 — 수정일: 2026-06-04 07:05 (KST) */
.form-group { margin-bottom: 20px; }
.form-label {
    display: block; font-size: 12px; font-weight: 600;
    color: var(--foreground-dim); letter-spacing: 0.06em;
    text-transform: uppercase; margin-bottom: 8px;
}
.form-input,
.form-select,
.form-textarea {
    width: 100%; padding: 14px 18px;
    font-size: 14px; font-family: var(--font-family);
    color: var(--foreground); background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-subtle); border-radius: 12px;
    outline: none; transition: border-color 0.3s;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: var(--accent-blue); }
.form-textarea { resize: vertical; min-height: 120px; }

/* 포트폴리오 필터 — 수정일: 2026-06-04 07:05 (KST) */
.filter-bar {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-bottom: 40px;
}
.filter-btn {
    padding: 8px 20px; font-size: 13px; font-weight: 500;
    color: var(--foreground-muted); background: transparent;
    border: 1px solid var(--border-subtle); border-radius: 100px;
    transition: all 0.3s; cursor: pointer;
}
.filter-btn:hover,
.filter-btn.active {
    color: var(--foreground-bright);
    border-color: var(--foreground-bright);
    background: rgba(255,255,255,0.05);
}
/* 포트폴리오 그리드 — 수정일: 2026-06-04 07:05 (KST) */
.portfolio-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}
.portfolio-card {
    border-radius: 16px; overflow: hidden;
    position: relative; cursor: pointer;
    aspect-ratio: 4/3;
}
.portfolio-card__img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s;
}
.portfolio-card:hover .portfolio-card__img { transform: scale(1.06); }
.portfolio-card__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
    opacity: 0; transition: opacity 0.4s;
    display: flex; align-items: flex-end; padding: 24px;
}
.portfolio-card:hover .portfolio-card__overlay { opacity: 1; }
.portfolio-card__title { font-size: 16px; font-weight: 700; color: var(--foreground-bright); }

/* ══════════════════════════════════════════════════════════════
   스크롤 Reveal — 수정일: 2026-06-04 07:05 (KST)
   ══════════════════════════════════════════════════════════════ */
.reveal {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════════════════════════
   키프레임 — 수정일: 2026-06-04 07:05 (KST)
   ══════════════════════════════════════════════════════════════ */
@keyframes mb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}
@keyframes mb-charReveal { to { opacity: 1; transform: translateY(0); } }
@keyframes mb-lineReveal { to { opacity: 1; transform: translateY(0); } }
@keyframes mb-fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes mb-fadeIn { to { opacity: 1; } }
@keyframes mb-marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════════════════════════
   반응형 — 수정일: 2026-06-04 07:05 (KST)
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-block { border-right: none; border-bottom: 1px solid var(--border-faint); }
    .ai-section { grid-template-columns: 1fr; }
    .ai-section__visual { min-height: 50vh; }
    .ai-section__visual::before { display: none; }
    .masonry-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: minmax(200px, auto);
    }
    .masonry-item:nth-child(1) { grid-column: 1 / -1; grid-row: span 2; }
    .masonry-item:nth-child(2) { grid-column: auto; grid-row: auto; }
    .masonry-item:nth-child(3) { grid-column: auto; grid-row: auto; }
    .masonry-item:nth-child(4) { grid-column: auto; grid-row: auto; }
    .masonry-item:nth-child(5) { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 768px) {
    body { cursor: auto; }
    .cursor { display: none; }
    a, button { cursor: pointer; }
    /* 네비 모바일 — 수정일: 2026-06-04 07:05 (KST) */
    .nav__links { display: none; }
    .nav__cta { display: none; }
    .nav__toggle { display: flex; }
    .nav__drawer { display: flex; }
    /* 그리드 모바일 — 수정일: 2026-06-04 07:05 (KST) */
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .masonry-grid { grid-template-columns: 1fr; }
    .masonry-item:nth-child(1) { grid-column: auto; }
    .masonry-item:nth-child(5) { grid-column: auto; }
    .masonry-item__overlay { opacity: 1; }
    .masonry-item__info { transform: none; opacity: 1; }
    /* 푸터 모바일 — 수정일: 2026-06-04 07:05 (KST) */
    .footer__nav { flex-direction: column; gap: 24px; }
    .footer__bottom { flex-direction: column; gap: 8px; }
    .footer__top { flex-direction: column; }
    /* 서브 히어로 모바일 — 수정일: 2026-06-04 07:05 (KST) */
    .sub-hero { padding-top: 100px; }
    /* 포트폴리오 모바일 — 수정일: 2026-06-04 07:05 (KST) */
    .portfolio-grid { grid-template-columns: 1fr; }
    .portfolio-card__overlay { opacity: 1; }
}
@media (max-width: 480px) {
    .hero__cta-row { flex-direction: column; align-items: center; }
    .btn-glow, .btn-wire { width: 100%; justify-content: center; }
    .cta-final__buttons { flex-direction: column; align-items: center; }
    .card-grid { grid-template-columns: 1fr; }
}
/* 모션 감소 — 수정일: 2026-06-04 07:05 (KST) */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    .hero__title .line span, .hero__pre span, .hero__sub, .hero__cta-row {
        opacity: 1; transform: none;
    }
}
