/* -------------------------------------------------------------
   Tamigo AiLab - Premium Landing Page Stylesheet
   Design Philosophy: Ultra-Modern Dark Glassmorphism with Emerald Glow
   ------------------------------------------------------------- */

/* 1. 디자인 토큰 및 CSS 변수 */
:root {
  --bg-dark: #05070c;
  --bg-deep: #0a0e17;
  --bg-card: rgba(255, 255, 255, 0.025);
  --bg-card-hover: rgba(255, 255, 255, 0.05);
  --border-glass: rgba(255, 255, 255, 0.06);
  --border-glass-hover: rgba(52, 211, 153, 0.25);
  
  --text-main: #f9fafb;
  --text-body: #d1d5db;
  --text-muted: #9ca3af;
  
  --primary: #10b981;
  --primary-light: #34d399;
  --primary-dark: #059669;
  --accent-grad: linear-gradient(135deg, #059669 0%, #10b981 50%, #34d399 100%);
  --glow-emerald: 0 0 30px rgba(16, 185, 129, 0.2);
  --glow-emerald-strong: 0 0 45px rgba(52, 211, 153, 0.4);
  
  --font-main: 'Pretendard', sans-serif;
  --font-logo: 'Outfit', sans-serif;
  --radius-lg: 20px;
  --radius-md: 12px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. 기초 스타일 및 리셋 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* 웹 접근성 스킵 링크 */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--primary);
  color: white;
  padding: 10px 20px;
  z-index: 1000;
  transition: top 0.2s;
  font-weight: 700;
  border-bottom-right-radius: var(--radius-md);
}
.skip-link:focus {
  top: 0;
}

/* 공통 레이아웃 */
.wrap {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-deep);
}

/* 타이포그래피 표준 */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.grad-text {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 스크롤 트리거 리빌 애니메이션 */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* 공용 버튼 스타일 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  outline: none;
}

.btn-primary {
  background: var(--accent-grad);
  color: #ffffff;
  box-shadow: var(--glow-emerald);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow-emerald-strong);
  filter: brightness(1.1);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
}
.btn-ghost:hover {
  background: rgba(16, 185, 129, 0.08);
  border-color: var(--primary-light);
  color: var(--primary-light);
  transform: translateY(-2px);
}

/* 3. 헤더 & 네비게이션 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 0;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(5, 7, 12, 0.8);
  backdrop-filter: blur(20px);
  border-color: var(--border-glass);
  padding: 14px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 브랜드 로고 */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo-icon {
  width: 32px;
  height: 32px;
  transition: var(--transition-smooth);
}
.brand:hover .brand-logo-icon {
  transform: rotate(15deg) scale(1.1);
}

.brand-name {
  font-family: var(--font-logo);
  font-weight: 800;
  font-size: 21px;
  color: var(--text-main);
  letter-spacing: -0.04em;
}
.brand-name span {
  font-weight: 300;
  color: var(--primary-light);
}

/* 주 메뉴 */
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  color: var(--text-body);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition-smooth);
}
.main-nav a:hover {
  color: var(--primary-light);
}

.main-nav .nav-cta {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid var(--border-glass-hover);
  padding: 8px 16px;
  border-radius: 8px;
  color: var(--primary-light);
}
.main-nav .nav-cta:hover {
  background: var(--accent-grad);
  color: #fff;
  border-color: transparent;
}

/* 모바일 햄버거 토글 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* 4. 히어로 섹션 (HERO) */
.hero {
  padding: 160px 0 100px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* 배경 글로우 효과 */
.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.12;
  pointer-events: none;
  z-index: 1;
}
.hero-glow-1 {
  background: var(--primary-light);
  top: -100px;
  right: -100px;
}
.hero-glow-2 {
  background: #059669;
  bottom: -200px;
  left: -200px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 680px;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--primary-light);
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  background: rgba(16, 185, 129, 0.07);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary-light);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.hero h1 {
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 17px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

/* 히어로 비주얼 (4컷 그리드) */
.hero-visual {
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.hero-grid-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: var(--transition-smooth);
}

.hero-grid-item img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.hero-grid-item:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass-hover);
  box-shadow: var(--glow-emerald);
}

.hero-grid-item:hover img {
  transform: scale(1.05);
}

.img-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(5, 7, 12, 0.7);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 그리드 오프셋 배치 효과 */
.item-2 { transform: translateY(25px); }
.item-3 { transform: translateY(-25px); }

/* 5. TRUST STRIP (핵심 경쟁력) */
.trust-strip {
  padding: 45px 0;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.005);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.trust-item {
  text-align: center;
}

.trust-title {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-light);
  margin-bottom: 6px;
}

.trust-desc {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
}

/* 6. 에이전시 소개 (ABOUT) & 대표 풀영상 */
.about-section {
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 70px;
  align-items: center;
}

.about-panel {
  background: var(--accent-grad);
  border-radius: 28px;
  padding: 60px;
  color: #ffffff;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: var(--glow-emerald);
}

.panel-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  opacity: 0.8;
}

.about-panel h2 {
  font-size: 36px;
  line-height: 1.3;
  z-index: 2;
}

.watermark {
  position: absolute;
  bottom: -60px;
  right: -20px;
  font-size: 110px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
  font-family: var(--font-logo);
  user-select: none;
}

.about-copy {
  max-width: 600px;
}

.about-copy .kicker {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary-light);
  margin-bottom: 14px;
  letter-spacing: 0.08em;
}

.about-copy p {
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.8;
  margin-top: 20px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 30px;
  color: var(--primary-light);
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-smooth);
}
.text-link:hover {
  transform: translateX(5px);
  color: var(--text-main);
}

/* 대표 풀영상 영역 스타일 */
.featured-video-section {
  padding: 60px 0 100px;
}

.featured-video-wrap {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: var(--glow-emerald);
  background-color: #000;
}

.featured-video-wrap video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
}

/* 7. REAL TALK (페인포인트) */
.pain-section {
  border-top: 1px solid var(--border-glass);
}

.section-head {
  margin-bottom: 50px;
}
.section-head.center {
  text-align: center;
}

.section-head .eyebrow {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary-light);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.25;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  margin-top: 14px;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.pain-item {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border-glass);
  padding: 24px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  color: var(--text-body);
}

.pain-icon {
  width: 24px;
  height: 24px;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}

.pain-bridge {
  text-align: center;
  margin-top: 45px;
  font-size: 17px;
  color: var(--text-body);
}
.pain-bridge strong {
  color: var(--primary-light);
}

/* 8. SERVICES (제공 서비스) */
.services-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.service-list li {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-glass);
}
.service-list li:last-child {
  border-bottom: none;
}

.service-index {
  font-family: var(--font-logo);
  font-weight: 800;
  font-size: 26px;
  color: var(--primary-light);
  line-height: 1.1;
}

.service-list h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.service-list p {
  color: var(--text-muted);
  font-size: 14.5px;
  margin-bottom: 16px;
}

.service-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-chips span {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-body);
}

/* 9. PORTFOLIO GALLERY */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 45px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13.5px;
  transition: var(--transition-smooth);
}
.filter-btn:hover {
  border-color: var(--primary-light);
  color: var(--primary-light);
}
.filter-btn.is-active {
  background: var(--accent-grad);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--glow-emerald);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.port-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.port-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

/* 비디오 숏폼 전용 래퍼 스타일 */
.port-img-wrap.video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.port-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition-smooth);
}

.port-expand-btn {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 12, 0.6);
  backdrop-filter: blur(6px);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  opacity: 0;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
}

.port-card:hover .port-img-wrap img {
  transform: scale(1.05);
}
.port-card:hover .port-expand-btn {
  opacity: 1;
}

.port-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass-hover);
  box-shadow: var(--glow-emerald);
}

.port-card figcaption {
  padding: 24px;
}

.port-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  color: var(--primary-light);
  background: rgba(16, 185, 129, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.port-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.port-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* 필터링 시 사라지는 클래스 */
.port-card.is-hidden {
  display: none;
}

/* 10. PACKAGES (마케팅 프로그램) */
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.package-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
}

.package-header {
  margin-bottom: 24px;
}

.package-index {
  font-family: var(--font-logo);
  font-size: 14px;
  font-weight: 800;
  color: var(--primary-light);
  display: block;
  margin-bottom: 8px;
}

.package-card h3 {
  font-size: 26px;
  font-weight: 800;
}

.package-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.package-desc {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 28px;
  min-height: 70px;
}

.package-price {
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 24px;
}
.price-val {
  font-size: 34px;
  font-weight: 900;
  color: var(--primary-light);
}
.price-unit {
  font-size: 14px;
  color: var(--text-muted);
}

.package-features {
  list-style: none;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.package-features li {
  font-size: 13.5px;
  color: var(--text-body);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.package-features li::before {
  content: "✓";
  color: var(--primary-light);
  font-weight: 900;
}

.package-card .btn {
  width: 100%;
}

/* Featured 요금제 카드 스타일 */
.package-card.featured {
  border-color: var(--primary-light);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.02) 0%, rgba(16, 185, 129, 0.05) 100%), var(--bg-card);
  box-shadow: var(--glow-emerald);
  transform: translateY(-8px);
}
.package-card.featured:hover {
  box-shadow: var(--glow-emerald-strong);
}

.featured-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-grad);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 999px;
  box-shadow: var(--glow-emerald);
}

.package-card:hover {
  border-color: var(--primary-light);
}

.package-disclaimer {
  max-width: 900px;
  margin: 50px auto 0;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 24px;
}
.package-disclaimer strong {
  display: block;
  font-size: 14px;
  color: var(--primary-light);
  margin-bottom: 8px;
}
.package-disclaimer p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* 11. REVIEWS (고객 후기) */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 36px;
  border-radius: var(--radius-lg);
  transition: var(--transition-smooth);
}
.review-card:hover {
  border-color: var(--border-glass-hover);
  transform: translateY(-5px);
}

.review-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
}

.review-meta strong {
  display: block;
  font-size: 14.5px;
}
.review-meta span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.review-rating {
  color: #fbbf24;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 18px;
}

.review-card blockquote {
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.7;
  font-style: italic;
}

/* 12. PROCESS (진행 절차) */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.process-grid .process-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 36px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.process-num {
  font-family: var(--font-logo);
  font-size: 60px;
  font-weight: 900;
  color: rgba(16, 185, 129, 0.05);
  position: absolute;
  top: -10px;
  right: 15px;
}

.process-item h3 {
  font-size: 18px;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.process-item p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
  position: relative;
  z-index: 2;
}

/* 13. FAQ SECTION */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  padding: 22px 28px;
  text-align: left;
  color: var(--text-main);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  outline: none;
  font-family: var(--font-main);
}

.faq-icon {
  font-size: 20px;
  color: var(--primary-light);
  transition: var(--transition-smooth);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1); /* 스무스 아코디언 */
}

.faq-a p {
  padding: 0 28px 24px;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
}

/* 액티브 클래스 대응 */
.faq-item.active {
  border-color: var(--primary-light);
  box-shadow: var(--glow-emerald);
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* 14. CONTACT SECTION (의뢰 양식) */
.contact-section {
  position: relative;
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.contact-info {
  max-width: 500px;
}

.contact-desc {
  font-size: 15.5px;
  color: var(--text-body);
  margin-top: 14px;
  line-height: 1.75;
}

.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 36px;
}

.direct-link {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 20px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-main);
  transition: var(--transition-smooth);
}
.direct-link .icon {
  font-size: 24px;
  flex-shrink: 0;
}
.direct-link strong {
  display: block;
  font-size: 15px;
}
.direct-link span {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
  display: block;
}

.direct-link:hover {
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--glow-emerald);
}

.sns-icons {
  display: flex;
  gap: 16px;
  margin-top: 30px;
}
.sns-icons a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  transition: var(--transition-smooth);
}
.sns-icons a:hover {
  color: var(--primary-light);
}

/* 문의 폼 필드 */
.contact-form-wrap {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border-glass);
  padding: 40px;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.form-title {
  font-size: 22px;
  margin-bottom: 24px;
  font-weight: 800;
}

.contact-form .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.contact-form label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-muted);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 14.5px;
  outline: none;
  transition: var(--transition-smooth);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.25);
  background: rgba(255, 255, 255, 0.035);
}

.consent-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  margin-bottom: 24px;
}
.consent-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary-light);
  cursor: pointer;
}
.consent-check label {
  font-size: 12px;
  color: var(--text-body);
  cursor: pointer;
}

.submit-btn {
  width: 100%;
}

/* 폼 전송 성공 피드백 */
.form-success-msg {
  display: none;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--primary);
  color: var(--primary-light);
  padding: 14px;
  border-radius: var(--radius-md);
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 700;
  text-align: center;
}

/* 15. 푸터 */
.site-footer {
  border-top: 1px solid var(--border-glass);
  background-color: var(--bg-deep);
  padding: 60px 0 30px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-text {
  font-family: var(--font-logo);
  font-size: 20px;
  font-weight: 800;
}
.footer-logo-text span {
  font-weight: 300;
  color: var(--primary-light);
}

.footer-info {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}
.footer-info a {
  color: var(--text-body);
  text-decoration: none;
  transition: var(--transition-smooth);
}
.footer-info a:hover {
  color: var(--primary-light);
}

.site-footer .back-to-top {
  color: var(--text-body);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: var(--text-muted);
}

/* 16. 라이트박스 (포트폴리오 확대 모달) */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 12, 0.95);
  backdrop-filter: blur(12px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}
.lightbox-close:hover {
  background: #ef4444;
  border-color: transparent;
  transform: rotate(90deg);
}

.lightbox-content {
  max-width: 90%;
  max-height: 85vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-content img,
.lightbox-content video {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-glass);
  display: none; /* 초기 상태 숨김 */
}

/* 17. 반응형 디자인 */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-copy {
    margin: 0 auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-visual {
    max-width: 550px;
    margin: 0 auto;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-panel {
    min-height: 300px;
  }
  .services-wrap {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .package-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 550px;
    margin: 40px auto 0;
  }
  .package-card.featured {
    transform: none;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
  }
  .process-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .contact-info {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 16px 0;
  }
  .nav-toggle {
    display: flex;
  }
  /* 모바일 네비게이션 드롭다운 */
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(5, 7, 12, 0.98);
    border-bottom: 1px solid var(--border-glass);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    backdrop-filter: blur(20px);
  }
  .main-nav.active {
    display: flex;
  }
  .main-nav a {
    width: 100%;
    text-align: center;
    padding: 10px 0;
  }
  .main-nav .nav-cta {
    width: 100%;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .pain-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
