/* E8 Wallet official — static marketing only; no API, no user cookies. */
:root {
  --ink: #061512;
  --ink-2: #0c2420;
  --ink-soft: #1a3832;
  --mist: #d7e4df;
  --muted: #6d827a;
  --line: rgba(6, 21, 18, 0.1);
  --line-light: rgba(215, 228, 223, 0.16);
  --paper: #f3f7f5;
  --emerald: #1faa8a;
  --emerald-deep: #0d6b56;
  --gold: #c4a35a;
  --max: 1140px;
  --font-display: "Outfit", "Segoe UI", sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  background:
    radial-gradient(900px 420px at 85% 12%, rgba(31, 170, 138, 0.08), transparent 60%),
    linear-gradient(180deg, #f7faf8 0%, var(--paper) 45%, #eef3f0 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

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

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* —— Header —— */
.top {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(6, 21, 18, 0.72);
  border-bottom: 1px solid transparent;
  color: var(--mist);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.top.is-solid {
  background: rgba(6, 21, 18, 0.92);
  border-bottom-color: var(--line-light);
}

.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  font-size: 0.94rem;
  color: rgba(215, 228, 223, 0.78);
}

.nav a:hover {
  color: #fff;
}

.nav-cta {
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  background: var(--emerald);
  color: #04140f !important;
  font-weight: 700;
}

.nav-cta:hover {
  background: #39c4a1;
}

.lang {
  display: inline-flex;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  overflow: hidden;
  font-size: 0.78rem;
}

.lang button {
  border: 0;
  background: transparent;
  padding: 0.35rem 0.7rem;
  font: inherit;
  cursor: pointer;
  color: rgba(215, 228, 223, 0.7);
}

.lang button[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.menu-btn {
  display: none;
  border: 1px solid var(--line-light);
  background: transparent;
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  font: inherit;
  color: var(--mist);
}

/* —— Hero —— */
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(92vh, 880px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
  color: var(--mist);
  padding: 5.5rem 0 4.5rem;
}

.hero-plane {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 60% at 78% 42%, rgba(31, 170, 138, 0.28), transparent 62%),
    radial-gradient(ellipse 40% 45% at 18% 80%, rgba(196, 163, 90, 0.14), transparent 55%),
    linear-gradient(125deg, #061512 0%, #0a2a24 48%, #061512 100%);
  animation: meshShift 14s ease-in-out infinite alternate;
}

.hero-mesh::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(215, 228, 223, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(215, 228, 223, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 70% at 60% 45%, #000 20%, transparent 75%);
}

.hero-mark {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-52%);
  width: min(46vw, 520px);
  opacity: 0.22;
  filter: saturate(1.1);
  animation: float 7s ease-in-out infinite;
  pointer-events: none;
}

.hero-mark img {
  width: 100%;
  height: auto;
}

.hero-inner {
  width: min(100% - 2.5rem, var(--max));
}

.hero-copy {
  max-width: 38rem;
  animation: rise 0.85s ease both;
}

.hero-kicker {
  margin: 0 0 1.1rem;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero-brand img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.hero-name {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
}

.hero-aka {
  display: block;
  margin-top: 0.35rem;
  color: rgba(215, 228, 223, 0.65);
  font-size: 0.95rem;
}

.hero h1 {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(2.05rem, 5.4vw, 3.55rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: #fff;
}

.hero p {
  margin: 0 0 1.8rem;
  font-size: 1.12rem;
  color: rgba(215, 228, 223, 0.78);
  max-width: 34rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.96rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: #fff;
  color: var(--ink);
}

.btn-primary:hover {
  background: #e8f3ef;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(215, 228, 223, 0.28);
}

.btn-ghost:hover {
  border-color: #fff;
}

.btn-ink {
  background: var(--ink);
  color: #f4f7f5;
}

.btn-ink:hover {
  background: var(--emerald-deep);
}

.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--emerald-deep);
  color: var(--emerald-deep);
}

.hero-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 2rem;
}

.hero-rail span {
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(215, 228, 223, 0.18);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(215, 228, 223, 0.72);
  font-weight: 600;
}

/* —— Sections —— */
section {
  padding: 5rem 0;
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald-deep);
  font-weight: 700;
}

.eyebrow.light {
  color: var(--gold);
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.6rem;
  animation: rise 0.7s ease both;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.3vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.feature {
  padding: 1.7rem 1.4rem 1.8rem 0;
  border-bottom: 1px solid var(--line);
  animation: rise 0.75s ease both;
}

.feature:nth-child(3n + 2),
.feature:nth-child(3n) {
  padding-left: 1.4rem;
}

.feature:nth-child(3n + 2) {
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.feat-no {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--emerald);
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.feature h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.merchant {
  background:
    radial-gradient(700px 360px at 85% 20%, rgba(31, 170, 138, 0.22), transparent 60%),
    linear-gradient(155deg, #071a16 0%, #0d3d34 52%, #061512 100%);
  color: var(--mist);
}

.merchant .section-head p {
  color: rgba(215, 228, 223, 0.7);
}

.merchant-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2.8rem;
  align-items: start;
}

.merchant-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.merchant-points li {
  padding-left: 1.1rem;
  border-left: 2px solid var(--gold);
}

.merchant-points strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 0.2rem;
  color: #fff;
}

.merchant-points span {
  color: rgba(215, 228, 223, 0.7);
  font-size: 0.95rem;
}

.merchant-panel {
  padding: 1.7rem;
  border: 1px solid rgba(215, 228, 223, 0.16);
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
}

.merchant-panel h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #fff;
}

.merchant-panel p {
  margin: 0 0 1.25rem;
  color: rgba(215, 228, 223, 0.72);
  font-size: 0.95rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 0.2rem;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--emerald);
  letter-spacing: -0.04em;
  margin-bottom: 0.7rem;
}

.step h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.channels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.channel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: background 0.15s ease, transform 0.15s ease;
}

.channel:hover {
  background: rgba(31, 170, 138, 0.06);
  transform: translateX(2px);
}

.channel-wide {
  grid-column: 1 / -1;
}

.channel strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
}

.channel span {
  color: var(--muted);
  font-size: 0.86rem;
}

.channel code {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--emerald-deep);
  font-size: 0.95rem;
}

.support-strip {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.support-strip p {
  margin: 0;
  color: var(--muted);
  max-width: 34rem;
}

/* —— Footer —— */
.foot {
  padding: 2.8rem 0 2.4rem;
  background: var(--ink);
  color: rgba(215, 228, 223, 0.72);
  font-size: 0.9rem;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
  margin-bottom: 2.2rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid var(--line-light);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.2rem;
}

.trust-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
  font-family: var(--font-display);
}

.trust-mark.usdt {
  background: #26a17b;
  color: #fff;
}
.trust-mark.trx {
  background: #ef0027;
  color: #fff;
}
.trust-mark.tron {
  background: #ff060a;
  color: #fff;
}
.trust-mark.tg {
  background: #229ed9;
  color: #fff;
  font-size: 0.85rem;
}
.trust-mark.ssl {
  background: #1a3832;
  color: var(--emerald);
  border: 1px solid rgba(31, 170, 138, 0.35);
  font-size: 0.85rem;
}
.trust-mark.reg {
  background: linear-gradient(145deg, #c4a35a, #8a6d2f);
  color: #1a1408;
}

.trust-item strong {
  display: block;
  color: #fff;
  font-size: 0.82rem;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

.trust-item em {
  display: block;
  font-style: normal;
  font-size: 0.72rem;
  color: rgba(215, 228, 223, 0.55);
}

.foot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.6rem;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.foot-brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.foot-brand strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
}

.foot-brand p {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

.foot-links a:hover {
  color: #fff;
}

.foot-legal {
  border-top: 1px solid var(--line-light);
  padding-top: 1.2rem;
  display: grid;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: rgba(215, 228, 223, 0.5);
}

.foot-legal p {
  margin: 0;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(-52%);
  }
  50% {
    transform: translateY(calc(-52% - 10px));
  }
}

@keyframes meshShift {
  from {
    filter: hue-rotate(0deg) saturate(1);
  }
  to {
    filter: hue-rotate(12deg) saturate(1.08);
  }
}

@media (max-width: 980px) {
  .feature-grid,
  .steps,
  .merchant-layout,
  .trust-row {
    grid-template-columns: 1fr 1fr;
  }

  .feature:nth-child(3n + 2),
  .feature:nth-child(3n) {
    padding-left: 0;
  }

  .feature:nth-child(odd) {
    padding-right: 1rem;
  }

  .feature:nth-child(even) {
    padding-left: 1rem;
    border-left: 1px solid var(--line);
  }

  .feature:nth-child(3n + 2) {
    border-right: 0;
  }

  .trust-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .feature-grid,
  .steps,
  .merchant-layout,
  .channels,
  .trust-row {
    grid-template-columns: 1fr;
  }

  .feature,
  .feature:nth-child(odd),
  .feature:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    border-left: 0 !important;
    border-right: 0 !important;
  }

  .nav {
    display: none;
  }

  .nav.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 1rem 1.25rem 1.25rem;
    background: rgba(6, 21, 18, 0.98);
    border-bottom: 1px solid var(--line-light);
  }

  .menu-btn {
    display: inline-flex;
  }

  .hero {
    min-height: auto;
    padding: 4rem 0 3.4rem;
  }

  .hero-mark {
    width: 70vw;
    opacity: 0.12;
    right: -18%;
  }

  .support-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}
