*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px;scroll-padding-top:80px}
:root{
  --primary:#6b21a8;
  --primary-light:#9333ea;
  --primary-dark:#4c1d95;
  --accent:#f59e0b;
  --accent-light:#fbbf24;
  --bg:#0f0a1a;
  --bg-light:#1a1230;
  --bg-card:#1e1635;
  --text:#f1eaf9;
  --text-muted:#a89cc0;
  --text-light:#d4c8e8;
  --border:rgba(147,51,234,.2);
  --radius:12px;
  --radius-sm:8px;
  --shadow:0 10px 40px rgba(0,0,0,.4);
  --gradient:linear-gradient(135deg,#6b21a8 0%,#9333ea 50%,#f59e0b 100%);
  --gradient-dark:linear-gradient(180deg,#0f0a1a 0%,#1a1230 100%);
  --vh:1vh;
}

body{
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','PingFang SC','Hiragino Sans GB','Microsoft YaHei',sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  overflow-x:hidden;
  min-height:calc(100 * var(--vh));
}

img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
button{cursor:pointer;border:none;background:none;font-family:inherit}
ul,ol{list-style:none}

.container{
  max-width:1200px;
  margin:0 auto;
  padding:0 20px;
}

.site-header{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:1000;
  background:rgba(15,10,26,.95);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);
}

.nav-container{
  max-width:1200px;
  margin:0 auto;
  padding:12px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.nav-logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  font-size:20px;
  color:var(--text);
}

.nav-logo img{
  width:32px;
  height:32px;
  border-radius:8px;
}

.nav-menu{
  display:flex;
  gap:4px;
}

.nav-menu a{
  padding:8px 14px;
  border-radius:var(--radius-sm);
  font-size:14px;
  color:var(--text-muted);
  transition:all .2s;
  min-height:36px;
  display:inline-flex;
  align-items:center;
}

.nav-menu a:hover{
  color:var(--text);
  background:rgba(147,51,234,.15);
}

.nav-toggle{
  display:none;
  font-size:24px;
  color:var(--text);
  padding:8px;
  min-width:44px;
  min-height:44px;
  border-radius:var(--radius-sm);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 28px;
  border-radius:var(--radius);
  font-size:16px;
  font-weight:600;
  transition:all .25s ease;
  cursor:pointer;
  text-align:center;
  min-height:48px;
  border:2px solid transparent;
}

.btn-primary{
  background:var(--gradient);
  color:#fff;
  box-shadow:0 4px 20px rgba(147,51,234,.4);
}

.btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 30px rgba(147,51,234,.5);
}

.btn-secondary{
  background:rgba(147,51,234,.15);
  color:var(--accent-light);
  border-color:rgba(245,158,11,.3);
}

.btn-secondary:hover{
  background:rgba(245,158,11,.15);
  border-color:var(--accent);
}

.btn-lg{
  padding:18px 36px;
  font-size:18px;
  min-height:56px;
}

.btn-block{
  width:100%;
}

.btn.touch-active{
  transform:scale(.97);
  opacity:.9;
}

.hero{
  position:relative;
  padding:120px 0 60px;
  overflow:hidden;
}

.hero-bg{
  position:absolute;
  inset:0;
  background:radial-gradient(ellipse at 30% 20%,rgba(147,51,234,.3) 0%,transparent 50%),
           radial-gradient(ellipse at 70% 80%,rgba(245,158,11,.15) 0%,transparent 50%),
           var(--gradient-dark);
  z-index:-1;
}

.hero-bg::before{
  content:'';
  position:absolute;
  inset:0;
  background-image:
    radial-gradient(circle at 20% 80%,rgba(147,51,234,.1) 0%,transparent 40%),
    radial-gradient(circle at 80% 20%,rgba(245,158,11,.08) 0%,transparent 40%);
}

.hero-content{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  align-items:center;
}

.hero-left{
  display:flex;
  flex-direction:column;
}

.hero h1{
  font-size:48px;
  font-weight:800;
  line-height:1.2;
  background:var(--gradient);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
  margin-bottom:20px;
}

.hero-subtitle{
  font-size:18px;
  color:var(--text-muted);
  margin-bottom:30px;
  max-width:500px;
}

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

.hero-image{
  display:flex;
  justify-content:center;
}

.hero-image img{
  max-width:320px;
  border-radius:20px;
  box-shadow:0 20px 60px rgba(0,0,0,.5),0 0 60px rgba(147,51,234,.3);
  animation:bounce 2.5s ease-in-out infinite;
}

@keyframes bounce{
  0%,100%{
    transform:translateY(0);
  }
  50%{
    transform:translateY(-15px);
  }
}

.hero-tags{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}

.tag{
  display:inline-flex;
  align-items:center;
  padding:6px 14px;
  background:rgba(147,51,234,.15);
  border:1px solid rgba(147,51,234,.3);
  border-radius:20px;
  font-size:13px;
  color:var(--text-light);
}

.section-title{
  font-size:36px;
  font-weight:800;
  text-align:center;
  margin-bottom:12px;
  background:var(--gradient);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}

.section-subtitle{
  text-align:center;
  color:var(--text-muted);
  font-size:16px;
  margin-bottom:48px;
}

.download-section,
.features,
.screenshots,
.highlights,
.roles,
.reviews,
.comparison,
.changelog,
.faq,
.bottom-download{
  padding:80px 0;
}

.download-section{
  background:linear-gradient(180deg,var(--bg) 0%,var(--bg-light) 100%);
}

.download-card{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:40px;
  max-width:700px;
  margin:0 auto;
  padding:40px;
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:20px;
  box-shadow:var(--shadow);
}

.download-qr{
  display:flex;
  align-items:center;
  justify-content:center;
}

.download-qr img{
  width:120px;
  height:120px;
  border-radius:16px;
}

.download-info h3{
  font-size:24px;
  font-weight:700;
  margin-bottom:8px;
}

.download-info .version{
  color:var(--accent);
  font-size:14px;
  margin-bottom:16px;
}

.download-meta{
  margin-bottom:20px;
}

.download-meta li{
  padding:6px 0;
  color:var(--text-muted);
  font-size:14px;
}

.download-buttons{
  display:flex;
  gap:12px;
  margin-bottom:16px;
}

.download-buttons .btn{
  flex:1;
}

.download-tip{
  color:var(--text-muted);
  font-size:13px;
}

.feature-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:20px;
}

.feature-card{
  padding:28px;
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  transition:all .3s;
}

.feature-card:hover{
  border-color:var(--primary-light);
  transform:translateY(-4px);
  box-shadow:0 12px 40px rgba(147,51,234,.15);
}

.feature-icon{
  font-size:40px;
  margin-bottom:16px;
}

.feature-card h3{
  font-size:18px;
  font-weight:700;
  margin-bottom:8px;
}

.feature-card p{
  color:var(--text-muted);
  font-size:14px;
}

.screenshot-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  grid-template-rows:repeat(2,auto);
  gap:20px;
  max-width:960px;
  margin:0 auto;
}

.screenshot-item{
  text-align:center;
}

.screenshot-item img{
  width:100%;
  max-width:220px;
  border-radius:16px;
  margin:0 auto 12px;
  box-shadow:0 10px 30px rgba(0,0,0,.3);
}

.screenshot-item figcaption{
  font-size:13px;
  color:var(--text-muted);
}

.highlights{
  background:linear-gradient(180deg,var(--bg-light) 0%,var(--bg) 100%);
}

.highlight-stats{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:24px;
  text-align:center;
}

.stat-item{
  padding:24px;
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:var(--radius);
}

.stat-number{
  display:block;
  font-size:36px;
  font-weight:800;
  background:var(--gradient);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
  margin-bottom:8px;
}

.stat-label{
  color:var(--text-muted);
  font-size:14px;
}

.role-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
  gap:16px;
}

.role-card{
  padding:24px 16px;
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  text-align:center;
  transition:all .3s;
}

.role-card:hover{
  border-color:var(--accent);
  transform:translateY(-4px);
}

.role-avatar{
  font-size:48px;
  margin-bottom:12px;
}

.role-card h4{
  font-size:16px;
  font-weight:700;
  margin-bottom:4px;
}

.role-card p{
  color:var(--text-muted);
  font-size:13px;
}

.reviews{
  background:linear-gradient(180deg,var(--bg) 0%,var(--bg-light) 100%);
}

.review-list{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:20px;
}

.review-card{
  padding:28px;
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:var(--radius);
}

.review-stars{
  font-size:18px;
  margin-bottom:12px;
  color:var(--accent);
}

.review-card p{
  color:var(--text-muted);
  font-size:14px;
  line-height:1.7;
  margin-bottom:12px;
}

.review-card cite{
  color:var(--text-light);
  font-size:13px;
  font-style:normal;
}

.table-wrapper{
  overflow-x:auto;
  border-radius:var(--radius);
  -webkit-overflow-scrolling:touch;
}

.table-wrapper::-webkit-scrollbar{
  height:6px;
}

.table-wrapper::-webkit-scrollbar-track{
  background:var(--bg-card);
  border-radius:3px;
}

.table-wrapper::-webkit-scrollbar-thumb{
  background:var(--primary);
  border-radius:3px;
}

.comparison-table{
  width:100%;
  min-width:600px;
  border-collapse:collapse;
  background:var(--bg-card);
  border-radius:var(--radius);
  overflow:hidden;
}

.comparison-table th,
.comparison-table td{
  padding:14px 16px;
  text-align:left;
  border-bottom:1px solid var(--border);
  font-size:14px;
}

.comparison-table th{
  background:rgba(147,51,234,.15);
  font-weight:700;
  color:var(--text);
}

.comparison-table td:first-child{
  font-weight:600;
}

.comparison-table tr:last-child td{
  border-bottom:none;
}

.comparison-table tr:hover{
  background:rgba(147,51,234,.05);
}

.changelog-list{
  max-width:700px;
  margin:0 auto;
}

.changelog-item{
  padding:24px;
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  margin-bottom:16px;
}

.changelog-item h3{
  font-size:18px;
  font-weight:700;
  margin-bottom:12px;
  display:flex;
  align-items:center;
  gap:10px;
}

.changelog-item ul{
  padding-left:20px;
}

.changelog-item li{
  padding:6px 0;
  color:var(--text-muted);
  font-size:14px;
  position:relative;
  padding-left:16px;
}

.changelog-item li::before{
  content:'•';
  color:var(--accent);
  position:absolute;
  left:0;
}

.badge{
  display:inline-block;
  padding:2px 8px;
  border-radius:4px;
  font-size:11px;
  font-weight:700;
}

.badge-new{
  background:var(--accent);
  color:#000;
}

.badge-fix{
  background:#10b981;
  color:#000;
}

.faq-list{
  max-width:800px;
  margin:0 auto;
}

.faq-item{
  border-bottom:1px solid var(--border);
}

.faq-question{
  width:100%;
  padding:20px 0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:16px;
  font-weight:600;
  color:var(--text);
  text-align:center;
  min-height:48px;
  gap:12px;
}

.faq-icon{
  font-size:24px;
  color:var(--accent);
  transition:transform .3s;
  flex-shrink:0;
}

.faq-item.active .faq-icon{
  transform:rotate(45deg);
}

.faq-answer{
  max-height:0;
  overflow:hidden;
  transition:max-height .35s ease;
}

.faq-answer-inner{
  padding:0 0 20px;
  color:var(--text-muted);
  font-size:15px;
  line-height:1.7;
  text-align:center;
}

.faq-item.active .faq-answer{
  max-height:600px !important;
}

.bottom-download{
  background:linear-gradient(180deg,var(--bg-light) 0%,var(--bg) 100%);
  text-align:center;
}

.download-qr-lg{
  display:flex;
  justify-content:center;
  margin:24px 0;
}

.download-qr-lg img{
  width:140px;
  height:140px;
  border-radius:16px;
}

.bottom-desc{
  max-width:600px;
  margin:24px auto 0;
  color:var(--text-muted);
  font-size:14px;
  line-height:1.8;
  text-align:center;
}

.site-footer{
  background:var(--bg-light);
  border-top:1px solid var(--border);
  padding:40px 0 24px;
  text-align:center;
}

.footer-links{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px;
  margin-bottom:20px;
}

.footer-links a{
  font-size:13px;
  color:var(--text-muted);
  transition:color .2s;
  padding:8px 12px;
  min-height:36px;
  display:inline-flex;
  align-items:center;
  border-radius:var(--radius-sm);
}

.footer-links a:hover{
  color:var(--accent);
}

.copyright{
  color:var(--text-muted);
  font-size:13px;
}

.floating-download{
  position:fixed;
  bottom:0;
  left:0;
  right:0;
  z-index:999;
  background:rgba(15,10,26,.98);
  backdrop-filter:blur(12px);
  border-top:1px solid var(--border);
  padding:12px 16px;
  display:none;
  gap:10px;
  justify-content:center;
  transform:translateY(0);
  transition:transform .3s ease;
}

.floating-download .btn{
  padding:12px 20px;
  font-size:14px;
  min-height:44px;
}

.back-to-top{
  position:fixed;
  bottom:80px;
  right:20px;
  width:44px;
  height:44px;
  border-radius:50%;
  background:var(--gradient);
  color:#fff;
  font-size:20px;
  opacity:0;
  visibility:hidden;
  transition:all .3s;
  z-index:998;
  box-shadow:0 4px 20px rgba(147,51,234,.4);
}

.back-to-top.visible{
  opacity:1;
  visibility:visible;
}

.back-to-top:hover{
  transform:translateY(-3px);
}

.skip-link{
  position:absolute;
  left:-9999px;
  top:0;
  background:var(--primary);
  color:#fff;
  padding:10px 20px;
  z-index:10000;
}

.skip-link:focus{
  left:0;
}

@media(max-width:768px){
  .nav-menu{
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:var(--bg-light);
    flex-direction:column;
    padding:16px;
    border-bottom:1px solid var(--border);
    opacity:0;
    visibility:hidden;
    transform:translateY(-10px);
    transition:opacity .25s ease,transform .25s ease,visibility .25s;
  }
  .nav-menu.active{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
  }
  .nav-menu a{
    width:100%;
    min-height:44px;
    padding:12px 16px;
    font-size:16px;
  }
  .nav-toggle{
    display:block;
  }
  .hero{
    padding:100px 0 40px;
  }
  .hero-content{
    grid-template-columns:1fr;
    gap:30px;
    text-align:center;
  }
  .hero h1{
    font-size:32px;
  }
  .hero-subtitle{
    font-size:15px;
    margin-left:auto;
    margin-right:auto;
  }
  .hero-actions{
    justify-content:center;
  }
  .hero-tags{
    justify-content:center;
  }
  .hero-image{
    order:-1;
  }
  .hero-image img{
    max-width:240px;
    animation:bounce 2.5s ease-in-out infinite;
  }
  .section-title{
    font-size:28px;
  }
  .download-section,
  .features,
  .screenshots,
  .highlights,
  .roles,
  .reviews,
  .comparison,
  .changelog,
  .faq,
  .bottom-download{
    padding:60px 0;
  }
  .download-card{
    grid-template-columns:1fr;
    gap:24px;
    padding:28px;
    text-align:center;
  }
  .download-qr{
    justify-content:center;
  }
  .download-buttons{
    flex-direction:column;
  }
  .download-buttons .btn{
    width:100%;
  }
  .floating-download{
    display:flex;
  }
  .footer-links{
    flex-direction:column;
    gap:4px;
  }
  .footer-links a{
    min-height:44px;
    padding:10px 14px;
    font-size:14px;
    justify-content:center;
  }
  .feature-card{
    flex-direction:row;
    gap:12px;
    text-align:left;
  }
  .review-list{
    grid-template-columns:1fr;
  }
  .screenshot-grid{
    grid-template-columns:repeat(2,1fr);
    max-width:500px;
  }
  .screenshot-item img{
    max-width:180px;
  }
  .role-grid{
    grid-template-columns:repeat(2,1fr);
  }
  .back-to-top{
    bottom:100px;
  }
  .stat-number{
    font-size:28px;
  }
}

@media(max-width:480px){
  .container{
    padding:0 16px;
  }
  .hero h1{
    font-size:26px;
  }
  .hero-subtitle{
    font-size:14px;
  }
  .section-title{
    font-size:22px;
  }
  .btn{
    font-size:15px;
  }
  .btn-lg{
    padding:16px 28px;
    font-size:16px;
    min-height:52px;
  }
  .download-card{
    padding:20px;
  }
  .feature-card{
    padding:20px;
  }
  .role-grid{
    grid-template-columns:repeat(2,1fr);
    gap:12px;
  }
  .role-card{
    padding:16px 12px;
  }
  .role-avatar{
    font-size:36px;
  }
  .nav-logo span{
    font-size:16px;
  }
  .stat-item{
    padding:16px;
  }
  .highlight-stats{
    grid-template-columns:repeat(2,1fr);
  }
  .faq-question{
    font-size:15px;
    padding:16px 0;
  }
  .floating-download .btn{
    padding:10px 14px;
    font-size:13px;
  }
  .table-wrapper{
    border-radius:8px;
  }
  .comparison-table th,
  .comparison-table td{
    padding:10px 12px;
    font-size:13px;
  }
}

@media(min-width:769px){
  .floating-download{
    display:none;
  }
}

@media(prefers-reduced-motion:reduce){
  .hero-image img{
    animation:none;
  }
}