/* ============================================================
   SafeXTM Design System — dark, green aurora theme
   Black background + green gradient accents (safex-tm.com style)
   Shared by all pages: main / page / info / 404 / en_*
   ============================================================ */

:root {
  --sx-bg: #060906;
  --sx-surface: #0D130C;
  --sx-surface-2: #111A10;
  --sx-text: #F2F7F1;
  --sx-text-2: #A9B5A6;
  --sx-text-3: #78847A;
  --sx-border: rgba(255, 255, 255, .09);
  --sx-green: #7DFF00;
  --sx-green-bright: #A3FF4D;
  --sx-green-deep: #4B9900;
  --sx-gradient: linear-gradient(120deg, #6DCC00 0%, #7DFF00 55%, #D0FF8F 100%);
  --sx-gradient-soft: linear-gradient(120deg, rgba(125,255,0,.16), rgba(134,239,172,.10));
  --sx-glow: rgba(125, 255, 0, .35);
  --sx-radius: 20px;
  --sx-radius-lg: 28px;
  --sx-shadow-sm: 0 2px 10px rgba(0, 0, 0, .35);
  --sx-shadow-md: 0 12px 32px rgba(0, 0, 0, .45);
  --sx-shadow-lg: 0 24px 64px rgba(0, 0, 0, .55);
  --sx-font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", -apple-system,
    BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body.sx {
  margin: 0;
  font-family: var(--sx-font);
  background:
    radial-gradient(1100px 480px at 50% -120px, rgba(125, 255, 0, .14), transparent 70%),
    var(--sx-bg);
  color: var(--sx-text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.sx img { max-width: 100%; }
.sx a { color: var(--sx-green-bright); text-decoration: none; transition: color .2s ease; }
.sx a:hover { color: #D0FF8F; }

.sx h1, .sx h2, .sx h3, .sx h4 {
  margin: 0 0 .5em;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--sx-text);
}

.sx-container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.sx-gradient-text {
  background: var(--sx-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------------- Header ---------------- */
.sx-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(8, 12, 8, .72);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.sx-header.is-scrolled {
  border-bottom-color: rgba(125, 255, 0, .18);
  box-shadow: 0 6px 28px rgba(0, 0, 0, .45);
  background: rgba(8, 12, 8, .86);
}
.sx-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.sx-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 800;
  color: var(--sx-text) !important;
  letter-spacing: -.02em;
}
.sx-logo svg { display: block; }
.sx-logo img { display: block; height: 30px; width: auto; max-width: none; }
.sx-nav { display: flex; align-items: center; gap: 34px; }
.sx-nav a {
  color: var(--sx-text-2);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}
.sx-nav a:hover { color: var(--sx-text); }
.sx-nav a.sx-nav__active { color: var(--sx-text); font-weight: 600; }
.sx-nav a.sx-nav__active::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -4px;
  width: 16px; height: 3px;
  border-radius: 2px;
  background: var(--sx-gradient);
  transform: translateX(-50%);
}
.sx-header__actions { display: flex; align-items: center; gap: 14px; }

.sx-lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--sx-border);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--sx-text-2) !important;
  background: rgba(255, 255, 255, .04);
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.sx-lang:hover { color: var(--sx-text) !important; border-color: rgba(125,255,0,.45); background: rgba(125,255,0,.10); }
.sx-lang svg { opacity: .7; }

.sx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border: 0;
  border-radius: 999px;
  font-family: var(--sx-font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.sx-btn--primary {
  background: var(--sx-gradient);
  color: #06130A !important;
  box-shadow: 0 8px 24px var(--sx-glow);
}
.sx-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(125,255,0,.5); }
.sx-btn--ghost {
  background: rgba(255, 255, 255, .04);
  color: var(--sx-text) !important;
  border: 1px solid var(--sx-border);
}
.sx-btn--ghost:hover { border-color: rgba(125,255,0,.5); box-shadow: 0 0 0 1px rgba(125,255,0,.15); transform: translateY(-2px); }
.sx-btn--lg { padding: 15px 34px; font-size: 16px; }
.sx-btn--sm { padding: 9px 20px; font-size: 14px; }

.sx-burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--sx-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.sx-burger svg { display: block; }

.sx-mobile-menu {
  display: none;
  padding: 12px 24px 22px;
  background: rgba(8, 12, 8, .97);
  border-bottom: 1px solid var(--sx-border);
}
.sx-mobile-menu.is-open { display: block; }
.sx-mobile-menu a {
  display: block;
  padding: 13px 4px;
  color: var(--sx-text-2);
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.sx-mobile-menu a:last-of-type { border-bottom: 0; }
.sx-mobile-menu .sx-btn { width: 100%; margin-top: 12px; }

/* ---------------- Hero ---------------- */
.sx-hero {
  position: relative;
  padding: 170px 0 90px;
  overflow: hidden;
  text-align: center;
}
.sx-hero::before, .sx-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  pointer-events: none;
}
.sx-hero::before {
  width: 640px; height: 640px;
  top: -220px; left: -140px;
  background: radial-gradient(circle, rgba(125, 255, 0, .30), transparent 65%);
}
.sx-hero::after {
  width: 700px; height: 700px;
  top: -140px; right: -180px;
  background: radial-gradient(circle, rgba(163, 255, 77, .20), transparent 65%);
}
.sx-hero > .sx-container { position: relative; z-index: 1; }

.sx-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(125, 255, 0, .08);
  border: 1px solid rgba(125, 255, 0, .30);
  box-shadow: 0 0 18px rgba(125, 255, 0, .12);
  font-size: 14px;
  font-weight: 600;
  color: var(--sx-green-bright);
  margin-bottom: 26px;
}
.sx-badge .sx-badge__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sx-gradient);
  box-shadow: 0 0 8px rgba(125,255,0,.8);
}

.sx-hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 8px;
}
.sx-hero .sx-hero__slogan {
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  font-weight: 600;
  color: var(--sx-text-2);
  margin: 0 0 22px;
}
.sx-hero .sx-hero__desc {
  max-width: 720px;
  margin: 0 auto 36px;
  color: var(--sx-text-2);
  font-size: 17px;
}

.sx-platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 64px;
}
.sx-platform {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--sx-border);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--sx-text) !important;
  box-shadow: var(--sx-shadow-sm);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.sx-platform:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(125, 255, 0, .18);
  border-color: rgba(125, 255, 0, .55);
}
.sx-platform svg { display: block; }

.sx-hero__shot {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
}
.sx-hero__shot img {
  width: 100%;
  border-radius: var(--sx-radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 60px rgba(125, 255, 0, .12);
  display: block;
}

/* ---------------- Sections ---------------- */
.sx-section { padding: 96px 0; }
.sx-section--white { background: var(--sx-surface); }
.sx-section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.sx-section__eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 14px;
  background: var(--sx-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sx-section__head h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; }
.sx-section__head p { color: var(--sx-text-2); font-size: 17px; margin: 12px 0 0; }

/* ---------------- Feature cards ---------------- */
.sx-grid { display: grid; gap: 24px; }
.sx-grid--3 { grid-template-columns: repeat(3, 1fr); }
.sx-grid--2 { grid-template-columns: repeat(2, 1fr); }

.sx-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .02));
  border: 1px solid var(--sx-border);
  border-radius: var(--sx-radius);
  padding: 36px 30px;
  box-shadow: var(--sx-shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.sx-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5), 0 0 24px rgba(125, 255, 0, .10);
  border-color: rgba(125, 255, 0, .45);
}
.sx-card__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sx-gradient-soft);
  border: 1px solid rgba(125, 255, 0, .25);
  margin-bottom: 22px;
}
.sx-card h3 { font-size: 20px; margin-bottom: 10px; }
.sx-card p { margin: 0; color: var(--sx-text-2); font-size: 15.5px; }

/* ---------------- Stats band ---------------- */
.sx-stats {
  position: relative;
  border-radius: var(--sx-radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #07130A 0%, #0C2413 55%, #0A1C0F 100%);
  border: 1px solid rgba(125, 255, 0, .25);
  color: #fff;
  padding: 64px 48px;
}
.sx-stats::before {
  content: "";
  position: absolute;
  width: 460px; height: 460px;
  top: -180px; right: -110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 255, 0, .35), transparent 65%);
  filter: blur(50px);
}
.sx-stats__head { position: relative; text-align: center; margin-bottom: 48px; }
.sx-stats__head h2 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.sx-stats__head p { color: rgba(255,255,255,.62); margin: 10px 0 0; }
.sx-stats__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.sx-stat__num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -.02em;
  background: linear-gradient(120deg, #A3FF4D, #D6FFA0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sx-stat__label { font-size: 15px; font-weight: 600; margin-top: 6px; }
.sx-stat__sub { font-size: 13px; color: rgba(255,255,255,.45); margin-top: 4px; }

/* ---------------- Download section ---------------- */
.sx-download__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sx-dl-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .02));
  border: 1px solid var(--sx-border);
  border-radius: var(--sx-radius);
  padding: 24px 26px;
  cursor: pointer;
  box-shadow: var(--sx-shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  color: var(--sx-text) !important;
}
.sx-dl-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .5), 0 0 20px rgba(125, 255, 0, .12);
  border-color: rgba(125, 255, 0, .5);
}
.sx-dl-card__icon {
  flex: 0 0 auto;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--sx-gradient-soft);
  border: 1px solid rgba(125, 255, 0, .25);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sx-dl-card__name { font-size: 17px; font-weight: 700; }
.sx-dl-card__desc { font-size: 13.5px; color: var(--sx-text-3); margin-top: 2px; }
.sx-dl-card__arrow { margin-left: auto; color: var(--sx-text-3); }

/* ---------------- Blog cards ---------------- */
.sx-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sx-blog-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .02));
  border: 1px solid var(--sx-border);
  border-radius: var(--sx-radius);
  overflow: hidden;
  box-shadow: var(--sx-shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.sx-blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5), 0 0 24px rgba(125, 255, 0, .10);
  border-color: rgba(125, 255, 0, .40);
}
.sx-blog-card__cover {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--sx-gradient-soft);
}
.sx-blog-card__cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.sx-blog-card:hover .sx-blog-card__cover img { transform: scale(1.05); }
.sx-blog-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.sx-blog-card__date { font-size: 13px; color: var(--sx-text-3); margin-bottom: 8px; }
.sx-blog-card__title {
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sx-blog-card__title a { color: var(--sx-text) !important; }
.sx-blog-card__title a:hover { color: var(--sx-green-bright) !important; }
.sx-blog-card__excerpt {
  font-size: 14.5px;
  color: var(--sx-text-2);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sx-more { text-align: center; margin-top: 44px; }

/* ---------------- Pagination ---------------- */
.sx-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}
.sx-pagination a, .sx-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--sx-border);
  color: var(--sx-text-2);
  font-size: 14.5px;
  font-weight: 600;
  transition: all .2s ease;
}
.sx-pagination a:hover { border-color: rgba(125,255,0,.55); color: var(--sx-text); transform: translateY(-2px); }
.sx-pagination .is-current {
  background: var(--sx-gradient);
  border-color: transparent;
  color: #06130A;
}

/* ---------------- Article (info page) ---------------- */
.sx-article-hero {
  padding: 150px 0 50px;
  text-align: center;
}
.sx-article-hero .sx-article__date { color: var(--sx-text-3); font-size: 14px; margin-bottom: 14px; }
.sx-article-hero h1 {
  font-size: clamp(1.7rem, 3.8vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -.02em;
  max-width: 860px;
  margin: 0 auto;
}
.sx-article {
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .02));
  border: 1px solid var(--sx-border);
  border-radius: var(--sx-radius-lg);
  box-shadow: var(--sx-shadow-sm);
  padding: clamp(28px, 5vw, 64px);
  margin-bottom: 60px;
}
.sx-article img { border-radius: 14px; height: auto; }
.sx-article h2 { font-size: 1.6rem; margin-top: 1.6em; }
.sx-article h3 { font-size: 1.3rem; margin-top: 1.5em; }
.sx-article p { color: var(--sx-text-2); margin: 1em 0; }
.sx-article ul, .sx-article ol { color: var(--sx-text-2); padding-left: 1.4em; }
.sx-article li { margin: .4em 0; }
.sx-article blockquote {
  margin: 1.4em 0;
  padding: 4px 22px;
  border-left: 4px solid;
  border-image: linear-gradient(180deg, #A3FF4D, #4B9900) 1;
  background: rgba(125, 255, 0, .06);
  border-radius: 0 12px 12px 0;
  color: var(--sx-text-2);
}
.sx-article a { word-break: break-all; }

/* ---------- Article FAQ block (rich-text .faq / .faq-item) ---------- */
.article_wrap .faq {
  display: grid;
  gap: 16px;
  margin: 26px 0 8px;
}
.article_wrap .faq-item {
  position: relative;
  padding: 20px 24px 20px 26px;
  border: 1px solid var(--sx-border);
  border-left: 3px solid var(--sx-green-deep);
  border-radius: 4px 16px 16px 4px;
  background: linear-gradient(120deg, rgba(125, 255, 0, .055), rgba(255, 255, 255, .015) 55%);
  box-shadow: var(--sx-shadow-sm);
  transition: border-color .22s ease, background .22s ease, transform .22s ease, box-shadow .22s ease;
}
.article_wrap .faq-item::before {
  content: "";
  position: absolute;
  left: -1px; top: 0; bottom: 0;
  width: 3px;
  border-radius: 3px 0 0 3px;
  background: var(--sx-gradient);
  opacity: .9;
}
.article_wrap .faq-item:hover {
  border-color: rgba(125, 255, 0, .45);
  border-left-color: var(--sx-green);
  background: linear-gradient(120deg, rgba(125, 255, 0, .11), rgba(255, 255, 255, .02) 60%);
  transform: translateX(3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .38);
}
.article_wrap .faq-item h4 {
  margin: 0 0 10px;
  color: var(--sx-text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: -.01em;
}
.article_wrap .faq-item p {
  position: relative;
  margin: 0;
  padding-left: 30px;
  color: var(--sx-text-2);
  font-size: 14.8px;
  line-height: 1.85;
}
.article_wrap .faq-item p::before {
  content: "A";
  position: absolute;
  left: 0; top: 3px;
  width: 22px; height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(125, 255, 0, .14);
  color: var(--sx-green-bright);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}
@media (max-width: 560px) {
  .article_wrap .faq { gap: 12px; }
  .article_wrap .faq-item { padding: 16px 18px 16px 20px; }
  .article_wrap .faq-item h4 { font-size: 15px; }
  .article_wrap .faq-item p { padding-left: 0; font-size: 14px; }
  .article_wrap .faq-item p::before { display: none; }
}

.sx-related { margin-top: 24px; }
.sx-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
}
@media (max-width: 960px) {
  .sx-article-layout { grid-template-columns: 1fr; }
}
/* The sidebar is a 320px grid column: every descendant needs min-width:0,
   otherwise the nowrap title makes the grid/flex items overflow the card. */
.sx-article-layout > article,
.sx-article-layout > aside,
.sx-article-layout aside .sx-card,
.sx-related__list,
.sx-related__item { min-width: 0; }
.sx-related__card { padding: 26px 24px; }
.sx-related__list { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.sx-related__item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .02));
  border: 1px solid var(--sx-border);
  border-radius: 14px;
  transition: border-color .2s ease, transform .2s ease;
}
.sx-related__item:hover { border-color: rgba(125,255,0,.5); transform: translateX(4px); }
.sx-related__date { flex: 0 0 auto; font-size: 12.5px; color: var(--sx-text-3); letter-spacing: -.02em; }
.sx-related__title {
  flex: 1 1 auto;
  min-width: 0; /* allow ellipsis inside flex; keeps long titles from overflowing the card */
  color: var(--sx-text) !important;
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------------- Footer ---------------- */
.sx-footer {
  background: #050805;
  border-top: 1px solid rgba(125, 255, 0, .16);
  padding: 72px 0 0;
  margin-top: 40px;
}
.sx-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.sx-footer__brand p { color: var(--sx-text-2); font-size: 14.5px; margin: 16px 0 0; max-width: 300px; }
.sx-footer h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--sx-text);
}
.sx-footer ul { list-style: none; margin: 0; padding: 0; }
.sx-footer li { margin-bottom: 12px; }
.sx-footer li a { color: var(--sx-text-2); font-size: 14.5px; }
.sx-footer li a:hover { color: var(--sx-green-bright); }
.sx-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 22px 0;
  text-align: center;
  color: var(--sx-text-3);
  font-size: 13.5px;
}
.sx-footer__bottom p { margin: 0; }

/* ---------------- 404 ---------------- */
.sx-404 {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
}
.sx-404__code {
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  background: var(--sx-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sx-404 h1 { font-size: 1.6rem; margin: 18px 0 10px; }
.sx-404 p { color: var(--sx-text-2); margin: 0 0 32px; }

/* ---------------- Loading overlay ---------------- */
.sx-loading {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(5, 8, 5, .82);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.sx-loading__spinner {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 4px solid rgba(125, 255, 0, .20);
  border-top-color: #7DFF00;
  animation: sx-spin 1s linear infinite;
}
@keyframes sx-spin { to { transform: rotate(360deg); } }

/* ---------------- Back to top ---------------- */
.sx-totop {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--sx-border);
  box-shadow: var(--sx-shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .3s ease;
  z-index: 90;
}
.sx-totop.is-show { opacity: 1; visibility: visible; transform: translateY(0); }
.sx-totop:hover { transform: translateY(-3px); border-color: rgba(125,255,0,.5); }

/* ---------------- Reveal animation ---------------- */
.sx-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.sx-reveal.is-in { opacity: 1; transform: none; }

/* ---------------- Responsive ---------------- */
@media (max-width: 960px) {
  .sx-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .sx-download__grid { grid-template-columns: repeat(2, 1fr); }
  .sx-blog__grid { grid-template-columns: repeat(2, 1fr); }
  .sx-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .sx-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .sx-nav { display: none; }
  .sx-header__actions .sx-btn, .sx-header__actions .sx-lang { display: none; }
  .sx-burger { display: inline-flex; }
  .sx-hero { padding: 130px 0 64px; }
  .sx-section { padding: 64px 0; }
  .sx-stats { padding: 48px 26px; }
}

@media (max-width: 560px) {
  .sx-grid--3, .sx-grid--2 { grid-template-columns: 1fr; }
  .sx-download__grid { grid-template-columns: 1fr; }
  .sx-blog__grid { grid-template-columns: 1fr; }
  .sx-stats__grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .sx-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .sx-card { padding: 28px 24px; }
}
