/* ========== 全局基础 ========== */
:root {
  --tp-blue: #2d7df4;
  --tp-blue-dark: #1b5fcc;
  --tp-bg: #f7f9fc;
  --tp-text: #1a1a1a;
  --tp-gray: #666;
  --tp-border: #e5e7eb;
  --tp-radius: 10px;
  --tp-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

body {
  margin: 0;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--tp-bg);
  color: var(--tp-text);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.tp-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ========== 按钮 ========== */
.tp-btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--tp-radius);
  font-size: 15px;
  transition: 0.25s;
}

.tp-btn-primary {
  background: var(--tp-blue);
  color: #fff;
}

.tp-btn-primary:hover {
  background: var(--tp-blue-dark);
}

.tp-btn-outline {
  border: 1px solid var(--tp-blue);
  color: var(--tp-blue);
}

.tp-btn-outline:hover {
  background: var(--tp-blue);
  color: #fff;
}

/* ========== 顶部导航 ========== */
.tp-header {
  background: #fff;
  border-bottom: 1px solid var(--tp-border);
  position: sticky;
  top: 0;
  z-index: 999;
}

.tp-header .tp-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.tp-logo span {
  font-size: 22px;
  font-weight: 700;
  color: var(--tp-blue);
}

.tp-nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

.tp-nav a {
  color: var(--tp-gray);
  font-size: 15px;
}

.tp-nav a:hover {
  color: var(--tp-blue);
}

/* ========== Hero 区 ========== */
.tp-hero {
  padding: 80px 0;
  background: linear-gradient(135deg, #eef4ff, #ffffff);
}

.tp-hero-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.tp-hero-text h1 {
  font-size: 42px;
  margin-bottom: 20px;
}

.tp-hero-text p {
  font-size: 18px;
  color: var(--tp-gray);
  margin-bottom: 25px;
}

.tp-hero-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.tp-hero-tags span {
  display: inline-block;
  background: #fff;
  padding: 6px 12px;
  border-radius: var(--tp-radius);
  margin-right: 10px;
  font-size: 14px;
  border: 1px solid var(--tp-border);
}

.tp-hero-card {
  background: #fff;
  padding: 30px;
  border-radius: var(--tp-radius);
  box-shadow: var(--tp-shadow);
  max-width: 350px;
}

/* ========== Section 通用样式 ========== */
.tp-section {
  padding: 80px 0;
}

.tp-section h2 {
  font-size: 32px;
  text-align: center;
  margin-bottom: 10px;
}

.tp-section-subtitle {
  text-align: center;
  color: var(--tp-gray);
  margin-bottom: 40px;
}

/* ========== Grid 布局 ========== */
.tp-grid {
  display: grid;
  gap: 30px;
}

.tp-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.tp-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ========== 产品特性 ========== */
.tp-feature-item {
  background: #fff;
  padding: 25px;
  border-radius: var(--tp-radius);
  box-shadow: var(--tp-shadow);
  transition: 0.25s;
}

.tp-feature-item:hover {
  transform: translateY(-5px);
}

/* ========== 支持公链 ========== */
.tp-chain-item {
  background: #fff;
  padding: 25px;
  border-radius: var(--tp-radius);
  box-shadow: var(--tp-shadow);
}

/* ========== 下载区 ========== */
.tp-download-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.tp-download-buttons {
  display: flex;
  gap: 40px;
}

.tp-download-group h3 {
  margin-bottom: 10px;
}

.tp-qr-box {
  background: #fff;
  padding: 20px;
  border-radius: var(--tp-radius);
  box-shadow: var(--tp-shadow);
  text-align: center;
}

.tp-qr-placeholder {
  width: 140px;
  height: 140px;
  background: var(--tp-border);
  margin: 15px auto 0;
  border-radius: var(--tp-radius);
}

/* ========== 生态区 ========== */
.tp-ecosystem-item {
  background: #fff;
  padding: 25px;
  border-radius: var(--tp-radius);
  box-shadow: var(--tp-shadow);
}

/* ========== Footer ========== */
.tp-footer {
  background: #fff;
  border-top: 1px solid var(--tp-border);
  padding-top: 50px;
}

.tp-footer-layout {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.tp-footer-col h3 {
  margin-bottom: 15px;
}

.tp-footer-col ul {
  list-style: none;
  padding: 0;
}

.tp-footer-col li {
  margin-bottom: 10px;
}

.tp-footer-bottom {
  margin-top: 40px;
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid var(--tp-border);
  color: var(--tp-gray);
}

/* ========== 响应式 ========== */
@media (max-width: 900px) {
  .tp-hero-layout,
  .tp-download-layout,
  .tp-footer-layout {
    flex-direction: column;
    text-align: center;
  }

  .tp-grid-3,
  .tp-grid-4 {
    grid-template-columns: 1fr;
  }
}
