:root {
  --primary: #0D9488;
  --secondary: #D97706;
  --accent: #F472B6;
  --bg-dark: #0F1C1E;
  --text-main: #F0FDFA;
  --text-muted: #94A3B8;
  --bg-light: rgba(13, 148, 136, 0.08);
  --card-border: rgba(13, 148, 136, 0.22);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: #14B8A6;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: clamp(0.875rem, 1.1vw, 1rem);
  cursor: pointer;
  border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #115E59);
  color: #fff;
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(13, 148, 136, 0.5);
  color: #fff;
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary), #92400E);
  color: #fff;
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.35);
}

.btn-secondary:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 28px rgba(217, 119, 6, 0.5);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-outline:hover {
  background: rgba(13, 148, 136, 0.12);
  color: #fff;
}

.card {
  background: var(--bg-light);
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(13, 148, 136, 0.18);
  border-color: rgba(13, 148, 136, 0.45);
}

.card-solid {
  background: rgba(15, 28, 30, 0.85);
  border: 1px solid rgba(217, 119, 6, 0.25);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.card-solid:hover {
  transform: scale(1.02);
  border-color: var(--secondary);
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  margin: 0.6rem auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.section-title-left {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 800;
  padding-left: 1rem;
  border-left: 5px solid var(--primary);
  margin-bottom: 1.5rem;
}

.section-title-stamp {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-title-stamp span {
  display: inline-block;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: #fff;
  padding: 0.2rem 0.8rem;
  border-radius: 0.4rem;
  font-size: 0.65em;
  vertical-align: middle;
  margin-left: 0.5rem;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(15, 28, 30, 0.95), rgba(15, 28, 30, 0.75));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(13, 148, 136, 0.15);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 900;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-main);
}

.logo img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text-main);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: rgba(15, 28, 30, 0.98);
  border-top: 1px solid rgba(13, 148, 136, 0.2);
  padding: 1rem;
  gap: 1rem;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  color: var(--text-main);
  font-weight: 600;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(13, 148, 136, 0.1);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1rem 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(ellipse at 50% 20%, rgba(13, 148, 136, 0.18), transparent 55%),
              radial-gradient(ellipse at 80% 80%, rgba(217, 119, 6, 0.12), transparent 45%),
              var(--bg-dark);
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://resource.lejunwl.com/YlCms/2aed0651-1c85-4843-b516-7c79f8b93f03.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.28;
}

.hero-badge {
  display: inline-block;
  background: rgba(217, 119, 6, 0.15);
  color: var(--secondary);
  border: 1px solid rgba(217, 119, 6, 0.4);
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.hero h1 em {
  color: var(--primary);
  font-style: normal;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-subtitle {
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  background: rgba(13, 148, 136, 0.12);
  color: var(--primary);
}

.feature-img {
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 1rem;
}

.feature-img img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .feature-img img {
  transform: scale(1.08);
}

.guide-toc {
  position: sticky;
  top: 88px;
  height: fit-content;
}

.guide-toc a {
  display: block;
  padding: 0.65rem 1rem;
  color: var(--text-muted);
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}

.guide-toc a:hover,
.guide-toc a.active {
  color: var(--primary);
  border-left-color: var(--primary);
  background: var(--bg-light);
}

.guide-content h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.guide-content p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.guide-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.guide-content li {
  margin-bottom: 0.4rem;
}

.code-card {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(244, 114, 182, 0.06));
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  padding: 1.25rem;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.code-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(13, 148, 136, 0.18);
}

.code-tag {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 1.1rem;
  font-weight: 800;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.code-list {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.news-card {
  display: flex;
  flex-direction: column;
  background: rgba(15, 28, 30, 0.8);
  border: 1px solid rgba(217, 119, 6, 0.2);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(217, 119, 6, 0.15);
}

.news-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.news-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-meta {
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.news-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.news-excerpt {
  color: var(--text-muted);
  font-size: 0.9rem;
  flex: 1;
}

.download-section {
  position: relative;
  padding: 4rem 0;
  background: linear-gradient(180deg, rgba(13, 148, 136, 0.08), transparent);
}

.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.download-phone {
  position: relative;
  display: flex;
  justify-content: center;
}

.download-phone img {
  max-height: 520px;
  border-radius: 1.5rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.contact-card {
  background: rgba(13, 148, 136, 0.06);
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  padding: 1.25rem;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.contact-card:hover {
  transform: scale(1.03);
  border-color: var(--accent);
}

.contact-card img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 0.75rem;
  border-radius: 0.75rem;
}

.contact-card h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer {
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(13, 148, 136, 0.12);
  padding: 3rem 0 2rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  color: var(--primary);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary);
}

.friend-links {
  margin-bottom: 1.5rem;
}

.friend-links h4 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.friend-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.friend-links-list a {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.friend-links-list a:hover {
  color: var(--accent);
}

.copyright {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
  border-top: 1px solid rgba(13, 148, 136, 0.1);
  padding-top: 1.5rem;
}

.article-header {
  padding: 7rem 0 3rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(13, 148, 136, 0.1), transparent);
}

.article-header h1 {
  font-size: clamp(1.6rem, 4vw, 2.75rem);
  font-weight: 900;
  margin-bottom: 1rem;
}

.article-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.article-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
  color: var(--text-muted);
}

.article-body h2 {
  color: var(--primary);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.article-body p {
  margin-bottom: 1rem;
}

.article-body ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .grid-3,
  .grid-2,
  .grid-4,
  .download-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .guide-layout {
    grid-template-columns: 1fr;
  }
  .guide-toc {
    position: static;
    margin-bottom: 2rem;
  }
  .hero {
    min-height: auto;
    padding: 7rem 1rem 4rem;
  }
}
