:root {
  /* 小清新科技感配色 Fresh Tech Palette */
  --primary-color: #3b82f6; /* Tech Blue */
  --primary-hover: #2563eb;
  --accent-color: #10b981; /* Mint Green */
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --bg-main: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.7); /* Glassmorphism base */
  --border-color: rgba(255, 255, 255, 0.5);
  --glass-border: 1px solid rgba(255, 255, 255, 0.6);
  --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.05);
  --font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* 纯CSS背景光晕 (Fresh Tech Background Orbs) */
body::before,
body::after {
  content: "";
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.4;
}
body::before {
  width: 600px;
  height: 600px;
  background: #dbeafe; /* Light Blue */
  top: -100px;
  left: -200px;
}
body::after {
  width: 500px;
  height: 500px;
  background: #d1fae5; /* Light Mint */
  top: 20%;
  right: -150px;
}

a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.bg-light {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
}
.text-muted {
  color: var(--text-muted);
}

/* Header (Glassmorphism) */
header {
  background: rgba(248, 250, 252, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: var(--glass-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}
.logo {
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.5px;
  color: var(--primary-color);
}
.logo::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("/logo.svg");
}
.logo-icon {
  width: 24px;
  height: 24px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  border-radius: 6px;
}
.logo-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 4px;
  background: rgba(16, 185, 129, 0.1);
}

/* Lang Selector */
.lang-selector {
  position: relative;
  cursor: pointer;
  user-select: none;
}
.lang-current {
  padding: 3px 8px;
  border: var(--glass-border);
  background: var(--bg-card);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 3px;
}
.lang-current::before {
    content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5'%3E%3Cpath d='M2 12c0 5.523 4.477 10 10 10s10-4.477 10-10S17.523 2 12 2S2 6.477 2 12'/%3E%3Cpath d='M13 2.05S16 6 16 12s-3 9.95-3 9.95m-2 0S8 18 8 12s3-9.95 3-9.95M2.63 15.5h18.74m-18.74-7h18.74'/%3E%3C/g%3E%3C/svg%3E");
}
.lang-current:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--glass-shadow);
}
.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: var(--glass-border);
  border-radius: 6px;
  display: none;
  min-width: 120px;
  box-shadow: var(--glass-shadow);
  margin-top: 8px;
  overflow: hidden;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.lang-dropdown.active {
  display: block;
  animation: fadeIn 0.2s ease;
}
.lang-option {
  display: block;
  padding: 5px 8px;
  font-size: 12px;
  transition: background 0.2s;
}
.lang-option:hover {
  background: #f1f5f9;
  color: var(--primary-color);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero */
.hero {
  padding-top: 100px;
  padding-bottom: 100px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.hero-content h1 {
  font-size: 56px;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1px;
  color: var(--text-main);
}
.hero-content .highlight {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-content p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 500px;
  line-height: 1.8;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color), #60a5fa);
  color: #fff;
  padding: 16px 36px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  gap: 6px;
  align-items: center;
  width: fit-content;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.4);
}

.btn-primary::before {
    content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("/assets/icon/binance.svg");
}

.btn-primary::after {
    content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M13.47 8.53a.75.75 0 0 1 1.06-1.06l4 4a.75.75 0 0 1 0 1.06l-4 4a.75.75 0 1 1-1.06-1.06l2.72-2.72H6.5a.75.75 0 0 1 0-1.5h9.69z'/%3E%3C/svg%3E");
}

/* Premium Hero Cards (Fresh Tech Glassmorphism) */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  perspective: 1000px;
}
.tech-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  padding: 16px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  gap: 20px;
}
.tech-card:hover {
  transform: translateY(-5px) scale(1.03) rotateX(2deg);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1);
  border-color: #fff;
  z-index: 10;
}
.tech-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
}

.tc-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  flex-shrink: 0;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.5);
}
.tc-1 .tc-icon {
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  color: var(--primary-color);
}
.tc-2 .tc-icon {
  background: linear-gradient(135deg, #d1fae5, #ecfdf5);
  color: var(--accent-color);
}
.tc-3 .tc-icon {
  background: linear-gradient(135deg, #fce7f3, #fdf2f8);
  color: #ec4899;
}

.tc-content h3 {
  font-size: 20px;
  margin-bottom: 4px;
  color: var(--text-main);
  letter-spacing: -0.5px;
}
.tc-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}
.tc-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  color: #fff;
  padding: 4px 16px;
  border-radius: 0 20px 0 16px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.05);
}

/* Removed the margin-left stagger to ensure strict alignment with the container */

/* Steps Section */
.steps-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.steps-container::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(59, 130, 246, 0.2);
  z-index: 0;
}
.step-item {
  display: flex;
  gap: 32px;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 50px;
  height: 50px;
  background: #fff;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}
.step-content {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  padding: 32px;
  border-radius: 16px;
  border: var(--glass-border);
  flex-grow: 1;
  box-shadow: var(--glass-shadow);
  transition: transform 0.2s;
}
.step-content:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.9);
}
.step-content h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--primary-color);
}

/* Sections */
section {
  padding-top: 80px;
  padding-bottom: 80px;
}
.section-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 56px;
  letter-spacing: -0.5px;
  color: var(--text-main);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  padding: 40px 32px;
  border-radius: 20px;
  border: var(--glass-border);
  text-align: center;
  transition: all 0.3s;
  box-shadow: var(--glass-shadow);
}
.feature-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}
.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #eff6ff, #fff);
  border: 1px solid #dbeafe;
  border-radius: 20px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 24px;
  color: var(--primary-color);
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.1);
}
.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

/* SEO Article Cards */
.article-card {
  text-align: left;
  display: block;
  text-decoration: none;
  padding: 32px;
}
.article-date {
  font-size: 13px;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.article-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  line-height: 1.4;
  transition: color 0.2s;
}
.article-card:hover h3 {
  color: var(--primary-color);
}

/* CSS Illustration (Dashboard) */
.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.css-dashboard {
  width: 100%;
  aspect-ratio: 4/3;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1px solid #fff;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}
.css-dash-header {
  height: 48px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 8px;
  background: rgba(255, 255, 255, 0.5);
}
.css-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e2e8f0;
}
.css-dot:nth-child(1) {
  background: #fecaca;
}
.css-dot:nth-child(2) {
  background: #fef08a;
}
.css-dot:nth-child(3) {
  background: #bbf7d0;
}
.css-dash-body {
  flex: 1;
  display: flex;
  padding: 20px;
  gap: 20px;
}
.css-sidebar {
  width: 30%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.css-line {
  height: 12px;
  border-radius: 6px;
  background: #f1f5f9;
  width: 100%;
}
.css-line.short {
  width: 60%;
}
.css-line.active {
  background: #dbeafe;
}
.css-chart-area {
  flex: 1;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #f1f5f9;
  position: relative;
  padding: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.css-candle {
  width: 12%;
  border-radius: 4px;
  position: relative;
}
.css-candle::before {
  content: "";
  position: absolute;
  width: 2px;
  height: 140%;
  left: 50%;
  transform: translateX(-50%);
  top: -20%;
  z-index: 0;
}
.css-candle.up {
  background: var(--accent-color);
  z-index: 1;
}
.css-candle.up::before {
  background: var(--accent-color);
}
.css-candle.down {
  background: #ef4444;
  z-index: 1;
}
.css-candle.down::before {
  background: #ef4444;
}

.review-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.review-item h4 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--primary-color);
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  padding: 24px 0;
}
.faq-question {
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}
.faq-question:hover {
  color: var(--primary-color);
}
.faq-icon {
  font-size: 24px;
  font-weight: 300;
  transition: transform 0.3s;
  color: var(--primary-color);
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  margin-top: 16px;
  color: var(--text-muted);
  display: none;
  line-height: 1.8;
  background: rgba(255, 255, 255, 0.5);
  padding: 16px;
  border-radius: 12px;
}
.faq-item.active .faq-answer {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* Footer */
footer {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-top: var(--glass-border);
  padding: 64px 0 40px;
  margin-top: 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  text-align: left;
}
.footer-col h4 {
  font-size: 16px;
  color: var(--text-main);
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--primary-color);
}
.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(15, 23, 42, 0.05);
}
.footer-disclaimer {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 24px;
  line-height: 1.6;
  background: rgba(15, 23, 42, 0.03);
  padding: 16px;
  border-radius: 8px;
  text-align: center;
}
.footer-copyright {
  font-size: 14px;
  color: var(--text-light);
  text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .hero-content p {
    margin: 0 auto 32px;
  }
  .tech-card.tc-2,
  .tech-card.tc-3 {
    margin-left: 0;
  }
  .review-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
}
@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .hero-content h1 {
    font-size: 40px;
  }
  .section-title {
    font-size: 28px;
  }
  .tech-card {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
}

/* Article Pages Styles */
.article-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 40px;
  background: var(--bg-card);
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
  border: var(--glass-border);
}
.article-header {
  margin-bottom: 40px;
  text-align: center;
  position: unset;
}
.article-header h1 {
  font-size: 36px;
  color: var(--text-main);
  margin-bottom: 16px;
  line-height: 1.3;
}
.article-meta {
  color: var(--text-muted);
  font-size: 14px;
  display: flex;
  justify-content: center;
  gap: 16px;
}
.article-content h2 {
  font-size: 24px;
  color: var(--primary-color);
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}
.article-content h3 {
  font-size: 20px;
  color: var(--text-main);
  margin: 24px 0 12px;
}
.article-content p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
}
.article-content ul,
.article-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
  color: var(--text-muted);
}
.article-content li {
  margin-bottom: 8px;
  line-height: 1.6;
}
.article-content .highlight-box,
.article-content .step-box,
.article-content .cta-box {
  background: rgba(59, 130, 246, 0.05);
  border-left: 4px solid var(--primary-color);
  padding: 16px 24px;
  margin: 24px 0;
  border-radius: 0 8px 8px 0;
}
.article-content .highlight-box p,
.article-content .step-box p,
.article-content .cta-box p {
  margin-bottom: 0;
  color: var(--text-main);
  font-weight: 500;
}
.highlight-box a {
  color: #3b82f6;
}
.article-content .cta-box .btn-primary {
  margin-top: 16px;
}
.article-content .step-box ol,
.article-content .step-box ul {
  margin-bottom: 0;
}
.breadcrumb {
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--text-muted);
}
.breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}

/* Responsive adjustments for articles */
@media (max-width: 768px) {
  .article-container {
    padding: 24px;
    margin: 24px auto;
  }
  .article-header h1 {
    font-size: 28px;
  }
}
