html {
      scroll-behavior: smooth;
    }

    .demo-section {
      scroll-margin-top: 80px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    .main-content {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
      line-height: 1.6;
      color: #333;
      background-color: #f8f9fa;
      font-size: 16px;
    }

    a {
      text-decoration: none;
      color: #4071FD;
      transition: color 0.2s ease;
    }

    a:hover {
      color: #2c5ae0;
    }

    .container {
      max-width: 80%;
      margin: 0 auto;
      padding: 0 20px;
    }

    .btn {
      display: inline-block;
      padding: 10px 24px;
      background-color: #4071FD;
      color: white;
      border-radius: 6px;
      font-weight: 500;
      text-align: center;
      border: none;
      cursor: pointer;
      transition: background-color 0.2s ease;
    }

    .btn:hover {
      background-color: #2c5ae0;
      color: white;
    }

    .btn-outline {
      background-color: transparent;
      border: 1px solid #4071FD;
      color: #4071FD;
    }

    .btn-outline:hover {
      background-color: #4071FD;
      color: white;
    }

    /* 顶部导航 */
    .header {
      background-color: white;
      border-bottom: 1px solid #e9ecef;
      padding: 16px 0;
      position: sticky;
      top: 0;
      z-index: 100;
    }

    .header-content {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .logo {
      font-size: 18px;
      font-weight: 700;
      color: #333;
    }

    .logo span {
      color: #4071FD;
    }

    .nav {
      display: flex;
      gap: 20px;
    }

    .nav-link {
      color: #666;
      font-weight: 500;
      padding: 8px 0;
      position: relative;
      font-size: 14px;
    }

    .nav-link:hover {
      color: #4071FD;
    }

    .nav-link.active {
      color: #4071FD;
    }

    .nav-link.active::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background-color: #4071FD;
    }

    /* 页面标题 */
    .page-header {
      text-align: center;
      margin-bottom: 40px;
    }

    .page-header-content {
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 15px;
    }

    .page-header-content h1 {
      font-size: 20px;
      margin-bottom: 0;
    }

    .page-title {
      font-size: 18px;
      font-weight: 700;
      color: #333;
      margin-bottom: 16px;
    }

    .page-subtitle {
      font-size: 16px;
      color: #666;
      max-width: 700px;
      margin: 0 auto 20px;
    }

    .badge {
      display: inline-block;
      padding: 6px 16px;
      background-color: #e8f0fe;
      color: #4071FD;
      border-radius: 20px;
      font-size: 14px;
      font-weight: 500;
    }

    /* 工具网格 */
    .tools-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 20px;
      margin-bottom: 40px;
    }

    .tool-card {
      background-color: white;
      border-radius: 12px;
      padding: 24px;
      box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      border: 1px solid #f1f3f4;
    }

    .tool-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }

    .tool-icon {
      width: 48px;
      height: 48px;
      background-color: #e8f0fe;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 16px;
      color: #4071FD;
      font-size: 20px;
    }

    .tool-icon.sql {
      background-color: #fef3e8;
      color: #f59e0b;
    }

    .tool-icon.convert {
      background-color: #e8f7f0;
      color: #10b981;
    }

    .tool-icon.helper {
      background-color: #f3e8ff;
      color: #8b5cf6;
    }

    .tool-icon.debug {
      background-color: #fee8e8;
      color: #ef4444;
    }

    .tool-icon.image {
      background-color: #f0e8ff;
      color: #a855f7;
    }

    .tool-icon.video {
      background-color: #e8f4ff;
      color: #3b82f6;
    }

    .tool-title {
      font-size: 16px;
      font-weight: 600;
      color: #333;
      margin-bottom: 12px;
    }

    .tool-desc {
      color: #666;
      margin-bottom: 16px;
      font-size: 14px;
      line-height: 1.5;
    }

    .tool-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-bottom: 16px;
    }

    .tool-tag {
      padding: 4px 10px;
      background-color: #f8f9fa;
      color: #666;
      border-radius: 4px;
      font-size: 12px;
      font-weight: 500;
    }

    .tool-cta {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .tool-free {
      color: #10b981;
      font-weight: 500;
      font-size: 14px;
    }

    /* 演示区域 */
    .demo-section {
      background-color: white;
      border-radius: 12px;
      padding: 30px;
      margin-bottom: 40px;
      box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    }

    .section-title {
      font-size: 18px;
      font-weight: 600;
      color: #333;
      margin-bottom: 24px;
      text-align: center;
    }

    .demo-tabs {
      display: flex;
      justify-content: center;
      gap: 8px;
      margin-bottom: 24px;
      flex-wrap: wrap;
    }

    .demo-tab {
      padding: 6px 14px;
      background-color: #f8f9fa;
      border: 1px solid #e9ecef;
      color: #666;
      border-radius: 6px;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.2s ease;
      font-size: 14px;
      white-space: nowrap;
    }

    .demo-tab:hover {
      background-color: #e9ecef;
    }

    .demo-tab.active {
      background-color: #4071FD;
      border-color: #4071FD;
      color: white;
    }

    .demo-content {
      background-color: #f8f9fa;
      border-radius: 8px;
      padding: 20px;
      border: 1px solid #e9ecef;
    }

    .demo-row {
      display: flex;
      margin-bottom: 16px;
    }

    .demo-label {
      width: 100px;
      font-weight: 500;
      color: #555;
      flex-shrink: 0;
      padding-top: 6px;
      font-size: 14px;
    }

    .demo-value {
      flex-grow: 1;
      padding: 10px 14px;
      background-color: white;
      border-radius: 6px;
      border: 1px solid #e9ecef;
      font-family: 'Consolas', 'Monaco', monospace;
      font-size: 14px;
      line-height: 1.5;
    }

    .code-keyword {
      color: #4071FD;
    }

    .code-string {
      color: #10b981;
    }

    .code-function {
      color: #8b5cf6;
    }

    .code-number {
      color: #f59e0b;
    }

    .code-comment {
      color: #9ca3af;
    }

    .demo-result {
      background-color: #e8f7f0;
      border: 1px solid #d1f0e0;
      color: #065f46;
      padding: 14px;
      border-radius: 6px;
      margin-top: 16px;
      font-size: 14px;
      line-height: 1.6;
    }

    .demo-result strong {
      color: #065f46;
    }

    .demo-note {
      background-color: #fef3e8;
      border: 1px solid #fde3c3;
      color: #92400e;
      padding: 10px 14px;
      border-radius: 6px;
      margin-top: 16px;
      font-size: 14px;
    }

    .image-preview {
      display: flex;
      gap: 15px;
      margin-top: 15px;
      flex-wrap: wrap;

    }

    .image-sample {
      width: 100px;
      height: 100px;
      border-radius: 8px;
      object-fit: cover;
      border: 1px solid #e9ecef;
    }

    .image-placeholder {
      width: 100px;
      height: 100px;
      border-radius: 8px;
      background: linear-gradient(135deg, #f3e8ff, #e8f0fe);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #8b5cf6;
      font-size: 12px;
      text-align: center;
    }

    .image-placeholder img {
      width: 100%;
      height: 100%;
      border-radius: 8px;
      object-fit: cover;
    }

    .video-placeholder {
      width: 160px;
      height: 100px;
      border-radius: 8px;
      background: linear-gradient(135deg, #e8f4ff, #dbeafe);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #3b82f6;
      font-size: 12px;
      text-align: center;
      border: 1px dashed #3b82f6;
      margin: 10px 0;
    }

    /* 特点区域 */
    .features {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 20px;
      margin-bottom: 40px;
    }

    .feature {
      text-align: center;
      padding: 24px;
      background-color: white;
      border-radius: 12px;
      box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    }

    .feature-icon {
      width: 56px;
      height: 56px;
      background-color: #e8f0fe;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 16px;
      color: #4071FD;
      font-size: 24px;
    }

    .feature-title {
      font-size: 16px;
      font-weight: 600;
      color: #333;
      margin-bottom: 10px;
    }

    .feature-desc {
      color: #666;
      font-size: 14px;
    }

    /* 页脚 */
    .footer {
      background-color: white;
      border-top: 1px solid #e9ecef;
      padding: 40px 0 20px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 30px;
      margin-bottom: 30px;
    }

    .footer-title {
      font-size: 16px;
      font-weight: 600;
      color: #333;
      margin-bottom: 16px;
      position: relative;
      padding-bottom: 10px;
    }

    .footer-title::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 30px;
      height: 2px;
      background-color: #4071FD;
    }

    .footer-links {
      list-style: none;
    }

    .footer-links li {
      margin-bottom: 10px;
    }

    .footer-links a {
      color: #666;
      font-size: 14px;
    }

    .footer-links a:hover {
      color: #4071FD;
      padding-left: 4px;
      transition: padding-left 0.2s ease;
    }

    .footer-bottom {
      text-align: center;
      padding-top: 20px;
      border-top: 1px solid #e9ecef;
      color: #999;
      font-size: 12px;
    }

    @media (min-width: 860px) and (max-width: 1200px) {
      .container {
        max-width: 95%;
      }

      /* 可以调整工具网格为2列 */
      .tools-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
      }
    }

    /* 859px以下移动端适配 */
    @media (max-width: 859px) {
      .container {
        padding: 0 16px;
      }

      .header-content {
        flex-direction: column;
        gap: 16px;
        padding: 12px 0;
      }

      .nav {
        width: 100%;
        justify-content: space-around;
        gap: 10px;
      }

      .nav-link {
        font-size: 13px;
        padding: 6px 0;
      }

      .page-header {
        margin-bottom: 30px;
      }

      .page-title {
        font-size: 16px;
        margin-bottom: 12px;
      }

      .page-subtitle {
        font-size: 14px;
        margin-bottom: 16px;
      }

      .badge {
        font-size: 12px;
        padding: 4px 12px;
      }

      .tools-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 30px;
      }

      .tool-card {
        padding: 20px;
      }

      .tool-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        margin-bottom: 12px;
      }

      .tool-title {
        font-size: 15px;
      }

      .tool-desc {
        font-size: 13px;
        margin-bottom: 12px;
      }

      .tool-tag {
        font-size: 11px;
        padding: 3px 8px;
      }

      .demo-section {
        padding: 20px;
        margin-bottom: 30px;
      }

      .section-title {
        font-size: 16px;
        margin-bottom: 20px;
      }

      .demo-tabs {
        gap: 6px;
        margin-bottom: 20px;
        display: flex;
        flex-wrap: wrap;
      }

      .demo-tab {
        font-size: 12px;
        padding: 5px 10px;
        min-width: 0;
        text-align: center;
      }

      .demo-content {
        padding: 16px;
      }

      .demo-row {
        flex-direction: column;
        margin-bottom: 12px;
      }

      .demo-label {
        width: auto;
        margin-bottom: 6px;
        font-size: 13px;
      }

      .demo-value {
        font-size: 13px;
        padding: 8px 12px;
      }

      .demo-result {
        font-size: 13px;
        padding: 12px;
        margin-top: 12px;
      }

      .demo-note {
        font-size: 13px;
        padding: 10px 12px;
        margin-top: 12px;
      }

      .image-placeholder,
      .video-placeholder {
        width: 80px;
        height: 80px;
        font-size: 11px;
      }

      .video-placeholder {
        width: 140px;
      }

      .features {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-bottom: 30px;
      }

      .feature {
        padding: 20px;
      }

      .feature-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
        margin-bottom: 12px;
      }

      .feature-title {
        font-size: 14px;
        margin-bottom: 8px;
      }

      .feature-desc {
        font-size: 12px;
      }

      .footer {
        padding: 30px 0 15px;
      }

      .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 20px;
      }

      .footer-title {
        font-size: 14px;
        margin-bottom: 12px;
        padding-bottom: 8px;
      }

      .footer-links a {
        font-size: 12px;
      }

      .footer-bottom {
        font-size: 11px;
        padding-top: 15px;
      }
    }

    /* 工具卡片顺序动画 */
    .tool-card {
      opacity: 0;
      transform: translateY(20px);
      animation: fadeInUp 0.6s ease forwards;
    }

    .tool-card:nth-child(1) {
      animation-delay: 0.1s;
    }

    .tool-card:nth-child(2) {
      animation-delay: 0.2s;
    }

    .tool-card:nth-child(3) {
      animation-delay: 0.3s;
    }

    .tool-card:nth-child(4) {
      animation-delay: 0.4s;
    }

    .tool-card:nth-child(5) {
      animation-delay: 0.5s;
    }

    .tool-card:nth-child(6) {
      animation-delay: 0.6s;
    }

    .tool-card:nth-child(7) {
      animation-delay: 0.7s;
    }

    .tool-card:nth-child(8) {
      animation-delay: 0.8s;
    }

    @keyframes fadeInUp {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    