/* 颜色变量定义 */
:root {
    --syAccentColor-light: #9260ec; /* 强调色-Light */
    --syAccentColor-dark: #b492f0; /* 强调色-Dark */
	--sySubtleColor-light: #584574;
    --sySecondaryBackgroundColor-light: #fcfcfc; /* 次要背景色-Light */
    --sySecondaryBackgroundColor-dark: #424242;  /* 次要背景色-Dark */
    --sySecondaryAccentColor-light: #f8f2ff; /* 次要强调色-Light */
    --sySecondaryAccentColor-dark: #362d44; /* 次要强调色-Dark */
    --TextColor-light: #444; /* 文字颜色 - 特殊 */
    --syTextColor-dark: #eee; /* 文字颜色 - 特殊 */
    --sySecondaryTextColor-light: #87848e; /* SecondaryColor */
    --sySecondaryTextColor-dark: #f0edf9; /* SecondaryColor 250917 by sure */
    --shadow: 0 0.125rem 1rem rgba(0, 0, 0, 0.08);
	--background80: rgba(0,0,0,0.8);

    /* 字体 */
    --font-family: "Helvetica Neue", "Microsoft YaHei", Arial, sans-serif;
	--font-weight: 700;
    --line-height: 1.8;
}
html{
	font-size: 16px;
}

/* for ie */
.bg-black{
	background-color: rgba(0,0,0,0.8);
}
.bg-accent{
	background-color: #9260ec; /* 强调色-Light */
}
.bg-2accent{
	background-color: #f8f2ff; /* 次要强调色-Light */
}
.txt-accent{
	color: #9260ec; /* 强调色-Light */
}


/*Basics*/

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box; 
}

html, html a {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004); }

html, body {
	min-width: 320px;
	min-height: 100%; 
}

body {
	color: var(--TextColor-light);
	font-family: var(--font-family);
}

h1, h2, h3, h4, h5, h6 {
	font-weight: var(--font-weight);
	color: var(--TextColor-light);
	margin: 0;
	padding: 0; 
	cursor: default;
}

h2 { font-size: 4rem;}
h3 { font-size: 2.75rem;}
h4 { font-size: 1.5rem;}
h5 { font-size: 2.25rem;}
h6 { font-size: 1.75rem;}
p { font-size: 1.25rem; line-height: 2; cursor: default; }
span { cursor: default; }

@media only screen and (max-width: 1024px) {
	h2 { font-size: 3.75rem;}
	h3 { font-size: 2.25rem;}
	h4 { font-size: 1.5rem;}
	h5 { font-size: 2rem;}
	h6 { font-size: 1.5rem;}
	p { font-size: 1rem; line-height: 1.75;}
}

@media only screen and (max-width: 768px) {
	h2 { font-size: 3.75rem;}
	h3 { font-size: 2.25rem;}
	h4 { font-size: 1.5rem;}
	h5 { font-size: 2rem;}
	h6 { font-size: 1.5rem;}
	p { font-size: 1.25rem; line-height: 1.5;}
}

@media only screen and (max-width: 480px) {
	h2 { font-size: 3.75rem;}
	h3 { font-size: 1.75rem;}
	h4 { font-size: 1.5rem;}
	h5 { font-size: 1.5rem;}
	h6 { font-size: 1.25rem;}
	p { font-size: 1rem; line-height: 1.5;}
}

p {
	margin: 20px 0;
}

p.subtitle {
	letter-spacing: 0.03em;
	color: var(--sySecondaryTextColor-light);
	font-size: 1rem;
	text-align: center;
}

img, embed, object, video {
	max-width: 100%; }


ul, li {
	list-style: none;
	margin: 0;
	padding: 0; 
}

a {
	text-decoration: none; 
	color: var(--syAccentColor-light);
}

a:hover {
	text-decoration: none; 
	color: var(--sySecondaryAccentColor-light);
}

::selection {
	background: var(--TextColor-light);
	color: #fff;
}

.clear {
	clear: both;
}

.mt20{
	margin-top: 20px;
}
.mt40{
	margin-top: 40px;
}
	
.wrapper {
	max-width: 1200px;
	margin: 0 auto;
	position: relative; 
}

.buttons {
	width: auto;
	margin: 0 auto;
	text-align: center;
}

a.button-1, a.button-2, button {
    position: relative; 
	color: #fff;
	background: var(--syAccentColor-light);
	border: 2px solid var(--syAccentColor-light);
	border-radius: 999px;
	margin-top: -2px;
	margin-left: 10px;
	font-weight: var(--font-weight);
	letter-spacing: 0.03em;
	display: inline-block;
	width: 240px;
	margin: 10px;
	text-align: center;
	padding: 20px 6px;
	font-size: 1.6rem;
}

a.button-1:hover {
	border-color: var(--sySubtleColor-light);
	background: var(--sySubtleColor-light);
}

a.button-2 {
	border-color: var(--TextColor-light);
	background: rgba(255, 255, 255, 0.2);
	color: var(--TextColor-light);
}

a.button-2:hover {
	background: var(--TextColor-light);
	color: #fff;
}

@media only screen and (max-width: 760px) {
	a.button-1, a.button-2 {
		width: 228px;
		padding: 18px 4px;
		font-size: 1.4rem;
		margin: 5px;
	}
}

@media only screen and (max-width: 480px) {
	a.button-1, a.button-2 {
		padding: 16px 2px;
		font-size: 1.2rem;
	}
}

@media only screen and (max-width: 400px) {
	a.button-1, a.button-2 {
		width: 198px;
		padding: 14px 0;
		font-size: 1rem;
	}
}
	
@media (hover: hover) and (pointer: fine) {
	.button-1:hover .desktop-qr {
		display: block;
	}
}

@media (hover: none) and (pointer: coarse) {
	.button-1, .button-2 {
		padding: 16px 32px;
	}
}


.desktop-qr {
	cursor: default;
    display: none;
    position: absolute;
    width: 224px;
    bottom: 100%;
    margin-bottom: 15px;
    padding: 12px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 10;	
    animation: fadeIn 0.3s ease;
	left: 50%; 
	transform: translateX(-50%); 
}


.desktop-qr::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	border: 8px solid transparent;
	border-top-color: white;
}

#appstore-qrcode, #share-qrcode{
	width: 100%;
	overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes fadeIn {
    from { 
        opacity: 0;
        transform: translateX(-50%) translateY(10px);  /* Y轴动画 */
    }
    to { 
        opacity: 1;
        transform: translateX(-50%) translateY(0);  /* Y轴动画 */
    }
}

/* 添加这个规则 */
.footer-right .desktop-qr {
    left: 50%;
    transform: translateX(-50%);
}

/*Header*/

header#top {
	background: var(--background80);
	height: 100px;
}

h1.logo a {
	display: inline-block;
	float: left;
	color: var(--TextColor-light);
	text-indent: -4999px;
	background: url(../images/Logo_Full_ColorWhite_h_m@3x.png) no-repeat;
	background-size: contain;
	margin: 10px 0 0 40px;
	width: 160px;
	height: 80px;
}

header#top nav {
	display: inline-block;
	float: right;
	width: auto;
	margin-top: 24px;
	margin-right: 25px;
}

header#top nav ul li {
	display: inline-block;
	float: left;
}

header#top nav ul li a {
	display: inline-block;
	background: none;
	padding: 10px 15px;
	color: var(--sySecondaryBackgroundColor-light);
	font-weight: var(--font-weight);
	letter-spacing: 0.03em;
	font-size: 1.5rem;
}

header#top nav ul li a:hover {
	color: var(--syAccentColor-light);
}

header#top nav ul li a.nav-cta {
	color: var(--syAccentColor-light);
	border: 2px solid var(--syAccentColor-light);
	border-radius: 999px;
	margin-top: -2px;
	margin-left: 10px;
}


@media only screen and (max-width: 760px) {
	h1.logo a {
		width: 20%;
		height: 0;
		padding-top: 10%;
		display: block;
		float: none;
		margin: 0 auto;
		text-align: center;
	}
	header#top {
		height: auto;
		padding-top: 10px;
		padding-bottom: 10px;
	}
	header#top nav {
		float: none;
		text-align: center;
		width: 100%;
		margin: 10px auto 0 auto;
	}
	header#top nav ul li {
		float: none;
	}
}

@media only screen and (max-width: 480px) {
	h1.logo a {
		width: 32%;
		height: 0;
		padding-top: 16%;
	}
	header#top nav ul li a {
		font-size: 1.25rem;
	}
}

/* Footer 样式 - 精简版 */
footer {
  background: var(--background80);
  color: #fff;
  text-align: center;
  padding: 60px 0;
}

footer a.logo {
  float: left;
  color: #fff;
  text-indent: -4999px;
  background: url(../images/logo-footer@2x.png) no-repeat;
  background-size: contain;
  margin: 0 0 0 40px;
  width: 45px;
  height: 45px;
}

footer .footer-left {
  float: left;
  text-align: left;
  margin-left: 20px;
}

footer .footer-right {
  position: relative;
  float: right;
  text-align: right;
  margin-right: 80px;
}

footer p {
  margin: 0;
  text-indent: 0;
}

footer p.copyright {
  font-weight: var(--font-weight);
}

footer .footer-links {
  color: var(--sySecondaryTextColor-light);
}

footer .footer-links a {
  color: var(--sySecondaryTextColor-light);
  float: left;
}

footer .footer-links img {
  float: left;
  margin-left: 10px;
  margin-right: 5px;
}

footer .footer-links .beian-group {
  float: left;
  white-space: nowrap;
}

footer .footer-right a.social {
  position: relative; /* 修复二维码定位的关键 */
  display: inline-block;
  width: 44px;
  height: 44px;
  background: no-repeat center #444;
  text-indent: -4999px;
  border-radius: 999px;
  margin: 0 10px;
}

footer .footer-right a.social:hover {
  background-color: var(--syAccentColor-light);
}

footer a.social.share {
  background-image: url(../images/social-share.png);
}

footer a.social.wechat {
  background-image: url(../images/social-wechat.png);
}

footer .footer-right a.social .desktop-qr {
  position: absolute;
  left: 50%;
  bottom: 100%; /* 显示在按钮上方 */
  transform: translateX(-50%);
  background: #fff;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: none;
  z-index: 100;
}

footer .footer-right a.social:hover .desktop-qr {
  display: block;
}

footer .footer-right a.social .desktop-qr::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}

#share-qrcode {
  position: relative;
}

.footer-right span {
	color: var(--TextColor-light);
	text-align: center;
    text-indent: 0;
    display: block;
	margin: 5px auto 0;
}

/* 响应式设计 */
@media only screen and (max-width: 960px) {
  footer {
    padding: 30px 0;
  }

  footer .footer-left,
  footer .footer-right,
  footer a.logo {
    float: none;
    text-align: center;
    margin: 0 auto;
  }

  footer a.logo {
    margin: 0 auto 20px;
  }

  footer .footer-left {
    margin-bottom: 20px;
  }

  footer .footer-links-wrap {
    font-size: 0.8rem;
    margin: 0 auto;
    text-align: center;
  }

  footer .footer-links {
    display: block;
    text-align: center;
    float: none;
    max-width: 80%;
    margin: 20px auto;
  }

  footer .footer-links a,
  footer .footer-links .beian-group,
  footer .footer-links img {
    float: none;
    display: inline-block;
    vertical-align: middle;
  }

  footer .footer-links img {
    margin: 0 5px;
    width: 16px;
  }
}