@import url('https://fonts.googleapis.com/css2?family=Nanum+Pen+Script&display=swap');

:root {
  --bg: #f6f8fc;
  --bg-soft: #eef3fb;
  --text: #14233c;
  --muted: #5e6d86;
  --primary: #1f4fbf;
  --primary-dark: #123987;
  --accent: #49b0ff;
  --accent-soft: #ffdd55;
  --accent-gold: #ffd84d;
  --accent-deep: #245dcc;
  --line: rgba(20, 35, 60, 0.08);
  --shadow: 0 14px 40px rgba(12, 36, 88, 0.08);
  --shadow-strong: 0 24px 56px rgba(12, 37, 89, 0.16);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Pretendard Variable", "Pretendard", "SUIT Variable", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(31, 79, 191, 0.10), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(73, 176, 255, 0.08), transparent 22%),
    radial-gradient(circle at bottom right, rgba(31, 79, 191, 0.06), transparent 25%),
    linear-gradient(180deg, #f8fbff 0%, #f3f6fb 100%);
  line-height: 1.8;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font: inherit;
  border: none;
  cursor: pointer;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

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

.section-soft {
  background: var(--bg-soft);
}

.eyebrow {
  color: var(--accent-gold);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 14px;
  opacity: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

h1,
h2,
h3 {
  margin-top: 0;
  letter-spacing: -0.03em;
  font-weight: 700;
}

h1 {
  font-size: clamp(38px, 6.2vw, 72px);
  line-height: 1.06;
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.2;
  margin-bottom: 18px;
}

h3 {
  font-size: 21px;
  line-height: 1.4;
  margin-bottom: 14px;
}

.section-desc {
  max-width: 860px;
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 0;
}

.accent {
  color: var(--accent-deep);
  font-weight: 800;
}

.small-text {
  font-size: 14px;
  color: #6a7890;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-img {
  width: 75px;
  height: 75px;
  object-fit: contain;
}

.logo-text strong {
  display: block;
  font-size: 18px;
}

.logo-text span {
  display: block;
  font-size: 12px;
  color: #6a7890;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.nav a {
  position: relative;
  font-size: 14px;
  font-weight: 700;
  color: #20314f;
  padding: 10px 0;
  transition: color 0.25s ease, transform 0.25s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 2px;
  background: linear-gradient(90deg, #2e63d6, #49b0ff);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
  border-radius: 999px;
}

.nav a:hover {
  color: var(--primary);
  transform: translateY(-1px);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  will-change: transform;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(91, 180, 255, 0.18), transparent 22%),
    linear-gradient(120deg, rgba(8, 21, 48, 0.78), rgba(15, 51, 120, 0.46));
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -10% 8% auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(73,176,255,0.18), rgba(73,176,255,0));
  filter: blur(30px);
  z-index: 1;
  animation: glowFloat 8s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 140px 0 100px;
}

.hero-content > * {
  max-width: 820px;
}

.hero-subcopy {
  color: var(--accent-soft);
  font-size: 1.2rem;
  font-weight: 700;
  margin: -4px 0 18px;
}

.hero-desc,
.hero-note {
  max-width: 760px;
  font-size: 19px;
}

.hero-desc {
  color: rgba(255, 255, 255, 0.94);
}

.hero-note {
  color: rgba(255, 255, 255, 0.82);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #2762dc, #123987);
  color: #fff;
  box-shadow: 0 16px 30px rgba(18, 57, 135, 0.25);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow: 0 0 0 rgba(73,176,255,0);
}

.btn-secondary:hover {
  box-shadow: 0 0 24px rgba(73,176,255,0.22);
}

.btn-outline {
  background: #fff;
  color: var(--primary);
  border: 1px solid rgba(31, 79, 191, 0.16);
}

.quote-box {
  margin: 34px 0 46px;
  padding: 32px 28px;
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
}

.quote-box p {
  margin: 0;
  color: #33425d;
  font-size: 17px;
}

.quote-hand {
  font-family: "Nanum Pen Script", cursive;
  font-size: 2.2rem !important;
  line-height: 1.4 !important;
  color: #2e4e84 !important;
  text-align: center;
  letter-spacing: 0;
}

.grid {
  display: grid;
  gap: 28px;
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards-4 {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 42px;
}

.two-col {
  grid-template-columns: 1fr 1fr;
}

.card,
.service-card,
.image-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}


.service-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}
.service-ppt{
  text-decoration:none;
}


.card {
  padding: 30px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.95);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.card h3 {
  color: #17305e;
}

.card p {
  color: #50607b;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(46, 99, 214, 0.20);
}

.why-grid .floating-card {
  animation: floatingCard 5.5s ease-in-out infinite;
}

.why-grid .floating-card:nth-child(2) { animation-delay: 0.4s; }
.why-grid .floating-card:nth-child(3) { animation-delay: 0.8s; }
.why-grid .floating-card:nth-child(4) { animation-delay: 1.2s; }
.why-grid .floating-card:nth-child(5) { animation-delay: 1.6s; }
.why-grid .floating-card:nth-child(6) { animation-delay: 2s; }

.story-top {
  margin-top: 40px;
}

.story-top .card:last-child {
  position: relative;
  overflow: hidden;
}

.story-top .card:last-child::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(73,176,255,0.18), rgba(73,176,255,0));
  pointer-events: none;
}

.story-images {
  margin-top: 72px;
}

.how-grid {
  margin-top: 48px;
}

.what-grid {
  margin-top: 48px;
}

.service-card {
  border: 1px solid rgba(255,255,255,0.95);
  transition: transform 0.32s ease, box-shadow 0.32s ease;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 28px 60px rgba(12, 37, 89, 0.18);
}

.service-card img {
  height: 280px;
  object-fit: cover;
}

.service-body {
  padding: 24px;
}

.service-body h3 {
  color: var(--primary);
  margin-bottom: 10px;
}

.service-summary {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent-deep) !important;
  margin-bottom: 12px !important;
  line-height: 1.45;
}

.service-detail {
  color: #4f607c !important;
}

.service-action {
  display: block;
  margin-top: 16px;
  text-align: center;
  color: var(--primary);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.02em;
}



.zoomable-image {
  cursor: zoom-in;
}

.zoomable-image img {
  transition: transform 0.35s ease;
}

.zoomable-image:hover img {
  transform: scale(1.03);
}

.image-card img {
  height: 280px;
  object-fit: cover;
}

.future {
  position: relative;
  background: url("assets/future-1.jpg") center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.future-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(73,176,255,0.15), transparent 20%),
    linear-gradient(135deg, rgba(8, 21, 48, 0.84), rgba(19, 61, 143, 0.56));
}

.future-content {
  position: relative;
  z-index: 2;
}

.future .section-desc {
  margin-bottom: 52px;
}

.future-desc {
  max-width: 720px;
}

.future-images {
  margin-top: 26px;
}

.light {
  color: rgba(255, 255, 255, 0.86);
}

.founder-grid .image-card {
  height: 680px;
  overflow: hidden;
  border-radius: 24px;
}

.founder-grid .image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.founder-role {
  color: var(--primary);
  font-weight: 700;
  margin: 10px 0 18px;
}

.founder-copy {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.founder-name-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.founder-nickname {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 216, 77, 0.22), rgba(73, 176, 255, 0.18));
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.founder-realname {
  display: inline-block;
  color: #17305e;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.2;
}

.contact-card {
  padding: 34px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.contact-note {
  margin-top: 28px;
}

.footer {
  padding: 28px 0 40px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-inner {
  text-align: center;
  color: #61708b;
}

/* 공통 hidden */
.hidden {
  display: none !important;
}

/* 기본 팝업 */
.popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(8, 17, 36, 0.62);
}

.popup.hidden {
  display: none !important;
}

.popup-content {
  position: relative;
  width: min(640px, 100%);
  background: #fff;
  border-radius: 26px;
  padding: 34px 28px 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  text-align: center;
  z-index: 2;
}

.popup-content h2 {
  font-size: 30px;
  margin-bottom: 18px;
}

.popup-content p {
  margin: 0 0 14px;
  font-size: 17px;
  color: #44526b;
}

.popup-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f2f5fa;
  font-size: 18px;
  color: #243652;
}

.popup-btn {
  margin-top: 18px;
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2762dc, #123987);
  color: #fff;
  font-weight: 700;
}

/* 이미지/영상/선언문 모달 */
.media-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.media-modal.hidden {
  display: none !important;
}

.media-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 16, 32, 0.74);
  backdrop-filter: blur(6px);
}

.media-modal-content {
  position: relative;
  z-index: 2;
  width: min(1100px, 100%);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.image-modal-content {
  max-width: 900px;
}

.video-modal-content {
  max-width: 1100px;
}

.manifest-modal-content {
  max-width: 760px;
  background: linear-gradient(180deg, #fffdfa 0%, #fff8ed 100%);
}

.media-title {
  margin: 0;
  padding: 22px 24px 10px;
  font-size: 22px;
  color: #17305e;
}

#imageModalImg {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  background: #f6f8fc;
  display: block;
}

#videoModalPlayer {
  width: 100%;
  max-height: 80vh;
  background: #000;
  display: block;
}

.media-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #22314a;
  font-size: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* 선언문 스크롤 */
.manifest-scroll {
  position: relative;
  height: 78vh;
  overflow: hidden;
  padding: 50px 40px 40px;
}

.manifest-scroll::before,
.manifest-scroll::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 70px;
  z-index: 2;
  pointer-events: none;
}

.manifest-scroll::before {
  top: 0;
  background: linear-gradient(180deg, #fff8ed 0%, rgba(255,248,237,0) 100%);
}

.manifest-scroll::after {
  bottom: 0;
  background: linear-gradient(0deg, #fff8ed 0%, rgba(255,248,237,0) 100%);
}

.manifest-track {
  animation: manifestRise 26s linear infinite;
}

.manifest-scroll:hover .manifest-track {
  animation-play-state: paused;
}

.manifest-title {
  text-align: center;
  font-size: 30px;
  margin-bottom: 28px;
  color: #394e79;
  letter-spacing: -0.02em;
}

.manifest-track p {
  font-size: 20px;
  line-height: 2;
  color: #4f5d73;
  margin: 0 0 26px;
}

.manifest-track strong {
  color: var(--accent-deep);
}

.manifest-closing {
  text-align: center;
  margin-top: 30px !important;
}

.manifest-sign {
  text-align: center;
  font-size: 18px !important;
  color: #5d6880 !important;
}

/* reveal */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.parallax-card {
  will-change: transform;
}

/* animation */
@keyframes glowFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0);
    opacity: 0.9;
  }
  50% {
    transform: translate3d(0, -18px, 0);
    opacity: 1;
  }
}

@keyframes floatingCard {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes manifestRise {
  0% {
    transform: translateY(24%);
  }
  100% {
    transform: translateY(-55%);
  }
}

@media (max-width: 980px) {
  .cards-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards-3,
  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }

  .founder-copy,
  .founder-grid .image-card img {
    min-height: auto;
    height: auto;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 72px 0;
  }

  .popup-content {
    padding: 28px 22px 24px;
  }

  .popup-content h2 {
    font-size: 26px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn,
  .popup-btn {
    width: 100%;
  }

  .hero-desc,
  .hero-note,
  .section-desc {
    font-size: 16px;
  }

  .quote-hand {
    font-size: 1.65rem !important;
  }

  .manifest-scroll {
    padding: 46px 22px 34px;
  }

  .manifest-track p {
    font-size: 17px;
  }

  .manifest-title {
    font-size: 24px;
  }
}