/* ═══════════════════════════════════════════════
   Landing Page — Signals
   ═══════════════════════════════════════════════ */

/* ── Header (lp-header) — ported from landing-blockchain ─── */
.lp-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  backdrop-filter: blur(48px) saturate(1.4);
  -webkit-backdrop-filter: blur(48px) saturate(1.4);
  background: rgba(10, 12, 20, 0.35);
  border-bottom: 1px solid rgba(107, 114, 128, 0.22);
}

.lp-header-inner {
  width: 100%;
  padding: 0 32px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.lp-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  padding: 0;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}

.lp-logo-text {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: #f8fafc;
}

.lp-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 16px;
}

.lp-nav-link {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 150ms ease, background 150ms ease;
}

.lp-nav-link:hover {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.06);
}

.lp-badge {
  font-size: 9px;
  padding: 2px 5px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
  line-height: 1;
}

.lp-badge-soon {
  background: rgba(151, 71, 255, 0.14);
  color: #9747ff;
}

.lp-badge-live {
  background: rgba(86, 245, 108, 0.12);
  color: #56f56c;
}

.lp-badge-popular {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.55);
}

.lp-header-spacer {
  flex: 1;
}

.lp-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.40);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 7px 16px 7px 8px;
  border-radius: 40px;
  font-size: 13px;
  font-family: inherit;
  width: 220px;
  cursor: pointer;
  transition: border-color 150ms, color 150ms;
}

.lp-search:hover {
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.65);
}

.lp-search > span:first-of-type {
  flex: 1;
  text-align: left;
}

.lp-kbd {
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.30);
}

.lp-cta {
  background: #43E959;
  color: #0a0b12;
  border: 0;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.01em;
  box-shadow: 0 0 20px -4px rgba(67, 233, 89, 0.38);
  text-decoration: none;
  transition: opacity 150ms, box-shadow 150ms;
}

.lp-cta:hover {
  opacity: 0.88;
  color: #0a0b12;
}

.lp-hamburger {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.70);
  align-items: center;
  justify-content: center;
}

/* ── Footer (lp-footer) — ported from landing-blockchain ─── */
.lp-footer {
  position: relative;
  background: #050810;
}

.lp-footer-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 56px 32px 40px;
}

.lp-footer-cta {
  padding: 28px 32px;
  border-radius: 20px;
  margin-bottom: 48px;
  background: linear-gradient(120deg, rgba(86, 245, 108, 0.07), rgba(151, 71, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.lp-footer-cta-title {
  font-size: 24px;
  line-height: 1.1;
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #f8fafc;
}

.lp-footer-cta-sub {
  color: rgba(248, 250, 252, 0.55);
  margin: 6px 0 0;
  font-size: 13px;
}

.lp-footer-cta-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.lp-footer-btn-secondary {
  background: transparent;
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
}

.lp-footer-btn-primary {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #43E959;
  color: #0a0e1a;
  border: 0;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  box-shadow: 0 8px 28px -8px rgba(67, 233, 89, 0.50);
  cursor: pointer;
  text-decoration: none;
}

.lp-footer-btn-primary:hover {
  color: #0a0e1a;
  opacity: 0.9;
}

.lp-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.lp-footer-brand-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.lp-footer-wordmark {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: #f8fafc;
}

.lp-footer-wordmark-accent {
  color: #43E959;
}

.lp-footer-tagline {
  color: rgba(248, 250, 252, 0.55);
  font-size: 12.5px;
  line-height: 1.6;
  margin: 0 0 16px;
  max-width: 240px;
}

.lp-footer-socials {
  display: flex;
  gap: 7px;
}

.lp-footer-socials a {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(107, 114, 128, 0.22);
  display: grid;
  place-items: center;
  color: rgba(248, 250, 252, 0.55);
  text-decoration: none;
}

.lp-footer-col h4 {
  font-size: 10.5px;
  color: rgba(248, 250, 252, 0.40);
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.lp-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lp-footer-col a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(248, 250, 252, 0.65);
  font-size: 12.5px;
  line-height: 1.4;
  text-decoration: none;
}

.lp-footer-col a:hover {
  color: #f8fafc;
}

.lp-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(248, 250, 252, 0.40);
}

@media (max-width: 820px) {
  .lp-nav,
  .lp-search {
    display: none;
  }
  .lp-hamburger {
    display: grid;
  }
  .lp-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── Entrance animations ───────────────────────── */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes globeFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes titleShimmer {
  0%   { background-position: 100% center; }
  100% { background-position: 0% center; }
}

/* ── Container ─────────────────────────────────── */
.landing-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  box-sizing: border-box;
}

/* ── Hero section ──────────────────────────────── */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: stretch;
  padding-top: 18vh;
  overflow-x: clip;
  overflow-y: visible;
  box-sizing: border-box;
}

.hero-section > .container-xxl {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-bottom: 0;
}



.hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px; 
  overflow:visible;
  flex-shrink: 0;
}

.hero-subtitle {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #43E959;
  opacity: 0;
  margin-bottom: 20px;
  animation: fadeSlideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

.hero-title {
    overflow: visible;
    min-width: fit-content;
  white-space:nowrap;

  position:relative;
  font-size: clamp(3.8rem, 9.2vw, 5.2rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 32px;
  letter-spacing: -0.02em;
  /* White metallic gradient with embedded shimmer highlight */
  background: linear-gradient(
    90deg,
    /* — visible at rest (metallic base) — */
    rgba(215, 222, 232, 0.85) 0%,
    rgba(255, 255, 255, 0.97) 8%,
    rgba(195, 208, 220, 0.80) 17%,
    rgba(255, 255, 255, 1)    26%,
    rgba(210, 218, 228, 0.84) 33%,
    /* — shimmer highlight band — */
    rgba(255, 255, 255, 0.92) 42%,
    rgba(255, 255, 255, 1)    50%,
    rgba(255, 255, 255, 0.92) 58%,
    /* — trailing metallic (matches start for seamless loop) — */
    rgba(210, 218, 228, 0.84) 66%,
    rgba(255, 255, 255, 0.97) 76%,
    rgba(195, 208, 220, 0.80) 85%,
    rgba(255, 255, 255, 0.95) 93%,
    rgba(215, 222, 232, 0.85) 100%
  );
  background-size: 300% 100%;
  background-position: 0% center;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeSlideUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards,
             titleShimmer 1.4s ease-in-out 2.2s forwards;
  opacity: 0;
}

.hero-description {
  z-index: 2;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgb(156, 163, 175);
  max-width: 440px;
  margin-top: auto;
  margin-bottom: 155px;
  opacity: 0;
  animation: fadeSlideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.8s forwards;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeSlideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #43E959, #28C1C1);
  color: #020617;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 14px 32px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
}

.btn-cta-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(67, 233, 89, 0.25);
}

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border: 1px solid rgba(107, 114, 128, 0.3);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  text-decoration: none;
}

.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(107, 114, 128, 0.5);
}

.hero-social {
  display: flex;
  padding-top:50px;
  align-items: center;
  gap: 16px;
}

.bottom-bar-divider {
  display: block;
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
  margin: 0 12px;
}

.hero-social a {
  color: rgb(107, 114, 128);
  transition: color 0.2s;
}

.hero-social a:hover {
  color: #43E959;
}

.hero-social svg {
  width: 20px;
  height: 20px;
}

/* ── Globe canvas (right side of hero) ──────── */
.hero-globe-wrapper {
  position: absolute;
  top: -200px;
  bottom: 0;
  right: 0;
  width: 50%;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  animation: globeFadeIn 1.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

.hero-globe-wrapper canvas {
  width: 100%;
  height: 100%;
}

/* SVG overlay for annotation connector lines — sits above badges so lines render over blur */
#annotationLineSvg {
  position: absolute;
  top: -200px;
  bottom: 0;
  right: 0;
  width: 50%;
  z-index: 4;
  pointer-events: none;
  overflow: visible;
}

/* Side annotations floating near globe */
.globe-annotation {
  position: absolute;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  pointer-events: none;
}

.globe-annotation.active {
  opacity: 1;
}

.globe-annotation-title {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.03em;
  line-height: 1.5;
  text-align: left;
  white-space: nowrap;
}

/* Left-side annotations: badge dot faces the globe (right side) */
.globe-annotation.annotation-left {
  flex-direction: row-reverse;
}
.globe-annotation.annotation-left .globe-annotation-title {
  text-align: right;
}
.globe-annotation.annotation-left .signal-badge {
  flex-direction: row-reverse;
  padding: 6px 8px 6px 14px;
}

/* line ── dot connector */
.globe-annotation-connector {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0;
}

.globe-annotation-line {
  display: block;
  width: 80px;
  height: 1px;
  background: linear-gradient(to right, rgba(67, 233, 89, 0.1), rgba(67, 233, 89, 0.9));
}

/* Outer dot — invisible but kept for SVG line anchor position */
.globe-annotation-dot {
  display: block;
  width: 0;
  height: 0;
  flex-shrink: 0;
}

/* ── Signal badge (pill) ── */
.signal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.4;
  white-space: nowrap;
}

.signal-badge-positive {
  background: rgba(67, 233, 89, 0.08);
  border: 1px solid rgba(67, 233, 89, 0.18);
  color: rgba(67, 233, 89, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.signal-badge-negative {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.18);
  color: rgba(239, 68, 68, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Dot inside the badge */
.signal-badge-dot {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.signal-badge-positive .signal-badge-dot {
  background: #43E959;
  box-shadow: 0 0 6px 2px rgba(67, 233, 89, 0.55);
}

.signal-badge-negative .signal-badge-dot {
  background: #EF4444;
  box-shadow: 0 0 6px 2px rgba(239, 68, 68, 0.55);
}

/* Coin image inside the badge */
.signal-badge-coin {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}

.globe-annotation-text {
  font-size: 0.68rem;
  color: rgb(107, 114, 128);
  line-height: 1.5;
  margin-top: 4px;
}

.annotation-top-right {
  top: 20%;
  right: 0%;
}

.annotation-mid-right {
  top: 60%;
  right: 0%;
}

.annotation-top-left {
  top: 35%;
  right: 32%;
}

.annotation-mid-left {
  top: 68%;
  right: 38%;
}
/* ── Bottom bar (socials left, cards right) ──── */
.hero-bottom-bar {
  position: absolute;
  bottom:20px;
  left: 0;
  right: 0;
  z-index: 3;
  opacity: 0;
  animation: fadeSlideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.0s forwards;
}

.feature-cards-glass {
  background: rgba(2, 6, 23, 0.92);
  border: none;
  
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 14px;
  padding: 52px 64px;    padding-top: 100px;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent),
                      linear-gradient(to bottom, transparent 0%, black 30%, black 70%, transparent 100%);
  -webkit-mask-composite: destination-in;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent),
              linear-gradient(to bottom, transparent 0%, black 30%, black 70%, transparent 100%);
  mask-composite: intersect;
}

.feature-card {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  min-width: auto;
  backdrop-filter: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-card:hover {
  background: none;
  border-color: transparent;
}

.feature-card-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 9px;
  background: rgba(67, 233, 89, 0.1);
  border: 1px solid rgba(67, 233, 89, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #43E959;
}

.feature-card-icon svg {
  width: 18px;
  height: 18px;
}

.feature-card-text {
  display: none;
}

.feature-card-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgb(156, 163, 175);
  white-space: nowrap;
}

.feature-card-text {
  font-size: 0.75rem;
  color: rgb(107, 114, 128);
  line-height: 1.5;
}

/* ── Responsive ────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-section {
    padding: 100px 32px 60px;
  }

  .hero-globe-wrapper {
    width: 55%;
    right: -10%;
    opacity: 0.6;
  }

  .hero-features {
    right: 32px;
    bottom: 32px;
  }

  .globe-annotation {
    display: none;
  }
}

@media (max-width: 768px) {
  .lp-header-inner {
    padding: 0 20px;
  }

  .hero-section {
    padding: 100px 20px 200px;
    flex-direction: column;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-globe-wrapper {
    position: absolute;
    width: 100%;
    right: 0;
    opacity: 0.35;
  }

  .hero-features {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    flex-direction: column;
    gap: 12px;
  }

  .feature-card {
    min-width: unset;
  }
}
