:root {
  --primary: #4338ca;
  --primary-dark: #3730a3;
  --primary-light: #e0e7ff;
  --accent: #f97316;
  --accent-light: #ffedd5;
  --success: #10b981;
  --warning: #f59e0b;
  --text: #1e1b4b;
  --text-sec: #64748b;
  --text-light: #94a3b8;
  --bg: #ffffff;
  --bg-warm: #fefdfb;
  --bg-cool: #f8fafc;
  --border: #e2e8f0;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(30, 27, 75, 0.05);
  --shadow-md: 0 4px 12px rgba(30, 27, 75, 0.08);
  --shadow-lg: 0 12px 40px rgba(30, 27, 75, 0.12);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ========== ANIMATIONS ========== */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== CONTAINER ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 32px;
  }
}

@media (min-width: 1280px) {
  .container {
    padding: 0 48px;
  }
}

/* ========== NAVIGATION ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.brand-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.brand-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-sec);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.nav-links a:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-links a.active {
  color: var(--primary);
  background: var(--primary-light);
  font-weight: 600;
}

.nav-links a.active::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

@media (max-width: 640px) {
  .nav-links {
    gap: 4px;
  }
  .nav-links a {
    padding: 8px 12px;
    font-size: 0.875rem;
  }
  .nav-links a span {
    display: none;
  }
  .brand-text {
    font-size: 1.1rem;
  }
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  box-shadow: 0 4px 14px rgba(67, 56, 202, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(67, 56, 202, 0.45);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, #ea580c 100%);
  color: white;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

/* ========== HERO SECTION ========== */
.hero {
  padding: 140px 0 100px;
  background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg-cool) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(67, 56, 202, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  animation: slideIn 0.8s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-light);
  color: var(--accent);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--text);
}

.hero h1 span {
  color: var(--primary);
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-sec);
  margin-bottom: 32px;
  max-width: 520px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-browser {
  width: 100%;
  max-width: 520px;
  animation: float 6s ease-in-out infinite;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-sec);
  margin-top: 8px;
}

@media (max-width: 968px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-visual {
    order: -1;
  }
  .hero-browser {
    max-width: 320px;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ========== SECTIONS ========== */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-sec);
}

/* ========== FEATURE CARDS ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-sec);
  line-height: 1.7;
}

/* ========== TIMELINE FEATURES ========== */
.timeline-section {
  background: var(--bg-cool);
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-content {
  background: white;
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.timeline-item:nth-child(odd) .timeline-content {
  grid-column: 1;
}

.timeline-item:nth-child(even) .timeline-content {
  grid-column: 2;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 32px;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border: 3px solid white;
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 4px var(--primary-light);
}

.timeline-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
}

.timeline-content p {
  color: var(--text-sec);
  font-size: 0.95rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }
  .timeline-item {
    grid-template-columns: 1fr;
    padding-left: 56px;
  }
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    grid-column: 1;
  }
  .timeline-dot {
    left: 20px;
  }
}

/* ========== PLATFORM CARDS ========== */
.platforms-section {
  background: var(--bg-warm);
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.platform-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--text);
}

.platform-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.platform-card.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, white 0%, var(--primary-light) 100%);
  position: relative;
}

.platform-card.featured::after {
  content: '推荐';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 4px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.platform-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
}

.platform-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.platform-card p {
  font-size: 0.875rem;
  color: var(--text-sec);
  margin-bottom: 20px;
}

.platform-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 16px;
}

/* ========== REVIEWS ========== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.review-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
}

.review-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 4rem;
  color: var(--primary-light);
  font-family: Georgia, serif;
  line-height: 1;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 1.1rem;
}

.review-meta h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

.review-meta span {
  font-size: 0.8rem;
  color: var(--text-light);
}

.review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
}

.review-card p {
  font-size: 0.95rem;
  color: var(--text-sec);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ========== FAQ ========== */
.faq-section {
  background: var(--bg-cool);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 480px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.faq-item[open] summary .icon {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 24px 20px;
  color: var(--text-sec);
  font-size: 0.9rem;
  line-height: 1.7;
}

.faq-stack {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-row {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-row summary {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px 26px;
  cursor: pointer;
  list-style: none;
}

.faq-row summary::-webkit-details-marker {
  display: none;
}

.faq-mark {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.faq-body {
  min-width: 0;
}

.faq-body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0;
  color: var(--text);
  line-height: 1.5;
}

.faq-body p {
  color: var(--text-sec);
  font-size: 0.92rem;
  line-height: 1.8;
  padding: 0 26px 24px 118px;
}

.faq-row .faq-mark::after {
  content: '+';
  display: block;
  font-size: 1.15rem;
  line-height: 1;
}

.faq-row[open] .faq-mark::after {
  content: '−';
}

@media (max-width: 640px) {
  .faq-row summary {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px;
  }

  .faq-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .faq-body p {
    padding: 0 20px 20px;
  }
}

/* ========== COMPARISON TABLE ========== */
.comparison-section {
  background: white;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
}

.comparison-table tr:hover td {
  background: var(--bg-cool);
}

.comparison-table td:first-child {
  font-weight: 600;
}

.comparison-table .check {
  color: var(--success);
}

.comparison-table .cross {
  color: var(--text-light);
}

/* ========== CTA SECTION ========== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 520px;
  margin: 0 auto 32px;
}

.btn-white {
  background: white;
  color: var(--primary);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--text);
  color: var(--text-light);
  padding: 48px 0 32px;
}

.footer-content {
  text-align: center;
}

.footer-verify {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--success);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ========== SEO CONTENT ========== */
.seo-content {
  background: white;
}

.seo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.seo-card {
  background: var(--bg-cool);
  border-radius: var(--radius-md);
  padding: 32px;
}

.seo-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.seo-card ul {
  list-style: none;
}

.seo-card li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-sec);
  display: flex;
  align-items: center;
  gap: 10px;
}

.seo-card li:last-child {
  border-bottom: none;
}

.seo-text h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
}

.seo-text p {
  color: var(--text-sec);
  line-height: 1.8;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .seo-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== UPDATE LOG ========== */
.update-log {
  background: var(--bg-warm);
}

.log-list {
  max-width: 700px;
  margin: 0 auto;
}

.log-item {
  display: flex;
  gap: 24px;
  padding: 24px;
  background: white;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  border-left: 4px solid var(--primary);
}

.log-version {
  flex-shrink: 0;
  text-align: center;
}

.log-version .ver {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.log-version .date {
  font-size: 0.75rem;
  color: var(--text-light);
}

.log-content h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.log-content p {
  font-size: 0.9rem;
  color: var(--text-sec);
  line-height: 1.6;
}

/* ========== TIPS GRID ========== */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.tip-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
}

.tip-number {
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 12px;
}

.tip-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.tip-card p {
  font-size: 0.85rem;
  color: var(--text-sec);
  line-height: 1.6;
}
