/* NAVIGATION BAR */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100vw;
  height: 64px;
  background: rgba(24,26,32,0.92);
  display: block;
  z-index: 100;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.07);
  padding: 0;
  border-bottom: 1px solid #23272f;
}
.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding-left: 36px;
  padding-right: 36px;
}
.navbar-logo {
  display: flex;
  align-items: center;
  height: 100%;
  margin-right: 36px;
  padding-top: 0;
  padding-bottom: 0;
}
.navbar-logo svg, .navbar-logo img {
  display: block;
}
.navbar-logo img {
  display: block;
  max-height: 38px;
  height: 38px;
  width: auto;
  margin: 0;
  object-fit: contain;
}
.navbar-menu {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.navbar-menu li {
  display: flex;
  align-items: center;
}
.navbar-menu a {
  color: #f5f6fa;
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.5px;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-bottom 0.18s;
}
.navbar-menu a:hover, .navbar-menu a:focus {
  color: #00c6fb;
  border-bottom: 2px solid #00c6fb;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 120;
}
.navbar-toggle .bar {
  width: 26px;
  height: 3px;
  background: #f5f6fa;
  margin: 4px 0;
  border-radius: 2px;
  transition: all 0.3s;
}

body {
  /* 기존 코드 유지, 네비게이션 높이만큼 패딩 */
  padding-top: 64px;
  margin: 0;
  font-family: 'Pretendard', sans-serif;
  background: #181a20;
  color: #f5f6fa;
  overflow-x: hidden;
}
body.page-fadein {
  opacity: 0;
  animation: pageFadeIn 1.1s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes pageFadeIn {
  to { opacity: 1; }
}

section {
  padding: 80px 0 60px 0;
  position: relative;
  z-index: 1;
  padding-left: 32px;
  padding-right: 32px;
}

h1, h2, h3, h4 {
  font-family: 'Pretendard', sans-serif;
  font-weight: 700;
  margin: 0 0 16px 0;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

/* HERO */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: #181a20;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
  overflow: hidden;
}
#particles {
  position: absolute;
  width: 100vw;
  height: 100vh;
  top: 0; left: 0;
  z-index: 1;
  pointer-events: none;
}
#bg-video {
  position: absolute;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  opacity: 0.13;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: 10vh;
  padding-left: 16px;
  padding-right: 16px;
}
.hero-content h1 {
  font-size: 3.2rem;
  letter-spacing: -2px;
  margin-bottom: 18px;
  background: linear-gradient(90deg, #00c6fb 0%, #005bea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-content h3 {
  font-size: 1.3rem;
  color: #b2becd;
  font-weight: 400;
}
.scroll-down {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-down .arrow {
  display: block;
  width: 32px;
  height: 32px;
  border-bottom: 3px solid #00c6fb;
  border-right: 3px solid #00c6fb;
  transform: rotate(45deg);
  margin: 0 auto;
  animation: bounce 1.5s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0) rotate(45deg); }
  50% { transform: translateY(12px) rotate(45deg); }
}

/* MISSION */
#mission {
  background: #20232a;
  text-align: center;
}
.mission-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 40px auto 0 auto;
}
.mission-item {
  background: #23272f;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.10);
  padding: 36px 28px 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s, transform 0.7s;
  min-height: 320px;
}
.mission-item.visible {
  opacity: 1;
  transform: translateY(0);
}
.mission-item .icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #00c6fb;
}
.mission-item h4 {
  margin: 0 0 14px 0;
  color: #00c6fb;
  font-size: 1.18rem;
  font-weight: 700;
  text-align: left;
  padding-left: 2px;
  padding-right: 2px;
}
.mission-item p {
  color: #b2becd;
  font-size: 1.04rem;
  line-height: 1.7;
  margin: 0;
  text-align: left;
  padding-left: 2px;
  padding-right: 2px;
}
.mission-item h4, .mission-item p {
  word-break: keep-all;
  hyphens: auto;
  white-space: normal;
}
@media (max-width: 900px) {
  .mission-list {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .mission-item {
    min-height: 0;
    padding: 32px 16px 28px 16px;
  }
}

/* WORKS */
#works {
  background: #181a20;
  text-align: center;
}
.works-slider {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  padding: 32px 0;
  scroll-snap-type: x mandatory;
  padding-left: 16px;
  padding-right: 16px;
}
.work-card {
  background: #23272f;
  border-radius: 18px;
  min-width: 340px;
  max-width: 340px;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.13);
  overflow: hidden;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
  scroll-snap-align: start;
}
.work-card:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 32px 0 rgba(0,198,251,0.18);
}
.work-bg {
  width: 100%;
  height: 160px;
  background-size: cover;
  background-position: center;
  opacity: 0.7;
}
.work-content {
  padding: 24px 20px 20px 20px;
}
.tags {
  margin: 12px 0 18px 0;
}
.tags span {
  display: inline-block;
  background: #23272f;
  color: #00c6fb;
  border-radius: 12px;
  padding: 3px 12px;
  font-size: 0.9rem;
  margin-right: 6px;
}
.view-project {
  color: #00c6fb;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s;
}
.view-project .arrow {
  margin-left: 4px;
  transition: margin-left 0.2s;
}
.view-project:hover .arrow {
  margin-left: 12px;
}

/* TEAM */
#team {
  background: #20232a;
  text-align: center;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 40px auto 0 auto;
  padding-left: 8px;
  padding-right: 8px;
}
.team-member {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
}
.profile-pic {
  width: 100%;
  aspect-ratio: 1/1;
  background-size: cover;
  background-position: center;
  filter: grayscale(1);
  transition: filter 0.4s;
}
.team-member:hover .profile-pic {
  filter: grayscale(0);
}
.member-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: rgba(24,26,32,0.88);
  color: #fff;
  padding: 24px 12px 18px 12px;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.team-member:hover .member-overlay {
  opacity: 1;
}
.member-overlay h4 span {
  font-weight: 400;
  font-size: 1rem;
  color: #00c6fb;
  margin-left: 6px;
}
.member-info {
  min-height: 120px; /* 기존 높이에 맞춰 조정, 필요시 값 조절 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.member-info h4 {
  font-size: 1.13rem;
  font-weight: 700;
  margin: 20px 0 0 0;
  color: #f5f6fa;
  text-align: center;
}
.member-info h4 span {
  display: block;
  font-weight: 400;
  font-size: 1rem;
  color: #00c6fb;
  margin-left: 0;
  margin-top: 7px;
  margin-bottom: 7px;
  word-break: break-all;
  white-space: normal;
}
.member-info p {
  font-size: 0.98rem;
  color: #b2becd;
  margin: 0 0 14px 0;
  text-align: center;
  word-break: break-all;
}
.member-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
  min-height: 32px;
}
.member-links a {
  color: #b2becd;
  font-size: 1.5rem;
  transition: color 0.2s;
}
.member-links a:hover {
  color: #00c6fb;
}

/* JOIN & CONTACT */
#join {
  background: #181a20;
  text-align: center;
}
.join-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  margin-top: 40px;
}
.join-recruit, .join-contact {
  background: #23272f;
  border-radius: 16px;
  padding: 32px 28px;
  min-width: 320px;
  max-width: 400px;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.10);
  margin-bottom: 20px;
}
.join-btn, .contact-btn {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 28px;
  border-radius: 8px;
  background: none;
  color: #00c6fb;
  border: 2px solid #00c6fb;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.join-btn:hover, .contact-btn:hover {
  background: #00c6fb;
  color: #181a20;
}

/* FOOTER */
footer {
  border-top: 1px solid #23272f;
  background: #181a20;
  padding: 32px 0 18px 0;
  text-align: center;
}
.footer-content {
  max-width: 900px;
  margin: 0 auto;
}
.footer-logo {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.footer-links {
  margin-bottom: 10px;
}
.footer-icon {
  color: #b2becd;
  margin: 0 8px;
  transition: color 0.2s;
}
.footer-icon:hover {
  color: #00c6fb;
}
.footer-copy {
  font-size: 0.95rem;
  color: #b2becd;
}

.footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.footer-right {
  display: flex;
  align-items: flex-end;
  margin-left: auto;
}
@media (max-width: 700px) {
  .footer-flex {
    flex-direction: column;
    align-items: center; /* 중앙 정렬로 변경 */
    gap: 18px;
    text-align: center; /* 텍스트도 중앙 정렬 */
  }
  .footer-left {
    align-items: center; /* 중앙 정렬 */
    width: 100%;
  }
  .footer-right {
    margin-left: 0;
    align-items: center; /* 중앙 정렬 */
    width: 100%;
    justify-content: center;
  }
  .footer-logo {
    margin-bottom: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .footer-links {
    margin-bottom: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 12px;
  }
  .footer-address-small, .footer-copy-small {
    text-align: center;
    width: 100%;
    display: block;
    margin-left: 0;
    margin-right: 0;
    word-break: keep-all;
  }
}

.vision-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 64px 0 40px 0;
  text-align: center;
}
.vision-inner h2 {
  font-size: 2.3rem;
  margin-bottom: 18px;
  color: #fff !important;
  font-weight: 700;
  letter-spacing: -1px;
  background: none !important;
  background-clip: unset !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
}
.vision-inner p {
  font-size: 1.25rem;
  color: #b2becd;
  line-height: 1.7;
  margin-bottom: 0;
}
.vision-inner strong {
  color: #00c6fb;
  font-size: 1.15em;
  font-weight: 700;
  display: block;
  margin-top: 18px;
}

.section-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.section-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.footer-address-small {
  color: #b2becd;
  font-size: 0.93em;
  margin-bottom: 4px;
  white-space: normal;
  line-height: 1.5;
  display: block;
}
.footer-copy-small {
  color: #b2becd;
  font-size: 0.93em;
  margin-bottom: 0;
  display: block;
}

.footer-contact-mobile {
  display: inline;
}
@media (max-width: 700px) {
  .footer-contact-mobile {
    display: block;
    margin-top: 4px;
  }
}

@media (max-width: 700px) {
  .navbar {
    padding: 0;
    height: 54px;
  }
  .navbar-inner {
    height: 54px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .navbar-menu {
    position: fixed;
    top: 54px;
    right: 0;
    left: 0;
    background: rgba(24,26,32,0.98);
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
    padding: 24px 24px 32px 24px;
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.18);
    z-index: 110;
    display: none;
    border-radius: 0 0 16px 16px;
  }
  .navbar-menu.open {
    display: flex;
  }
  .navbar-menu li {
    width: 100%;
    margin-bottom: 18px;
  }
  .navbar-menu li:last-child {
    margin-bottom: 0;
  }
  .navbar-toggle {
    display: flex;
  }
  .navbar-menu {
    gap: 18px;
    margin-left: 0;
  }
  .works-slider {
    flex-direction: column;
    gap: 24px;
    align-items: center;
    padding-left: 0;
    padding-right: 0;
  }
  .join-content {
    flex-direction: column;
    gap: 24px;
  }
  .team-grid {
    grid-template-columns: 1fr 1fr;
    padding-left: 0;
    padding-right: 0;
  }
  body {
    padding-top: 54px;
  }
} 

.hero-headline {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #fff;
  letter-spacing: -1.5px;
} 

.about-section {
  background: none;
  color: #f5f6fa;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2px 0 0 0;
}
.about-section p {
  font-size: 0.93rem;
  color: #a5adb8;
  line-height: 1.5;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  font-weight: 400;
  letter-spacing: -0.2px;
  padding: 0;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}
.about-section p:focus, .about-section p:hover, .about-section p strong, .about-section p b {
  color: #a5adb8 !important;
  font-weight: 400 !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}
@media (max-width: 700px) {
  .about-section {
    padding: 1px 0 0 0;
  }
  .about-section p {
    font-size: 0.87rem;
  }
} 

.about-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  background: none;
  padding: 56px 0 40px 0;
  max-width: 1000px;
  margin: 0 auto;
}
.about-img {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.07);
  border-radius: 24px;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.10);
  padding: 18px;
  border: 1.5px solid #23272f;
}
.about-img img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.07);
  padding: 0;
  border: none;
}
.about-text {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
}
.about-text p {
  font-size: 1.08rem;
  color: #b2becd;
  line-height: 1.7;
  margin: 0;
  text-align: left;
  font-weight: 400;
  letter-spacing: -0.2px;
  max-width: 480px;
  word-break: keep-all;
  hyphens: auto;
  white-space: normal;
  padding: 0 0 0 0;
}
@media (max-width: 900px) {
  .about-flex {
    gap: 24px;
    padding: 28px 0 16px 0;
    max-width: 98vw;
  }
  .about-img {
    padding: 8px;
    border-radius: 16px;
  }
  .about-img img {
    width: 90px;
    height: 90px;
    border-radius: 10px;
  }
  .about-text p {
    font-size: 0.97rem;
    text-align: center;
    max-width: 95vw;
    padding: 0;
  }
  .about-text {
    justify-content: center;
  }
} 

.about-section.about-simple {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  padding: 64px 0 48px 0;
  max-width: 100vw;
}
.about-img-center {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 32px;
}
.about-img-center img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  border-radius: 18px;
  background: none;
  box-shadow: none;
  padding: 0;
  border: none;
}
.about-text-center {
  width: 100%;
  display: flex;
  justify-content: center;
}
.about-text-center p {
  font-size: 1.13rem;
  color: #b2becd;
  line-height: 1.7;
  margin: 0;
  text-align: center;
  font-weight: 400;
  letter-spacing: -0.2px;
  max-width: 480px;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}
@media (max-width: 700px) {
  .about-section.about-simple {
    padding: 32px 0 18px 0;
  }
  .about-img-center img {
    width: 110px;
    height: 110px;
    border-radius: 10px;
  }
  .about-text-center p {
    font-size: 0.98rem;
    max-width: 95vw;
  }
} 

/* 프로젝트(Works) 섹션 - 블러 없는 자연스러운 오버레이 & 라운드 통일 */
.work-card {
  position: relative;
  width: 320px;
  margin: 0 16px 32px 16px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
  overflow: hidden;
  display: block;
  transition: box-shadow 0.18s, transform 0.18s;
}
.project-full-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 24px;
}
.work-info-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(36,54,85,0.90) 90%, rgba(36,54,85,0.0) 100%);
  color: #fff;
  padding: 28px 18px 16px 18px;
  z-index: 2;
  text-align: left;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
/* 프로젝트(Works) 섹션 - 오버레이 정보 완전 중앙 정렬 보정 */
.work-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(36,54,85,0.93);
  color: #fff;
  opacity: 0;
  transition: opacity 0.22s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 36px 24px;
  border-radius: 24px;
  z-index: 10;
  text-align: center;
  pointer-events: none;
  gap: 16px;
  box-sizing: border-box;
}
.work-card:hover .work-overlay {
  opacity: 1;
  pointer-events: auto;
}
.work-overlay .work-title {
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 0;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.13);
  letter-spacing: -0.5px;
  line-height: 1.2;
  width: 100%;
  text-align: center;
}
.work-overlay .tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 4px;
  margin-bottom: 0;
  box-sizing: border-box;
}
/* 해시태그 pill 사이즈 축소 */
.work-overlay .tags span {
  background: #eaf3fb;
  color: #2563eb;
  border-radius: 14px;
  padding: 3px 9px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid #d0e3fa;
  box-shadow: none;
  margin: 0;
  text-align: center;
}
.work-overlay .work-desc {
  font-size: 1.08rem;
  line-height: 1.6;
  font-weight: 400;
  text-shadow: 0 2px 8px rgba(0,0,0,0.10);
  margin-bottom: 0;
  margin-top: 0;
  width: 100%;
  max-width: 100%;
  text-align: center;
  box-sizing: border-box;
}
.work-overlay .view-project {
  margin-top: 0;
  margin-bottom: 0;
  padding: 12px 32px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(59,130,246,0.10);
  letter-spacing: 0.2px;
  display: inline-block;
  width: auto;
  text-align: center;
}
@media (max-width: 600px) {
  .work-overlay {
    padding: 14px 8px;
    gap: 10px;
  }
  .work-overlay .work-title {
    font-size: 1.08rem;
  }
  .work-overlay .work-desc {
    font-size: 0.97rem;
    max-width: 100%;
  }
  .work-overlay .view-project {
    padding: 10px 18px;
    font-size: 0.97rem;
  }
} 