/* 바이트다인 메인 랜딩 — 디자인 Landing Templates 2a (센터 정렬 · 심볼 중심) */
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: #0D0D11;
  color: #F4F4F5;
  font-family: "Pretendard Variable", Pretendard, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: #1A8FD0; }

/* 화면 프레임: 상단·하단 고정, 중앙 콘텐츠 상하좌우 중앙 */
.page {
  height: 100vh;
  min-height: 820px;
  container-type: size;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* 상단 */
.top {
  flex: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 64px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-symbol { height: 34px; display: block; }
.brand-word { height: 26px; display: block; filter: brightness(0) invert(1); }
.nav { display: flex; align-items: center; gap: 40px; font-size: 15px; color: #D4D4D8; }
.lang {
  display: flex;
  gap: 2px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  border: 1px solid #3F3F46;
  border-radius: 999px;
  padding: 3px;
}
.lang button {
  font: inherit;
  border: 0;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  background: transparent;
  color: #A1A1AA;
}
.lang button.is-on { background: #F4F4F5; color: #0D0D11; }

/* 중앙 히어로 */
.hero {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 64px;
}
.hero-inner {
  width: 100%;
  max-width: 1312px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-media {
  position: relative;
  width: 340px;
  height: min(240px, calc(100cqh - 698px));
  display: flex;
  align-items: center;
  justify-content: center;
}
.glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 420px;
  height: 420px;
  margin: -210px 0 0 -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242,128,58,0.40), rgba(224,36,122,0.22) 40%, rgba(26,143,208,0.16) 62%, rgba(13,13,17,0) 72%);
  filter: blur(40px);
}
.hero-symbol { position: relative; height: 90%; display: block; }
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: #A1A1AA;
  letter-spacing: 0.08em;
  margin-top: 28px;
}
.title {
  margin: 20px 0 0;
  font-size: 72px;
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.sub {
  margin: 24px 0 0;
  font-size: 20px;
  line-height: 1.6;
  color: #C4C4CC;
  max-width: 600px;
  text-wrap: pretty;
}

/* 하단 서비스 카드 */
.services {
  flex: none;
  padding: 0 64px 56px;
  display: flex;
  justify-content: center;
}
.services-grid {
  width: 100%;
  max-width: 1312px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.card {
  background: #15151B;
  border: 1px solid #26262E;
  border-radius: 24px;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s;
}
.card:hover { transform: translateY(-6px); border-color: #3F3F4A; }
.card-no { font-size: 32px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.card-title { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-top: 8px; }
.card-desc { font-size: 15px; line-height: 1.6; color: #A1A1AA; text-wrap: pretty; }

/* 하단 회사 정보 */
.foot {
  position: relative;
  flex: none;
  border-top: 1px solid #26262E;
  background: rgba(13,13,17,0.88);
  display: flex;
  justify-content: center;
  padding: 0 64px;
}
.foot-inner {
  width: 100%;
  max-width: 1312px;
  padding: 22px 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #8A8A93;
  text-align: center;
}
.foot-row { display: flex; align-items: center; gap: 14px; }
.foot-info { flex-wrap: wrap; justify-content: center; gap: 4px 14px; }
.foot-sep { width: 1px; height: 10px; background: #3F3F46; }
.foot-mail { color: #C4C4CC; }

/* 태블릿·모바일: 고정 높이 해제, 세로 스크롤 */
@media (max-width: 900px) {
  .page { height: auto; min-height: 100svh; container-type: normal; overflow: visible; }
  .top { padding: 20px 16px; }
  .brand { gap: 10px; }
  .brand-symbol { height: 28px; }
  .brand-word { height: 20px; }
  .nav { gap: 20px; font-size: 14px; }
  .nav > a { display: none; }
  .hero { padding: 40px 16px; }
  .hero-media { width: 240px; height: 200px; }
  .glow { width: 300px; height: 300px; margin: -150px 0 0 -150px; }
  .title { font-size: clamp(40px, 10vw, 64px); }
  .sub { font-size: 17px; }
  .services { padding: 0 16px 32px; }
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .card { padding: 24px; }
  .foot { padding: 0 16px; }
  .foot-inner { font-size: 12px; }
  .foot-info { flex-direction: column; gap: 2px; }
  .foot-info .foot-sep { display: none; }
}
