:root {
  --ant-bg: #000000;
  --ant-text: #ffffff;
  --ant-text-muted: #b7bfd1;
  --ant-border: #333333;
  --ant-blue: #3b82f6;
  --ant-violet: #8b5cf6;
  --ant-panel: #050505;
  --ant-track: #121212;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--ant-bg);
  color: var(--ant-text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
    Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

body {
  line-height: 1.6;
  letter-spacing: 0.01em;
  min-height: 100vh;
}

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

.ant-shell {
  width: min(1120px, calc(100vw - 48px));
  margin: 0 auto;
}

.ant-glow {
  box-shadow: 0 0 0 0.5px rgba(139, 92, 246, 0.45),
    0 0 18px rgba(59, 130, 246, 0.3), 0 0 44px rgba(139, 92, 246, 0.26);
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.35))
    drop-shadow(0 0 22px rgba(139, 92, 246, 0.33));
}

.ant-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.75);
  border-bottom: 0.5px solid var(--ant-border);
}

.ant-nav {
  height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}

.ant-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  justify-self: start;
}

.ant-logo-mark {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 0.5px solid var(--ant-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #dbe7ff;
}

.ant-nav-links {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  justify-self: center;
}

.ant-nav-links a {
  color: #d8d8d8;
  font-size: 14px;
  border-bottom: 0.5px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.ant-nav-links a:hover {
  color: #ffffff;
  border-color: #4b5563;
}

.ant-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 16px;
  border: 0.5px solid #4b5563;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: linear-gradient(
    90deg,
    rgba(59, 130, 246, 0.08),
    rgba(139, 92, 246, 0.1)
  );
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ant-cta:hover {
  transform: translateY(-1px);
  border-color: #818cf8;
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.28), 0 0 24px rgba(139, 92, 246, 0.24);
}

.ant-main {
  padding: 40px 0 92px;
}

.ant-hero {
  text-align: center;
  padding: 72px 0 58px;
}

.ant-hero-mark {
  width: 130px;
  height: 130px;
  margin: 0 auto 26px;
  border-radius: 999px;
  border: 0.5px solid #2d2d2d;
  background: radial-gradient(circle at 50% 35%, #1f2937, #000000 72%);
  display: grid;
  place-items: center;
}

.ant-hero h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 66px);
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.ant-hero p {
  margin: 18px auto 0;
  max-width: 760px;
  color: var(--ant-text-muted);
  font-size: clamp(16px, 2.4vw, 20px);
}

.ant-download-row {
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  max-width: 860px;
}

.ant-download-item {
  min-height: 56px;
  border: 0.5px solid var(--ant-border);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.2));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #f4f7ff;
  font-size: 14px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.ant-download-item svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.ant-download-item:hover {
  transform: translateY(-2px);
  border-color: #6b7280;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.08));
}

.ant-core {
  margin-top: 68px;
}

.ant-core-title {
  margin: 0 0 18px;
  font-size: clamp(24px, 4vw, 34px);
}

.ant-core-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 0.5px solid var(--ant-border);
}

.ant-core-item {
  padding: 26px 20px;
  border-right: 0.5px solid var(--ant-border);
  min-height: 196px;
  background: linear-gradient(
    180deg,
    rgba(9, 9, 11, 0.92),
    rgba(2, 6, 23, 0.4)
  );
}

.ant-core-item:last-child {
  border-right: none;
}

.ant-core-item h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.ant-core-item p {
  margin: 0;
  color: var(--ant-text-muted);
}

.ant-glow-box {
  margin: 30px 0;
  border: 0.5px solid #4b5563;
  border-radius: 14px;
  padding: 18px 18px;
  background: linear-gradient(120deg, rgba(59, 130, 246, 0.11), rgba(139, 92, 246, 0.09));
}

.ant-glow-box h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.ant-glow-box p {
  margin: 0;
  color: #dbe6ff;
}

.ant-timeline {
  margin-top: 30px;
  position: relative;
  padding-left: 48px;
}

.ant-timeline::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 0.5px;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.66), rgba(139, 92, 246, 0.55));
}

.ant-timeline-item {
  position: relative;
  margin: 0 0 28px;
  padding: 8px 0 2px 0;
}

.ant-timeline-item::before {
  content: "";
  position: absolute;
  left: -38px;
  top: 15px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #0c0c0c;
  border: 0.5px solid #5b5b5b;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.14), 0 0 16px rgba(139, 92, 246, 0.4);
}

.ant-time {
  display: inline-block;
  margin-bottom: 5px;
  color: #98a3b7;
  font-size: 13px;
}

.ant-timeline-item h3 {
  margin: 0;
  font-size: clamp(20px, 2.6vw, 30px);
}

.ant-timeline-item p {
  margin: 10px 0 0;
  color: var(--ant-text-muted);
}

.ant-article {
  max-width: 860px;
}

.ant-article h1 {
  margin: 8px 0 14px;
  font-size: clamp(30px, 5vw, 50px);
  line-height: 1.08;
}

.ant-article-meta {
  color: #8f9bb0;
  font-size: 14px;
  margin-bottom: 22px;
}

.ant-article p,
.ant-article li {
  color: #d7dbe5;
  font-size: 17px;
}

.ant-article-lead {
  font-size: 19px;
  color: #e6ebf8;
}

.ant-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 22px;
}

.ant-tag {
  border: 0.5px solid #3f3f46;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: #aeb8cc;
  background: rgba(12, 12, 12, 0.85);
}

.ant-article h2 {
  margin: 36px 0 12px;
  font-size: 28px;
}

.ant-article ul {
  padding-left: 20px;
}

.ant-article ol {
  padding-left: 22px;
}

.ant-article a {
  text-decoration: underline;
  text-decoration-color: #4b5563;
}

.ant-article a:hover {
  text-decoration-color: #a5b4fc;
}

.ant-article-related {
  margin: 30px 0;
  border-top: 0.5px solid var(--ant-border);
  padding-top: 14px;
}

.ant-article-related h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.ant-article-related ul {
  margin: 0;
}

.ant-faq {
  margin: 28px 0;
  padding: 16px 16px;
  border: 0.5px solid var(--ant-border);
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.5), rgba(0, 0, 0, 0.7));
}

.ant-faq h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.ant-faq p {
  margin: 10px 0;
}

.ant-article-index-list {
  margin: 0;
  padding-left: 24px;
}

.ant-article-index-list li {
  margin: 8px 0;
}

.ant-footer {
  border-top: 0.5px solid var(--ant-border);
  margin-top: 76px;
  padding-top: 18px;
}

.ant-footer-brand {
  width: 100%;
  text-align: center;
  font-size: clamp(42px, 11vw, 140px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.09em;
  color: transparent;
  opacity: 0.48;
  -webkit-text-stroke: 0.9px #474747;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

.ant-footer-nav {
  margin-top: 14px;
  padding: 16px 0 8px;
  border-top: 0.5px solid var(--ant-border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.ant-footer-nav a {
  color: #c2c7d2;
  font-size: 14px;
}

.ant-footer-nav a:hover {
  color: #ffffff;
}

.ant-footer-mail {
  text-align: center;
  color: #768094;
  font-size: 13px;
  padding: 6px 0 32px;
}

@media (max-width: 980px) {
  .ant-download-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ant-core-grid {
    grid-template-columns: 1fr;
  }

  .ant-core-item {
    border-right: none;
    border-bottom: 0.5px solid var(--ant-border);
  }

  .ant-core-item:last-child {
    border-bottom: none;
  }
}

@media (max-width: 760px) {
  .ant-shell {
    width: min(1120px, calc(100vw - 28px));
  }

  .ant-nav {
    grid-template-columns: 1fr;
    gap: 10px;
    height: auto;
    padding: 14px 0 16px;
  }

  .ant-logo,
  .ant-nav-links,
  .ant-cta {
    justify-self: center;
  }

  .ant-nav-links {
    gap: 12px;
    flex-wrap: wrap;
  }

  .ant-hero {
    padding-top: 34px;
  }

  .ant-download-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ant-footer-nav {
    gap: 16px;
    flex-wrap: wrap;
  }
}

@media (max-width: 420px) {
  .ant-download-row {
    grid-template-columns: 1fr;
  }
}
