/* DataNerds — official website. Dark, minimal, single-page (hero + legal info). */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  padding: 0;
  background: #000;
  color: #e6e6e6;
  font-family: 'Helvetica Neue', Helvetica, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: #fff; }
a:hover { opacity: .8; }

/* ----- language switcher ----- */
.lang {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 10;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.lang a { color: #777; text-decoration: none; margin-left: 12px; transition: color .2s; }
.lang a:hover { color: #fff; }
.lang a.current { color: #fff; pointer-events: none; }

/* ----- hero (preserves the original placeholder visuals + animations) ----- */
.hero {
  position: relative;
  min-height: 100vh;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 120px;
}

@keyframes animate-text {
  0%   { background-position: -200%; }
  50%  { background-position:  200%; }
}

.hero .logo {
  opacity: 0;
  transition: opacity linear 1s;
  transition-delay: 3s;
}
.hero.page_active .logo { opacity: 1; }

.hero .company-name {
  opacity: 0;
  transition: opacity linear 2s;
  margin-top: 20px;
  margin-left: 4px;
  font-size: 30px;
  overflow: hidden;
  letter-spacing: 4px;
  background: linear-gradient(90deg, #000, #fff, #000);
  background-repeat: no-repeat;
  background-size: 300%;
  background-position: 50%;
  animation: animate-text 3s linear;
  -webkit-background-clip: text;
  -webkit-text-fill-color: rgba(255, 255, 255, 0);
  text-transform: uppercase;
}
.hero.page_active .company-name { opacity: 1; }

.hero .company-description {
  opacity: 0;
  transition: opacity linear 2s 1s;
  margin-top: 5px;
  color: #aaa;
  font-size: 13px;
}
.hero.page_active .company-description { opacity: 1; }

.hero .button {
  cursor: pointer;
  opacity: 0;
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 20px;
  background-color: #000;
  text-decoration: none;
  transition: opacity linear 1s 4s, background-color linear .15s;
}
.hero.page_active .button { opacity: 1; }

.hero .button-text {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  height: 30px;
  padding: 5px 5px;
  color: #fff;
  font-size: 15px;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(255, 255, 255, .5);
  border-top: 1px solid rgba(255, 255, 255, .5);
  transition: border-color linear .15s;
}
.hero.page_active .button:hover .button-text { border-color: rgba(255,255,255,1); }

/* ----- scroll hint ----- */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #6b6b6b;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity .6s ease 5s, color .2s;
}
.hero.page_active .scroll-hint { opacity: 1; }
.scroll-hint:hover { color: #fff; }
.scroll-hint .arrow {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: .4; }
  50%      { transform: rotate(45deg) translate(4px, 4px); opacity: 1; }
}

/* ----- legal info section ----- */
.info {
  background: #000;
  padding: 80px 32px 56px;
  border-top: 1px solid #151515;
}
.info-inner { max-width: 880px; margin: 0 auto; }

.info h2.section-title {
  margin: 0 0 32px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #fff;
}

section.block { margin: 40px 0; }
section.block:first-of-type { margin-top: 0; }
section.block h3 {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
}

dl.info-list {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 12px 24px;
  margin: 0;
}
dl.info-list dt { color: #8a8a8a; font-size: 14px; }
dl.info-list dd { margin: 0; color: #e6e6e6; font-size: 15px; }

.placeholder {
  display: inline-block;
  padding: 2px 8px;
  background: #1a1a1a;
  border: 1px dashed #444;
  color: #888;
  font-size: 13px;
  border-radius: 3px;
}

.prose p { margin: 0 0 12px; color: #cfcfcf; }
.prose p:last-child { margin-bottom: 0; }
.prose ul.tech-list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.prose ul.tech-list li {
  margin: 10px 0;
  padding-left: 16px;
  position: relative;
  color: #cfcfcf;
  font-size: 15px;
}
.prose ul.tech-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .7em;
  width: 6px;
  height: 1px;
  background: #555;
}
.prose ul.tech-list li strong { color: #fff; font-weight: 600; }

/* compact tech-list variant used inside <dd> cells of the info-list */
ul.tech-list.compact {
  margin: 4px 0 8px;
  padding: 0;
  list-style: none;
}
ul.tech-list.compact li {
  margin: 4px 0;
  padding-left: 16px;
  position: relative;
  font-size: 15px;
  color: #e6e6e6;
}
ul.tech-list.compact li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .7em;
  width: 6px;
  height: 1px;
  background: #555;
}
ul.tech-list.compact li strong { color: #fff; font-weight: 600; }
dl.info-list dd small { color: #777; font-size: 12px; }

footer.site-footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid #151515;
  color: #6b6b6b;
  font-size: 13px;
}
footer.site-footer p { margin: 0 0 8px; }

/* ----- mobile ----- */
@media (max-width: 640px) {
  .hero { padding: 80px 20px 100px; }
  .info { padding: 60px 20px 40px; }
  .info h2.section-title { font-size: 22px; }
  dl.info-list { grid-template-columns: 1fr; gap: 4px 0; }
  dl.info-list dt { margin-top: 12px; }
  dl.info-list dt:first-child { margin-top: 0; }
  .scroll-hint { bottom: 24px; font-size: 10px; }
}

/* respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero .logo, .hero .company-name, .hero .company-description,
  .hero .button, .scroll-hint { opacity: 1 !important; transition: none !important; animation: none !important; }
  .hero .company-name { -webkit-text-fill-color: #fff; background: none; }
  .scroll-hint .arrow { animation: none; }
}
