:root {
  --bg-main: #0f1420;
  --bg-card: #1a2233;
  --bg-card-hover: #222d42;
  --text-main: #e8edf5;
  --text-sub: #8b9bb4;
  --accent-blue: #3a7cff;
  --accent-pink: #ff4d8f;
  --accent-gold: #ffb800;
  --accent-cyan: #00e5cc;
  --border-color: #2a3650;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-main);
  text-align: center;
}
.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-sub);
  text-align: center;
  margin-bottom: 2.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 20, 32, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img {
  height: 32px;
  width: auto;
  border-radius: 8px;
}
.brand-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.5px;
}
.nav {
  display: none;
}
.nav a {
  font-size: 0.9rem;
  color: var(--text-sub);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav a:hover {
  color: var(--accent-cyan);
  background: rgba(0, 229, 204, 0.1);
}
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
}
.mobile-menu-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 20px;
}
.mobile-menu.active {
  display: flex;
}
.mobile-menu a {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 1rem;
  color: var(--text-main);
}
.mobile-menu a:last-child {
  border-bottom: none;
}

/* Hero */
.hero {
  position: relative;
  padding: 40px 0 0;
  background: linear-gradient(180deg, #0f1420 0%, #151d2e 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(58, 124, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
}
.hero h1 {
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff 0%, #8bb4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 1rem;
  color: var(--text-sub);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}
.hero-tag {
  font-size: 0.85rem;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  color: var(--text-sub);
}
.download-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}
.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent-blue), #2563eb);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(58, 124, 255, 0.3);
}
.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(58, 124, 255, 0.4);
}
.btn-download.os-ios {
  background: linear-gradient(135deg, #4b5563, #1f2937);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.btn-download.os-web {
  background: linear-gradient(135deg, var(--accent-cyan), #059669);
  box-shadow: 0 4px 15px rgba(0, 229, 204, 0.3);
}
.btn-download.os-harmony {
  background: linear-gradient(135deg, var(--accent-pink), #be185d);
  box-shadow: 0 4px 15px rgba(255, 77, 143, 0.3);
}

/* Showcase */
.showcase {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 10px 0 30px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.showcase::-webkit-scrollbar {
  display: none;
}
.showcase-item {
  flex: 0 0 280px;
  scroll-snap-align: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}
.showcase-item:hover {
  transform: translateY(-4px);
  border-color: var(--accent-blue);
}
.showcase-item img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}
.showcase-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(15,20,32,0.95));
}
.showcase-info h3 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 4px;
}
.showcase-info p {
  font-size: 0.8rem;
  color: var(--text-sub);
}

/* Marquee */
.marquee-wrap {
  background: rgba(255,255,255,0.03);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-inner {
  display: inline-block;
  animation: marquee 30s linear infinite;
}
.marquee-inner span {
  display: inline-block;
  padding: 0 30px;
  font-size: 0.95rem;
  font-weight: 600;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-pink), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Section Boxes */
.section-box {
  padding: 60px 0;
}
.section-box.bg-alt {
  background: #141b2b;
}
.section-box.bg-card {
  background: #1a2233;
}

/* Category Grid */
.category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.category-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}
.category-card:hover {
  border-color: var(--accent-blue);
  background: var(--bg-card-hover);
}
.category-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--accent-cyan);
}
.category-list {
  list-style: none;
}
.category-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.9rem;
  color: var(--text-sub);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.category-list li:last-child {
  border-bottom: none;
}
.category-list li span {
  color: var(--text-main);
}
.tag {
  font-size: 0.75rem;
  background: rgba(58, 124, 255, 0.2);
  color: var(--accent-blue);
  padding: 2px 8px;
  border-radius: 4px;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 30px;
  max-width: 700px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-cyan), var(--accent-blue), transparent);
}
.timeline-item {
  position: relative;
  margin-bottom: 24px;
  padding: 16px 20px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}
.timeline-time {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 4px;
}
.timeline-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
}
.timeline-desc {
  font-size: 0.85rem;
  color: var(--text-sub);
}

/* Split Layout */
.split-layout {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.split-image {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.split-image img {
  width: 100%;
  height: auto;
  display: block;
}
.split-content {
  flex: 1;
}
.split-content h3 {
  font-size: 1.3rem;
  color: var(--accent-pink);
  margin-bottom: 16px;
}
.info-list {
  list-style: none;
}
.info-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.95rem;
  color: var(--text-sub);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.info-list li::before {
  content: '▹';
  color: var(--accent-pink);
  font-weight: bold;
}
.info-list li strong {
  color: var(--text-main);
}

/* Comment Section */
.comment-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}
.comment-item {
  display: flex;
  gap: 12px;
  background: var(--bg-card);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}
.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #2a3650;
  overflow: hidden;
  flex-shrink: 0;
}
.comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.comment-body {
  flex: 1;
}
.comment-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 4px;
}
.comment-text {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.5;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
}
.faq-q {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
}
.faq-q::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--accent-blue);
  transition: transform 0.3s;
}
.faq-item.open .faq-q::after {
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
  color: var(--text-sub);
  font-size: 0.9rem;
}
.faq-item.open .faq-a {
  max-height: 200px;
  padding-bottom: 16px;
}

/* Download Section */
.download-section {
  text-align: center;
  padding: 60px 0;
  background: linear-gradient(180deg, #1a2233 0%, #0f1420 100%);
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto 40px;
  text-align: left;
}
.step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-blue);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}
.step-text {
  flex: 1;
}
.step-text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--text-main);
}
.step-text p {
  font-size: 0.85rem;
  color: var(--text-sub);
}

/* Floating Download */
.floating-download {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 1px solid var(--accent-blue);
  border-radius: 50px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
  max-width: 90%;
}
.floating-download img {
  height: 24px;
  width: auto;
  border-radius: 4px;
}
.floating-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.floating-text strong {
  font-size: 0.8rem;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.floating-text span {
  font-size: 0.65rem;
  color: var(--text-sub);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.floating-btn {
  background: var(--accent-blue);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-color);
  padding: 30px 20px;
  background: #0a0e17;
  font-size: 0.8rem;
  color: #4a5568;
  text-align: center;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}
.footer-links a {
  color: #5a6b82;
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--accent-cyan);
}
.footer-copy {
  line-height: 1.8;
  margin-bottom: 8px;
}
.footer-copy a {
  color: #5a6b82;
}
.footer-time {
  font-size: 0.75rem;
  color: #3a4659;
}

/* Responsive 768px */
@media (min-width: 768px) {
  .nav {
    display: flex;
    gap: 4px;
  }
  .mobile-menu-btn {
    display: none;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .category-grid {
    grid-template-columns: 1fr 1fr;
  }
  .split-layout {
    flex-direction: row;
    align-items: center;
  }
  .split-image {
    flex: 0 0 40%;
  }
  .split-content {
    flex: 1;
  }
  .steps {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .step-item {
    flex: 1;
    min-width: 200px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .showcase-item {
    flex: 0 0 320px;
  }
}

/* Responsive 1024px */
@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3rem;
  }
  .hero-desc {
    font-size: 1.1rem;
  }
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .section-title {
    font-size: 2rem;
  }
  .showcase-item {
    flex: 0 0 360px;
  }
  .showcase-item img {
    height: 440px;
  }
  .floating-download {
    left: auto;
    right: 30px;
    transform: none;
    bottom: 30px;
  }
}