
/* ========== CSS Reset & Base ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: #0a0e1a;
  color: #e0e0e0;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

/* ========== Scrollbar ========== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a0e1a; }
::-webkit-scrollbar-thumb { background: #f0a500; border-radius: 4px; }

/* ========== Navigation ========== */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(10, 14, 26, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(240, 165, 0, 0.2);
  transition: all 0.3s ease;
}
.navbar .nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; height: 64px;
}
.nav-logo {
  font-size: 1.4rem; font-weight: 700; color: #f0a500;
  display: flex; align-items: center; gap: 8px;
  letter-spacing: 1px;
}
.nav-logo .logo-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: linear-gradient(135deg, #f0a500, #ff6b35);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 900; color: #0a0e1a;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-size: 0.92rem; color: #b0b8c8;
  transition: color 0.25s; position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: #f0a500;
  transition: width 0.25s;
}
.nav-links a:hover { color: #f0a500; }
.nav-links a:hover::after { width: 100%; }

.nav-download {
  background: linear-gradient(135deg, #f0a500, #ff6b35);
  color: #0a0e1a !important; padding: 8px 22px;
  border-radius: 8px; font-weight: 600; font-size: 0.9rem;
  transition: transform 0.2s, box-shadow 0.2s !important;
}
.nav-download::after { display: none !important; }
.nav-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(240, 165, 0, 0.4);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px;
}
.mobile-menu-btn span {
  width: 24px; height: 2px; background: #f0a500;
  border-radius: 2px; transition: all 0.3s;
}
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav {
  display: none; flex-direction: column;
  background: rgba(10, 14, 26, 0.98);
  padding: 16px 20px; gap: 12px;
  border-top: 1px solid rgba(240, 165, 0, 0.1);
}
.mobile-nav.active { display: flex; }
.mobile-nav a { color: #b0b8c8; padding: 8px 0; font-size: 0.95rem; }
.mobile-nav a:hover { color: #f0a500; }

/* ========== Hero Section ========== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 80px 20px 60px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 50% 40%, rgba(240, 165, 0, 0.08), transparent),
    radial-gradient(ellipse 400px 300px at 20% 80%, rgba(255, 107, 53, 0.06), transparent),
    radial-gradient(ellipse 350px 250px at 80% 20%, rgba(0, 200, 255, 0.05), transparent);
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(240, 165, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 165, 0, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black, transparent);
}

.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(240, 165, 0, 0.1);
  border: 1px solid rgba(240, 165, 0, 0.3);
  padding: 6px 18px; border-radius: 20px;
  font-size: 0.82rem; color: #f0a500; margin-bottom: 24px;
  animation: pulse-badge 2s ease-in-out infinite;
}
@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240, 165, 0, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(240, 165, 0, 0); }
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 800; line-height: 1.2; margin-bottom: 20px;
  background: linear-gradient(135deg, #f0a500, #ff6b35, #f0a500);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-text 4s ease infinite;
}
@keyframes gradient-text {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.hero p {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  color: #8a94a8; margin-bottom: 36px; line-height: 1.8;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #f0a500, #ff6b35);
  color: #0a0e1a; padding: 14px 36px;
  border-radius: 12px; font-weight: 700; font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none; cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(240, 165, 0, 0.4);
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(240, 165, 0, 0.3);
  color: #f0a500; padding: 14px 36px;
  border-radius: 12px; font-weight: 600; font-size: 1rem;
  transition: all 0.25s;
}
.btn-secondary:hover {
  background: rgba(240, 165, 0, 0.1);
  border-color: #f0a500;
}

/* ========== Section Common ========== */
.section { padding: 80px 20px; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700; color: #fff; margin-bottom: 12px;
}
.section-header p { color: #6b7a94; font-size: 1rem; max-width: 600px; margin: 0 auto; }
.section-header .accent-line {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, #f0a500, #ff6b35);
  margin: 0 auto 16px; border-radius: 2px;
}
.container { max-width: 1200px; margin: 0 auto; }

/* ========== Image Showcase (3 Main Images) ========== */
.image-showcase { padding: 60px 20px 80px; }
.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: 1200px; margin: 0 auto;
}
.image-card {
  position: relative; border-radius: 16px; overflow: hidden;
  aspect-ratio: 16/10; cursor: pointer;
  border: 1px solid rgba(240, 165, 0, 0.15);
  transition: transform 0.35s, box-shadow 0.35s;
}
.image-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(240, 165, 0, 0.2);
}
.image-card .img-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; font-size: 1rem; color: #6b7a94;
  background: linear-gradient(145deg, #111827, #0f172a);
}
.image-card .img-placeholder .icon { font-size: 2.5rem; opacity: 0.6; }
.image-card .img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  display: flex; align-items: flex-end; padding: 20px;
}
.image-card .img-overlay span {
  color: #fff; font-weight: 600; font-size: 1rem;
}

/* ========== Features / Cards ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  background: linear-gradient(145deg, #111827, #0f172a);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; padding: 32px 28px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f0a500, #ff6b35);
  transform: scaleX(0); transition: transform 0.3s;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(240, 165, 0, 0.2);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.feature-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px;
  background: rgba(240, 165, 0, 0.1);
  border: 1px solid rgba(240, 165, 0, 0.2);
}
.feature-card h3 {
  font-size: 1.15rem; font-weight: 600; color: #fff;
  margin-bottom: 10px;
}
.feature-card p { color: #6b7a94; font-size: 0.92rem; line-height: 1.7; }

/* ========== Download Section ========== */
.download-section {
  background: linear-gradient(145deg, #0f1525, #0a0e1a);
  border-top: 1px solid rgba(240, 165, 0, 0.1);
  border-bottom: 1px solid rgba(240, 165, 0, 0.1);
}
.download-box {
  max-width: 700px; margin: 0 auto; text-align: center;
  background: linear-gradient(145deg, #111827, #0f172a);
  border: 1px solid rgba(240, 165, 0, 0.15);
  border-radius: 20px; padding: 48px 36px;
  position: relative; overflow: hidden;
}
.download-box::before {
  content: ''; position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(240, 165, 0, 0.03), transparent 70%);
}
.download-box .dl-icon { font-size: 3rem; margin-bottom: 16px; position: relative; }
.download-box h2 {
  font-size: 1.8rem; font-weight: 700; color: #fff;
  margin-bottom: 12px; position: relative;
}
.download-box p { color: #6b7a94; margin-bottom: 28px; position: relative; }
.download-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, #f0a500, #ff6b35);
  color: #0a0e1a; padding: 16px 48px;
  border-radius: 14px; font-weight: 700; font-size: 1.1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative; border: none; cursor: pointer;
}
.download-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 40px rgba(240, 165, 0, 0.45);
}
.download-btn .arrow { transition: transform 0.2s; }
.download-btn:hover .arrow { transform: translateY(3px); }
.download-meta {
  margin-top: 20px; display: flex; gap: 24px;
  justify-content: center; flex-wrap: wrap; position: relative;
}
.download-meta span {
  font-size: 0.82rem; color: #4a5568;
  display: flex; align-items: center; gap: 4px;
}

/* ========== Deploy Tutorial ========== */
.tutorial-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}
.tutorial-card {
  background: linear-gradient(145deg, #111827, #0f172a);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; padding: 32px 28px;
  text-align: center; position: relative;
  transition: transform 0.3s;
}
.tutorial-card:hover { transform: translateY(-4px); }
.tutorial-step {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, #f0a500, #ff6b35);
  color: #0a0e1a; font-weight: 800; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.tutorial-card h3 {
  font-size: 1.1rem; color: #fff; margin-bottom: 10px;
}
.tutorial-card p { color: #6b7a94; font-size: 0.9rem; line-height: 1.7; }

/* ========== FAQ ========== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: linear-gradient(145deg, #111827, #0f172a);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; margin-bottom: 12px;
  overflow: hidden; transition: border-color 0.3s;
}
.faq-item:hover { border-color: rgba(240, 165, 0, 0.15); }
.faq-q {

  padding: 20px 24px; cursor: pointer;
  display: flex; align-items: center; gap: 14px;
  font-weight: 600; color: #fff; font-size: 1rem;
  user-select: none;
}
.faq-q .faq-toggle {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(240, 165, 0, 0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: #f0a500;
  transition: transform 0.3s; flex-shrink: 0;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner {
  padding: 0 24px 20px 66px;
  color: #6b7a94; font-size: 0.92rem; line-height: 1.8;
}

/* ========== Bottom Params / Info ========== */
.params-section { background: #080c16; }
.params-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.param-item {
  background: linear-gradient(145deg, #0f1525, #0d1220);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px; padding: 24px 20px;
  text-align: center; transition: border-color 0.3s;
}
.param-item:hover { border-color: rgba(240, 165, 0, 0.2); }
.param-item .param-icon { font-size: 1.8rem; margin-bottom: 10px; }
.param-item .param-label { color: #6b7a94; font-size: 0.82rem; margin-bottom: 4px; }
.param-item .param-value { color: #fff; font-weight: 600; font-size: 1rem; }

/* ========== Footer ========== */
.footer {
  background: #060a14;
  border-top: 1px solid rgba(240, 165, 0, 0.1);
  padding: 48px 20px 24px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px; margin-bottom: 36px;
}
.footer-brand .footer-logo {
  font-size: 1.3rem; font-weight: 700; color: #f0a500;
  margin-bottom: 10px;
}
.footer-brand p { color: #4a5568; font-size: 0.88rem; line-height: 1.7; }
.footer-col h4 {
  color: #fff; font-size: 0.95rem; margin-bottom: 14px;
  position: relative; padding-bottom: 8px;
}
.footer-col h4::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: linear-gradient(90deg, #f0a500, #ff6b35);
  border-radius: 1px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  color: #4a5568; font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: #f0a500; }
.footer-bottom {
  text-align: center; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: #3a4558; font-size: 0.82rem;
}

/* ========== Responsive ========== */
@media (max-width: 900px) {
  .image-grid { grid-template-columns: 1fr; max-width: 500px; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
}
@media (max-width: 600px) {
  .hero { padding: 100px 16px 40px; }
  .section { padding: 60px 16px; }
  .download-box { padding: 36px 24px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .download-meta { flex-direction: column; gap: 8px; }
  .faq-q { padding: 16px 18px; font-size: 0.92rem; }
  .faq-a-inner { padding: 0 18px 16px 54px; }
}

/* ========== Animations ========== */
.fade-in {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }