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

:root {
  --blue-950: #020917;
  --blue-900: #0a1628;
  --blue-800: #0f2044;
  --blue-700: #0d2f6b;
  --blue-600: #1048a0;
  --blue-500: #1d6fd4;
  --blue-400: #38a3f5;
  --blue-300: #7ec8f8;
  --accent:   #0ea5e9;
  --accent2:  #38bdf8;
  --white:    #ffffff;
  --text-main: #f0f8ff;
  --text-muted: #94b8d6;
  --border: rgba(56,163,245,0.18);
  --card-bg: rgba(13,37,80,0.65);
  --radius: 14px;
  --font-display: 'Rajdhani', sans-serif;
  --font-body: 'Noto Sans KR', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--blue-950); color: var(--text-main); overflow-x: hidden; line-height: 1.7; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ── TYPOGRAPHY ── */
.section-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .25em; color: var(--accent); text-transform: uppercase; margin-bottom: 16px; opacity: .85; }
.section-label.light { color: var(--blue-300); }
.section-title { font-family: var(--font-display); font-size: clamp(2rem,4vw,3.2rem); font-weight: 700; line-height: 1.15; color: var(--text-main); margin-bottom: 28px; }
.section-title em { font-style: normal; color: var(--accent2); }
.section-title.light { color: var(--white); }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: 50px; font-family: var(--font-body); font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer; border: none; transition: var(--transition); }
.btn--primary { background: var(--accent); color: var(--white); box-shadow: 0 4px 24px rgba(14,165,233,.35); }
.btn--primary:hover { background: var(--accent2); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(14,165,233,.5); }
.btn--ghost { background: transparent; color: var(--blue-300); border: 1.5px solid rgba(56,189,248,.4); }
.btn--ghost:hover { background: rgba(56,189,248,.08); border-color: var(--accent2); color: var(--white); }
.btn--outline { background: transparent; color: var(--accent); border: 1.5px solid var(--border); font-size: 14px; padding: 10px 22px; }
.btn--outline:hover { background: rgba(14,165,233,.1); border-color: var(--accent); }

/* ── NAV ── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 16px 0; transition: background var(--transition), box-shadow var(--transition), padding var(--transition); }
.nav.scrolled { background: rgba(2,9,23,.94); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--border); padding: 10px 0; }
.nav__inner { max-width: 1160px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.nav__logo { display: flex; align-items: center; text-decoration: none; }
.nav__logo-img { height: 36px; width: auto; filter: brightness(0) invert(1); }
.nav__links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav__links a { color: var(--text-muted); text-decoration: none; font-size: 14px; font-weight: 400; transition: color var(--transition); }
.nav__links a:hover { color: var(--white); }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav__burger span { display: block; width: 24px; height: 2px; background: var(--text-main); border-radius: 2px; transition: var(--transition); }

/* ── NAV DROPDOWN ── */
.nav__dropdown { position: relative; }

.nav__dropdown-btn {
  display: flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, var(--accent), #1d6fd4);
  color: var(--white);
  border: none; border-radius: 50px;
  padding: 8px 18px;
  font-family: var(--font-body); font-size: 13.5px; font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(14,165,233,.3);
}
.nav__dropdown-btn:hover { background: linear-gradient(135deg, var(--accent2), var(--accent)); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(14,165,233,.4); }

.nav__dropdown-arrow { transition: transform var(--transition); }
.nav__dropdown.open .nav__dropdown-arrow { transform: rotate(180deg); }

.nav__dropdown-menu {
  display: none;
  position: absolute; top: calc(100% + 12px); right: 0;
  background: rgba(8,18,42,.97);
  border: 1px solid rgba(14,165,233,.25);
  border-radius: 14px;
  padding: 8px;
  min-width: 260px;
  backdrop-filter: blur(20px);
  box-shadow: 0 16px 48px rgba(0,0,0,.5);
  z-index: 200;
  animation: dropIn .2s ease both;
}
.nav__dropdown.open .nav__dropdown-menu { display: block; }
@keyframes dropIn { from{opacity:0;transform:translateY(-8px)} to{opacity:1;transform:translateY(0)} }

.nav__dropdown-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 10px;
  text-decoration: none;
  color: var(--text-main);
  transition: background var(--transition);
}
.nav__dropdown-item:hover { background: rgba(14,165,233,.12); }
.nav__dropdown-item + .nav__dropdown-item { margin-top: 2px; }

.dropdown-item__icon { font-size: 1.6rem; flex-shrink: 0; }
.nav__dropdown-item > div strong { display: block; font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 2px; }
.nav__dropdown-item > div span { font-size: 11px; color: var(--text-muted); font-family: var(--font-mono); }
.dropdown-item__dl { color: var(--accent2); margin-left: auto; flex-shrink: 0; }

/* ═══════════════════════════════════
   ── NEW HERO DESIGN ──
═══════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(135deg, #010c1e 0%, #041530 40%, #071d45 70%, #040e28 100%);
}

/* 파티클 캔버스 */
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* 오버레이 그라디언트 */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 50%, rgba(14,165,233,.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 30%, rgba(56,189,248,.07) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 60% 80%, rgba(29,78,216,.1) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
  padding: 110px 24px 80px;
  width: 100%;
}

/* ── 왼쪽 텍스트 블록 ── */
.hero__left { display: flex; flex-direction: column; gap: 0; }

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent2);
  background: rgba(14,165,233,.1);
  border: 1px solid rgba(14,165,233,.25);
  border-radius: 50px;
  padding: 7px 16px;
  margin-bottom: 28px;
  width: fit-content;
  animation: fadeUp .7s .1s both;
}
.hero__tag-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.6;transform:scale(1.4)} }

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
  animation: fadeUp .7s .25s both;
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(120deg, #38bdf8, #0ea5e9, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__title-sub {
  display: block;
  font-size: clamp(1.4rem, 2.8vw, 2.4rem);
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero__desc {
  font-size: clamp(.95rem, 1.5vw, 1.05rem);
  color: var(--text-muted);
  line-height: 1.95;
  margin-bottom: 36px;
  animation: fadeUp .7s .4s both;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  animation: fadeUp .7s .55s both;
}



/* ── 오른쪽 허브 그래픽 ── */
.hero__right { display: flex; align-items: center; justify-content: center; }

.hero__hub {
  position: relative;
  width: 420px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: hubFloat 6s ease-in-out infinite;
}
@keyframes hubFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.hub__svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 0 32px rgba(14,165,233,0.15));
}

/* 스크롤 힌트 */
.hero__scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 10;
  animation: fadeIn 1s 1.2s both;
}
.hero__scroll span { font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; color: var(--text-muted); text-transform: uppercase; }
.hero__scroll-line { width: 1px; height: 44px; background: linear-gradient(to bottom, var(--accent), transparent); animation: scrollLine 2s ease-in-out infinite; }
@keyframes scrollLine { 0%,100%{transform:scaleY(1);opacity:1} 50%{transform:scaleY(.5);opacity:.4} }

/* ── ABOUT ── */
.about { padding: 120px 0; background: var(--blue-950); }
.about__layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.about__left { padding-top: 16px; }
.about__desc { color: var(--text-muted); line-height: 1.9; margin-bottom: 28px; font-size: 15px; }
.about__badges { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.badge { display: flex; align-items: center; gap: 14px; background: var(--card-bg); border: 1px solid var(--border); border-radius: 10px; padding: 14px 18px; backdrop-filter: blur(8px); }
.badge__icon { font-size: 1.6rem; }
.badge strong { display: block; font-size: 14px; color: var(--white); }
.badge small { font-family: var(--font-mono); font-size: 11px; color: var(--accent); }

/* ── TIMELINE ── */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 2px; background: linear-gradient(to bottom, var(--accent), transparent); }
.timeline__item { position: relative; margin-bottom: 36px; display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start; }
.timeline__item::before { content: ''; position: absolute; left: -34px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(14,165,233,.2); }
.timeline__year { font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--accent); padding-top: 4px; }
.timeline__content strong { display: block; font-size: 15px; color: var(--text-main); margin-bottom: 4px; }
.timeline__content p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* ── BUSINESS ── */
.business { position: relative; padding: 120px 0; overflow: hidden; }
.business__bg { position: absolute; inset: 0; background: linear-gradient(160deg, var(--blue-900) 0%, var(--blue-800) 50%, var(--blue-900) 100%); }
.business__bg::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 80% 20%, rgba(14,165,233,.08) 0%, transparent 50%), radial-gradient(circle at 20% 80%, rgba(29,78,216,.1) 0%, transparent 50%); }
.business .container { position: relative; z-index: 1; }
.business__intro { color: var(--blue-300); font-size: 15px; line-height: 1.9; max-width: 640px; margin-bottom: 64px; }

.biz__cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-bottom: 72px; }
.biz__card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 28px; position: relative; backdrop-filter: blur(12px); transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition); }
.biz__card:hover { transform: translateY(-6px); border-color: rgba(14,165,233,.4); box-shadow: 0 16px 48px rgba(14,165,233,.12); }
.biz__card--featured { border-color: rgba(14,165,233,.45); background: linear-gradient(160deg, rgba(16,72,160,.5), rgba(13,47,107,.6)); box-shadow: 0 4px 32px rgba(14,165,233,.15); }
.biz__card-badge { position: absolute; top: 16px; right: 16px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .15em; color: var(--accent); background: rgba(14,165,233,.15); border: 1px solid rgba(14,165,233,.3); border-radius: 50px; padding: 3px 10px; }
.biz__card-icon { width: 52px; height: 52px; color: var(--accent2); margin-bottom: 20px; }
.biz__card h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; margin-bottom: 12px; color: var(--white); }
.biz__card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.8; margin-bottom: 20px; }
.biz__list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.biz__list li { font-size: 13px; color: var(--blue-300); padding-left: 16px; position: relative; }
.biz__list li::before { content: '→'; position: absolute; left: 0; color: var(--accent); font-size: 11px; }

.flow { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; row-gap: 20px; }
.flow__node { text-align: center; font-size: 14px; font-weight: 500; padding: 18px 28px; border-radius: 12px; line-height: 1.4; min-width: 140px; }
.flow__node small { display: block; font-size: 11px; font-family: var(--font-mono); opacity: .7; margin-top: 4px; }
.flow__node--corp { background: rgba(13,47,107,.7); border: 1.5px solid rgba(56,163,245,.3); color: var(--blue-300); }
.flow__node--platform { background: var(--accent); border: 2px solid var(--accent2); color: var(--white); font-family: var(--font-display); font-size: 16px; font-weight: 700; box-shadow: 0 0 32px rgba(14,165,233,.4); }
.flow__node--consumer { background: rgba(13,47,107,.7); border: 1.5px solid rgba(56,163,245,.3); color: var(--blue-300); }
.flow__arrow { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 8px; }
.flow__arrow-line { width: 80px; height: 2px; background: linear-gradient(to right, var(--blue-600), var(--accent)); position: relative; }
.flow__arrow-line::after { content: '▶'; position: absolute; right: -8px; top: -7px; font-size: 10px; color: var(--accent); }
.flow__arrow span { font-family: var(--font-mono); font-size: 10px; color: var(--text-muted); letter-spacing: .1em; }

/* ── TEAM ── */
.team { padding: 120px 0; background: var(--blue-950); }
.team__intro { color: var(--text-muted); font-size: 15px; margin-bottom: 64px; max-width: 480px; }

/* 4열 그리드 */
.team__grid { display: grid; gap: 24px; }
.team__grid--4 { grid-template-columns: repeat(4,1fr); }

.team__card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 20px; text-align: center; backdrop-filter: blur(8px); transition: transform var(--transition), border-color var(--transition); }
.team__card:hover { transform: translateY(-4px); border-color: rgba(14,165,233,.35); }
.team__avatar { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; }
.team__avatar span { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: white; }
.team__card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.team__role { font-family: var(--font-mono); font-size: 10px; color: var(--accent); letter-spacing: .08em; margin-bottom: 14px; }
.team__bio { font-size: 12.5px; color: var(--text-muted); line-height: 1.7; }

/* ── CONTACT ── */
.contact { position: relative; padding: 120px 0; overflow: hidden; }
.contact__bg { position: absolute; inset: 0; background: linear-gradient(160deg, var(--blue-800) 0%, var(--blue-900) 100%); }
.contact__bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 10% 50%, rgba(14,165,233,.07) 0%, transparent 50%); }
.contact .container { position: relative; z-index: 1; }

.contact__layout--single { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.contact__info--wide { display: flex; flex-direction: column; gap: 24px; }
.contact__item { display: flex; gap: 16px; align-items: flex-start; }
.contact__icon { width: 44px; height: 44px; background: rgba(14,165,233,.12); border: 1px solid var(--border); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--accent2); }
.contact__icon svg { width: 20px; height: 20px; }
.contact__item strong { display: block; font-size: 13px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.contact__item p { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; }
.contact__link { color: var(--accent2); text-decoration: none; transition: color var(--transition); }
.contact__link:hover { color: var(--white); text-decoration: underline; }
.contact__map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.map__svg { width: 100%; height: auto; display: block; }

/* ── FOOTER ── */
.footer { background: var(--blue-950); border-top: 1px solid var(--border); padding: 40px 0 28px; }
.footer .container { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.footer__logo { height: 32px; width: auto; filter: brightness(0) invert(1); display: block; }
.footer__certs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.cert__tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; color: #f0c040;
  background: rgba(20,28,55,.9);
  border: 1.5px solid rgba(200,160,30,.55);
  border-radius: 8px; padding: 7px 14px; letter-spacing: .02em;
}
.footer__brand { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.footer__bottom { border-top: 1px solid var(--border); padding-top: 20px; width: 100%; text-align: center; }
.footer__bottom p { font-size: 12px; color: rgba(148,184,214,.5); text-align: center; }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes fadeUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .team__grid--4 { grid-template-columns: repeat(2,1fr); }
  .hero__hub { width: 340px; height: 340px; }
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: 100px; }
  .hero__right { display: none; }
  .about__layout { grid-template-columns: 1fr; gap: 56px; }
  .biz__cards { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto 72px; }
  .contact__layout--single { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  .flow { gap: 8px; }
  .flow__arrow-line { width: 48px; }
}
@media (max-width: 600px) {
  .nav__links { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(2,9,23,.97); flex-direction: column; align-items: center; justify-content: center; gap: 36px; z-index: 99; }
  .nav__links.open { display: flex; }
  .nav__links a { font-size: 20px; color: var(--white); }
  .nav__burger { display: flex; position: relative; z-index: 100; }
  .team__grid--4 { grid-template-columns: 1fr; }
  .footer__links { grid-template-columns: 1fr 1fr; }
  .hero__actions { flex-direction: column; }
  .flow { flex-direction: column; }
  .flow__arrow-line { width: 2px; height: 40px; background: linear-gradient(to bottom, var(--blue-600), var(--accent)); }
  .flow__arrow-line::after { content: '▼'; right: auto; left: -5px; top: auto; bottom: -8px; }
}
