:root {
  --primary: #a78bfa;
  --primary-dark: #7c3aed;
  --accent-green: #34d399;
  --accent-pink: #f472b6;
  --bg-base: #0c0a14;
  --bg-surface: #16122a;
  --bg-card: rgba(22, 18, 42, 0.75);
  --bg-card-hover: rgba(36, 28, 68, 0.9);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(167, 139, 250, 0.4);
  --text-main: #ffffff;
  --text-sub: #a8a3c7;
  --text-muted: #6b6685;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 50px;
  --font-stack: "Outfit", "PingFang SC", "Microsoft YaHei", sans-serif;
  --container-max: 1200px;
  --transition: all 0.26s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-stack);
  background:
    radial-gradient(circle at 12% 12%, rgba(124, 58, 237, 0.14) 0%, transparent 42%),
    radial-gradient(circle at 88% 20%, rgba(244, 114, 182, 0.1) 0%, transparent 38%),
    var(--bg-base);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #1a0f2e;
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(124, 58, 237, 0.5);
}
.btn-outline {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* Header */
.goj-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(12, 10, 20, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  height: 72px;
  display: flex;
  align-items: center;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  white-space: nowrap;
}
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #1a0f2e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}
.brand .accent { color: var(--primary); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-link {
  font-size: 14px;
  color: var(--text-sub);
  transition: color 0.2s;
}
.nav-link:hover,
.nav-link.active { color: var(--primary); }

.header-cta { display: flex; align-items: center; gap: 12px; }

.mobile-btn {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.mobile-btn span,
.mobile-btn::before,
.mobile-btn::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-main);
  border-radius: 1px;
}
.mobile-btn span { width: 18px; height: 2px; background: var(--text-main); }

/* Hero */
.goj-hero {
  padding: 85px 0 65px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 45px;
  align-items: center;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(167, 139, 250, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.25);
  font-size: 13px;
  color: var(--primary);
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--primary), var(--accent-pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 16px;
  color: var(--text-sub);
  max-width: 520px;
  margin-bottom: 22px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  margin-bottom: 28px;
  font-size: 14px;
  color: #c4b5fd;
}
.hero-badges span::before {
  content: "✓ ";
  color: var(--accent-green);
  font-weight: 700;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Conn card */
.conn-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  position: relative;
}
.conn-mode {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  font-size: 13px;
  color: var(--text-sub);
}
.conn-tag {
  background: rgba(52, 211, 153, 0.15);
  color: var(--accent-green);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
}
.conn-brand-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 6px;
}
.conn-brand-desc {
  color: var(--text-sub);
  font-size: 14px;
  margin-bottom: 20px;
}
.conn-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(167, 139, 250, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.25);
  font-size: 13px;
  color: var(--primary);
  margin-bottom: 24px;
}
.conn-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.45); }
  70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
.conn-metrics-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.conn-metric-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}
.conn-metric-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}
.conn-metric-lbl {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Sections */
.goj-section { padding: 85px 0; }
.goj-section-head {
  text-align: center;
  margin-bottom: 48px;
}
.goj-section-head h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  margin-bottom: 12px;
}
.goj-section-head p {
  color: var(--text-sub);
  font-size: 15px;
  max-width: 560px;
  margin: 0 auto;
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.adv-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition);
}
.adv-card:hover {
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}
.adv-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(167, 139, 250, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}
.adv-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.adv-card p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
}

/* Steps */
.goj-steps-section { background: rgba(0, 0, 0, 0.25); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
}
.step-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.step-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.step-desc {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
}

/* News */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: var(--transition);
}
.news-card:hover {
  border-color: var(--primary);
  background: var(--bg-card-hover);
}
.news-meta {
  font-size: 12px;
  color: var(--primary);
  margin-bottom: 12px;
}
.news-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.45;
}
.news-snippet {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.7;
}

/* FAQ */
.goj-faq-section { background: rgba(0, 0, 0, 0.25); }
.faq-container { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.active {
  border-color: rgba(167, 139, 250, 0.4);
  background: rgba(28, 22, 52, 0.85);
}
.faq-question {
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  gap: 16px;
}
.faq-toggle {
  font-size: 20px;
  font-weight: 400;
  color: var(--primary);
  transition: transform 0.25s;
  flex-shrink: 0;
}
.faq-item.active .faq-toggle { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s, padding 0.35s;
  padding: 0 24px;
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.7;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

/* CTA */
.goj-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.12), rgba(244, 114, 182, 0.1));
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}
.goj-cta h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 14px;
}
.goj-cta p {
  font-size: 16px;
  color: var(--text-sub);
  margin-bottom: 30px;
}

/* Footer */
.goj-footer {
  background: #080610;
  padding: 50px 0 25px;
}
.footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Download page */
.dl-hero {
  padding: 90px 0 40px;
  text-align: center;
}
.dl-hero .hero-tag { margin-bottom: 18px; }
.dl-hero h1 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.25;
}
.dl-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--primary), var(--accent-pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.dl-hero > .container > p {
  color: var(--text-sub);
  max-width: 620px;
  margin: 0 auto 20px;
  font-size: 15px;
}
.dl-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 28px;
  margin-bottom: 40px;
  font-size: 13px;
  color: #c4b5fd;
}
.dl-trust span::before {
  content: "✓ ";
  color: var(--accent-green);
  font-weight: 700;
}
.dl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  text-align: left;
  margin-top: 10px;
}
.dl-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition);
  min-height: 280px;
}
.dl-card:hover {
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
}
.dl-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(167, 139, 250, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--primary);
  font-size: 18px;
}
.dl-card h3 { font-size: 18px; font-weight: 700; }
.dl-ver {
  font-size: 12px;
  color: var(--text-muted);
}
.dl-card p {
  font-size: 13px;
  color: var(--text-sub);
  flex: 1;
  line-height: 1.65;
}

.install-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.install-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  text-align: center;
}
.install-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #1a0f2e;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.install-card h4 { font-size: 16px; margin-bottom: 8px; }
.install-card p { font-size: 13px; color: var(--text-sub); }

.spec-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-card);
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 640px;
}
.spec-table th,
.spec-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}
.spec-table th {
  background: rgba(167, 139, 250, 0.08);
  color: var(--primary);
  font-weight: 600;
}
.spec-table td { color: var(--text-sub); }
.spec-table tr:last-child td { border-bottom: none; }

.section { padding: 70px 0; }
.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-header h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  margin-bottom: 10px;
}
.section-header p {
  color: var(--text-sub);
  font-size: 15px;
}

@media (max-width: 992px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(12, 10, 20, 0.98);
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    gap: 14px;
  }
  .nav-menu.open { display: flex; }
  .mobile-btn { display: flex; }
  .header-cta .btn { display: none; }
  .hero-grid,
  .adv-grid,
  .steps-grid,
  .news-grid,
  .dl-grid,
  .install-grid { grid-template-columns: 1fr; }
  .goj-cta h2 { font-size: 28px; }
  .footer-flex { flex-direction: column; text-align: center; }
}
