:root {
  --bg: #121416;
  --bg-2: #1a1e22;
  --ink: #f3f1ec;
  --muted: #a8a59c;
  --accent: #ff434f;
  --accent-2: #3d8b7a;
  --line: rgba(243, 241, 236, 0.12);
  --font-display: "Syne", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  min-height: 100vh;
}

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

.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 48px);
  background: linear-gradient(to bottom, rgba(18, 20, 22, 0.92), rgba(18, 20, 22, 0));
  backdrop-filter: blur(6px);
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.35);
}

.nav {
  display: flex;
  gap: 22px;
  font-size: 0.92rem;
  color: var(--muted);
}

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

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(100px, 14vh, 140px) clamp(20px, 4vw, 48px) clamp(48px, 8vh, 80px);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(61, 139, 122, 0.28), transparent 55%),
    radial-gradient(ellipse 70% 50% at 10% 80%, rgba(255, 67, 79, 0.22), transparent 50%),
    linear-gradient(160deg, #0e1012 0%, #1a2228 45%, #121416 100%);
  z-index: 0;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(243, 241, 236, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 241, 236, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
  animation: mesh-drift 28s linear infinite;
}

@keyframes mesh-drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 48px 48px, 48px 48px; }
}

.hero-inner,
.hero-visual {
  position: relative;
  z-index: 1;
}

.brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(18px);
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

.headline {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 600;
  max-width: 16em;
  margin-bottom: 14px;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
}

.lead {
  color: var(--muted);
  max-width: 28em;
  font-size: 1.02rem;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
}

@keyframes rise {
  to { opacity: 1; transform: none; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn.primary {
  background: var(--accent);
  color: #fff;
}

.btn.primary:hover { background: #e83742; }

.btn.ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
}

.btn.ghost:hover {
  border-color: rgba(243, 241, 236, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  animation: rise-scale 1s cubic-bezier(0.22, 1, 0.36, 1) 0.45s forwards;
}

@keyframes rise-scale {
  to { opacity: 1; transform: none; }
}

.viz-panel {
  width: min(340px, 100%);
  padding: 28px 24px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(10px);
  position: relative;
}

.viz-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 10px;
}

.viz-panel strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  display: block;
  margin-bottom: 22px;
}

.viz-bars {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.viz-bars i {
  display: block;
  height: 6px;
  width: var(--w);
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
  animation: bar-pulse 2.8s ease-in-out infinite;
}

.viz-bars i:nth-child(2) { animation-delay: 0.35s; }
.viz-bars i:nth-child(3) { animation-delay: 0.7s; }

@keyframes bar-pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.viz-qr {
  width: 72px;
  height: 72px;
  margin-left: auto;
  background:
    linear-gradient(#f3f1ec 0 0) 0 0 / 40% 40%,
    linear-gradient(#f3f1ec 0 0) 100% 0 / 40% 40%,
    linear-gradient(#f3f1ec 0 0) 0 100% / 40% 40%,
    linear-gradient(#f3f1ec 0 0) 100% 100% / 28% 28%,
    repeating-conic-gradient(#f3f1ec 0% 25%, transparent 0% 50%) 50% 50% / 16px 16px;
  background-repeat: no-repeat;
  opacity: 0.85;
}

.section {
  padding: clamp(64px, 10vh, 96px) clamp(20px, 4vw, 48px);
}

.section.alt {
  background: var(--bg-2);
}

.wrap { max-width: 1080px; margin: 0 auto; }

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 12px;
}

.section-lead {
  color: var(--muted);
  max-width: 40em;
  margin-bottom: 36px;
  font-size: 1.02rem;
}

.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 36px;
}

.feature-list li {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.feature-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.feature-list span { color: var(--muted); font-size: 0.95rem; }

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.steps li {
  padding: 20px 12px;
  border-left: 2px solid var(--accent);
  background: rgba(255, 255, 255, 0.03);
}

.steps em {
  display: block;
  font-style: normal;
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.steps span { font-weight: 500; }

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

.entry {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.entry:hover {
  border-color: rgba(255, 67, 79, 0.55);
  background: rgba(255, 67, 79, 0.06);
  transform: translateY(-3px);
}

.entry-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.entry strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.entry > span:nth-of-type(2) {
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

.entry-go {
  margin-top: 8px;
  color: var(--accent);
  font-weight: 600;
}

.foot {
  border-top: 1px solid var(--line);
  padding: 28px clamp(20px, 4vw, 48px) 40px;
  color: var(--muted);
  font-size: 0.9rem;
}

.foot-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.foot strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  margin-bottom: 4px;
}

.foot-links {
  display: flex;
  gap: 18px;
}

.foot-links a:hover { color: var(--ink); }

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 110px;
  }
  .hero-visual { justify-content: flex-start; }
  .feature-list,
  .entry-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
}
