* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: #0b0e11;
  color: #eaecef;
  font-family: "Noto Sans SC", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover, button:hover { color: #fcd535; }
button, input, select { font: inherit; }
button { cursor: pointer; }
::selection { background: #fcd535; color: #0b0e11; }

@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulseDot { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes flow { to { stroke-dashoffset: -220; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.landing-page {
  max-width: 100vw;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}
.landing-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.landing-glow { position: absolute; background: radial-gradient(circle, rgba(240,185,11,.14), transparent 62%); }
.landing-glow-top { top: -280px; left: 50%; width: 920px; height: 920px; transform: translateX(-50%); }
.landing-glow-left { top: 520px; left: -220px; width: 640px; height: 640px; background: radial-gradient(circle, rgba(240,185,11,.06), transparent 66%); }
.landing-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 66px 66px;
  mask-image: radial-gradient(ellipse 88% 58% at 50% 0%, #000 32%, transparent 76%);
}
.landing-nav, .hero, .marquee-band, .section, .cta-section, .landing-footer {
  position: relative;
  z-index: 2;
  max-width: 1220px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}
.landing-nav {
  z-index: 10;
  padding-top: 22px;
  padding-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, #fcd535, #f0b90b);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(240,185,11,.4);
}
.brand-mark.small { width: 30px; height: 30px; border-radius: 8px; box-shadow: none; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-link, .nav-login {
  border: 0;
  background: transparent;
  color: #b7bdc6;
  font-size: 15px;
  padding: 0;
}
.nav-login { color: #eaecef; }
.nav-primary {
  border: 0;
  border-radius: 8px;
  background: #fcd535;
  color: #0b0e11;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 700;
}
.nav-primary:hover, .btn-primary:hover, .modal-submit:hover { background: #f8d33a; color: #0b0e11; }

.hero {
  padding-top: 64px;
  padding-bottom: 30px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border: 1px solid rgba(240,185,11,.32);
  border-radius: 100px;
  background: rgba(240,185,11,.07);
  color: #fcd535;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 26px;
}
.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fcd535;
  animation: pulseDot 2s ease-in-out infinite;
}
.hero h1 {
  margin: 0 0 22px;
  font-size: 56px;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}
.hero h1 span { color: #fcd535; }
.hero-copy > p {
  max-width: 520px;
  margin: 0 0 34px;
  color: #b7bdc6;
  font-size: 18px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 9px;
  padding: 14px 28px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}
.btn-primary {
  background: #fcd535;
  color: #0b0e11;
  box-shadow: 0 8px 26px rgba(240,185,11,.28);
}
.btn-secondary {
  background: #1e2329;
  border-color: #2b3139;
  color: #eaecef;
  font-weight: 600;
}
.btn-secondary:hover { border-color: #fcd535; }
.hero-stats, .why-stats {
  display: flex;
  gap: 38px;
  margin: 0;
}
.hero-stats div, .why-stats div { min-width: 0; }
.hero-stats dt, .why-stats dt {
  font-family: "Space Grotesk", sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #fcd535;
}
.hero-stats dd, .why-stats dd {
  margin: 3px 0 0;
  color: #848e9c;
  font-size: 13.5px;
}
.flow-stage { position: relative; }
.flow-stage::before {
  content: "";
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle, rgba(240,185,11,.14), transparent 68%);
}
.flow-card {
  position: relative;
  padding: 26px;
  border: 1px solid #2b3139;
  border-radius: 18px;
  background: linear-gradient(180deg, #161a1f, #0f1216);
  box-shadow: 0 26px 60px rgba(0,0,0,.5);
  animation: floatY 6s ease-in-out infinite;
}
.flow-head, .gas-row { display: flex; justify-content: space-between; align-items: center; color: #848e9c; font-size: 13px; }
.status-ok { color: #02c076; background: rgba(2,192,118,.12); padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.flow-row { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.flow-icon { width: 44px; height: 44px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; }
.flow-collect { color: #02c076; background: rgba(2,192,118,.14); }
.flow-payout { color: #fcd535; background: rgba(240,185,11,.14); }
.flow-main { flex: 1; min-width: 0; display: grid; gap: 5px; }
.flow-main strong { font-size: 14px; }
.flow-main span { color: #848e9c; font-size: 12.5px; }
.flow-amount { font-family: "JetBrains Mono", monospace; font-size: 16px; font-weight: 600; }
.flow-amount.in { color: #02c076; }
.flow-amount.out { color: #fcd535; }
.flow-line { display: block; margin-top: 18px; }
.flow-line path:nth-child(2) { animation: flow 2.4s linear infinite; }
.gas-row { margin-top: 20px; padding-top: 18px; border-top: 1px solid #2b3139; font-size: 12.5px; }
.gas-row strong { color: #eaecef; font-family: "JetBrains Mono", monospace; font-weight: 500; }

.marquee-band { margin-top: 36px; }
.marquee-band p {
  margin: 0 0 22px;
  text-align: center;
  color: #5e6673;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.marquee-mask { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track {
  display: flex;
  width: max-content;
  gap: 56px;
  animation: marquee 26s linear infinite;
}
.marquee-track span {
  color: #5e6673;
  white-space: nowrap;
  font-family: "Space Grotesk", sans-serif;
  font-size: 19px;
  font-weight: 600;
}

.section { margin-top: 96px; }
.section-head { text-align: center; margin-bottom: 52px; }
.section-head div, .section-kicker {
  margin-bottom: 12px;
  color: #fcd535;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .1em;
}
.section-head h2, .network-panel h2, .developer-copy h2, .cta-card h2 {
  margin: 0;
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 0;
}
.section-head p {
  margin: 14px 0 0;
  color: #b7bdc6;
  font-size: 17px;
}
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.feature-card {
  padding: 34px;
  border: 1px solid #2b3139;
  border-radius: 18px;
  background: linear-gradient(180deg, #14181d, #0f1216);
}
.feature-green:hover { border-color: rgba(2,192,118,.5); }
.feature-yellow:hover { border-color: rgba(240,185,11,.5); }
.feature-title { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.feature-title > span { width: 52px; height: 52px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 900; }
.feature-green .feature-title > span { color: #02c076; background: rgba(2,192,118,.14); }
.feature-yellow .feature-title > span { color: #fcd535; background: rgba(240,185,11,.14); }
.feature-title h3 { margin: 0; font-size: 24px; font-weight: 800; }
.feature-title p, .feature-copy { margin: 0; color: #848e9c; font-size: 13.5px; }
.feature-copy { margin-bottom: 22px; color: #b7bdc6; font-size: 15.5px; line-height: 1.7; }
.feature-copy code { color: #fcd535; font-family: "JetBrains Mono", monospace; font-size: 14px; }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  position: relative;
  padding: 11px 0 11px 30px;
  border-top: 1px solid #1e2329;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(240,185,11,.16);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 17px;
  width: 7px;
  height: 4px;
  border-left: 2px solid #fcd535;
  border-bottom: 2px solid #fcd535;
  transform: rotate(-45deg);
}
.check-list.green li::before { background: rgba(2,192,118,.16); }
.check-list.green li::after { border-color: #02c076; }
.check-list strong { display: block; font-size: 15px; font-weight: 600; }
.check-list span { display: block; margin-top: 2px; color: #848e9c; font-size: 13.5px; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps-grid article {
  padding: 26px;
  border: 1px solid #2b3139;
  border-radius: 16px;
  background: #121519;
}
.steps-grid article:hover { border-color: #3a424c; }
.steps-grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 9px;
  background: #fcd535;
  color: #0b0e11;
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
  font-weight: 700;
}
.steps-grid h3 { margin: 0 0 8px; font-size: 18px; }
.steps-grid p { margin: 0; color: #848e9c; font-size: 14px; line-height: 1.65; }
.network-panel {
  padding: 54px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  border: 1px solid #2b3139;
  border-radius: 22px;
  background: linear-gradient(135deg, #14181d, #0f1216);
}
.network-panel h2, .developer-copy h2 { font-size: 36px; margin-bottom: 20px; }
.network-panel p, .developer-copy p { margin: 0 0 28px; color: #b7bdc6; font-size: 16px; line-height: 1.7; }
.why-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.why-stats dt { font-size: 30px; }
.pillar-list { display: flex; flex-direction: column; gap: 14px; }
.pillar-list article {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid #2b3139;
  border-radius: 13px;
  background: #0f1216;
}
.pillar-list span {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(240,185,11,.12);
  color: #fcd535;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}
.pillar-list h3 { margin: 0 0 4px; font-size: 16px; }
.pillar-list p { margin: 0; color: #848e9c; font-size: 14px; line-height: 1.6; }
.developer-section {
  margin-top: 100px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.developer-copy .btn { width: fit-content; }
.code-window {
  overflow: hidden;
  border: 1px solid #2b3139;
  border-radius: 16px;
  background: #0d0f13;
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
}
.code-head { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid #1e2329; background: #121519; }
.code-head span { width: 11px; height: 11px; border-radius: 50%; }
.code-head span:nth-child(1) { background: #f6465d; }
.code-head span:nth-child(2) { background: #fcd535; }
.code-head span:nth-child(3) { background: #02c076; }
.code-head strong { margin-left: 10px; color: #848e9c; font-family: "JetBrains Mono", monospace; font-size: 12.5px; font-weight: 400; }
pre { margin: 0; padding: 22px; overflow-x: auto; color: #c7cdd8; font-family: "JetBrains Mono", monospace; font-size: 13.5px; line-height: 1.85; }
.key { color: #fcd535; }
.str { color: #02c076; }
.muted { color: #5e6673; }
.cta-section { margin-top: 110px; }
.cta-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  border-radius: 24px;
  padding: 66px 40px;
  background: linear-gradient(135deg, #f0b90b, #fcd535);
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.35), transparent 45%);
}
.cta-card h2, .cta-card p, .cta-card div { position: relative; }
.cta-card h2 { color: #0b0e11; font-size: 42px; margin-bottom: 16px; }
.cta-card p { margin: 0 0 34px; color: #4a3c07; font-size: 18px; font-weight: 500; }
.cta-card div { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cta-dark { color: #fcd535; background: #0b0e11; }
.cta-dark:hover { background: #1e2329; }
.cta-outline { color: #0b0e11; border-color: rgba(11,14,17,.3); background: rgba(11,14,17,.1); }
.cta-outline:hover { background: rgba(11,14,17,.18); color: #0b0e11; }
.landing-footer {
  margin-top: 80px;
  padding-top: 44px;
  padding-bottom: 60px;
  border-top: 1px solid #1e2329;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px 64px;
}
.footer-brand { max-width: 300px; }
.footer-brand .landing-brand { font-size: 18px; margin-bottom: 14px; }
.footer-brand p { margin: 0; color: #5e6673; font-size: 13.5px; line-height: 1.7; }
.footer-links { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-links h3 { margin: 0 0 14px; font-size: 14px; }
.footer-links a { display: block; margin-bottom: 10px; color: #848e9c; font-size: 13.5px; }
.copyright { width: 100%; padding-top: 24px; border-top: 1px solid #1e2329; color: #5e6673; font-size: 12.5px; }

.landing-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.landing-modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(6,8,11,.86); }
.modal-card {
  position: relative;
  width: min(100%, 440px);
  max-height: 92vh;
  overflow-y: auto;
  border: 1px solid #2b3139;
  border-radius: 18px;
  background: #121519;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.modal-head { padding: 30px 32px 22px; }
.modal-brand { display: flex; align-items: center; gap: 10px; font-family: "Space Grotesk", sans-serif; font-size: 19px; font-weight: 700; }
.modal-close {
  position: absolute;
  top: 28px;
  right: 30px;
  border: 0;
  background: none;
  color: #5e6673;
  font-size: 22px;
  line-height: 1;
}
.modal-head h2 { margin: 14px 0 6px; font-size: 22px; font-weight: 900; }
.modal-head p { margin: 0; color: #848e9c; font-size: 13.5px; }
.modal-form { padding: 0 32px 30px; display: flex; flex-direction: column; gap: 14px; }
.modal-form[hidden] { display: none; }
.modal-form label { display: flex; flex-direction: column; gap: 7px; color: #848e9c; font-size: 12.5px; font-weight: 600; }
.modal-form input, .modal-form select {
  min-width: 0;
  width: 100%;
  border: 1px solid #2b3139;
  border-radius: 10px;
  background: #0f1216;
  color: #eaecef;
  padding: 12px 14px;
  font-size: 14px;
  outline: none;
}
.modal-form input:focus, .modal-form select:focus { border-color: #fcd535; }
.split-fields { display: flex; gap: 12px; }
.split-fields label { flex: 1; min-width: 0; }
.form-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12.5px; }
.check { flex-direction: row !important; align-items: center; gap: 7px !important; color: #b7bdc6 !important; cursor: pointer; font-weight: 400 !important; }
.check input { width: auto; accent-color: #fcd535; }
.legal { align-items: flex-start; line-height: 1.5; }
.legal input { margin-top: 2px; }
.form-row button, .switch-text button {
  border: 0;
  background: transparent;
  color: #fcd535;
  padding: 0;
  font-size: inherit;
  font-weight: 600;
}
.modal-submit {
  display: block;
  margin-top: 2px;
  border-radius: 10px;
  background: #fcd535;
  color: #0b0e11;
  padding: 13px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
}
.switch-text { text-align: center; color: #5e6673; font-size: 13px; }
.hint { margin: 0; color: #5e6673; font-size: 12.5px; line-height: 1.6; }

@media (max-width: 900px) {
  .landing-nav, .hero, .marquee-band, .section, .cta-section, .landing-footer { padding-left: 20px; padding-right: 20px; }
  .landing-nav { align-items: flex-start; gap: 16px; }
  .nav-actions { flex-wrap: wrap; justify-content: flex-end; }
  .hero { grid-template-columns: 1fr; padding-top: 34px; gap: 40px; }
  .hero h1 { font-size: 42px; }
  .hero-copy > p { font-size: 16px; }
  .hero-stats { gap: 22px; flex-wrap: wrap; }
  .feature-grid, .network-panel, .developer-section { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .network-panel { padding: 34px 24px; }
}

@media (max-width: 560px) {
  .landing-nav { flex-direction: column; }
  .nav-actions { width: 100%; justify-content: space-between; gap: 10px; }
  .nav-primary { padding: 10px 14px; }
  .hero h1 { font-size: 34px; }
  .hero-actions .btn, .cta-card .btn { width: 100%; }
  .hero-stats { display: grid; grid-template-columns: 1fr; }
  .section { margin-top: 74px; }
  .section-head h2, .network-panel h2, .developer-copy h2 { font-size: 30px; }
  .steps-grid, .why-stats { grid-template-columns: 1fr; }
  .feature-card, .flow-card { padding: 22px; }
  .flow-row { align-items: flex-start; }
  .flow-amount { font-size: 13px; }
  .cta-card { padding: 48px 22px; }
  .cta-card h2 { font-size: 32px; }
  .split-fields { flex-direction: column; }
  .modal-card { max-height: calc(100vh - 24px); }
  .modal-head, .modal-form { padding-left: 22px; padding-right: 22px; }
}
