/* ========== CSS Variables ========== */
:root {
  --primary: #3B82F6;
  --primary-dark: #1E40AF;
  --primary-light: #93C5FD;
  --accent: #10B981;
  --accent-dark: #059669;
  --bg: #F8FAFC;
  --bg-white: #FFFFFF;
  --bg-dark: #0F172A;
  --text: #1E293B;
  --text-light: #64748B;
  --text-white: #F8FAFC;
  --border: #E2E8F0;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
}

/* ========== Reset & Base ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== Header / Navigation ========== */
.header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.95);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.logo:hover { color: var(--primary); }

.logo svg { flex-shrink: 0; }

.nav { display: flex; align-items: center; gap: 4px; }

.nav a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav a:hover, .nav a.active {
  color: var(--primary);
  background: #EFF6FF;
}

.nav-cta {
  background: var(--primary) !important;
  color: var(--text-white) !important;
  padding: 10px 24px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  margin-left: 8px;
}

.nav-cta:hover {
  background: var(--primary-dark) !important;
  color: var(--text-white) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
}

/* ========== Hero Section ========== */
.hero {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 50%, #E0F2FE 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-content { flex: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

.hero-badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  display: inline-block; margin-right: 6px; animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text);
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 32px;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  justify-content: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 14px rgba(59,130,246,0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59,130,246,0.5);
  color: #fff;
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--text);
  border: 2px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 4px 14px rgba(16,185,129,0.4);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16,185,129,0.5);
  color: #fff;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.1rem;
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========== Hero Section ========== */
.hero {
  padding: 80px 0 60px;
  background: linear-gradient(180deg, #EFF6FF 0%, var(--bg) 100%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
}

.hero-image img {
  width: 100%;
  transition: var(--transition);
}

.hero-image:hover img {
  transform: scale(1.02);
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 32px;
}

.hero-stat { text-align: left; }

.hero-stat .number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
}

.hero-stat .label {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 2px;
}

/* ========== Section ========== */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.7;
}

.section-alt { background: var(--bg-white); }

/* ========== Cards ========== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  color: var(--primary);
}

.card-icon.green { background: linear-gradient(135deg, #ECFDF5, #D1FAE5); color: var(--accent); }
.card-icon.purple { background: linear-gradient(135deg, #F5F3FF, #E9D5FF); color: #8B5CF6; }
.card-icon.orange { background: linear-gradient(135deg, #FFF7ED, #FED7AA); color: #F97316; }
.card-icon.red { background: linear-gradient(135deg, #FEF2F2, #FECACA); color: #EF4444; }
.card-icon.teal { background: linear-gradient(135deg, #F0FDFA, #CCFBF1); color: #14B8A6; }
.card-icon.indigo { background: linear-gradient(135deg, #EEF2FF, #C7D2FE); color: #6366F1; }

.card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ========== Feature Showcase ========== */
.feature-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.feature-showcase.reverse { direction: rtl; }
.feature-showcase.reverse > * { direction: ltr; }

.feature-content h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.feature-content p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 0.95rem;
}

.feature-list li svg { flex-shrink: 0; color: var(--accent); }

.feature-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

/* ========== FAQ ========== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover { border-color: var(--primary-light); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  transition: var(--transition);
}

.faq-question:hover { color: var(--primary); }

.faq-arrow {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-arrow { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-light);
  line-height: 1.8;
  font-size: 0.95rem;
}

.faq-item.open .faq-answer { max-height: 500px; }

/* ========== Help Center ========== */
.help-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.help-category {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}

.help-category:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.help-category-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  color: var(--primary);
}

.help-category h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.help-category p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.help-articles {
  max-width: 800px;
  margin: 0 auto;
}

.help-article-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  transition: var(--transition);
}

.help-article-item:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}

.help-article-item .icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: #EFF6FF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.help-article-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.help-article-item p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ========== Contact / Form ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  transition: var(--transition);
}

.contact-info-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-info-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-info-card p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.contact-form {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.contact-form h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* ========== About ========== */
.about-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--text-white);
  padding: 80px 0;
  text-align: center;
}

.about-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.about-hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.about-text p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid #DBEAFE;
}

.timeline-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.timeline-item p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ========== Download Page ========== */
.download-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--text-white);
  padding: 80px 0;
  text-align: center;
}

.download-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.download-hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.download-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: -60px;
  position: relative;
  z-index: 1;
}

.download-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-xl);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.download-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
}

.download-card.recommended {
  border-color: var(--primary);
}

.download-card.recommended::before {
  content: '推荐';
  position: absolute;
  top: 16px;
  right: -28px;
  background: var(--primary);
  color: #fff;
  padding: 4px 36px;
  font-size: 0.8rem;
  font-weight: 600;
  transform: rotate(45deg);
}

.download-card-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-card-icon.blue { background: linear-gradient(135deg, #3B82F6, #1D4ED8); color: #fff; }
.download-card-icon.green { background: linear-gradient(135deg, #10B981, #059669); color: #fff; }

.download-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.download-card .price {
  font-size: 2rem;
  font-weight: 800;
  margin: 16px 0;
  color: var(--primary);
}

.download-card .price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-light);
}

.download-card ul {
  text-align: left;
  margin-bottom: 28px;
}

.download-card ul li {
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.download-card ul li svg { color: var(--accent); flex-shrink: 0; }

.download-card .btn { width: 100%; }

.system-requirements {
  max-width: 800px;
  margin: 60px auto 0;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.system-requirements h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
}

.req-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.req-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.req-item .icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: #EFF6FF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.req-item h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; }
.req-item p { font-size: 0.85rem; color: var(--text-light); }

/* ========== Footer ========== */
.footer {
  background: var(--bg-dark);
  color: var(--text-white);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: #94A3B8;
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 300px;
}

.footer h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer ul li { margin-bottom: 12px; }

.footer ul li a {
  color: #94A3B8;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer ul li a:hover { color: var(--text-white); }

.footer-bottom {
  border-top: 1px solid #1E293B;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #64748B;
}

/* ========== Page Header ========== */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--text-white);
  padding: 60px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-header p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ========== Breadcrumb ========== */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.85rem;
  color: var(--text-light);
}

.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 8px; }

/* ========== Mobile Menu ========== */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
}

@media (max-width: 768px) {
  .nav { display: none; }
  .mobile-menu-btn { display: block; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 16px;
    box-shadow: var(--shadow-lg);
  }
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { margin: 0 auto 32px; }
  .hero-stats { justify-content: center; }
  .hero-image { max-width: 500px; margin: 0 auto; }
  .feature-showcase, .feature-showcase.reverse { grid-template-columns: 1fr; direction: ltr; }
  .contact-grid, .about-content { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .download-cards { grid-template-columns: 1fr; }
  .req-grid { grid-template-columns: 1fr; }
  .btn-group { justify-content: center; }
  .page-header h1 { font-size: 2rem; }
}

/* ========== Utility ========== */
.text-center { text-align: center; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }
