@import url("https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700&family=Space+Grotesk:wght@500;700&display=swap");

:root {
  --bg-0: #050911;
  --bg-1: #08101d;
  --bg-2: #0d1a2c;
  --panel: rgba(9, 17, 30, 0.78);
  --panel-2: rgba(12, 25, 42, 0.88);
  --line: rgba(147, 201, 255, 0.22);
  --line-soft: rgba(147, 201, 255, 0.1);
  --txt: #eaf4ff;
  --muted: #9db5cf;
  --accent: #1fd1ff;
  --accent-2: #4d8fff;
  --ok: #3ff0b7;
  --warn: #ff8f71;
  --shadow: 0 24px 60px rgba(2, 7, 14, 0.55);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Sora", system-ui, sans-serif;
  color: var(--txt);
  background:
    radial-gradient(1000px 500px at 5% -10%, rgba(31, 209, 255, 0.16), transparent 60%),
    radial-gradient(900px 450px at 110% 10%, rgba(77, 143, 255, 0.2), transparent 58%),
    linear-gradient(135deg, var(--bg-0), var(--bg-1) 45%, var(--bg-2));
}

.wrap {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 22px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(7, 18, 32, 0.9), rgba(7, 16, 29, 0.8));
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
  padding: 14px 16px;
}

.topbar h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

.topbar small {
  color: var(--muted);
  font-size: 0.78rem;
  margin-left: 6px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

nav a {
  text-decoration: none;
  color: var(--txt);
  border: 1px solid var(--line);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 180ms ease;
  background: rgba(10, 22, 37, 0.58);
}

nav a:hover {
  border-color: rgba(31, 209, 255, 0.6);
  box-shadow: 0 0 0 1px rgba(31, 209, 255, 0.2) inset, 0 0 24px rgba(31, 209, 255, 0.16);
  transform: translateY(-1px);
}

.card {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}

h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

p { color: var(--muted); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.stat {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(150deg, rgba(12, 25, 40, 0.9), rgba(8, 17, 30, 0.8));
  padding: 11px 12px;
}

.stat span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.stat strong {
  font-size: 1rem;
  font-family: "Space Grotesk", sans-serif;
}

label {
  display: block;
  margin-bottom: 12px;
  font-size: 0.83rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

input, select, button {
  width: 100%;
  margin-top: 7px;
  border-radius: 10px;
}

input, select {
  padding: 11px 12px;
  border: 1px solid var(--line);
  background: rgba(8, 19, 32, 0.82);
  color: var(--txt);
  outline: none;
}

input:focus, select:focus {
  border-color: rgba(31, 209, 255, 0.72);
  box-shadow: 0 0 0 1px rgba(31, 209, 255, 0.3), 0 0 26px rgba(31, 209, 255, 0.14);
}

button {
  border: 0;
  padding: 11px 14px;
  color: #03111f;
  font-weight: 700;
  font-family: "Sora", sans-serif;
  cursor: pointer;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 26px rgba(31, 209, 255, 0.25);
  transition: transform 170ms ease, filter 170ms ease;
}

button:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.coin-logo {
  width: 19px;
  height: 19px;
  object-fit: contain;
  vertical-align: text-bottom;
  margin-right: 7px;
  filter: drop-shadow(0 0 6px rgba(31, 209, 255, 0.24));
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  overflow: hidden;
}

th, td {
  border-bottom: 1px solid var(--line-soft);
  padding: 10px 8px;
  text-align: left;
  vertical-align: top;
}

th {
  color: #b8d0ea;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

tr:hover td {
  background: rgba(31, 209, 255, 0.04);
}

.flash {
  padding: 12px 13px;
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid;
  font-size: 0.88rem;
}

.flash.success {
  background: rgba(63, 240, 183, 0.16);
  border-color: rgba(63, 240, 183, 0.45);
  color: #bfffe6;
}

.flash.error {
  background: rgba(255, 143, 113, 0.16);
  border-color: rgba(255, 143, 113, 0.45);
  color: #ffe0d8;
}

.card a {
  color: #8fd8ff;
}

.landing-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: center;
  overflow: hidden;
}

.hero-copy h2 {
  font-size: clamp(1.7rem, 3.8vw, 2.6rem);
  line-height: 1.06;
  margin-bottom: 10px;
}

.hero-copy p {
  max-width: 56ch;
  margin-bottom: 16px;
}

.hero-badge {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 0.72rem;
  color: #c8e5ff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hero-cta {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 16px;
  text-decoration: none;
  color: #041322;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(31, 209, 255, 0.28);
}

.btn-link.ghost {
  color: var(--txt);
  background: rgba(11, 23, 38, 0.66);
  border: 1px solid var(--line);
  box-shadow: none;
}

.hero-art {
  position: relative;
  min-height: 230px;
}

.floating-card {
  position: absolute;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.floating-card.one {
  width: 210px;
  height: 140px;
  right: 40px;
  top: 10px;
  background: linear-gradient(140deg, rgba(54, 156, 255, 0.75), rgba(31, 209, 255, 0.35));
  transform: rotate(-10deg);
}

.floating-card.two {
  width: 180px;
  height: 120px;
  right: 120px;
  top: 65px;
  background: linear-gradient(140deg, rgba(255, 110, 185, 0.64), rgba(140, 206, 255, 0.32));
  transform: rotate(12deg);
}

.floating-card.three {
  width: 150px;
  height: 100px;
  right: 15px;
  top: 125px;
  background: linear-gradient(150deg, rgba(120, 239, 255, 0.7), rgba(120, 150, 255, 0.36));
  transform: rotate(5deg);
}

.pill {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid rgba(63, 240, 183, 0.44);
  color: #b4ffe4;
  background: rgba(63, 240, 183, 0.14);
  font-size: 0.7rem;
  padding: 4px 8px;
  font-weight: 700;
}

.feature-list {
  display: grid;
  gap: 10px;
}

.feature {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 12px;
  background: rgba(7, 15, 28, 0.62);
}

.feature h3 {
  margin: 0 0 6px 0;
  font-size: 0.95rem;
}

.feature p {
  margin: 0;
  font-size: 0.84rem;
}

.landing-community {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.learn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.learn-card {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(9, 18, 32, 0.72);
  padding: 12px;
}

.learn-emoji {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.learn-card h3 {
  margin: 0 0 6px 0;
  font-size: 0.95rem;
}

.learn-card p {
  margin: 0;
  font-size: 0.82rem;
}

.trade-anywhere {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 16px;
  align-items: center;
}

.device {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  background: linear-gradient(160deg, rgba(149, 238, 255, 0.17), rgba(77, 143, 255, 0.2));
}

.device-screen {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(6, 14, 24, 0.85);
  padding: 12px;
}

.mini-line {
  height: 8px;
  border-radius: 999px;
  background: rgba(31, 209, 255, 0.52);
  margin-bottom: 8px;
}

.mini-line:last-child { margin-bottom: 0; width: 62%; }

.simple-list {
  margin: 8px 0 0 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 7px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 10px;
}

.step {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(8, 17, 30, 0.72);
  padding: 12px;
}

.step span {
  display: inline-flex;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #03111f;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  margin-bottom: 8px;
}

.step h3 {
  margin: 0 0 6px 0;
  font-size: 0.94rem;
}

.step p {
  margin: 0;
  font-size: 0.82rem;
}

.foot {
  margin-top: 22px;
  color: #88a0bb;
  font-size: 0.8rem;
  text-align: center;
}

@media (max-width: 860px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .hero-art {
    min-height: 190px;
  }

  .floating-card.one {
    right: 20px;
  }

  .floating-card.two {
    right: 90px;
  }

  .landing-community {
    flex-direction: column;
    align-items: flex-start;
  }

  .trade-anywhere {
    grid-template-columns: 1fr;
  }
}
