/* ============================================
   YS DESIGN — 전략적 PPT 디자인 랜딩페이지
   CSS Main Stylesheet
   Blue-Navy Premium Tone
   ============================================ */

/* ─── CSS Variables ─── */
:root {
  --navy: #0A0F2C;
  --navy-light: #111936;
  --blue-dark: #1E3A8A;
  --blue: #2563EB;
  --blue-mid: #3B82F6;
  --blue-light: #60A5FA;
  --blue-pale: #DBEAFE;
  --indigo: #4F46E5;
  --teal: #0EA5E9;
  --white: #FFFFFF;
  --gray-50: #F8FAFF;
  --gray-100: #EFF2FB;
  --gray-200: #DDE3F4;
  --gray-400: #94A3B8;
  --gray-600: #475569;
  --gray-800: #1E293B;
  --text-dark: #0F172A;
  --text-body: #334155;
  --text-light: #64748B;
  --accent-yellow: #F59E0B;
  --accent-green: #10B981;
  --accent-red: #EF4444;
  --gradient-hero: linear-gradient(135deg, #0A0F2C 0%, #0F1F5C 40%, #1a3580 70%, #0d2060 100%);
  --gradient-blue: linear-gradient(135deg, #1E3A8A, #2563EB);
  --gradient-section: linear-gradient(180deg, #0A0F2C 0%, #0F1B4D 100%);
  --shadow-sm: 0 2px 8px rgba(37, 99, 235, 0.08);
  --shadow-md: 0 8px 30px rgba(37, 99, 235, 0.15);
  --shadow-lg: 0 20px 60px rgba(10, 15, 44, 0.25);
  --shadow-card: 0 4px 20px rgba(30, 58, 138, 0.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans KR', 'Inter', sans-serif;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── Utility ─── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding { padding: 100px 0; }

.dark-section {
  background: var(--gradient-section);
  color: var(--white);
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue-mid);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 16px;
}
.section-title.white { color: var(--white); }

.section-desc {
  font-size: 16px;
  color: var(--text-light);
  max-width: 540px;
}
.section-desc.white-desc { color: rgba(255,255,255,0.65); }

.section-header.center { text-align: center; margin-bottom: 64px; }
.section-header.center .section-desc { margin: 0 auto; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-blue);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); }

.btn-full { width: 100%; justify-content: center; }


/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 15, 44, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* 로고 이미지 — 네비게이션
   height만 고정, width:auto → 원본 비율 그대로 유지 */
.nav-logo-img {
  display: block;
  height: 38px !important;
  width: auto !important;
  max-width: unset !important;
  object-fit: unset !important;
  mix-blend-mode: screen;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.nav-logo-img:hover {
  opacity: 0.85;
  transform: scale(1.03);
}

/* 로고 이미지 — 푸터 */
.footer-logo-img {
  display: block;
  height: 34px !important;
  width: auto !important;
  max-width: unset !important;
  object-fit: unset !important;
  mix-blend-mode: screen;
  margin-bottom: 2px;
}

/* 구형 텍스트 로고 fallback (사용 안 함) */
.logo-mark {
  width: 38px;
  height: 38px;
  background: var(--gradient-blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1px;
}

.logo-text {
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links li a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: var(--transition);
  position: relative;
}

.nav-links li a:hover { color: var(--white); }

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue-mid);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-links li a:hover::after { width: 100%; }

.nav-cta {
  background: var(--gradient-blue) !important;
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(37,99,235,0.4);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(37,99,235,0.5) !important; }
.nav-cta::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10,15,44,0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  justify-content: center;
  align-items: center;
}
.mobile-menu.open { display: flex; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 32px; text-align: center; }
.mobile-menu ul li a { font-size: 22px; font-weight: 700; color: var(--white); letter-spacing: 1px; }


/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 140px 24px 80px;
}

/* Background effects */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}
.hero-glow-1 {
  width: 600px; height: 600px;
  top: -100px; right: -100px;
  background: radial-gradient(circle, #2563EB, transparent 70%);
}
.hero-glow-2 {
  width: 400px; height: 400px;
  bottom: 0; left: -50px;
  background: radial-gradient(circle, #6366F1, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-light);
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.3);
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 32px;
}
.hero-badge i { color: var(--accent-yellow); font-size: 12px; }

.hero-title {
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-highlight {
  background: linear-gradient(135deg, #60A5FA, #818CF8, #A78BFA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,0.65);
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 24px 40px;
  backdrop-filter: blur(10px);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
}

.stat-num {
  font-size: 32px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-unit {
  font-size: 18px;
  font-weight: 700;
  color: var(--blue-light);
}

.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.15);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 10px;
  letter-spacing: 3px;
  font-weight: 600;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}


/* ============================================
   ABOUT SECTION
   ============================================ */
.about { background: var(--gray-50); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-img-bg {
  position: absolute;
  top: -16px; left: -16px;
  right: 16px; bottom: 16px;
  background: var(--gradient-blue);
  border-radius: var(--radius-lg);
  opacity: 0.12;
  z-index: 0;
}

.about-img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(59,130,246,0.1);
}

.about-img-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  z-index: 2;
  background: var(--gradient-blue);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 36px rgba(37,99,235,0.4);
  color: var(--white);
}

.about-img-card i { font-size: 22px; opacity: 0.9; }
.about-img-card strong { display: block; font-size: 14px; font-weight: 700; }
.about-img-card span { font-size: 12px; opacity: 0.75; }

.about-text .section-label { margin-top: 0; }

.about-desc {
  font-size: 16px;
  color: var(--text-body);
  margin-bottom: 36px;
  line-height: 1.85;
}
.about-desc strong { color: var(--blue-dark); font-weight: 700; }

.strength-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.strength-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.strength-item:hover {
  transform: translateX(4px);
  border-color: var(--blue-mid);
  box-shadow: var(--shadow-md);
}

.strength-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(79,70,229,0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 18px;
}

.strength-item strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.strength-item p { font-size: 13px; color: var(--text-light); line-height: 1.6; }


/* ============================================
   SERVICES SECTION
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.service-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-color, var(--blue)), transparent);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(59,130,246,0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.service-card:hover::before { opacity: 1; }

.service-card--highlight {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(236, 72, 153, 0.08));
  border-color: rgba(99,102,241,0.3);
}

.service-icon-wrap {
  width: 52px;
  height: 52px;
  background: rgba(var(--accent, 59 130 246), 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 50%, transparent));
}

.service-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.service-content p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.service-tags li {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 4px 10px;
  border-radius: 20px;
}

/* Boundary Notice */
.boundary-notice {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
}

.boundary-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-light);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 24px;
}
.boundary-header i { font-size: 18px; }

.boundary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.boundary-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius-md);
}

.boundary-item.can {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16,185,129,0.2);
}
.boundary-item.cannot {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239,68,68,0.2);
}

.boundary-item.can i { color: var(--accent-green); font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.boundary-item.cannot i { color: var(--accent-red); font-size: 20px; flex-shrink: 0; margin-top: 2px; }

.boundary-item strong { display: block; font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.boundary-item span { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.7; }


/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio { background: var(--white); }

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

.portfolio-item {
  cursor: pointer;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.portfolio-item--wide {
  grid-column: span 2;
}

.portfolio-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.portfolio-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.portfolio-item--wide .portfolio-img-wrap {
  aspect-ratio: 16/9;
}

.portfolio-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover .portfolio-img-wrap img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,15,44,0.92) 40%, rgba(10,15,44,0.2) 100%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-info {}
.portfolio-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-light);
  background: rgba(59,130,246,0.2);
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 8px;
}
.portfolio-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.portfolio-info p { font-size: 13px; color: rgba(255,255,255,0.65); }

.portfolio-zoom {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--white);
  font-size: 18px;
  opacity: 0.8;
}

/* Modals */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.open { display: flex; }

.modal-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  background: var(--navy-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-content img {
  width: 100%;
  display: block;
  max-height: 75vh;
  object-fit: contain;
  background: #0a0f2c;
}

.modal-content p {
  padding: 16px 24px;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  background: var(--navy-light);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 16px;
  transition: var(--transition);
  z-index: 1;
}
.modal-close:hover { background: rgba(255,255,255,0.2); }


/* ============================================
   PROCESS SECTION
   ============================================ */
.process { background: var(--gray-50); }

.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  margin-bottom: 48px;
}

.process-line {
  display: none;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.process-step::after {
  content: '→';
  position: absolute;
  right: -16px;
  top: 20px;
  font-size: 24px;
  color: var(--blue-mid);
  opacity: 0.4;
  pointer-events: none;
}
.process-step:last-child::after { display: none; }

.process-num {
  font-size: 11px;
  font-weight: 800;
  color: var(--blue-mid);
  letter-spacing: 2px;
  margin-bottom: 12px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  padding: 4px 12px;
  border-radius: 20px;
}

.process-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  width: 100%;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.process-card:hover {
  border-color: var(--blue-mid);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.process-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(79,70,229,0.08));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 22px;
  margin: 0 auto 16px;
}

.process-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.process-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.process-duration {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  background: rgba(37,99,235,0.08);
  border: 1px solid rgba(37,99,235,0.15);
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* AI Badge */
.ai-badge-wrap { text-align: center; }

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(79,70,229,0.06));
  border: 1px solid rgba(37,99,235,0.2);
  border-radius: var(--radius-lg);
  padding: 24px 36px;
  text-align: left;
  max-width: 680px;
  margin: 0 auto;
}

.ai-badge-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: var(--gradient-blue);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 22px;
}

.ai-badge-text strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.ai-badge-text span { font-size: 14px; color: var(--text-light); line-height: 1.6; }
.ai-badge-text b { color: var(--blue-dark); font-weight: 700; }


/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: flex-start;
}

/* Contact Info */
.contact-info h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 28px;
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-info-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: rgba(59,130,246,0.15);
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
  font-size: 16px;
}

.contact-info-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}
.contact-info-item span { font-size: 13px; color: rgba(255,255,255,0.55); }

.contact-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}
.contact-notice > i { color: var(--accent-yellow); font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.contact-notice p { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.8; }

/* Contact Form */
.contact-form-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 40px;
  backdrop-filter: blur(10px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.3px;
}

.req { color: #EF4444; }

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 14px;
  color: var(--white);
  font-family: inherit;
  transition: var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-mid);
  background: rgba(59,130,246,0.08);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.form-group select option {
  background: var(--navy);
  color: var(--white);
}

.form-group input[type="date"] {
  color-scheme: dark;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Checkbox */
.form-check { flex-direction: row; align-items: flex-start; gap: 0; }

.checkbox-label {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 13px !important;
  color: rgba(255,255,255,0.65) !important;
  line-height: 1.5;
  user-select: none;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 20px;
  min-width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  margin-top: 1px;
}

.checkbox-label input:checked + .checkmark {
  background: var(--blue);
  border-color: var(--blue);
}

.checkbox-label input:checked + .checkmark::after {
  content: '✓';
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
}

/* Form Success (인라인 — 사용 안 함, 팝업으로 대체) */
.form-success {
  text-align: center;
  padding: 60px 40px;
}

.success-icon {
  font-size: 56px;
  color: var(--accent-green);
  margin-bottom: 20px;
  animation: successPop 0.5s ease;
}

@keyframes successPop {
  0% { transform: scale(0.5); opacity: 0; }
  80% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

.form-success h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.form-success p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.7; }

/* ─── 발송 성공 팝업 모달 ─── */
.success-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 35, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.success-modal-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.success-modal {
  background: linear-gradient(145deg, #111936, #0d1d5a);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 24px;
  padding: 48px 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 30px 80px rgba(10,15,44,0.6), 0 0 0 1px rgba(255,255,255,0.06);
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), opacity 0.35s ease;
  opacity: 0;
}
.success-modal-overlay.visible .success-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.success-modal-icon {
  width: 80px;
  height: 80px;
  background: rgba(16, 185, 129, 0.12);
  border: 2px solid rgba(16, 185, 129, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  animation: successPop 0.5s 0.2s ease both;
}
.success-modal-icon i {
  font-size: 36px;
  color: #10B981;
}

.success-modal h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.4;
}

.success-modal p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 10px;
}

.success-modal .success-detail {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 16px 0 28px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  text-align: left;
}

.success-modal .success-detail strong {
  color: #60A5FA;
  font-weight: 700;
}

.success-modal-close {
  background: linear-gradient(135deg, #2563EB, #4F46E5);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 40px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(37,99,235,0.4);
  width: 100%;
}
.success-modal-close:hover {
  background: linear-gradient(135deg, #1d4ed8, #4338ca);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37,99,235,0.55);
}

@media (max-width: 480px) {
  .success-modal {
    padding: 36px 24px;
  }
  .success-modal h3 { font-size: 19px; }
}

/* ─── 파일 업로드 UI ─── */
.label-sub {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,0.4);
  margin-left: 4px;
}

/* ─── 구글 드라이브 안내 박스 ─── */
.drive-notice {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.drive-notice-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.drive-notice-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.drive-icon {
  font-size: 28px;
  color: #4285F4;
  flex-shrink: 0;
  margin-top: 2px;
}

.drive-notice-top strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.drive-notice-top p {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin: 0;
}
.drive-notice-top p b {
  color: #60A5FA;
  font-weight: 700;
}

.drive-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #4285F4;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 50px;
  text-decoration: none;
  transition: var(--transition);
  align-self: flex-start;
  box-shadow: 0 4px 16px rgba(66,133,244,0.35);
}
.drive-btn:hover {
  background: #3367D6;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(66,133,244,0.5);
}

.drive-ext-icon {
  font-size: 11px;
  opacity: 0.8;
}

.drive-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.drive-steps span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 6px 14px;
  border-radius: 20px;
}

.drive-steps span i {
  color: #34A853;
  font-size: 10px;
}

.drive-steps > i {
  color: rgba(255,255,255,0.3);
  font-size: 11px;
}

/* ─── 파일 업로드 영역 ─── */
.file-upload-area {
  border: 2px dashed rgba(96, 165, 250, 0.45);
  border-radius: 14px;
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: rgba(59, 130, 246, 0.05);
  user-select: none;
  position: relative;
}
.file-upload-area:hover {
  border-color: var(--blue-mid);
  background: rgba(59, 130, 246, 0.12);
}
.file-upload-area.drag-over {
  border-color: #60A5FA;
  background: rgba(59, 130, 246, 0.18);
  transform: scale(1.01);
}
.file-upload-area .upload-icon {
  font-size: 32px;
  color: #60A5FA;
  margin-bottom: 12px;
  display: block;
  pointer-events: none;
}
.file-upload-area .upload-title {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: rgba(255,255,255,0.9) !important;
  margin-bottom: 6px !important;
  display: block;
  pointer-events: none;
}
.file-upload-area .upload-sub {
  font-size: 12px !important;
  color: rgba(255,255,255,0.45) !important;
  display: block;
  pointer-events: none;
}

/* ─── 파일 목록 ─── */
.file-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 10px 14px;
  transition: var(--transition);
}
.file-item:hover { background: rgba(255,255,255,0.11); }

.file-item-info {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  flex: 1;
}

.file-item-icon {
  font-size: 18px;
  color: #60A5FA;
  flex-shrink: 0;
}

.file-item-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
}

.file-item-size {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
}

.file-item-remove {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: rgba(239,68,68,0.15);
  border: 1px solid rgba(239,68,68,0.25);
  color: #EF4444;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
}
.file-item-remove:hover {
  background: rgba(239,68,68,0.3);
}

/* 인스타그램 링크 */
.contact-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-light);
  text-decoration: none;
  margin-bottom: 2px;
  transition: var(--transition);
}
.contact-link:hover {
  color: var(--white);
  text-decoration: underline;
}

/* 버튼 로딩 */
button:disabled { opacity: 0.75; pointer-events: none; cursor: not-allowed; }
.fa-spin { animation: spin 1s linear infinite; }

@keyframes spin {
  to { transform: rotate(360deg); }
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 48px 0 32px;
}

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

.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-top: 12px;
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.3); }


/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 46px;
  height: 46px;
  background: var(--gradient-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 8px 24px rgba(37,99,235,0.4);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 500;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: all;
}

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(37,99,235,0.55);
}


/* ============================================
   RESPONSIVE — Tablet
   ============================================ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    gap: 48px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .process-track {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-step::after {
    display: none;
  }
}

@media (max-width: 900px) {
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }
  .portfolio-item--wide {
    grid-column: span 2;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-image-wrap { max-width: 500px; margin: 0 auto; }
}


/* ============================================
   RESPONSIVE — Mobile
   ============================================ */
@media (max-width: 768px) {
  .section-padding { padding: 72px 0; }

  /* Nav */
  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero { padding: 120px 24px 72px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-stats { padding: 18px 20px; gap: 0; }
  .stat-item { padding: 0 16px; }
  .stat-num { font-size: 24px; }
  .stat-unit { font-size: 14px; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .boundary-grid { grid-template-columns: 1fr; }

  /* Portfolio */
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-item--wide { grid-column: span 1; }

  /* Process */
  .process-track { grid-template-columns: 1fr; }

  /* Contact */
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px 20px; }

  /* Footer */
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 480px) {
  .hero-stats { flex-direction: column; align-items: center; width: 100%; }
  .stat-divider { width: 40%; height: 1px; margin: 8px 0; }
  .stat-item { padding: 8px 0; }
  .ai-badge { flex-direction: column; text-align: center; padding: 24px; }
}
