/* ===== 全局重置 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

/* ===== 导航栏 ===== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #383838;
  transition: box-shadow 0.3s ease;
}

.nav-scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 32px;
  width: auto;
}

.nav-logo-text {
  font-size: 20px;
  font-weight: 700;
  color: #F58D34;
  letter-spacing: 0.5px;
}

.nav-logo-sub {
  font-size: 11px;
  color: #888;
  font-weight: 400;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  color: #ccc;
  text-decoration: none;
  font-size: 15px;
  padding: 8px 14px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-link-active {
  color: #F58D34 !important;
  background: rgba(245, 141, 52, 0.1) !important;
}

/* 下拉菜单 */
.nav-dropdown {
  position: relative;
  padding-bottom: 4px;
  margin-bottom: -4px;
}

.nav-link-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-dd-arrow {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
  opacity: 0.6;
}

.nav-dropdown:hover .nav-dd-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 160px;
  background: #2e2e2e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dd-item {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  color: #bbb;
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}

.nav-dd-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-dd-item-active {
  color: #F58D34 !important;
  background: rgba(245, 141, 52, 0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 16px;
}

.btn-nav {
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-trial {
  color: #ccc;
  border: 1px solid #555;
  background: transparent;
}

.btn-trial:hover {
  color: #fff;
  border-color: #888;
}

.btn-buy {
  color: #fff;
  background: #F58D34;
  border: 1px solid #F58D34;
}

.btn-buy:hover {
  background: #e07d28;
  border-color: #e07d28;
}

/* 汉堡菜单 */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: #ccc;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger-active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }

  .nav-logo-sub {
    display: none;
  }

  .nav-menu {
    display: flex;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(30, 30, 30, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 0;
    gap: 0;
    overflow-y: auto;
    max-height: calc(100vh - 64px);
    border-top: 1px solid rgba(245, 141, 52, 0.15);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
  }

  .nav-menu-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links {
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 12px 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-link {
    display: flex;
    align-items: center;
    padding: 14px 28px;
    font-size: 15px;
    color: #bbb;
    border-radius: 0;
    position: relative;
    transition: color 0.2s, background 0.2s;
  }

  .nav-link::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: transparent;
    transition: background 0.2s;
  }

  .nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
  }

  .nav-link:hover::before {
    background: #F58D34;
  }

  .nav-link-active {
    color: #F58D34 !important;
    background: rgba(245, 141, 52, 0.06) !important;
  }

  .nav-link-active::before {
    background: #F58D34 !important;
  }

  /* 移动端下拉菜单 */
  .nav-dropdown {
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .nav-link-dropdown {
    display: flex;
    width: 100%;
    justify-content: space-between;
  }

  .nav-dropdown-menu {
    position: static !important;
    transform: none !important;
    min-width: 0;
    background: rgba(255, 255, 255, 0.03);
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    display: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-dropdown:hover .nav-dropdown-menu {
    display: none;
  }

  .nav-dropdown-open > .nav-dropdown-menu {
    display: block !important;
  }

  .nav-dd-arrow {
    margin-left: auto;
    transition: transform 0.3s;
  }

  .nav-dropdown-open > .nav-link-dropdown .nav-dd-arrow {
    transform: rotate(180deg);
  }

  .nav-dd-item {
    display: block;
    padding: 10px 28px 10px 44px;
    font-size: 14px;
    color: #999;
    border-radius: 0;
    position: relative;
    text-decoration: none;
  }

  .nav-dd-item::before {
    content: '—';
    position: absolute;
    left: 28px;
    color: #555;
    font-size: 12px;
  }

  .nav-dd-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
  }

  .nav-dd-item-active {
    color: #F58D34 !important;
    background: rgba(245, 141, 52, 0.04);
  }

  .nav-actions {
    flex-direction: column;
    margin-left: 0;
    width: 100%;
    gap: 12px;
    padding: 20px 24px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .btn-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    width: 100%;
    padding: 15px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    letter-spacing: 0.3px;
  }

  .btn-nav .btn-icon {
    width: 18px;
    height: 18px;
  }

  .btn-trial {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ddd;
  }

  .btn-trial:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
  }

  .btn-buy {
    background: linear-gradient(135deg, #F58D34, #e07520);
    border: none;
    color: #fff;
    box-shadow: 0 6px 20px rgba(245, 141, 52, 0.3);
  }

  .btn-buy:hover {
    background: linear-gradient(135deg, #ff9a40, #F58D34);
    box-shadow: 0 8px 24px rgba(245, 141, 52, 0.4);
  }
}

/* ===== 页脚 ===== */
footer {
  background: #2a2a2a;
  color: #aaa;
  padding: 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 40px 0 24px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.footer-logo {
  height: 28px;
  width: auto;
  opacity: 0.8;
}

.footer-brand-name {
  font-size: 18px;
  font-weight: 700;
  color: #F58D34;
}

.footer-info {
  flex: 1;
  min-width: 240px;
}

.footer-copyright {
  font-size: 14px;
  margin: 0 0 6px;
  color: #ccc;
}

.footer-reseller {
  font-size: 13px;
  margin: 0;
  color: #888;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.footer-contact-item a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact-item a:hover {
  color: #F58D34;
}

.footer-icon {
  width: 16px;
  height: 16px;
  color: #F58D34;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid #3a3a3a;
  padding: 16px 0;
  text-align: center;
}

.footer-note-en {
  font-size: 12px;
  color: #666;
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

/* ===== 子页面通用样式 ===== */
.page-hero {
  background: #1a1a1a;
  padding: 120px 24px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(245, 141, 52, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 141, 52, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 141, 52, 0.015) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.page-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 141, 52, 0.08);
  border: 1px solid rgba(245, 141, 52, 0.2);
  color: #F58D34;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.page-hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #F58D34;
}

.page-hero h1 {
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.page-hero p {
  font-size: 16px;
  color: #999;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== 内容区通用 ===== */
.page-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}

.page-content-wide {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}

.accent-link {
  color: #F58D34;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}

.accent-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* ===== 区域标题通用 ===== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 141, 52, 0.06);
  border: 1px solid rgba(245, 141, 52, 0.15);
  color: #F58D34;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #F58D34;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 14px;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 16px;
  color: #888;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

.bg-light {
  background: #f9f9f9;
}

/* ===== CTA 底部横幅 ===== */
.cta-banner {
  background: #1a1a1a;
  padding: 100px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(245, 141, 52, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 141, 52, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 141, 52, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.cta-banner p {
  font-size: 16px;
  color: #999;
  margin-bottom: 40px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.3px;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #F58D34, #e07520);
  color: #fff;
  box-shadow: 0 4px 20px rgba(245, 141, 52, 0.3);
}

.btn-hero-primary:hover {
  background: linear-gradient(135deg, #ff9a40, #F58D34);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(245, 141, 52, 0.4);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: #bbb;
  border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.btn-hero-secondary:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

/* ===== 响应式通用 ===== */
@media (max-width: 900px) {
  .page-hero h1 {
    font-size: 32px;
  }

  .section-title {
    font-size: 28px;
  }

  .cta-banner h2 {
    font-size: 28px;
  }
}

@media (max-width: 600px) {
  .page-hero {
    padding: 100px 16px 48px;
  }

  .page-hero h1 {
    font-size: 26px;
  }

  .page-content {
    padding: 40px 16px 60px;
  }

  .page-content-wide {
    padding: 40px 16px 60px;
  }

  .cta-banner {
    padding: 64px 16px;
  }

  .cta-banner h2 {
    font-size: 24px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-hero {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}
