/* ===== CSS Reset ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #e0e6ed;
  background-color: #0a1628;
  overflow-x: hidden;
  font-size: 16px;
  font-weight: 400;
}

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

a {
  color: #1e90ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #00d4ff;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ===== 变量定义 ===== */
:root {
  --primary-color: #1e90ff;
  --primary-dark: #0066cc;
  --accent-color: #00d4ff;
  --gold-color: #ffd700;
  --success-color: #00c853;
  --danger-color: #ff4757;
  --bg-dark: #0a1628;
  --bg-card: #122040;
  --bg-card-hover: #1a2d55;
  --bg-overlay: rgba(10, 22, 40, 0.85);
  --text-primary: #ffffff;
  --text-secondary: #b0bac8;
  --text-muted: #6b7a8d;
  --border-color: #2a3f5f;
  --gradient-primary: linear-gradient(135deg, #1e90ff 0%, #00d4ff 100%);
  --gradient-dark: linear-gradient(135deg, #0a1628 0%, #122040 100%);
  --gradient-gold: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 12px 48px rgba(30, 144, 255, 0.25);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --container-max: 1200px;
}

/* ===== 容器 ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header & Nav ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(42, 63, 95, 0.5);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.5px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(30, 144, 255, 0.4);
}

.brand:hover {
  color: var(--accent-color);
}

.brand:hover .brand-logo {
  transform: rotate(360deg);
  transition: transform 0.6s ease;
}

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

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  color: var(--text-secondary);
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-color);
  background: rgba(30, 144, 255, 0.1);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.nav-cta {
  display: flex;
  gap: 10px;
  margin-left: 16px;
}

.btn-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  width: 44px;
  height: 44px;
}

.btn-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.btn-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.btn-toggle.active span:nth-child(2) {
  opacity: 0;
}

.btn-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== 按钮样式 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  text-align: center;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(30, 144, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 144, 255, 0.5);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gradient-gold);
  color: #0a1628;
  box-shadow: 0 4px 16px rgba(255, 215, 0, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.5);
  color: #0a1628;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 16px;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

/* ===== Main ===== */
.main-content {
  padding-top: 70px;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gradient-dark);
  padding: 80px 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(30, 144, 255, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 60%, rgba(0, 212, 255, 0.12) 0%, transparent 50%);
  animation: heroFloat 20s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-2%, 2%); }
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(30, 144, 255, 0.15);
  border: 1px solid rgba(30, 144, 255, 0.3);
  border-radius: 50px;
  font-size: 14px;
  color: var(--accent-color);
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--success-color);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero h1 {
  font-size: 48px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.hero h1 .gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(42, 63, 95, 0.5);
}

.stat-item {
  text-align: left;
}

.stat-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent-color);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.hero-image {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(42, 63, 95, 0.5);
}

.hero-float-card {
  position: absolute;
  background: rgba(18, 32, 64, 0.95);
  backdrop-filter: blur(12px);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(42, 63, 95, 0.6);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatCard 6s ease-in-out infinite;
}

.hero-float-card.card-1 {
  top: -20px;
  left: -30px;
  animation-delay: 0s;
}

.hero-float-card.card-2 {
  bottom: -20px;
  right: -30px;
  animation-delay: 3s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.float-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.card-1 .float-icon {
  background: rgba(0, 200, 83, 0.2);
  color: var(--success-color);
}

.card-2 .float-icon {
  background: rgba(30, 144, 255, 0.2);
  color: var(--accent-color);
}

.float-text strong {
  display: block;
  font-size: 14px;
  color: var(--text-primary);
}

.float-text span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== 通用 Section ===== */
.section {
  padding: 100px 0;
}

.section-alt {
  background: #0f1d3a;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section-subtitle {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== Features Section ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border-color);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.feature-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-hover);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(30, 144, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
  transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
  background: var(--gradient-primary);
  transform: scale(1.1) rotate(-5deg);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== Services Section ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.service-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.service-item:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-hover);
}

.service-item.reverse {
  direction: rtl;
}

.service-item.reverse > * {
  direction: ltr;
}

.service-image {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-item:hover .service-image img {
  transform: scale(1.05);
}

.service-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.service-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.service-features li::before {
  content: '✓';
  width: 22px;
  height: 22px;
  background: rgba(0, 200, 83, 0.15);
  color: var(--success-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== Download Section ===== */
.download-section {
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
}

.download-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(30, 144, 255, 0.1), transparent 40%);
}

.download-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.download-platforms {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.platform-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  cursor: pointer;
  min-width: 220px;
}

.platform-card:hover {
  border-color: var(--accent-color);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.platform-icon {
  font-size: 36px;
}

.platform-info {
  text-align: left;
}

.platform-info small {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.platform-info strong {
  font-size: 18px;
  color: var(--text-primary);
}

/* ===== FAQ Section ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary-color);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: var(--accent-color);
}

.faq-question-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(30, 144, 255, 0.15);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.faq-item.active .faq-question-icon {
  transform: rotate(45deg);
  background: var(--gradient-primary);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 24px;
}

.faq-answer p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ===== CTA Section ===== */
.cta {
  background: var(--gradient-primary);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  animation: heroFloat 15s ease-in-out infinite;
}

.cta .container {
  position: relative;
  z-index: 2;
}

.cta .section-title,
.cta .section-desc {
  color: #fff;
}

.cta .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

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

.cta .btn-primary {
  background: #fff;
  color: var(--primary-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta .btn-primary:hover {
  background: #f0f4f8;
  transform: translateY(-2px);
  color: var(--primary-dark);
}

.cta .btn-secondary {
  border-color: #fff;
  color: #fff;
}

.cta .btn-secondary:hover {
  background: #fff;
  color: var(--primary-color);
}

/* ===== Footer ===== */
.site-footer {
  background: #050e1c;
  padding: 80px 0 24px;
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 20px 0;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.footer-social:hover {
  background: var(--gradient-primary);
  color: #fff;
  transform: translateY(-3px);
}

.footer-column h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column a {
  font-size: 14px;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.footer-column a:hover {
  color: var(--accent-color);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  max-width: 600px;
  text-align: right;
  line-height: 1.6;
}

/* ===== About Page ===== */
.page-hero {
  padding: 120px 0 80px;
  background: var(--gradient-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(30, 144, 255, 0.15), transparent 60%);
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-size: 42px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--accent-color);
}

.breadcrumb span {
  color: var(--text-muted);
}

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.about-content h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.about-content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-hover);
}

.value-icon {
  width: 56px;
  height: 56px;
  background: rgba(30, 144, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 16px;
}

.value-card h3 {
  font-size: 17px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== Contact Page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  background: var(--bg-card);
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-4px);
}

.contact-info-card h3 {
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info-card h3 .icon {
  font-size: 22px;
}

.contact-info-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.contact-form-wrapper {
  background: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(10, 22, 40, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(10, 22, 40, 0.8);
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ===== Products Page ===== */
.products-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 50px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(30, 144, 255, 0.3);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all 0.4s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-hover);
}

.product-image {
  height: 200px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.product-info {
  padding: 28px;
}

.product-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(30, 144, 255, 0.15);
  color: var(--accent-color);
  border-radius: 50px;
  font-size: 12px;
  margin-bottom: 12px;
}

.product-card h3 {
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.product-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.product-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-color);
}

/* ===== News Page ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.news-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-hover);
}

.news-card.featured {
  grid-column: span 2;
  flex-direction: row;
}

.news-image {
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
}

.news-card.featured .news-image {
  height: auto;
  width: 45%;
  min-height: 300px;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.news-content {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card.featured .news-content {
  padding: 36px;
}

.news-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--text-muted);
}

.news-category {
  padding: 3px 10px;
  background: rgba(30, 144, 255, 0.15);
  color: var(--accent-color);
  border-radius: 4px;
}

.news-card h3 {
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.news-card.featured h3 {
  font-size: 24px;
}

.news-card:hover h3 {
  color: var(--accent-color);
}

.news-excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-color);
  margin-top: auto;
}

.read-more:hover {
  gap: 10px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.pagination a {
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.pagination a:hover,
.pagination a.active {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
}

/* ===== News Detail Page ===== */
.news-detail-wrapper {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
}

.news-detail-article {
  background: var(--bg-card);
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.news-detail-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.news-detail-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--text-muted);
}

.news-detail-header h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.4;
}

.news-detail-cover {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 32px;
}

.news-detail-cover img {
  width: 100%;
  height: auto;
}

.news-detail-body {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-secondary);
}

.news-detail-body p {
  margin-bottom: 20px;
}

.news-detail-body h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 32px 0 16px;
}

.news-detail-body h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 24px 0 12px;
}

.news-detail-body ul,
.news-detail-body ol {
  margin: 16px 0 20px 24px;
}

.news-detail-body li {
  margin-bottom: 8px;
  list-style: disc;
}

.news-detail-body blockquote {
  padding: 20px 24px;
  background: rgba(30, 144, 255, 0.08);
  border-left: 4px solid var(--primary-color);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  color: var(--accent-color);
  font-style: italic;
}

.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sidebar-widget {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.sidebar-title {
  padding: 20px 24px;
  background: rgba(30, 144, 255, 0.1);
  border-bottom: 1px solid var(--border-color);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.sidebar-content {
  padding: 20px 24px;
}

.related-news {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.related-news-item {
  display: flex;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.related-news-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.related-news-image {
  width: 80px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.related-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-news-info h4 {
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.related-news-item:hover h4 {
  color: var(--accent-color);
}

.related-news-info time {
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== 动画 ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* ===== 回到顶部 ===== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  box-shadow: 0 4px 20px rgba(30, 144, 255, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 24px rgba(30, 144, 255, 0.5);
}

/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
  .hero h1 { font-size: 38px; }
  .section-title { font-size: 30px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .service-item, .service-item.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .service-image img { height: 220px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .news-detail-wrapper { grid-template-columns: 1fr; }
  .news-card.featured { flex-direction: column; }
  .news-card.featured .news-image { width: 100%; min-height: 220px; height: 220px; }
  .news-detail-article { padding: 32px; }
}

@media (max-width: 768px) {
  .btn-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-list {
    flex-direction: column;
    width: 100%;
  }
  .nav-link { width: 100%; text-align: center; padding: 14px; }
  .nav-cta { margin-left: 0; width: 100%; justify-content: center; }

  .hero { padding: 60px 0; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { font-size: 32px; }
  .hero-description { font-size: 16px; }
  .hero-stats { grid-template-columns: 1fr; gap: 16px; }
  .hero-visual { order: -1; }
  .hero-float-card.card-1 { left: -10px; }
  .hero-float-card.card-2 { right: -10px; }

  .section { padding: 70px 0; }
  .section-title { font-size: 26px; }
  .section-header { margin-bottom: 48px; }
  .features-grid { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; gap: 40px; }
  .values-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .products-grid { grid-template-columns: 1fr; }

  .news-grid { grid-template-columns: 1fr; }
  .news-card.featured .news-image { height: 200px; }
  .news-detail-article { padding: 24px; }
  .news-detail-header h1 { font-size: 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-disclaimer { text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 26px; }
  .hero-description { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .section-title { font-size: 22px; }
  .page-hero { padding: 100px 0 60px; }
  .page-hero h1 { font-size: 28px; }
  .service-item { padding: 28px; }
  .feature-card { padding: 28px; }
  .value-card { padding: 24px 16px; }
  .download-platforms { flex-direction: column; align-items: center; }
  .platform-card { width: 100%; max-width: 320px; }
}

/* ===== Print Styles ===== */
@media print {
  .site-header, .site-footer, .back-to-top { display: none; }
  body { color: #000; background: #fff; }
  .main-content { padding-top: 0; }
}
