:root {
  --bg-dark: #121214;
  --bg-panel: #1c1c20;
  --bg-card: #25252b;
  --text-main: #e0e0e0;
  --text-muted: #999;
  --accent-pink: #ff3b5c;
  --accent-purple: #9d4edd;
  --accent-cyan: #00f0ff;
  --gradient-main: linear-gradient(90deg, #ff3b5c, #9d4edd);
  --gradient-text: linear-gradient(90deg, #ff3b5c, #ff8a5c, #9d4edd, #00f0ff);
  --border-light: rgba(255,255,255,0.1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  padding-bottom: 80px; /* For floating bar */
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(18,18,20,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
  padding: 12px 20px;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  font-size: 18px;
}
.brand img {
  height: 32px;
  border-radius: 6px;
}
.nav-links {
  display: none;
  gap: 15px;
}
@media (min-width: 1024px) {
  .nav-links {
    display: flex;
    flex-wrap: wrap;
  }
}
.nav-links a {
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 4px;
  transition: all 0.3s;
  color: var(--text-muted);
}
.nav-links a:hover {
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.1);
}
.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 24px;
  cursor: pointer;
}
@media (min-width: 1024px) {
  .mobile-menu-btn { display: none; }
}
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--bg-panel);
  padding: 10px;
  border-bottom: 1px solid var(--border-light);
}
.mobile-nav.active { display: flex; }
.mobile-nav a {
  padding: 12px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-main);
  font-size: 15px;
}
.mobile-nav a:last-child { border-bottom: none; }

/* Hero */
.hero {
  padding: 40px 20px;
  text-align: center;
  background: radial-gradient(circle at top, #2a1a2e 0%, var(--bg-dark) 70%);
}
.hero h1 {
  font-size: 28px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
  line-height: 1.3;
}
@media (min-width: 768px) {
  .hero h1 { font-size: 42px; }
  .hero { padding: 60px 20px; }
}
.hero p {
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 15px;
}
.hero-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 900px;
  margin: 0 auto 30px;
}
.hero-gallery .img-box {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3/4;
  border: 2px solid var(--border-light);
  transition: transform 0.3s;
}
.hero-gallery .img-box:hover {
  transform: translateY(-5px);
  border-color: var(--accent-pink);
}
.hero-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Marquee */
.marquee-wrap {
  background: var(--bg-panel);
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.marquee-inner {
  display: inline-block;
  animation: marquee 20s linear infinite;
  font-weight: bold;
  font-size: 16px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Download Buttons */
.dl-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}
.dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 15px;
  color: #fff;
  transition: all 0.3s;
  min-width: 140px;
}
.dl-btn.android { background: linear-gradient(135deg, #28a745, #1e7e34); }
.dl-btn.ios { background: linear-gradient(135deg, #007aff, #0056b3); }
.dl-btn.web { background: linear-gradient(135deg, #6c757d, #495057); }
.dl-btn.harmony { background: linear-gradient(135deg, #ff3b5c, #cc1a3a); }
.dl-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Sections Common */
.section {
  padding: 50px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  text-align: center;
  margin-bottom: 30px;
}
.section-title h2 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 10px;
}
.section-title p {
  color: var(--text-muted);
  font-size: 14px;
}

/* Layout Blocks */
.split-layout {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
@media (min-width: 768px) {
  .split-layout {
    flex-direction: row;
    align-items: center;
  }
  .split-layout > div {
    flex: 1;
  }
  .split-layout.reverse {
    flex-direction: row-reverse;
  }
}
.split-img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  max-width: 400px;
  margin: 0 auto;
}
.split-text ul {
  list-style: none;
}
.split-text li {
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
  font-size: 15px;
  color: var(--text-main);
}
.split-text li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
}

/* Staggered Grid for Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
.card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid var(--border-light);
  transition: transform 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-purple);
}
.card h3 {
  font-size: 16px;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}
.card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* FAQ items */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.faq-item {
  background: var(--bg-panel);
  border-radius: 8px;
  padding: 15px 20px;
  border-left: 4px solid var(--accent-pink);
}
.faq-q {
  font-weight: bold;
  color: #fff;
  margin-bottom: 6px;
  font-size: 15px;
}
.faq-a {
  font-size: 14px;
  color: var(--text-muted);
}

/* Reviews */
.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}
@media (min-width: 768px) {
  .review-grid { grid-template-columns: 1fr 1fr; }
}
.review-card {
  background: var(--bg-card);
  padding: 15px;
  border-radius: 10px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.review-content {
  flex: 1;
}
.review-name {
  font-size: 13px;
  color: var(--accent-cyan);
  margin-bottom: 4px;
  font-weight: bold;
}
.review-text {
  font-size: 14px;
  color: var(--text-main);
}

/* Floating Bar */
.floating-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(25,25,30,0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-light);
  padding: 12px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.3);
}
.fb-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.fb-left img {
  height: 36px;
  border-radius: 8px;
}
.fb-info h4 {
  font-size: 14px;
  color: #fff;
  margin-bottom: 2px;
}
.fb-info p {
  font-size: 11px;
  color: var(--text-muted);
}
.fb-btn {
  background: var(--accent-pink);
  color: #fff;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 14px;
  transition: background 0.3s;
}
.fb-btn:hover {
  background: #cc1a3a;
}

/* Modal for Baidu App */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}
.modal-overlay.active { display: flex; }
.modal-content {
  background: #fff;
  color: #333;
  padding: 24px;
  border-radius: 12px;
  width: 85%;
  max-width: 320px;
  text-align: center;
  position: relative;
}
.modal-content p {
  font-size: 15px;
  margin-bottom: 15px;
  line-height: 1.5;
}
.modal-content input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 15px;
  font-size: 14px;
}
.modal-content button {
  background: #007aff;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
  width: 100%;
}

/* Footer */
.site-footer {
  background: var(--bg-panel);
  padding: 40px 20px 20px;
  border-top: 1px solid var(--border-light);
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}
.footer-links {
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}
.footer-links a {
  color: var(--text-muted);
  transition: color 0.3s;
}
.footer-links a:hover {
  color: var(--accent-cyan);
}
.footer-info {
  margin-bottom: 10px;
}
/* About Us Details */
.about-details {
  margin: 20px auto;
  max-width: 800px;
  text-align: left;
  border-top: 1px solid var(--border-light);
  padding-top: 15px;
}
.about-details summary {
  cursor: pointer;
  outline: none;
  display: inline-block;
  color: var(--text-muted);
}
.about-details summary::-webkit-details-marker { display: none; }
.about-details[open] summary { margin-bottom: 10px; }
.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.about-links a {
  color: var(--text-muted);
  font-size: 12px;
}
.about-links a:hover { color: var(--accent-cyan); }

/* Mobile menu toggle script */
.mobile-nav {
  display: none;
}
.mobile-nav.active {
  display: flex;
}