/* style.css */
/* ---------- 全局重置 & 基础变量  ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  background-color: #000000;
  color: #ffffff;
  line-height: 1.5;
}

/* ---------- 吸顶导航 ---------- */
.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #000000;
  border-bottom: 0px solid rgba(255, 255, 255, 0.051);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.9);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.7rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo-area {
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 1px;
  color: #ffffff;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: #f0f0f0;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.nav-links a:hover {
  border-bottom-color: #b0e0ff;
  color: #ffffff;
}

.nav-links a.active {
  border-bottom-color: #3f96ff !important;
  color: #ffffff;
  font-weight: 600;
}

@media (max-width: 420px) {
  .nav-links a {
    font-size: 0.7rem;
  }
  .logo-area {
    font-size: 1.1rem;
  }
}

/* ---------- 首屏大卡片 ---------- */
.hero {
  max-width: 1280px;
  margin: 1rem auto 2rem;
  padding: 0 1rem;
  position: relative;
  z-index: 5;
}

.hero-card {
  position: relative;
  width: 100%;
  height: 350px;
  border-radius: 10px;
  overflow: visible;
  box-shadow: 0 25px 40px -12px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #000;
}

.card-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  border-radius: 10px;
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.852);
  z-index: 1;
  border-radius: 10px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 1.5rem 2.5rem 1.5rem;
  color: #ffffff;
  max-width: 750px;
}

.hero-title {
  font-size: clamp(1.8rem, 8vw, 2.5rem);
  font-weight: 500;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
  margin-bottom: 1rem;
}

.registered-mark {
  font-size: 0.7rem;
  vertical-align: super;
  margin-left: 0.2rem;
  font-weight: 300;
  opacity: 0.9;
  display: inline-block;
  transform: translateY(-0.1rem);
}

.hero-description {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2rem;
  max-width: 650px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  padding: 0.7rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-block;
  border: 1px solid transparent;
  cursor: pointer;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 25px -6px rgba(0, 0, 0, 0.5);
}

.btn-primary {
  background: #3f96ff;
  color: #ffffff;
  border-color: #9fd1ff00;
}

.btn-primary:hover {
  background: #cef0ff;
  transform: scale(1.03);
  box-shadow: 0 12px 28px -8px #6ab0f0;
  border-color: #b4e0ff;
  color: #001a26;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.02);
}

.bottom-nav-buttons {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 30;
  transform: translateY(50%);
  pointer-events: none;
}

.nav-single-btn {
  background: #ffffff;
  border-radius: 8px;
  padding: 0.1rem 0.1rem;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  pointer-events: auto;
  border: none;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-link-item {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.4rem 1rem;
  white-space: nowrap;
  border-right: 1px solid #e0e0e0;
  background: transparent;
  transition: color 0.2s ease;
}

.nav-link-item:last-child {
  border-right: none;
}

@media (max-width: 380px) {
  .nav-link-item {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
}

.nav-link-item:hover {
  color: #3f96ff;
}

/* ---------- 卡片网格 ---------- */
.feature-cards-row,
.image-cards-row {
  max-width: 1280px;
  margin: 2rem auto 1.5rem auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  position: relative;
  z-index: 10;
}

@media (max-width: 900px) {
  .feature-cards-row,
  .image-cards-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .feature-cards-row,
  .image-cards-row {
    grid-template-columns: 1fr;
  }
}

.feature-card,
.img-card {
  background: rgba(20, 20, 25, 0.9);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 1.5rem 1.2rem;
  box-shadow: 0 18px 30px -12px rgba(0, 0, 0, 0.7);
  transition: transform 0.2s ease, border-color 0.2s;
  display: flex;
  flex-direction: column;
}

.card-main-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 0.5rem;
}

.card-list {
  list-style: none;
  margin: 1rem 0 0.8rem 0;
  flex: 1;
}

.card-list li {
  font-size: 0.9rem;
  color: #e0e0e0;
  padding: 0.3rem 0 0.3rem 1.2rem;
  position: relative;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}

.card-list li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: #6ab0f0;
  font-size: 1rem;
  line-height: 1;
}

.card-footnote {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.5rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-style: italic;
}

.card-image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.card-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  background: transparent;
  border-radius: 8px;
}

.img-card-caption {
  margin: 0.5rem 0 0.8rem 0;
  font-size: 0.9rem;
  color: #e0e0e0;
  line-height: 1.5;
  border-left: 2px solid #3f96ff;
  padding-left: 0.8rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0 8px 8px 0;
}

.img-card-caption small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
  display: block;
  margin-top: 0.3rem;
}

.card-download-btn {
  display: inline-block;
  background: #3f96ff;
  color: #ffffff;
  border: none;
  padding: 0.2rem 1rem;
  border-radius: 8px;
  font-weight: 400;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 8px 20px -8px #3f96ff70;
  text-align: center;
  margin-top: 0.5rem;
  align-self: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ---------- 特色功能切换区域 ---------- */
.feature-toggle-section {
  max-width: 1280px;
  margin: 3rem auto 2rem auto;
  padding: 0 1rem;
  position: relative;
  z-index: 10;
}

.section-bold-title {
  font-size: 1.5rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  border-left: 5px solid #3f96ff;
  padding-left: 1rem;
}

.toggle-button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
  background: rgba(20, 20, 25, 0);
  backdrop-filter: blur(4px);
  padding: 1rem 0.8rem;
  border-radius: 8px;
  border: 0px solid rgba(255, 255, 255, 0.15);
  width: 100%;
  justify-content: flex-start;
}

.toggle-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e0e0e0;
  padding: 0.5rem 1.2rem;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .toggle-btn {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
  }
}

.toggle-btn.active {
  background: #3f96ff;
  color: #ffffff;
  border-color: #3f96ff;
  transform: scale(1.02);
}

.showcase-panels {
  width: 100%;
}

.showcase-panel {
  background: rgba(20, 20, 25, 0);
  backdrop-filter: blur(4px);
  border: 0px solid rgba(255, 255, 255, 0.062);
  border-radius: 28px;
  padding: 1.5rem 1.2rem;
  box-shadow: 0 25px 35px -14px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.showcase-text {
  flex: 1 1 250px;
  color: #f0f0f0;
}

.showcase-text h4 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
  color: #ffffff;
  border-bottom: 2px solid #3f96ff;
  display: inline-block;
  padding-bottom: 0.3rem;
}

.showcase-text p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #d0d0d0;
  margin: 1rem 0;
}

.showcase-text ul {
  list-style: none;
  margin: 1rem 0;
}

.showcase-text li {
  padding: 0.3rem 0 0.3rem 1.5rem;
  position: relative;
  font-size: 0.9rem;
  color: #c0c0c0;
}

.showcase-text li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: #3f96ff;
  font-size: 0.9rem;
}

.showcase-image {
  flex: 1 1 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 24px;
  padding: 1rem;
  border: 0px solid rgba(255, 255, 255, 0.1);
  min-height: 200px;
}

.showcase-image img,
.showcase-image video {
  max-width: 100%;
  max-height: 300px;
  width: auto;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 20px 30px -12px #000000cc;
  object-fit: contain;
}

.fullscreen-video-panel {
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden;
}
.fullscreen-video-panel .showcase-image {
  min-height: auto;
  padding: 0;
  background: black;
  width: 100%;
  flex: 1 1 100%;
  border-radius: 28px;
  overflow: hidden;
  border: none;
  box-shadow: 0 25px 35px -14px rgba(0, 0, 0, 0.8);
}
.fullscreen-video-panel video {
  width: 100%;
  height: auto;
  min-height: unset;
  max-height: unset;
  object-fit: cover;
  border-radius: 28px;
  display: block;
  aspect-ratio: 16 / 9;
}

/* ---------- 工具版块 (固定高度) ---------- */
.tools-section {
  max-width: 1280px;
  margin: 3rem auto 4rem auto;
  padding: 0 1rem;
  z-index: 10;
}

.tools-container {
  background: rgba(20, 20, 25, 0.7);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 1.8rem 1.2rem;
  box-shadow: 0 25px 40px -12px #000000;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: stretch;
}

.tools-nav {
  flex: 1 1 280px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  align-content: start;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding-right: 1.2rem;
}

@media (max-width: 700px) {
  .tools-nav {
    border-right: none;
    padding-right: 0;
    width: 100%;
  }
}

.tool-nav-btn {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.6rem 0.3rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
  width: 100%;
  white-space: normal;
  word-break: break-word;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  text-align: center;
}

.tool-nav-btn i {
  font-size: 1rem;
  color: inherit;
  flex-shrink: 0;
}

.tool-nav-btn.active {
  background: #3f96ff;
  border-color: #3f96ff;
  transform: scale(1.02);
  box-shadow: 0 10px 20px -6px #3f96ffb3;
}

.tools-display {
  flex: 2 1 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  border-radius: 8px;
  padding: 0rem;
  height: 400px;
  border: 1px solid rgba(255, 255, 255, 0);
  transition: all 0.2s ease;
  overflow: hidden;
}

.tools-image,
.tools-video {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 30px -10px #000;
  transition: opacity 0.15s ease;
  object-fit: contain;
  display: block;
}

.tools-video {
  max-height: 100%;
  width: 100%;
  height: auto;
}

/* ---------- 更多功能卡片（2行5列，黑到紫渐变） ---------- */
.more-features-section {
  max-width: 1280px;
  margin: 3rem auto 4rem auto;
  padding: 0 1rem;
  z-index: 10;
}

.more-features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
}

@media (max-width: 1100px) {
  .more-features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 800px) {
  .more-features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 550px) {
  .more-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-more-card {
  background: linear-gradient(160deg, #000000 0%, #140620 60%, #18032b 100%);
  border: 1px solid rgba(37, 4, 86, 1);
  border-radius: 8px;
  padding: 1.5rem 1rem 1.2rem 1rem;
  box-shadow: 0 20px 30px -10px #000000cc;
  backdrop-filter: blur(2px);
  transition: transform 0.15s ease, border-color 0.2s;
  display: flex;
  flex-direction: column;
  color: #fff;
}

.more-card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #d4bfff;
}

.more-card-title {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  letter-spacing: 0.3px;
  border-left: 3px solid #b47aff;
  padding-left: 0.6rem;
}

.more-card-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin-bottom: 0.8rem;
  flex: 1;
}

.more-card-tag {
  font-size: 0.7rem;
  color: #c7b0ff;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 30px;
  align-self: flex-start;
  border: 0.5px solid rgba(200, 180, 255, 0.4);
  margin-top: 0.3rem;
}

/* 右侧独立返回顶部链接 */
.back-to-top-side {
  position: fixed;
  bottom: 2.5rem;
  right: 1.2rem;
  z-index: 999;
  background: rgba(20, 20, 25, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.2s, transform 0.2s;
  font-size: 1.4rem;
}

.back-to-top-side:hover {
  background: #3f96ff;
  transform: scale(1.08);
  border-color: #3f96ff;
}

.back-to-top-side i {
  color: white;
}

/* 底部扩展信息区 */
.footer-extended {
  max-width: 1280px;
  margin: 0 auto 1rem auto;
  padding: 2rem 1rem 1.5rem;
  background: linear-gradient(145deg, #0b0b0f 0%, #040109 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: 0 30px 40px -20px #000000;
  backdrop-filter: blur(2px);
  color: #dddddd;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem 1.2rem;
}

.footer-contact-text {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.9rem;
  color: #b0b0b0;
  text-decoration: none;
  cursor: default;
}
.footer-contact-text i {
  width: 1.2rem;
  color: #6a8cff;
  font-size: 1rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col h4 {
  color: #ffffff;
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  letter-spacing: 0.3px;
  border-left: 4px solid #3f96ff;
  padding-left: 0.7rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.9rem;
  color: #b0b0b0;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-contact-item i {
  width: 1.2rem;
  color: #6a8cff;
  font-size: 1rem;
}
.footer-contact-item:hover {
  color: #ffffff;
}
.footer-contact-item:hover i {
  color: #97b9ff;
}

.footer-download-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-download-link {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 40px;
  padding: 0.45rem 1rem;
  color: #d0d0ff;
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  transition: all 0.2s;
}
.footer-download-link i {
  font-size: 0.9rem;
  color: #97b4ff;
}
.footer-download-link:hover {
  background: #3f96ff20;
  border-color: #3f96ff80;
  color: #ffffff;
  transform: translateX(3px);
}

.footer-copyright {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #888;
}

.footer-copyright a {
  color: #aaa;
  text-decoration: none;
  border-bottom: 1px dotted #444;
}
.footer-copyright a:hover {
  color: #3f96ff;
  border-bottom-color: #3f96ff;
}

/* 原有的footer-note保留，简化点缀 */
.footer-note {
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  padding: 1.5rem 1rem;
  font-size: 0.8rem;
  z-index: 5;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.back-to-top-footer {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.back-to-top-footer:hover {
  color: #3f96ff;
}

@media (max-width: 600px) {
  .hero-card {
    height: 350px;
  }
  .back-to-top-side {
    bottom: 1.5rem;
    right: 1rem;
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
  }
  .tools-display {
    height: 250px;
  }
}

@media (max-width: 400px) {
  .tool-nav-btn {
    font-size: 0.75rem;
    padding: 0.5rem 0.2rem;
  }
  .tools-display {
    height: 220px;
  }
}