:root {
  --hb-bg: #050812;
  --hb-bg-alt: #090d1b;
  --hb-accent: #36e1ff;
  --hb-accent-soft: rgba(54, 225, 255, 0.18);
  --hb-border: rgba(255, 255, 255, 0.08);
  --hb-text-soft: #b0bbd9;
  --hb-radius-lg: 24px;
  --hb-radius-md: 18px;
  --hb-radius-pill: 999px;
}

/* Base */
body {
  background: radial-gradient(circle at top, #11162a 0, #02030a 55%, #000 100%);
  color: #f5f7ff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Roboto", "Segoe UI", sans-serif;
  padding-top: 76px;
}

/* Header */
.hb-header {
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(5, 8, 18, 0.95),
    rgba(5, 8, 18, 0.7),
    transparent
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hb-logo {
  width: 40px;
  height: 40px;
}

.hb-logo-text {
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: #e5edff;
}

.hb-nav-link {
  color: #d0d7ff;
  text-decoration: none;
  font-size: 0.9rem;
  position: relative;
  padding-bottom: 2px;
}

.hb-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--hb-accent), #ff4fd8);
  transition: width 0.25s ease-out;
}

.hb-nav-link:hover {
  color: #ffffff;
}

.hb-nav-link:hover::after {
  width: 100%;
}

.hb-btn-sm {
  border-radius: var(--hb-radius-pill);
  border-color: var(--hb-accent);
  color: var(--hb-accent);
  font-size: 0.85rem;
  padding-inline: 1.4rem;
}

/* Sections */
.hb-section {
  padding: 5rem 0;
  position: relative;
}

.hb-section-alt {
  background: radial-gradient(circle at top left, #101732 0, #030513 55%);
}

.hb-section-title {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

/* Hero */
.hb-hero-section {
  min-height: calc(100vh - 76px);
  padding-top: 6rem;
  padding-bottom: 4rem;
}

.hb-hero-kicker {
  letter-spacing: 0.12em;
}

.hb-hero-title {
  letter-spacing: -0.03em;
}

.hb-hero-subtitle {
  color: var(--hb-text-soft);
}

.hb-cta-main {
  border-radius: var(--hb-radius-pill);
  box-shadow: 0 0 32px rgba(54, 225, 255, 0.35);
}

/* Hero visual */
.hb-hero-visual {
  position: relative;
  max-width: 520px;
  margin-inline: auto;
}

.hb-hero-image {
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(circle at top left, #1d2344 0, #050812 55%);
}

.hb-hero-bg {
  position: absolute;
  inset: -18%;
  opacity: 0.25;
  mix-blend-mode: screen;
  pointer-events: none;
}

/* Orbits (псевдо 3D-анимация вокруг карточки) */
.hb-hero-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(54, 225, 255, 0.4);
  box-shadow: 0 0 35px rgba(54, 225, 255, 0.3);
  animation: hb-orbit-rotate 18s linear infinite;
  transform-origin: center center;
}

.hb-orbit-1 {
  width: 110%;
  height: 110%;
  top: -5%;
  left: -5%;
}

.hb-orbit-2 {
  width: 140%;
  height: 140%;
  top: -20%;
  left: -20%;
  animation-duration: 28s;
  opacity: 0.7;
}

.hb-orbit-3 {
  width: 170%;
  height: 170%;
  top: -35%;
  left: -35%;
  animation-duration: 40s;
  opacity: 0.3;
}

/* Features */
.hb-feature-card {
  background: radial-gradient(circle at top left, #151b32 0, #050816 60%);
  border-radius: var(--hb-radius-md);
  border: 1px solid var(--hb-border);
  padding: 1.2rem 1.3rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.hb-feature-title {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

/* Bridge panel */
.hb-bridge-panel {
  position: relative;
  border-radius: var(--hb-radius-lg);
  border: 1px solid rgba(54, 225, 255, 0.4);
  background: radial-gradient(circle at top, #1b2346 0, #050816 65%);
  padding: 2.5rem 1.5rem;
  overflow: hidden;
}

.hb-bridge-pill {
  position: relative;
  padding: 0.75rem 1.4rem;
  border-radius: var(--hb-radius-pill);
  border: 1px solid var(--hb-border);
  background: rgba(5, 10, 25, 0.85);
  color: #e3e8ff;
  font-size: 0.9rem;
  z-index: 2;
}

.hb-bridge-pill-left {
  float: left;
}

.hb-bridge-pill-right {
  float: right;
}

.hb-bridge-core {
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at top, #36e1ff 0, #ff4fd8 70%);
  box-shadow: 0 0 50px rgba(54, 225, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hb-bridge-core-label {
  color: #050816;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.hb-bridge-flow {
  position: absolute;
  top: 50%;
  width: 50%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(54, 225, 255, 0),
    rgba(54, 225, 255, 1),
    rgba(255, 79, 216, 0)
  );
  transform: translateY(-50%);
  opacity: 0.6;
  animation: hb-flow 2.4s ease-in-out infinite;
}

.hb-bridge-flow-left {
  left: 0;
}

.hb-bridge-flow-right {
  right: 0;
  animation-delay: 1.2s;
}

/* Avatar */
.hb-avatar-preview {
  background: radial-gradient(circle at top, #181f39 0, #050816 65%);
  border-radius: var(--hb-radius-lg);
  border: 1px solid var(--hb-border);
  padding: 1.8rem 1.2rem;
}

.hb-avatar-image {
  max-width: 140px;
  border-radius: 999px;
  border: 2px solid rgba(54, 225, 255, 0.7);
  box-shadow: 0 0 35px rgba(54, 225, 255, 0.45);
}

.hb-upload-area {
  border-radius: var(--hb-radius-lg);
  border: 1px dashed rgba(255, 255, 255, 0.4);
  background: rgba(4, 8, 22, 0.85);
  min-height: 210px;
  padding: 1.5rem;
  transition: border-color 0.2s ease, background 0.2s ease,
    transform 0.2s ease;
}

.hb-upload-area:hover {
  border-color: var(--hb-accent);
  background: rgba(4, 12, 32, 0.95);
  transform: translateY(-2px);
}

.hb-upload-icon {
  position: relative;
  width: 46px;
  height: 46px;
}

.hb-upload-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px dashed var(--hb-accent);
  display: block;
  animation: hb-pulse 1.8s ease-out infinite;
}

.hb-file-input {
  max-width: 260px;
}

/* Lists */
.hb-list {
  padding-left: 1.2rem;
  margin-bottom: 0.5rem;
}

.hb-list li {
  margin-bottom: 0.25rem;
}

.hb-token-supply {
  font-size: 1.05rem;
}

/* Roadmap */
.hb-roadmap-card {
  background: radial-gradient(circle at top left, #151b32 0, #050816 60%);
  border-radius: var(--hb-radius-lg);
  border: 1px solid var(--hb-border);
  padding: 1.9rem 1.5rem 1.6rem;
  position: relative;
  overflow: hidden;
}

.hb-roadmap-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, var(--hb-accent-soft), transparent);
  opacity: 0;
  transition: opacity 0.25s ease-out;
}

.hb-roadmap-card:hover::before {
  opacity: 1;
}

.hb-roadmap-phase {
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hb-accent);
  margin-bottom: 0.8rem;
}

/* Team */
.hb-team-card {
  background: rgba(5, 8, 22, 0.9);
  border-radius: var(--hb-radius-md);
  border: 1px solid var(--hb-border);
  padding: 1.4rem 1.1rem;
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out,
    border-color 0.18s ease-out;
}

.hb-team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(54, 225, 255, 0.8);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.6);
}

.hb-team-avatar {
  width: 70px;
  height: 70px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

/* App section */
.hb-app-section {
  border-top: 1px solid var(--hb-border);
  border-bottom: 1px solid var(--hb-border);
  background: radial-gradient(circle at top, #191f3b 0, #050816 60%);
}

/* Footer */
.hb-footer {
  background: #02030a;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--hb-text-soft);
}

/* Reveal animations */
.hb-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.hb-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Keyframes */
@keyframes hb-orbit-rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes hb-flow {
  0% {
    transform: translateY(-50%) translateX(-10%);
    opacity: 0;
  }
  20% {
    opacity: 0.85;
  }
  70% {
    opacity: 0.45;
  }
  100% {
    transform: translateY(-50%) translateX(10%);
    opacity: 0;
  }
}

@keyframes hb-pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.6;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.07);
    opacity: 0;
  }
}

/* Responsive */
@media (max-width: 991.98px) {
  .hb-hero-section {
    padding-top: 4.5rem;
  }
}

@media (max-width: 767.98px) {
  body {
    padding-top: 70px;
  }

  .hb-section {
    padding: 3.5rem 0;
  }

  .hb-bridge-panel {
    padding: 2rem 1.2rem;
  }

  .hb-bridge-core {
    width: 90px;
    height: 90px;
  }

  .hb-hero-visual {
    margin-top: 1.5rem;
  }
}
