/* Landing v6 — smoother / richer, still mobile-safe (no crop blink) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #061012;
  --bg-2: #0b1c1e;
  --teal: #3db8a8;
  --teal-deep: #239688;
  --teal-soft: #6ee0d0;
  --text: #f2fbf9;
  --muted: #a5c4be;
  --line: rgba(110, 224, 208, 0.28);
  --pad-x: max(1.1rem, env(safe-area-inset-left, 0px));
  --pad-r: max(1.1rem, env(safe-area-inset-right, 0px));
}

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  min-height: 100%;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

a { color: inherit; text-decoration: none; }

.lp {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.lp-hero {
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.lp-banner-wrap {
  position: relative;
  width: 100%;
  flex-shrink: 0;
  background: #041011;
  padding-top: env(safe-area-inset-top, 0px);
  line-height: 0;
  overflow: hidden;
}

.lp-banner {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center top;
  filter: saturate(1.12) contrast(1.06) brightness(1.03);
}

.lp-banner-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(6, 16, 18, 0) 0%,
    rgba(6, 16, 18, 0.55) 45%,
    rgba(6, 16, 18, 0.98) 100%
  );
}

.lp-hero-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  margin-top: -1.25rem;
  padding:
    1.35rem
    var(--pad-r)
    1.5rem
    var(--pad-x);
  background:
    radial-gradient(ellipse 120% 80% at 50% -10%, rgba(61, 184, 168, 0.22), transparent 50%),
    linear-gradient(180deg, #0c2225 0%, var(--bg) 70%, #050e10 100%);
  border-top: 1px solid rgba(110, 224, 208, 0.12);
  overflow: hidden;
}

.lp-glow {
  position: absolute;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  top: -4rem;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(110, 224, 208, 0.28), transparent 68%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}

.lp-mark,
.lp-kicker,
.lp-brand,
.lp-line,
.lp-cta {
  position: relative;
  z-index: 1;
}

.lp-mark {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 0.75rem;
  border-radius: 22%;
  overflow: hidden;
  border: 1px solid rgba(110, 224, 208, 0.35);
  background: #0a1819;
  box-shadow:
    0 0 0 4px rgba(61, 184, 168, 0.08),
    0 12px 28px rgba(0, 0, 0, 0.35);
}

.lp-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lp-kicker {
  margin: 0 0 0.45rem;
  font-family: Sora, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-soft);
  opacity: 0.9;
}

.lp-brand {
  font-family: Sora, "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: clamp(1.7rem, 7vw, 2.35rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: #fff;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  word-break: break-word;
}

.lp-brand span {
  background: linear-gradient(135deg, #9af0e4, var(--teal-soft) 40%, var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lp-line {
  margin: 0.8rem auto 0;
  max-width: 22rem;
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.5;
}

.lp-cta {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 1.35rem;
  width: 100%;
  max-width: 22rem;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.2rem;
  padding: 0.9rem 1.15rem;
  border-radius: 16px;
  font-family: Sora, sans-serif;
  font-weight: 700;
  font-size: 0.96rem;
  border: 0;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, opacity 0.18s ease;
  -webkit-user-select: none;
  user-select: none;
}

.lp-btn:active { transform: translateY(1px) scale(0.985); }

.lp-btn-primary {
  background: linear-gradient(135deg, #8af0e0 0%, var(--teal-soft) 35%, var(--teal-deep) 100%);
  color: #041816;
  box-shadow:
    0 10px 28px rgba(61, 184, 168, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.lp-btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid rgba(110, 224, 208, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lp-section {
  padding:
    2.6rem var(--pad-r)
    calc(2.7rem + env(safe-area-inset-bottom, 0px))
    var(--pad-x);
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(61, 184, 168, 0.1), transparent 55%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
}

.lp-section-inner {
  max-width: 26rem;
  margin: 0 auto;
  text-align: center;
}

.lp-section h2 {
  font-family: Sora, sans-serif;
  font-size: clamp(1.25rem, 5vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.lp-section p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.lp-apk {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  width: 100%;
}

.lp-footer {
  padding:
    1.15rem var(--pad-r)
    calc(1.15rem + env(safe-area-inset-bottom, 0px))
    var(--pad-x);
  text-align: center;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.4;
  border-top: 1px solid rgba(61, 184, 168, 0.12);
}

.lp-footer a {
  color: var(--teal-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Trading signal block — fills the empty mid gap */
.lp-signal {
  padding: 0.35rem var(--pad-r) 0.5rem var(--pad-x);
  background:
    radial-gradient(ellipse 90% 70% at 50% 40%, rgba(61, 184, 168, 0.14), transparent 60%),
    linear-gradient(180deg, #050e10 0%, #0a1a1c 50%, var(--bg-2) 100%);
}

.lp-signal-inner {
  max-width: 26rem;
  margin: 0 auto;
  padding: 1rem 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(110, 224, 208, 0.22);
  background:
    linear-gradient(160deg, rgba(18, 48, 50, 0.95), rgba(8, 22, 24, 0.98));
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.lp-signal-top {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
  font-family: Sora, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
}

.lp-live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(61, 184, 168, 0.16);
  color: var(--teal-soft);
  letter-spacing: 0.06em;
}

.lp-live i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #6ee0d0;
  box-shadow: 0 0 0 0 rgba(110, 224, 208, 0.7);
  animation: lpPing 1.8s ease-out infinite;
}

.lp-pair {
  color: var(--text);
  flex: 1;
  text-align: left;
}

.lp-chg {
  color: #8af0e0;
  font-variant-numeric: tabular-nums;
}

.lp-chart {
  width: 100%;
  height: 7.2rem;
  border-radius: 12px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(61, 184, 168, 0.08), rgba(0, 0, 0, 0.15));
  border: 1px solid rgba(110, 224, 208, 0.12);
}

.lp-chart svg {
  width: 100%;
  height: 100%;
  display: block;
}

.lp-signal-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.4rem;
  margin-top: 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.lp-signal-meta span {
  flex: 1;
  text-align: center;
  padding: 0.45rem 0.25rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(110, 224, 208, 0.1);
}

@keyframes lpPing {
  0% { box-shadow: 0 0 0 0 rgba(110, 224, 208, 0.65); }
  70% { box-shadow: 0 0 0 8px rgba(110, 224, 208, 0); }
  100% { box-shadow: 0 0 0 0 rgba(110, 224, 208, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .lp-live i { animation: none; }
  .lp-chart circle { animation: none !important; }
}

/* Soft one-time entrance — not looping, no blink */
@media (prefers-reduced-motion: no-preference) {
  .lp-banner {
    animation: lpFade 0.7s ease both;
  }
  .lp-mark { animation: lpUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both; }
  .lp-kicker { animation: lpUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.14s both; }
  .lp-brand { animation: lpUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both; }
  .lp-line { animation: lpUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.26s both; }
  .lp-cta { animation: lpUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.32s both; }
}

@keyframes lpFade {
  from { opacity: 0.65; }
  to { opacity: 1; }
}

@keyframes lpUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@media (max-height: 700px) {
  .lp-hero-panel { padding-top: 1.1rem; padding-bottom: 1.15rem; margin-top: -0.75rem; }
  .lp-mark { width: 3.5rem; height: 3.5rem; }
  .lp-brand { font-size: 1.45rem; }
  .lp-line { font-size: 0.85rem; }
  .lp-cta { margin-top: 0.95rem; }
  .lp-btn { min-height: 2.9rem; }
  .lp-kicker { font-size: 0.66rem; }
  .lp-chart { height: 5.8rem; }
}

@media (min-width: 640px) {
  .lp-signal-inner { max-width: 36rem; }
  .lp-chart { height: 8rem; }
  .lp-cta,
  .lp-apk {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .lp-btn {
    width: auto;
    min-width: 10.75rem;
    padding-inline: 1.4rem;
  }
  .lp-section-inner { max-width: 36rem; }
}

@media (min-width: 900px) {
  .lp-hero {
    position: relative;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
  }

  .lp-banner-wrap {
    position: absolute;
    inset: 0;
    padding-top: 0;
    z-index: 0;
  }

  .lp-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
    filter: saturate(1.15) contrast(1.05) brightness(0.92);
  }

  .lp-banner-fade {
    height: 100%;
    background: linear-gradient(
      105deg,
      rgba(6, 16, 18, 0.88) 0%,
      rgba(6, 16, 18, 0.55) 42%,
      rgba(6, 16, 18, 0.35) 100%
    );
  }

  .lp-hero-panel {
    position: relative;
    z-index: 1;
    max-width: 42rem;
    margin: 0 0 0 8vw;
    align-items: flex-start;
    text-align: left;
    background: transparent;
    border-top: 0;
    padding: 2.25rem;
  }

  .lp-glow {
    left: 0;
    transform: none;
    top: -2rem;
    opacity: 0.85;
  }

  .lp-mark { margin-left: 0; width: 5rem; height: 5rem; }
  .lp-line { margin-left: 0; max-width: 30rem; font-size: 1.05rem; }
  .lp-cta { justify-content: flex-start; max-width: none; }
  .lp-brand { font-size: clamp(2.4rem, 4.2vw, 3.4rem); }

  .lp-btn-primary:hover {
    box-shadow: 0 14px 34px rgba(61, 184, 168, 0.48);
    transform: translateY(-1px);
  }
}
