﻿:root {
  --bg: #0b0e11;
  --bg-2: #12161b;
  --panel: #151a20;
  --panel-2: #1b2129;
  --line: rgba(255, 255, 255, 0.08);
  --text: #e9eef2;
  --muted: rgba(233, 238, 242, 0.7);
  --accent: #f1e81b;
  --accent-2: #ffee4a;
  --danger: #ff4b4b;
  --shadow: rgba(0, 0, 0, 0.55);
  --font-display: "Bebas Neue", "Oswald", "DIN Condensed", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-body: "Figtree", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
}

body {
  font-family: var(--font-body);
  background: radial-gradient(circle at 20% 10%, #1c242c 0%, rgba(11, 14, 17, 0.9) 45%),
    linear-gradient(120deg, #0b0e11 0%, #11161c 50%, #07090c 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

.site-header,
.hero,
.section,
.site-footer {
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.noise,
.scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
}

.noise {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.scanlines {
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.04) 1px,
    transparent 1px,
    transparent 3px
  );
  opacity: 0.2;
}

.site-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: rgba(9, 12, 15, 0.9);
  border-bottom: 1px solid var(--line);
  z-index: 10;
  backdrop-filter: blur(10px);
}

.site-header.is-loaded {
  animation: headerDrop 0.8s ease both;
}

.site-header.compact {
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-size: 18px;
}

.logo-text {
  font-size: 20px;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.site-nav a:hover {
  color: var(--accent);
}

.cta {
  text-decoration: none;
  padding: 10px 18px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

main {
  position: relative;
  z-index: 2;
}

.hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  padding: 80px 60px 40px;
}

.hero.is-loaded .hero-tag,
.hero.is-loaded .hero-title,
.hero.is-loaded .hero-title-alt {
  animation: titleReveal 0.9s ease both;
}

.hero.is-loaded .hero-meta,
.hero.is-loaded .hero-desc,
.hero.is-loaded .hero-actions,
.hero.is-loaded .hero-data {
  animation: fadeUp 0.9s ease both;
  animation-delay: 0.2s;
}

.hero-tag {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 9vw, 140px);
  line-height: 0.85;
  text-transform: uppercase;
  color: var(--text);
}

.hero-title-alt {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 96px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(241, 232, 27, 0.7);
  text-stroke: 1px rgba(241, 232, 27, 0.7);
  text-transform: uppercase;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}

.meta-pill {
  padding: 8px 12px;
  border: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.02);
}

.hero-desc {
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 24px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.btn-primary,
.btn-ghost {
  text-decoration: none;
  padding: 12px 22px;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--accent);
  color: #111;
  box-shadow: 0 8px 24px rgba(241, 232, 27, 0.3);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
}

.hero-data {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.data-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--muted);
}

.data-value {
  font-size: 16px;
  font-weight: 600;
}

.hero-right {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-end;
}

.hero-figure {
  position: absolute;
  top: 20px;
  right: 90px;
  width: min(460px, 80%);
  border: 1px solid var(--line);
  box-shadow: 0 28px 50px var(--shadow);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), transparent);
  padding: 10px;
  z-index: 2;
  --shift: 0px;
  transform: translateY(calc(var(--shift) + 10px));
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.hero-figure img {
  width: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.05);
}

.hero-art {
  width: 100%;
  max-width: 420px;
  height: 260px;
  background: url("../assets/hero-art.svg") center/cover no-repeat;
  border: 1px solid var(--line);
  box-shadow: 0 18px 30px var(--shadow);
  margin-top: 160px;
  position: relative;
  z-index: 1;
  --shift: 0px;
  transform: translateY(var(--shift));
  transition: transform 0.6s ease;
}

.hero-panel {
  align-self: stretch;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.06), transparent);
  border: 1px solid var(--line);
  padding: 24px;
  text-align: right;
  position: relative;
  z-index: 3;
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.panel-title {
  font-size: 64px;
  font-family: var(--font-display);
  color: var(--accent);
}

.panel-text {
  font-size: 22px;
  letter-spacing: 0.1em;
}

.hero-card {
  width: 100%;
  max-width: 420px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px var(--shadow);
  position: relative;
  z-index: 4;
  --shift: 0px;
  transform: translateY(var(--shift));
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.card-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}

.card-content {
  padding: 18px;
  display: grid;
  gap: 10px;
}

.card-stat {
  font-size: 14px;
  letter-spacing: 0.08em;
}

.accent {
  color: var(--accent);
  font-weight: 700;
}

.hero-ribbon {
  position: absolute;
  top: 310px;
  right: 130px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  color: #111;
  font-family: var(--font-display);
  letter-spacing: 0.3em;
  padding: 14px 26px;
  text-transform: uppercase;
  --shift: 0px;
  transform: rotate(-2deg) translateY(var(--shift));
  width: auto;
  text-align: center;
  white-space: nowrap;
  font-weight: 700;
  font-size: 18px;
  z-index: 1;
  animation: ribbonPulse 6s ease-in-out infinite;
}

.section {
  padding: 60px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 30px;
}

.section-head h2,
.section-head h1 {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(28px, 4vw, 48px);
}

.section-head p {
  color: var(--muted);
  max-width: 520px;
  line-height: 1.6;
}

.feature-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-grid article,
.faq-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 20px;
  min-height: 140px;
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.feature-grid article:hover,
.faq-grid article:hover {
  transform: translateY(-6px);
  border-color: rgba(241, 232, 27, 0.4);
}

.feature-grid h3,
.faq-grid h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.feature-grid p,
.faq-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.security-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.security-diagram {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: var(--panel-2);
  border: 1px solid var(--line);
}

.diagram-node {
  padding: 14px;
  border: 1px dashed var(--line);
  text-align: center;
}

.diagram-node.highlight {
  border-color: var(--accent);
  color: var(--accent);
}

.diagram-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.security-copy ul {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.security-copy li {
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
  border-left: 2px solid var(--accent);
}

.download-card,
.download-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  gap: 18px;
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.download-list {
  display: grid;
  gap: 18px;
}

.download-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.download-hash {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.download-title {
  font-size: 24px;
  font-family: var(--font-display);
}

.download-sub {
  color: var(--muted);
}

.download-note {
  margin-top: 12px;
  color: var(--muted);
}

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

.roadmap-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.roadmap-date {
  font-family: var(--font-display);
  letter-spacing: 0.2em;
  color: var(--accent);
}

.roadmap-text {
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 40px 60px 60px;
  border-top: 1px solid var(--line);
  background: rgba(10, 12, 15, 0.9);
}

.site-footer.compact {
  grid-template-columns: 1fr;
  text-align: center;
  padding: 30px 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-meta {
  color: var(--muted);
  font-size: 12px;
}

.subpage .content {
  padding: 60px;
}

.content-block {
  margin-top: 24px;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.download-card:hover,
.roadmap-item:hover,
.content-block:hover {
  transform: translateY(-4px);
  border-color: rgba(241, 232, 27, 0.4);
}

[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes headerDrop {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@keyframes ribbonPulse {
  0% {
    transform: rotate(-2deg) translateY(0);
  }
  50% {
    transform: rotate(-2deg) translateY(-4px);
  }
  100% {
    transform: rotate(-2deg) translateY(0);
  }
}

@media (max-width: 960px) {
  .site-header {
    flex-direction: column;
    gap: 14px;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

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

  .hero-right {
    align-items: stretch;
  }

  .hero-figure {
    position: relative;
    top: 0;
    right: 0;
    margin-bottom: 12px;
  }

  .hero-ribbon {
    position: relative;
    top: 0;
    right: 0;
    width: 100%;
  }

  .feature-grid,
  .faq-grid,
  .security-layout {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 720px) {
  .hero,
  .section,
  .subpage .content {
    padding: 40px 24px;
  }

  .download-card,
  .download-item {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .site-header {
    padding: 16px 20px;
    gap: 12px;
  }

  .logo {
    gap: 10px;
  }

  .logo-mark {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .logo-text {
    font-size: 16px;
  }

  .site-nav {
    width: 100%;
    justify-content: center;
    row-gap: 10px;
    column-gap: 12px;
    font-size: 12px;
  }

  .site-nav a {
    letter-spacing: 0.08em;
  }

  .cta {
    width: 100%;
    text-align: center;
  }

  .hero-tag {
    font-size: 11px;
    letter-spacing: 0.2em;
  }

  .hero-title {
    font-size: clamp(40px, 14vw, 72px);
  }

  .hero-title-alt {
    font-size: clamp(32px, 10vw, 56px);
  }

  .hero-meta {
    gap: 8px;
  }

  .meta-pill {
    font-size: 11px;
    padding: 6px 10px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    text-align: center;
  }

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

  .hero-right {
    gap: 16px;
  }

  .hero-figure {
    width: 100%;
  }

  .hero-art {
    margin-top: 0;
    height: 200px;
  }

  .panel-title {
    font-size: 44px;
  }

  .panel-text {
    font-size: 16px;
  }

  .hero-ribbon {
    font-size: 12px;
    padding: 10px 12px;
    letter-spacing: 0.2em;
  }

  .section-head p {
    max-width: none;
  }

  .download-actions {
    width: 100%;
  }

  .download-actions a {
    flex: 1 1 120px;
    text-align: center;
  }

  .roadmap-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .security-copy ul {
    gap: 8px;
  }
}

@media (max-width: 420px) {
  .hero,
  .section,
  .subpage .content {
    padding: 32px 18px;
  }

  .feature-grid article,
  .faq-grid article {
    padding: 16px;
  }

  .download-card,
  .download-item {
    padding: 18px;
  }

  .site-footer {
    padding: 30px 20px 40px;
  }
}
