:root {
  --ink: #111526;
  --muted: #6d7284;
  --blue: #2678ff;
  --blue-soft: #88b9ff;
  --lavender: #d9def4;
  --panel: rgba(255, 255, 255, 0.92);
  --line: rgba(35, 48, 92, 0.12);
  --shadow: 0 34px 90px rgba(71, 84, 139, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 78%, rgba(255, 255, 255, 0.45), transparent 26%),
    radial-gradient(circle at 76% 20%, rgba(255, 255, 255, 0.5), transparent 24%),
    linear-gradient(135deg, #cfd6f0 0%, #edf2ff 48%, #c5cdf0 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before,
body::after {
  border: 3px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  content: "";
  height: 680px;
  position: fixed;
  width: 980px;
  z-index: -1;
}

body::before {
  left: -240px;
  top: 520px;
  transform: rotate(22deg);
}

body::after {
  right: -260px;
  top: 110px;
  transform: rotate(14deg);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.shell {
  margin: 0 auto;
  max-width: 1500px;
  padding: 42px 24px 70px;
}

.hero {
  background:
    linear-gradient(rgba(255, 255, 255, 0.76) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.76) 1px, transparent 1px),
    linear-gradient(180deg, #fbfcff 0%, #f6f8ff 64%, #eef3ff 100%);
  background-size: 172px 172px, 172px 172px, auto;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  min-height: 940px;
  overflow: hidden;
  position: relative;
}

.hero::after {
  background: radial-gradient(ellipse at center, rgba(87, 182, 255, 0.28), rgba(147, 142, 255, 0.18) 40%, transparent 68%);
  bottom: 170px;
  content: "";
  filter: blur(18px);
  height: 220px;
  left: 19%;
  position: absolute;
  right: 18%;
}

.nav {
  align-items: center;
  display: flex;
  gap: 30px;
  justify-content: space-between;
  padding: 28px 36px;
  position: relative;
  z-index: 3;
}

.brand,
.nav-links,
.nav-actions,
.hero-buttons,
.preview-toolbar,
.metric-row,
.chart-head,
.chart-meta,
.contract-box,
.proof-list,
.quick-links {
  align-items: center;
  display: flex;
}

.brand {
  font-size: 20px;
  font-weight: 800;
  gap: 10px;
}

.brand-logo,
.mini-logo {
  border-radius: 10px;
  display: block;
  height: 42px;
  object-fit: cover;
  width: 42px;
}

.nav-links {
  color: #50566a;
  font-size: 14px;
  font-weight: 700;
  gap: 28px;
}

.nav-actions,
.hero-buttons {
  gap: 12px;
}

.dark-button,
.ghost-button,
.contract-box button,
.copy-mini {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.dark-button {
  background: #15182c;
  box-shadow: 0 14px 28px rgba(17, 21, 38, 0.16);
  color: #fff;
  padding: 13px 21px;
}

.ghost-button {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(18, 23, 44, 0.16);
  color: #2f3549;
  padding: 12px 20px;
}

.dark-button:hover,
.ghost-button:hover,
.contract-box button:hover,
.copy-mini:hover {
  transform: translateY(-2px);
}

.hero-content {
  margin: 130px auto 0;
  max-width: 850px;
  padding: 0 24px;
  position: relative;
  text-align: center;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

.hero-copy {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  margin: 24px auto 26px;
  max-width: 680px;
}

.hero-buttons {
  justify-content: center;
}

.coin-card {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  box-shadow: 0 22px 45px rgba(120, 133, 188, 0.2);
  color: #77a6fb;
  display: flex;
  font-size: 46px;
  font-weight: 900;
  height: 86px;
  justify-content: center;
  position: absolute;
  transform: rotate(-20deg);
  width: 86px;
  z-index: 1;
}

.coin-card-left {
  left: 88px;
  top: 230px;
}

.coin-card-right {
  right: 94px;
  top: 210px;
  transform: rotate(18deg);
}

.coin-card-low {
  bottom: 255px;
  right: 300px;
  transform: rotate(-14deg);
}

.orbit {
  border: 2px solid rgba(45, 64, 116, 0.1);
  border-radius: 999px;
  position: absolute;
  z-index: 1;
}

.orbit-one {
  bottom: 72px;
  height: 360px;
  left: 70px;
  width: 640px;
}

.orbit-two {
  bottom: -80px;
  height: 420px;
  right: 150px;
  width: 520px;
}

.dashboard-preview {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 34px 34px 0 0;
  bottom: 0;
  box-shadow: 0 -18px 60px rgba(88, 105, 161, 0.18);
  display: grid;
  grid-template-columns: 230px 1fr;
  left: 12%;
  min-height: 230px;
  min-width: 0;
  overflow: hidden;
  position: absolute;
  right: 12%;
  z-index: 3;
}

.side-menu {
  background: rgba(255, 255, 255, 0.78);
  border-right: 1px solid var(--line);
  padding: 30px;
}

.side-brand {
  align-items: center;
  display: flex;
  gap: 10px;
}

.mini-logo {
  border-radius: 7px;
  height: 32px;
  width: 32px;
}

.side-menu p {
  color: #8b90a1;
  font-size: 12px;
  font-weight: 800;
  margin: 36px 0 12px;
}

.side-menu a {
  border-radius: 12px;
  color: #646b80;
  display: block;
  font-size: 14px;
  font-weight: 800;
  padding: 13px 14px;
}

.side-menu a.active {
  background: #e9edff;
  color: #27304f;
}

.preview-main {
  min-width: 0;
  padding: 30px 36px;
}

.preview-toolbar {
  gap: 14px;
  justify-content: space-between;
}

.referral,
.search {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #6e7485;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 16px;
}

.search {
  margin-left: auto;
}

.copy-mini {
  background: #15182c;
  color: #fff;
  padding: 11px 16px;
}

.preview-main h2 {
  font-size: 34px;
  margin: 28px 0 20px;
}

.metric-row {
  gap: 14px;
}

.metric-row article,
.chart-meta article {
  background: linear-gradient(135deg, #48b9ff, #7978ff);
  border-radius: 16px;
  color: #fff;
  min-width: 170px;
  padding: 18px;
}

.metric-row article:nth-child(2),
.chart-meta article:nth-child(2) {
  background: linear-gradient(135deg, #6564f5, #8aa2ff);
}

.metric-row article:nth-child(3),
.chart-meta article:nth-child(3) {
  background: linear-gradient(135deg, #18213a, #44507a);
}

.metric-row span,
.chart-meta span {
  display: block;
  font-size: 12px;
  font-weight: 800;
  opacity: 0.78;
}

.metric-row strong,
.chart-meta strong {
  display: block;
  font-size: 22px;
  margin-top: 7px;
}

.quick-links {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
  margin: 28px 0;
}

.link-card,
.panel {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.8);
  min-width: 0;
  box-shadow: 0 20px 55px rgba(83, 96, 151, 0.14);
}

.link-card {
  border-radius: 22px;
  padding: 24px;
}

.link-card span {
  color: var(--blue);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.link-card strong {
  font-size: 22px;
}

.content-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.4fr 0.8fr;
  min-width: 0;
}

.panel {
  border-radius: 28px;
  padding: 34px;
}

.panel h2 {
  font-size: 34px;
  line-height: 1.15;
  margin: 0 0 16px;
}

.panel p {
  color: var(--muted);
  line-height: 1.7;
}

.contract-box {
  background: #f7f9ff;
  border: 1px solid var(--line);
  border-radius: 18px;
  gap: 10px;
  margin: 26px 0;
  padding: 14px;
}

.contract-box span {
  color: #4b5267;
  font-weight: 900;
}

.contract-box code {
  color: #222943;
  display: block;
  flex: 1;
  font-size: 14px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

.contract-box button {
  background: var(--blue);
  color: #fff;
  padding: 11px 18px;
}

.proof-list {
  flex-wrap: wrap;
  gap: 10px;
}

.proof-list span {
  background: #edf3ff;
  border-radius: 999px;
  color: #406096;
  font-size: 13px;
  font-weight: 800;
  padding: 9px 13px;
}

.status-panel ul {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.status-panel li {
  color: #555c72;
  font-weight: 750;
  margin: 15px 0;
}

.status-panel li span {
  background: #38c879;
  border-radius: 999px;
  display: inline-block;
  height: 10px;
  margin-right: 10px;
  width: 10px;
}

.chart-section {
  margin-top: 24px;
}

.chart-head {
  justify-content: space-between;
  gap: 20px;
}

.range-tabs {
  background: #eef3ff;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  padding: 5px;
}

.range-tabs button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: #667087;
  cursor: pointer;
  font-weight: 900;
  padding: 10px 15px;
}

.range-tabs button.active {
  background: #15182c;
  color: #fff;
}

.chart-meta {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, 1fr);
  margin: 18px 0 24px;
}

.chart-meta article {
  min-width: 0;
}

.chart-meta article:nth-child(4) {
  background: linear-gradient(135deg, #59c2ff, #2d82ff);
}

.positive {
  color: #d8ffe7;
}

.chart-wrap {
  background:
    linear-gradient(rgba(58, 75, 123, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 75, 123, 0.06) 1px, transparent 1px),
    #fbfcff;
  background-size: 70px 70px;
  border: 1px solid var(--line);
  border-radius: 22px;
  min-width: 0;
  overflow: hidden;
  padding: 16px;
}

#priceChart {
  display: block;
  height: auto;
  max-width: 100%;
  width: 100%;
}

.narrative-section,
.roadmap-section,
.faq-section {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.narrative-section {
  grid-template-columns: 1.35fr 0.65fr;
}

.about-panel p,
.roadmap-copy p,
.trust-section p,
.faq-intro p,
.final-cta p,
.section-head p {
  max-width: 760px;
}

.value-grid,
.ops-grid,
.trust-grid,
.timeline,
.faq-list {
  display: grid;
  gap: 16px;
}

.value-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
}

.value-grid article,
.ops-grid article,
.trust-grid article {
  background: #f7f9ff;
  border: 1px solid var(--line);
  border-radius: 20px;
  min-width: 0;
  padding: 22px;
}

.value-grid span,
.ops-grid span,
.timeline span {
  color: var(--blue);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.value-grid strong,
.ops-grid strong,
.trust-grid strong {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
}

.value-grid p,
.ops-grid p {
  font-size: 14px;
  margin: 0;
}

.facts-panel dl {
  margin: 0;
}

.facts-panel div {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.facts-panel div:first-child {
  padding-top: 0;
}

.facts-panel div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.facts-panel dt {
  color: #7a8194;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.facts-panel dd {
  color: var(--ink);
  font-size: 20px;
  font-weight: 850;
  margin: 7px 0 0;
}

.tokenomics-section,
.trust-section,
.final-cta {
  margin-top: 24px;
}

.section-head,
.trust-section,
.final-cta {
  align-items: center;
  display: flex;
  gap: 28px;
  justify-content: space-between;
}

.section-head p,
.final-cta p {
  margin: 0;
}

.ops-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 28px;
}

.roadmap-section {
  grid-template-columns: 0.72fr 1.28fr;
}

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

.timeline .panel {
  padding: 26px;
}

.timeline h3 {
  font-size: 22px;
  margin: 0 0 10px;
}

.timeline p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.trust-section {
  align-items: flex-start;
}

.trust-grid {
  flex: 0 0 520px;
  grid-template-columns: repeat(2, 1fr);
}

.trust-grid article {
  background: linear-gradient(135deg, #f8fbff, #edf3ff);
}

.trust-grid span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-weight: 800;
}

.faq-section {
  grid-template-columns: 0.75fr 1.25fr;
}

.faq-list {
  grid-template-columns: 1fr;
}

.faq-list details {
  padding: 0;
}

.faq-list summary {
  cursor: pointer;
  font-size: 19px;
  font-weight: 900;
  list-style: none;
  padding: 24px 28px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  color: var(--blue);
  content: "+";
  float: right;
  font-size: 24px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details p {
  border-top: 1px solid var(--line);
  margin: 0;
  padding: 18px 28px 24px;
}

.final-cta {
  background:
    radial-gradient(circle at 88% 20%, rgba(118, 177, 255, 0.35), transparent 28%),
    var(--panel);
}

.final-cta .dark-button {
  flex: 0 0 auto;
}

.toast {
  background: #15182c;
  border-radius: 999px;
  bottom: 24px;
  box-shadow: 0 18px 45px rgba(18, 21, 38, 0.25);
  color: #fff;
  font-weight: 900;
  left: 50%;
  opacity: 0;
  padding: 13px 18px;
  pointer-events: none;
  position: fixed;
  transform: translate(-50%, 18px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

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

  .nav-links {
    flex-wrap: wrap;
  }

  .hero {
    min-height: 880px;
  }

  .dashboard-preview {
    grid-template-columns: 1fr;
    left: 24px;
    right: 24px;
  }

  .side-menu {
    display: none;
  }

  .quick-links,
  .content-grid,
  .chart-meta,
  .narrative-section,
  .roadmap-section,
  .faq-section {
    grid-template-columns: 1fr 1fr;
  }

  .value-grid,
  .ops-grid,
  .timeline,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-head,
  .trust-section,
  .final-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .trust-grid {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 680px) {
  .shell {
    padding: 18px 12px 44px;
  }

  .hero {
    min-height: 0;
    padding-bottom: 18px;
  }

  .nav {
    padding: 22px;
  }

  .nav-actions,
  .nav-links {
    display: none;
  }

  .hero-content {
    margin-top: 58px;
    padding: 0 18px;
  }

  .hero h1 {
    font-size: 25px;
    overflow-wrap: break-word;
  }

  .hero-copy {
    font-size: 16px;
    max-width: 300px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .dark-button,
  .hero-buttons .ghost-button {
    text-align: center;
    width: min(100%, 280px);
  }

  .coin-card {
    display: none;
  }

  .orbit {
    display: none;
  }

  .coin-card-left {
    left: 18px;
    top: 255px;
  }

  .coin-card-right {
    right: 20px;
    top: 250px;
  }

  .coin-card-low {
    display: none;
  }

  .dashboard-preview {
    bottom: auto;
    border-radius: 24px 24px 0 0;
    left: auto;
    margin: 30px 14px 0;
    position: relative;
    right: auto;
  }

  .preview-main {
    padding: 22px;
  }

  .preview-toolbar,
  .metric-row,
  .contract-box,
  .chart-head {
    align-items: stretch;
    flex-direction: column;
  }

  .contract-box code {
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .contract-box button {
    width: 100%;
  }

  .search {
    margin-left: 0;
  }

  .quick-links,
  .content-grid,
  .chart-meta,
  .narrative-section,
  .roadmap-section,
  .faq-section,
  .value-grid,
  .ops-grid,
  .timeline,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .panel {
    padding: 24px;
  }

  .panel h2 {
    font-size: 23px;
    overflow-wrap: break-word;
  }

  .value-grid article,
  .ops-grid article,
  .trust-grid article {
    padding: 18px;
  }

  .faq-list summary {
    font-size: 17px;
    padding: 20px 22px;
  }

  .faq-list details p {
    padding: 16px 22px 20px;
  }
}
