:root {
  --bg-main: #121212;
  --bg-card: #1e1e24;
  --accent: #ff3b30;
  --accent-grad: linear-gradient(90deg, #ff3b30, #ff9500, #ff2d55, #af52de);
  --text-main: #f5f5f7;
  --text-muted: #a1a1a6;
  --border-color: #333;
  --radius: 12px;
}
* { 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-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 80px;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; object-fit: cover; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(18,18,18,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.1rem; }
.brand img { height: 32px; border-radius: 6px; }
.nav-links { display: none; gap: 20px; font-size: 0.9rem; color: var(--text-muted); }
.nav-links a:hover { color: var(--accent); }
.mobile-menu-btn { display: block; background: none; border: none; color: var(--text-main); font-size: 1.5rem; cursor: pointer; }
.mobile-nav { display: none; background: var(--bg-card); padding: 10px; border-bottom: 1px solid var(--border-color); }
.mobile-nav.active { display: block; }
.mobile-nav a { display: block; padding: 10px; border-bottom: 1px solid var(--border-color); color: var(--text-main); }
.mobile-nav a:last-child { border-bottom: none; }

/* Hero Section */
.hero {
  padding: 30px 0;
  background: radial-gradient(circle at top right, rgba(255,59,48,0.1), transparent);
}
.hero-content { text-align: center; margin-bottom: 20px; }
.hero h1 { font-size: 1.8rem; line-height: 1.3; margin-bottom: 10px; }
.hero h1 span { background: var(--accent-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-desc { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 20px; }
.download-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 20px; }
.dl-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px; border-radius: 20px; font-weight: 600; font-size: 0.9rem;
  background: var(--accent-grad); color: #fff; transition: transform 0.2s;
}
.dl-btn:active { transform: scale(0.95); }
.dl-btn.secondary { background: #333; color: #fff; border: 1px solid #555; }

/* Hero Images Carousel */
.hero-images {
  display: flex; gap: 10px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory;
}
.hero-images::-webkit-scrollbar { display: none; }
.hero-img {
  flex: 0 0 140px; height: 200px; border-radius: var(--radius); scroll-snap-align: start;
  position: relative;
}
.hero-img img { width: 100%; height: 100%; border-radius: var(--radius); }
.hero-img span {
  position: absolute; bottom: 5px; left: 5px; right: 5px; background: rgba(0,0,0,0.7);
  color: #fff; font-size: 0.75rem; padding: 2px 6px; border-radius: 4px; text-align: center;
}

/* Marquee */
.marquee-wrap { width: 100%; overflow: hidden; white-space: nowrap; background: #000; padding: 10px 0; margin-top: 20px; }
.marquee { display: inline-block; animation: marquee 15s linear infinite; }
.marquee span { font-weight: bold; font-size: 1rem; background: var(--accent-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-right: 30px; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Sections */
.section-title { font-size: 1.4rem; margin-bottom: 15px; text-align: center; border-bottom: 2px solid var(--accent); display: inline-block; padding-bottom: 5px; }
.section-title-wrap { text-align: center; margin-bottom: 20px; }
section { padding: 40px 0; }
.bg-alt { background: #18181d; }

/* Grid Cards */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 15px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 15px; }
.card {
  background: var(--bg-card); border-radius: var(--radius); padding: 15px;
  display: flex; gap: 15px; align-items: flex-start;
}
.card-img { width: 80px; height: 110px; border-radius: 6px; flex-shrink: 0; }
.card-info h3 { font-size: 1rem; margin-bottom: 5px; }
.card-info p { font-size: 0.85rem; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-tags { font-size: 0.75rem; margin-top: 5px; display: flex; gap: 5px; }
.card-tags span { background: rgba(255,255,255,0.1); padding: 2px 6px; border-radius: 4px; }
.card-date { font-size: 0.7rem; color: #888; margin-top: 5px; display: block; }

/* Reviews */
.review-list { display: flex; flex-direction: column; gap: 15px; }
.review-item { display: flex; gap: 10px; background: #222; padding: 15px; border-radius: var(--radius); }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; border: 2px solid var(--accent); }
.review-content strong { font-size: 0.9rem; color: var(--accent); }
.review-content p { font-size: 0.85rem; color: var(--text-main); margin-top: 5px; }

/* Schedule */
.timeline { border-left: 3px solid var(--accent); margin-left: 10px; padding-left: 20px; }
.time-item { margin-bottom: 20px; position: relative; }
.time-item::before { content: ''; position: absolute; left: -26px; top: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.time-label { font-weight: bold; color: var(--accent); font-size: 0.9rem; }
.time-desc { font-size: 0.85rem; }

/* Banner with Logo */
.install-banner {
  background: var(--bg-card); border-radius: var(--radius); padding: 20px; text-align: center; margin-bottom: 20px;
}
.install-banner img { width: 60px; height: 60px; margin: 0 auto 10px; border-radius: 12px; }
.install-steps { text-align: left; margin-top: 15px; }
.install-steps li { font-size: 0.9rem; margin-bottom: 8px; color: var(--text-muted); }

/* Floating Download */
.float-dl {
  position: fixed; bottom: 0; left: 0; width: 100%; background: rgba(30,30,36,0.95); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: space-between; padding: 10px 15px; z-index: 200;
  border-top: 1px solid var(--border-color);
}
.float-dl-info { display: flex; align-items: center; gap: 10px; }
.float-dl-info img { width: 36px; height: 36px; border-radius: 8px; }
.float-dl-text h4 { font-size: 0.9rem; margin: 0; }
.float-dl-text p { font-size: 0.75rem; color: var(--text-muted); margin: 0; }
.float-dl-btn {
  background: var(--accent-grad); color: #fff; padding: 8px 16px; border-radius: 20px; font-size: 0.85rem; font-weight: bold; white-space: nowrap;
}

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border-color); padding: 12px 0; }
.faq-q { font-weight: bold; font-size: 0.95rem; margin-bottom: 5px; color: var(--accent); }
.faq-a { font-size: 0.85rem; color: var(--text-muted); }

/* Footer */
.footer { padding: 30px 15px; border-top: 1px solid var(--border-color); font-size: 0.8rem; color: var(--text-muted); text-align: center; }
.footer a { color: var(--text-muted); }
.footer a:hover { text-decoration: underline; }
.footer-links { margin-bottom: 15px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.footer-links a { color: var(--text-main); }
.update-time { font-size: 0.75rem; color: #666; margin-top: 10px; }

/* Media Queries */
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .mobile-menu-btn { display: none; }
  .hero h1 { font-size: 2.5rem; }
  .hero-img { flex: 0 0 200px; height: 280px; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .float-dl { bottom: 20px; left: 50%; transform: translateX(-50%); width: 90%; max-width: 600px; border-radius: 50px; }
  body { padding-bottom: 10px; }
}
@media (min-width: 1024px) {
  .hero h1 { font-size: 3rem; }
  .hero-img { flex: 0 0 250px; height: 350px; }
  .hero-images { justify-content: center; flex-wrap: nowrap; overflow-x: visible; }
}