/* Invisible scrollbar but keep functionality */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top, rgba(14, 165, 233, 0.08), transparent 28%),
    linear-gradient(180deg, #0b1120 0%, #08111f 100%);
}

.site-logo {
  display: block;
  object-fit: contain;
}

.site-logo-nav {
  width: 2.35rem;
  height: 2.35rem;
  filter: drop-shadow(0 0 14px rgba(56, 189, 248, 0.2));
}

.site-logo-footer {
  width: 2rem;
  height: 2rem;
}

/* Custom glowing effects */
::selection {
  background: rgba(56, 189, 248, 0.3);
  color: #fff;
}

/* Very simple background particle animation */
@keyframes drift {
  from { transform: translateY(0) rotate(0deg); }
  to { transform: translateY(-100px) rotate(360deg); }
}

.bg-particle {
  position: absolute;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.26) 0%, rgba(56, 189, 248, 0.04) 65%, transparent 100%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(0.4px);
}

.hero-orbits {
  overflow: hidden;
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(56, 189, 248, 0.12);
  border-radius: 9999px;
  box-shadow: inset 0 0 40px rgba(56, 189, 248, 0.03);
}

.hero-orbit-a {
  width: 38rem;
  height: 38rem;
  right: -10rem;
  top: 6rem;
}

.hero-orbit-b {
  width: 26rem;
  height: 26rem;
  right: 8rem;
  top: 12rem;
}

.hero-orbit-c {
  width: 52rem;
  height: 52rem;
  left: -24rem;
  bottom: -28rem;
}

.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

@media (min-width: 1024px) {
  .hero-chip-row {
    justify-content: flex-start;
  }
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 0.95rem;
  border-radius: 9999px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.72);
  color: #cbd5e1;
  font-size: 0.86rem;
  backdrop-filter: blur(12px);
}

.hero-chip::before {
  content: '';
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 9999px;
  background: #38bdf8;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.6);
}

.hero-scene-shell {
  position: relative;
}

.hero-scene {
  position: relative;
  min-height: 34rem;
  border-radius: 1.75rem;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.16);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.94), rgba(3, 7, 18, 0.92));
  box-shadow:
    0 24px 80px rgba(2, 6, 23, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(56, 189, 248, 0.06);
}

.hero-scene-content {
  position: relative;
  z-index: 2;
  min-height: 34rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
}

.hero-scene::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 2.8rem 2.8rem;
  mask-image: linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 68%);
  pointer-events: none;
}

.hero-scene::after {
  content: '';
  position: absolute;
  inset: auto -10% -25% auto;
  width: 24rem;
  height: 24rem;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.16), transparent 70%);
  filter: blur(12px);
  pointer-events: none;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(56, 189, 248, 0.08) 48%, transparent 100%);
  mix-blend-mode: screen;
  animation: scanline 8s linear infinite;
  pointer-events: none;
}

@keyframes scanline {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(100%);
  }
}

.hero-hud {
  position: relative;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.66);
  backdrop-filter: blur(18px);
  border-radius: 1.25rem;
  box-shadow: 0 10px 40px rgba(2, 6, 23, 0.35);
}

.hero-hud-top {
  padding: 1.1rem 1.15rem 1rem;
  max-width: 24rem;
}

.hero-hud-bottom {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  padding: 1rem;
}

.hero-floating-tags {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: min(13rem, 100%);
  align-self: flex-end;
  margin-right: 1rem;
}

.hero-hud-kicker {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: #38bdf8;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.hero-hud-title {
  color: #f8fafc;
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hero-hud-text {
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.6;
}

.hero-floating-tag {
  position: relative;
  padding: 0.55rem 0.8rem;
  border-radius: 9999px;
  border: 1px solid rgba(56, 189, 248, 0.18);
  background: rgba(8, 15, 28, 0.78);
  color: #e2e8f0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.25);
  backdrop-filter: blur(12px);
}

.hero-floating-tag-a {
  align-self: flex-start;
}

.hero-floating-tag-b {
  align-self: flex-end;
}

.hero-floating-tag-c {
  align-self: center;
}

.hero-metric {
  padding: 0.9rem;
  border-radius: 1rem;
  background: rgba(2, 6, 23, 0.4);
  border: 1px solid rgba(148, 163, 184, 0.08);
}

.hero-metric-label {
  display: block;
  color: #38bdf8;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.hero-metric-value {
  display: block;
  color: #f8fafc;
  font-size: 0.9rem;
  line-height: 1.45;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.75rem;
  padding: 0.38rem 0.7rem;
  border-radius: 9999px;
  border: 1px solid rgba(148, 163, 184, 0.15);
  background: rgba(15, 23, 42, 0.58);
  color: #cbd5e1;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-badge-core {
  border-color: rgba(56, 189, 248, 0.28);
  color: #7dd3fc;
}

.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.client-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 8.75rem;
  padding: 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.6);
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.22);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.client-logo-card:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.3);
  background: rgba(17, 24, 39, 0.9);
}

.client-logo-img {
  max-width: 100%;
  max-height: 4.75rem;
  width: auto;
  height: auto;
  object-fit: contain;
}

.client-logo-skydio {
  max-height: 3.4rem;
}

.client-logo-vectuel {
  max-height: 5.5rem;
}

.client-logo-construkted {
  max-height: 3.4rem;
}

.client-logo-mirai {
  max-height: 3.2rem;
}

.client-logo-rockgarden {
  max-height: 3rem;
}

.client-logo-voluma {
  max-height: 4.4rem;
}

@media (max-width: 1023px) {
  .hero-scene {
    min-height: 30rem;
  }

  .hero-scene-content {
    min-height: 30rem;
    padding: 1rem;
  }

  .hero-hud-top {
    max-width: none;
  }

  .hero-floating-tags {
    width: min(100%, 18rem);
    margin-right: 0;
  }

  .client-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .hero-orbit-a,
  .hero-orbit-b,
  .hero-orbit-c {
    transform: scale(0.7);
    transform-origin: center;
  }

  .hero-scene {
    min-height: 32rem;
  }

  .hero-scene-content {
    min-height: 32rem;
    padding: 0.9rem;
  }

  .hero-floating-tags {
    width: 100%;
    align-self: stretch;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.6rem;
  }

  .hero-floating-tag,
  .hero-floating-tag-a,
  .hero-floating-tag-b,
  .hero-floating-tag-c {
    align-self: auto;
  }

  .hero-hud-bottom {
    grid-template-columns: 1fr;
  }

  .hero-floating-tag {
    font-size: 0.72rem;
  }

  .client-logo-grid {
    grid-template-columns: 1fr;
  }

  .client-logo-card {
    min-height: 7.5rem;
    padding: 1.2rem;
  }

  .site-logo-nav {
    width: 2rem;
    height: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-particle,
  .hero-scanline {
    animation: none !important;
  }
}
