/* Codnixy — hero: title, CTAs, trusted-by + logo marquee */

.hero {
  padding: 220px 0 100px;
  text-align: center;
  overflow: hidden;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 13px;
  color: var(--ink-dim);
  letter-spacing: 0.01em;
}
.pill::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 12px var(--accent-2);
}
h1.hero-title {
  margin: 28px auto 22px;
  font-size: clamp(46px, 7.4vw, 110px);
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.035em;
  max-width: 17ch;
  text-wrap: balance;
}
h1.hero-title em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  color: #cad6ff;
}
.hero-sub {
  max-width: 640px;
  margin: 0 auto 44px;
  color: var(--ink-dim);
  font-size: 17px;
  line-height: 1.55;
}
.hero-ctas {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 16px 16px 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, #5170ff 0%, #2c47e6 100%);
  color: #fff;
  font-weight: 500;
  font-size: 15px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 12px 40px rgba(58, 92, 255, 0.4),
    0 2px 0 rgba(255, 255, 255, 0.05);
  transition: transform .2s, box-shadow .2s;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 16px 50px rgba(58, 92, 255, 0.55);
}
.btn-primary .arrow {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #fff;
  color: var(--accent);
  display: grid; place-items: center;
  font-size: 14px;
}
.trusted {
  display: flex;
  align-items: center;
  gap: 14px;
}
.stack {
  display: flex;
}
.avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -10px;
  background: linear-gradient(135deg, #3a5cff, #1a2e8c);
}
.avatar:first-child { margin-left: 0; }
.avatar.a2 { background: linear-gradient(135deg, #d97757, #6b2e1a); }
.avatar.a3 { background: linear-gradient(135deg, #4b5570, #1a1f2e); }
.trusted-meta { text-align: left; }
.trusted-meta strong { display: block; font-weight: 500; font-size: 14px; }
.trusted-meta span { font-size: 12px; color: var(--ink-faint); }

.logo-strip {
  margin-top: 110px;
  position: relative;
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 10%,
    #000 90%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 10%,
    #000 90%,
    transparent 100%
  );
}
.logo-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: logo-scroll 38s linear infinite;
  will-change: transform;
}
.logo-strip:hover .logo-track {
  animation-play-state: paused;
}
.logo-strip span {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
  font-size: 18px;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo-strip span em {
  font-style: normal;
  font-weight: 800;
  letter-spacing: -0.01em;
}
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; }
}
