:root {
  --green: #00c853;
  --green-soft: #e9fff1;
  --green-deep: #058f3f;
  --graphite: #101414;
  --muted: #66736d;
  --line: rgba(16, 20, 20, 0.1);
  --glass: rgba(255, 255, 255, 0.72);
  --shadow: 0 24px 80px rgba(0, 60, 30, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 20% 8%, rgba(0, 200, 83, 0.16), transparent 30%),
    radial-gradient(circle at 78% 18%, rgba(0, 200, 83, 0.13), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7fbf8 52%, #ffffff 100%);
  color: var(--graphite);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

button {
  font: inherit;
}

.site-shell {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 94vh;
  padding: 28px clamp(20px, 5vw, 72px) 72px;
  isolation: isolate;
}

.ambient {
  position: absolute;
  z-index: -3;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.8;
}

.ambient-one {
  width: 46vw;
  height: 46vw;
  left: -18vw;
  top: 12vh;
  background: radial-gradient(circle, rgba(0, 200, 83, 0.2), transparent 70%);
}

.ambient-two {
  width: 52vw;
  height: 52vw;
  right: -18vw;
  top: -16vw;
  background: radial-gradient(circle, rgba(68, 234, 134, 0.2), transparent 68%);
}

.network {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.75;
  background-image:
    linear-gradient(rgba(0, 200, 83, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 83, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 65% 35%, black 0%, transparent 64%);
}

.node,
.particle,
.line {
  position: absolute;
  display: block;
}

.node {
  width: 11px;
  height: 11px;
  border: 2px solid rgba(0, 200, 83, 0.75);
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 22px rgba(0, 200, 83, 0.45);
}

.n1 { top: 18%; left: 58%; }
.n2 { top: 28%; left: 78%; }
.n3 { top: 58%; left: 68%; }
.n4 { top: 70%; left: 88%; }

.line {
  height: 1px;
  transform-origin: left center;
  background: linear-gradient(90deg, transparent, rgba(0, 200, 83, 0.42), transparent);
}

.l1 { top: 21%; left: 58%; width: 25%; transform: rotate(14deg); }
.l2 { top: 33%; left: 71%; width: 19%; transform: rotate(58deg); }
.l3 { top: 62%; left: 68%; width: 24%; transform: rotate(20deg); }

.particle {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 22px rgba(0, 200, 83, 0.8);
  animation: drift 8s ease-in-out infinite;
}

.p1 { top: 22%; left: 50%; }
.p2 { top: 48%; left: 86%; animation-delay: -3s; }
.p3 { top: 76%; left: 62%; animation-delay: -5s; }

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.45; }
  50% { transform: translate3d(22px, -18px, 0); opacity: 1; }
}

.topbar {
  width: min(1180px, 100%);
  margin: 0 auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark img {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  object-fit: cover;
  box-shadow: 0 12px 32px rgba(0, 200, 83, 0.22);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(16, 20, 20, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 36px rgba(16, 20, 20, 0.08);
}

.nav-actions a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  color: #3e4945;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-actions a:first-child {
  color: white;
  background: var(--graphite);
}

.hero-grid {
  width: min(980px, 100%);
  margin: 72px auto 0;
  display: block;
}

.hero-copy {
  min-width: 0;
  max-width: 100%;
}

.hero-logo {
  width: clamp(112px, 16vw, 164px);
  height: clamp(112px, 16vw, 164px);
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.eyebrow,
.label {
  display: inline-block;
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.hero-copy .eyebrow {
  margin-top: 28px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(56px, 8vw, 104px);
  line-height: 0.92;
  letter-spacing: 0;
}

h1 span {
  display: block;
  margin-top: 14px;
  color: #1f2b27;
  font-size: clamp(34px, 4.8vw, 66px);
  line-height: 1;
}

.subtitle {
  max-width: 610px;
  color: #4d5c56;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.hero::after {
  content: "";
  position: absolute;
  right: clamp(20px, 7vw, 120px);
  bottom: 76px;
  z-index: -1;
  width: min(580px, 46vw);
  aspect-ratio: 3 / 1;
  border-radius: 38px;
  background: url("assets/robinfi-banner.png") center / cover;
  opacity: 0.11;
  filter: saturate(1.05);
}

.cta-row,
.entry-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.cta-row {
  margin-top: 34px;
}

.button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 18px;
  font-weight: 800;
  box-shadow: 0 16px 42px rgba(16, 20, 20, 0.1);
}

.button.primary {
  color: white;
  background: linear-gradient(135deg, #101414, #20312a);
}

.button.secondary {
  border: 1px solid rgba(16, 20, 20, 0.1);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
}

.entry-row {
  margin-top: 18px;
}

.entry-row a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(16, 20, 20, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  color: #3c4742;
  font-size: 14px;
  font-weight: 800;
  backdrop-filter: blur(14px);
}

.hero-product {
  position: relative;
  min-height: 620px;
}

.hero-product::before {
  content: "";
  position: absolute;
  inset: 8% 0 5% 8%;
  z-index: -1;
  border-radius: 42px;
  background:
    linear-gradient(135deg, rgba(0, 200, 83, 0.15), rgba(255, 255, 255, 0.36)),
    url("assets/robinfi-banner.png") center / cover;
  opacity: 0.18;
  filter: saturate(1.12);
}

.device-card,
.glass-card,
.contract-band,
.dashboard-shell,
.module {
  border: 1px solid rgba(255, 255, 255, 0.84);
  background: var(--glass);
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow);
}

.device-card {
  position: absolute;
  border-radius: 28px;
}

.wallet-card {
  top: 28px;
  right: 0;
  width: min(100%, 430px);
  padding: 22px;
}

.staking-card {
  left: 0;
  bottom: 72px;
  width: 310px;
  padding: 20px;
}

.payment-card {
  right: 24px;
  bottom: 0;
  width: 260px;
  padding: 20px;
}

.card-head,
.split-row,
.dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.card-head strong,
.balance-panel strong {
  display: block;
}

.card-head strong {
  margin-top: 6px;
  font-size: 22px;
}

.status-dot,
.security-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.status-dot::before,
.security-pill i {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(0, 200, 83, 0.8);
}

.balance-panel {
  margin: 22px 0;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(145deg, #101414, #163024);
  color: white;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.balance-panel span,
.balance-panel small {
  color: rgba(255, 255, 255, 0.68);
  overflow-wrap: anywhere;
}

.balance-panel strong {
  margin: 8px 0;
  font-size: 38px;
  line-height: 1;
}

.token-list {
  display: grid;
  gap: 12px;
}

.token-list div,
.stacked-tokens div,
.transaction-module li {
  display: grid;
  align-items: center;
  gap: 12px;
}

.token-list div {
  grid-template-columns: 42px 1fr auto;
}

.token-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: white;
  background: var(--green);
  font-weight: 900;
}

.token-icon.emerald {
  background: #1fe875;
}

.token-icon.graphite {
  background: #202827;
}

.token-list p,
.transaction-module p,
.security-module p,
.payment-card p {
  margin: 0;
}

small {
  display: block;
  color: var(--muted);
}

.range-track {
  height: 12px;
  margin: 28px 0 14px;
  border-radius: 999px;
  background: #e9efec;
  overflow: hidden;
}

.range-track span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), #6cf29f);
}

.staking-card button,
.copy-button {
  width: 100%;
  min-height: 48px;
  margin-top: 20px;
  border: 0;
  border-radius: 16px;
  color: white;
  background: var(--graphite);
  font-weight: 850;
  cursor: pointer;
}

.mini-shield,
.confirm-icon,
.shield-large,
.feature-icon {
  display: inline-block;
  background: linear-gradient(145deg, var(--green), #96ffbc);
  box-shadow: 0 12px 34px rgba(0, 200, 83, 0.28);
}

.mini-shield {
  width: 42px;
  height: 42px;
  border-radius: 16px 16px 20px 20px;
  clip-path: polygon(50% 0, 90% 17%, 82% 78%, 50% 100%, 18% 78%, 10% 17%);
}

.confirm-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 50%;
  position: relative;
}

.confirm-icon::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 11px;
  width: 10px;
  height: 18px;
  border: solid white;
  border-width: 0 4px 4px 0;
  transform: rotate(45deg);
}

.payment-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 19px;
}

.contract-band,
.features,
.interface-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.contract-band {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 132px;
  align-items: center;
  gap: 20px;
  padding: 24px;
  border-radius: 28px;
}

.contract-band h2 {
  margin: 4px 0 0;
  font-size: 28px;
}

.contract-band code {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid rgba(16, 20, 20, 0.08);
  border-radius: 18px;
  background: rgba(246, 249, 247, 0.82);
  color: #1d2924;
  font-size: 15px;
  word-break: break-all;
}

.copy-button {
  margin: 0;
}

.features {
  padding: 104px 0 72px;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.dashboard-head h2 {
  margin: 10px 0 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.glass-card {
  min-height: 260px;
  padding: 24px;
  border-radius: 28px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  border-radius: 18px;
}

.feature-icon.asset {
  border-radius: 50%;
}

.feature-icon.yield {
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.9) 0 22%, transparent 24%),
    conic-gradient(from 80deg, var(--green), #96ffbc, var(--green));
}

.feature-icon.secure {
  clip-path: polygon(50% 0, 90% 18%, 82% 76%, 50% 100%, 18% 76%, 10% 18%);
}

.feature-icon.liquidity {
  border-radius: 18px 50% 18px 50%;
}

.glass-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.glass-card p {
  color: var(--muted);
  line-height: 1.6;
}

.interface-section {
  padding-bottom: 96px;
}

.dashboard-shell {
  padding: clamp(22px, 4vw, 38px);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(241, 255, 246, 0.7)),
    radial-gradient(circle at 80% 10%, rgba(0, 200, 83, 0.15), transparent 38%);
}

.dashboard-head {
  align-items: flex-start;
}

.security-pill {
  padding: 11px 14px;
  border: 1px solid rgba(0, 200, 83, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}

.module-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 18px;
  margin-top: 34px;
}

.module {
  min-height: 260px;
  padding: 22px;
  border-radius: 24px;
}

.stacked-tokens {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.stacked-tokens div {
  grid-template-columns: 58px minmax(0, 1fr) auto;
  min-height: 62px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
}

.stacked-tokens b,
.token-list b {
  white-space: nowrap;
}

.transaction-module ul {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.transaction-module li {
  grid-template-columns: 10px minmax(0, 1fr) auto;
  min-height: 58px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(16, 20, 20, 0.08);
}

.transaction-module li span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(0, 200, 83, 0.6);
}

.transaction-module li b {
  color: var(--green-deep);
  font-size: 13px;
}

.liquidity-module {
  position: relative;
  overflow: hidden;
}

.liquidity-map {
  position: relative;
  height: 150px;
  margin: 22px 0;
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(0, 200, 83, 0.08), rgba(255, 255, 255, 0.76)),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(0, 200, 83, 0.08) 35px 36px);
}

.hub,
.map-node {
  position: absolute;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--green);
  box-shadow: 0 0 24px rgba(0, 200, 83, 0.24);
}

.hub {
  width: 48px;
  height: 48px;
  left: calc(50% - 24px);
  top: calc(50% - 24px);
  background: var(--graphite);
}

.map-node {
  width: 24px;
  height: 24px;
}

.map-node.a { left: 18%; top: 22%; }
.map-node.b { right: 16%; top: 18%; }
.map-node.c { left: 62%; bottom: 16%; }

.map-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 200, 83, 0), rgba(0, 200, 83, 0.48));
  transform-origin: left center;
}

.map-line.one { left: 22%; top: 41%; width: 30%; transform: rotate(14deg); }
.map-line.two { left: 50%; top: 48%; width: 31%; transform: rotate(-18deg); }
.map-line.three { left: 50%; top: 54%; width: 18%; transform: rotate(45deg); }

.shield-large {
  width: 72px;
  height: 82px;
  margin-bottom: 22px;
  clip-path: polygon(50% 0, 91% 18%, 82% 76%, 50% 100%, 18% 76%, 9% 18%);
}

.security-module h3 {
  margin-bottom: 12px;
  font-size: 25px;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding-bottom: 54px;
  }

  .hero-grid {
    margin-top: 48px;
  }

  .feature-grid,
  .module-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contract-band {
    grid-template-columns: 1fr;
  }

  .copy-button {
    width: auto;
    padding-inline: 22px;
  }
}

@media (max-width: 660px) {
  .hero {
    padding: 18px 16px 44px;
  }

  .hero::after {
    right: 10px;
    bottom: 28px;
    width: 360px;
    max-width: 92vw;
    opacity: 0.08;
  }

  .topbar {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
  }

  .brand-mark span {
    display: none;
  }

  .nav-actions {
    display: none;
  }

  .nav-actions a {
    min-height: 36px;
    padding: 0 10px;
    font-size: 12px;
  }

  .hero-grid {
    width: 100%;
    max-width: 100%;
    display: block;
    margin-top: 38px;
  }

  .hero-copy,
  .cta-row,
  .entry-row {
    width: min(320px, calc(100vw - 64px));
    max-width: min(320px, calc(100vw - 64px));
  }

  h1 {
    font-size: clamp(44px, 13vw, 56px);
    overflow-wrap: anywhere;
  }

  h1 span {
    max-width: 9ch;
    font-size: clamp(27px, 7.4vw, 32px);
    line-height: 1.04;
  }

  .subtitle {
    max-width: 18ch;
    font-size: 18px;
  }

  .hero-copy .eyebrow {
    max-width: 24ch;
    line-height: 1.35;
  }

  .button {
    width: min(320px, calc(100vw - 64px));
  }

  .contract-band,
  .features,
  .interface-section {
    width: calc(100% - 32px);
  }

  .contract-band {
    padding: 18px;
    border-radius: 22px;
  }

  .feature-grid,
  .module-grid {
    grid-template-columns: 1fr;
  }

  .features {
    padding: 72px 0 54px;
  }

  .dashboard-head {
    display: grid;
  }

  .stacked-tokens div,
  .transaction-module li {
    grid-template-columns: 1fr;
    align-items: start;
  }
}
