:root {
  --bg-black: #000;
  --bg-dark: #111;
  --bg-card: #161616;
  --text-white: #fff;
  --text-gray: #aaa;
  --border-light: rgba(255, 255, 255, 0.1);
  --border-medium: rgba(255, 255, 255, 0.2);
  --accent: #fff;
  --transition: all 0.3s ease;
  --radius-sm: 6px;
  --radius-md: 8px;
  --logo-h: 32px;
  --nav-pad-y: 30px;
  --nav-pad-y-scroll: 20px;
  --nav-total: calc(var(--logo-h) + var(--nav-pad-y) * 2);
  --nav-total-scroll: calc(var(--logo-h) + var(--nav-pad-y-scroll) * 2);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-total); }
body.t12 {
  background: var(--bg-black);
  color: var(--text-white);
  line-height: 1.6;
  padding-top: var(--nav-total);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
body.t12 a { color: inherit; text-decoration: none; transition: var(--transition); }
body.t12 ul { list-style: none; }
body.t12 button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
body.t12 img { display: block; max-width: 100%; height: auto; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.section-header { margin-bottom: 60px; }
.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}
.section-header h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 60px;
  height: 2px;
  background: var(--text-white);
}
.section-header p { font-size: 1.1rem; color: var(--text-gray); max-width: 600px; }
.section-header.text-center { text-align: center; }
.section-header.text-center h2::after { left: 50%; transform: translateX(-50%); }
.section-header.text-center p { margin-inline: auto; }

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: var(--nav-pad-y) 0;
  z-index: 999;
  transition: var(--transition);
  background: transparent;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  padding: var(--nav-pad-y-scroll) 0;
  background: var(--bg-black);
  border-bottom-color: var(--border-light);
}
body.t12.navbar-scrolled {
  padding-top: var(--nav-total-scroll);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo:hover .logo-img { opacity: 0.85; }
.logo-img {
  height: var(--logo-h);
  width: var(--logo-h);
  border-radius: var(--radius-md);
  object-fit: cover;
  display: block;
  background: var(--bg-dark);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}
.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  min-width: 0;
  gap: 0;
}
.desktop-nav ul { display: flex; align-items: center; margin-right: 40px; flex-wrap: wrap; }
.nav-link {
  color: var(--text-gray);
  font-weight: 500;
  padding: 0 18px;
  font-size: 1rem;
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 18px;
  width: 0;
  height: 1px;
  background: var(--text-white);
  transition: var(--transition);
}
.nav-link:hover { color: var(--text-white); }
.nav-link:hover::after { width: calc(100% - 36px); }
.nav-actions { display: flex; gap: 15px; align-items: center; flex-shrink: 0; }
.nav-actions .btn-outline {
  padding: 12px 24px;
  min-width: 0;
  min-height: 0;
  font-size: 1rem;
  font-weight: 600;
  background: transparent;
  border-radius: var(--radius-sm);
  border-color: var(--border-medium);
}
.nav-actions .btn-outline:hover {
  border-color: var(--text-white);
  background: rgba(255, 255, 255, 0.05);
}

.language-selector { position: relative; }
.language-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-white);
  font-size: 0.9rem;
  line-height: 1.2;
  transition: var(--transition);
}
.language-btn .fa-globe { font-size: 1rem; }
.language-btn:hover {
  border-color: var(--text-white);
  background: rgba(255, 255, 255, 0.05);
}
.language-btn .fa-angle-down { font-size: 0.8rem; transition: transform 0.3s ease; }
.language-selector.is-open .language-btn .fa-angle-down { transform: rotate(180deg); }
.language-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 160px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
.language-selector.is-open .language-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.language-option {
  display: block;
  padding: 12px 20px;
  color: var(--text-gray);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}
.language-option:last-child { border-bottom: 0; border-radius: 0 0 12px 12px; }
.language-option:first-child { border-radius: 12px 12px 0 0; }
.language-option:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
}
.language-option.active { color: var(--text-white); background: rgba(255, 255, 255, 0.08); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-align: center;
  border: 1px solid transparent;
  line-height: 1.2;
  white-space: nowrap;
}
body.t12 a.btn-primary {
  background: var(--text-white);
  color: var(--bg-black);
  border-color: var(--text-white);
}
body.t12 a.btn-primary:hover {
  background: #e8e8e8;
  color: var(--bg-black);
  border-color: #e8e8e8;
}
body.t12 a.btn-outline {
  background: transparent;
  border-color: var(--border-medium);
  color: var(--text-white);
}
body.t12 a.btn-outline:hover {
  border-color: var(--text-white);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
}
body.t12 a.btn-transparent {
  background: transparent;
  border-color: var(--border-medium);
  color: var(--text-white);
}
body.t12 a.btn-transparent:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-white);
  color: var(--text-white);
}
.btn-large {
  min-height: 50px;
  padding: 14px 30px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.menu-toggle { display: none; font-size: 1.5rem; color: var(--text-white); padding: 8px; }

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background: var(--bg-black);
  z-index: 1000;
  transition: var(--transition);
  border-left: 1px solid var(--border-light);
}
.mobile-nav.active { right: 0; }
.mobile-nav-content { padding: 28px; height: 100%; overflow-y: auto; }
.menu-close { font-size: 1.6rem; margin-bottom: 32px; display: block; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 20px; }
.mobile-nav-link {
  font-size: 1.1rem;
  color: var(--text-gray);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}
.mobile-nav-link:hover { color: var(--text-white); }
.mobile-language-selector {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}
.mobile-language-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  color: var(--text-white);
  font-size: 1rem;
  transition: var(--transition);
}
.mobile-language-btn .fa-angle-down { transition: transform 0.3s ease; }
.mobile-language-selector.is-open .mobile-language-btn .fa-angle-down { transform: rotate(180deg); }
.mobile-language-dropdown {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  margin-top: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
}
.mobile-language-selector.is-open .mobile-language-dropdown {
  max-height: 280px;
  border-color: var(--border-light);
}
.mobile-language-dropdown .language-option { padding: 15px 20px; }
.mobile-nav-actions { display: flex; flex-direction: column; gap: 15px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border-light); }
.mobile-nav-actions .btn { width: 100%; }

.hero {
  padding: 72px 0 100px;
  background: var(--bg-black);
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 55%, rgba(255, 255, 255, 0.06), transparent 52%);
  pointer-events: none;
}
.hero-content {
  display: flex;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 1;
}
.hero-text { flex: 1; min-width: 0; }
.hero-text h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero-text p { font-size: 1.15rem; color: var(--text-gray); margin-bottom: 32px; max-width: 520px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
  font-size: 0.85rem;
  color: var(--text-gray);
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  color: var(--text-gray);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  font-size: 0.82rem;
}
.hero-meta .fa {
  color: var(--text-white);
  font-size: 0.9rem;
  opacity: 0.9;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-bottom: 8px;
}
.hero-buttons .btn-large { min-width: 140px; }
.hero-visual { flex: 1; min-width: 0; }
.chart-container {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px;
  background: var(--bg-dark);
}
.hero-shot { width: 100%; max-height: 560px; object-fit: contain; border-radius: 6px; margin: 0 auto; }

.markets { padding: 100px 0; background: var(--bg-dark); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.product-card {
  border-radius: var(--radius-md);
  padding: 30px;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}
.product-card:hover {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--border-medium);
  transform: translateY(-4px);
}
.product-card .product-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--bg-black);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.35rem;
  border: 1px solid var(--border-light);
}
.product-card h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 12px; }
.product-card p { color: var(--text-gray); font-size: 0.95rem; line-height: 1.7; }

.products { padding: 100px 0; background: var(--bg-black); }
.products-content, .features-content, .community-content {
  display: flex;
  align-items: center;
  gap: 60px;
}
.products-text, .features-text, .community-text { flex: 1; min-width: 0; }
.products-text h2, .features-text h2, .community-text h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.products-subtitle, .features-subtitle, .community-subtitle {
  font-size: 1.05rem;
  color: var(--text-gray);
  margin-bottom: 36px;
  line-height: 1.6;
}
.products-list, .features-list, .community-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.product-item, .feature-item, .community-item {
  display: flex;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border-light);
}
.product-item:last-child, .feature-item:last-child, .community-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.item-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-light);
  color: var(--text-white);
}
.product-info h3, .feature-info h3, .community-info h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  font-weight: 600;
}
.product-info p, .feature-info p, .community-info p { color: var(--text-gray); font-size: 0.92rem; }
.products-visual, .features-visual, .community-visual { flex: 1; min-width: 0; }
.products-image-container, .features-image-container, .community-image-container {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 10px;
  background: var(--bg-dark);
}
.products-image, .features-image, .community-image {
  width: 100%;
  border-radius: 6px;
  max-height: 420px;
  object-fit: contain;
  margin: 0 auto;
}

.features { padding: 100px 0; background: var(--bg-dark); }
.community { padding: 100px 0; background: var(--bg-black); }

.news { padding: 100px 0; background: var(--bg-dark); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.news-card {
  padding: 28px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.news-card:hover { border-color: var(--border-medium); background: rgba(255, 255, 255, 0.02); }
.news-card .fa { font-size: 1.4rem; margin-bottom: 16px; color: var(--text-white); }
.news-card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.news-card p { color: var(--text-gray); font-size: 0.92rem; margin-bottom: 16px; }
.news-link { color: var(--text-white); font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 8px; }
.news-link:hover { color: var(--text-gray); }

.signup { padding: 100px 0; background: var(--bg-black); border-top: 1px solid var(--border-light); }
.signup-text h2 { font-size: 2rem; margin-bottom: 20px; }
.signup-text p { color: var(--text-gray); max-width: 800px; line-height: 1.75; margin-bottom: 32px; }
.download-buttons { display: flex; flex-wrap: wrap; gap: 16px; }
body.t12 a.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  transition: var(--transition);
  font-weight: 600;
  color: var(--text-white);
}
.download-btn:hover { background: rgba(255, 255, 255, 0.06); border-color: var(--text-white); }
.download-btn i { font-size: 1.5rem; }

.faq { padding: 100px 0 120px; background: var(--bg-dark); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
}
.faq-question .fa-plus { transition: transform 0.3s ease; color: var(--text-gray); }
.faq-item.active .faq-question .fa-plus { transform: rotate(45deg); color: var(--text-white); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.active .faq-answer { max-height: 200px; }
.faq-answer p { padding: 0 0 22px; color: var(--text-gray); font-size: 0.95rem; }

.footer { padding: 60px 0 40px; background: var(--bg-black); border-top: 1px solid var(--border-light); }
.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand img { width: 40px; height: 40px; border-radius: 10px; margin-bottom: 12px; }
.footer-brand p { color: var(--text-gray); font-size: 0.9rem; max-width: 280px; }
.footer-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-column h4 { font-size: 0.95rem; margin-bottom: 14px; }
.footer-column a {
  display: block;
  color: var(--text-gray);
  font-size: 0.88rem;
  padding: 6px 0;
}
.footer-column a:hover { color: var(--text-white); }
.footer-social h4 { margin-bottom: 14px; font-size: 0.95rem; }
.social-icons { display: flex; flex-wrap: wrap; gap: 12px; }
.social-icons a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text-gray);
}
.social-icons a:hover { color: var(--text-white); border-color: var(--border-medium); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  text-align: center;
  color: var(--text-gray);
  font-size: 0.82rem;
  line-height: 1.7;
}
.footer-bottom a { color: var(--text-gray); text-decoration: underline; }

body.t12 a.t12-float-dl {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: var(--text-white);
  color: var(--bg-black);
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}
.t12-backtop {
  position: fixed;
  right: 20px;
  bottom: 76px;
  z-index: 89;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-medium);
  background: var(--bg-card);
  color: var(--text-white);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.t12-backtop.on { opacity: 1; pointer-events: auto; }

@media (max-width: 992px) {
  .hero-content,
  .products-content,
  .features-content,
  .community-content { flex-direction: column; }
  .features-content { flex-direction: column-reverse; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-columns { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root {
    --nav-pad-y: 20px;
    --nav-pad-y-scroll: 14px;
  }
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .hero { padding: 40px 0 70px; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn-large { width: 100%; min-width: 0; }
  .footer-columns { grid-template-columns: 1fr; }
  .t12-float-dl { left: 16px; right: 16px; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}