:root {
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-soft: #eff6ff;
  --gold: #f59e0b;
  --cyan: #06b6d4;
  --success: #059669;
  --radius: 16px;
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Microsoft YaHei UI", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: #f8fafc;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== MAIN HEADER / MENU ===== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.main-menu__wrapper {
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.main-menu__wrapper-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.main-menu__left { display: flex; align-items: center; }

.main-menu__logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.main-menu__logo_img {
  height: 36px;
  width: 36px;
  object-fit: contain;
  border-radius: 8px;
}

.logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.5px;
}

.logo-badge {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 800;
}

.main-menu__main-menu-box {
  display: flex;
  align-items: center;
}

.main-menu__list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.main-menu__list li a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
}

.main-menu__list li a:hover,
.main-menu__list li.current a {
  color: var(--blue);
}

.btn-sm-download {
  padding: 8px 16px !important;
  font-size: 13px !important;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 40%, rgba(37, 99, 235, 0.08), transparent 50%),
    radial-gradient(circle at 85% 60%, rgba(245, 158, 11, 0.06), transparent 45%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 32px 60px;
}

.hero-content {
  flex: 1;
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
  border: 1px solid #bfdbfe;
}

.hero h1 {
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  margin-top: 16px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
}

.hero-highlight-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  padding: 8px 16px;
  border-radius: 8px;
  margin-top: 16px;
  font-size: 14px;
  color: #b45309;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.btn-secondary {
  color: var(--ink);
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.btn-secondary:hover {
  background: #f1f5f9;
}

.hero-version {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}

/* HERO IMAGE */
.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  max-width: 580px;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image img:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.18);
}

/* ===== FEATURES ===== */
.section {
  padding: 80px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  color: var(--blue);
  font-family: Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section h2 {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.section-desc {
  color: var(--muted);
  font-size: 16px;
  max-width: 540px;
  margin-bottom: 40px;
}

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

.feature-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #cbd5e1;
}

.feature-card-highlight {
  border: 2px solid #2563eb !important;
  background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%) !important;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.15) !important;
}

.feature-icon-unlimited {
  background: #2563eb !important;
  color: #ffffff !important;
  font-size: 22px !important;
}

.card-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #2563eb;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--blue-soft);
  font-size: 20px;
  margin-bottom: 16px;
}

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

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

/* ===== MARKETPLACES ===== */
.marketplaces {
  background: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 32px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.flags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.flag-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 10px;
  background: #f1f5f9;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  border: 1px solid var(--line);
}

.flag-icon { font-size: 20px; }

/* ===== HOW IT WORKS ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.step {
  text-align: center;
  padding: 32px 24px;
  background: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.step-number {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blue);
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  margin: 0 auto 16px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.step h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

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

.step code {
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
}

.tutorial-thumb {
  margin-top: 40px;
  text-align: center;
}

.tutorial-thumb img {
  max-width: 800px;
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  cursor: zoom-in;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tutorial-thumb img:hover {
  transform: scale(1.01);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.16);
}

/* LIGHTBOX MODAL */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  cursor: default;
}

/* ===== TECH ADVANTAGES ===== */
.tech-section {
  padding: 80px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.tech-card {
  padding: 28px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.tech-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.tech-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.tech-card code {
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--blue);
}

/* ===== CTA ===== */
.cta {
  text-align: center;
  padding: 80px 32px 100px;
  background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%);
  border-top: 1px solid var(--line);
}

.cta h2 {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.cta p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 32px;
}

/* ===== SITE FOOTER ===== */
.site-footer {
  background: #0f172a;
  color: #ffffff;
  padding: 40px 0;
  border-top: 1px solid #1e293b;
}

.site-footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
}

.footer-brand-text h4 {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
}

.footer-brand-text p {
  font-size: 12px;
  color: #94a3b8;
}

.copyright {
  font-size: 13px;
  color: #94a3b8;
}

.copyright a {
  color: #3b82f6;
  text-decoration: none;
}

.copyright a:hover {
  text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .main-menu__list { display: none; }
  .hero-inner { flex-direction: column; text-align: center; padding: 100px 20px 40px; gap: 32px; }
  .hero-content { max-width: 100%; }
  .hero-actions { justify-content: center; flex-direction: column; width: 100%; }
  .hero-image { max-width: 100%; }
  .section { padding: 60px 20px; }
  .footer-row { flex-direction: column; text-align: center; }
}
