:root {
      --primary: #7928ca;
      --primary-dark: #581c87;
      --primary-light: #9333ea;
      --accent: #d946ef;
      --accent-soft: #fae8ff;
      --bg-page: #fbf9fe;
      --bg-surface: #ffffff;
      --bg-alt: #f5f0fa;
      --text-main: #180d2b;
      --text-muted: #5e5274;
      --border-subtle: #ebdff7;
      --shadow-sm: 0 4px 12px rgba(121, 40, 202, 0.06);
      --shadow-md: 0 10px 25px rgba(121, 40, 202, 0.09);
      --shadow-lg: 0 16px 36px rgba(121, 40, 202, 0.12);
      --radius-sm: 8px;
      --radius-md: 14px;
      --radius-lg: 20px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      -webkit-font-smoothing: antialiased;
    }

    html {
      scroll-behavior: smooth;
      font-size: 16px;
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      background-color: var(--bg-page);
      color: var(--text-main);
      line-height: 1.6;
      overflow-x: hidden;
    }

    .ai-container {
      width: 100%;
      max-width: 1200px;
      margin-left: auto;
      margin-right: auto;
      padding-left: 20px;
      padding-right: 20px;
    }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: rgba(255, 255, 255, 0.94);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-subtle);
      transition: all 0.3s ease;
    }

    .nav-wrapper {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 74px;
    }

    .brand-logo-area {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
    }

    .ai-page-logo {
      height: 42px;
      width: auto;
      object-fit: contain;
      display: block;
    }

    .brand-title {
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--primary-dark);
      letter-spacing: -0.5px;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 0;
      list-style: none;
    }

    .nav-links li a {
      display: block;
      padding: 10px 14px;
      font-size: 0.95rem;
      color: var(--text-muted);
      text-decoration: none;
      font-weight: 500;
      transition: color 0.2s ease;
    }

    .nav-links li a:hover,
    .nav-links li a.active {
      color: var(--primary);
    }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .btn-nav-primary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 9px 20px;
      background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
      color: #ffffff !important;
      border-radius: 30px;
      font-size: 0.9rem;
      font-weight: 600;
      text-decoration: none;
      box-shadow: 0 4px 14px rgba(121, 40, 202, 0.25);
      transition: all 0.25s ease;
    }

    .btn-nav-primary:hover {
      transform: translateY(-1px);
      box-shadow: 0 6px 18px rgba(121, 40, 202, 0.35);
    }

    .menu-toggle-btn {
      display: none;
      background: none;
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-sm);
      padding: 8px 10px;
      cursor: pointer;
      color: var(--primary);
    }

    .hero-section {
      position: relative;
      padding: 85px 0 65px;
      background: radial-gradient(circle at 50% 20%, rgba(217, 70, 239, 0.08) 0%, rgba(121, 40, 202, 0.03) 50%, rgba(251, 249, 254, 0) 100%);
      border-bottom: 1px solid var(--border-subtle);
      text-align: center;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 18px;
      background: var(--accent-soft);
      border: 1px solid rgba(217, 70, 239, 0.3);
      border-radius: 20px;
      color: var(--primary-dark);
      font-size: 0.85rem;
      font-weight: 600;
      margin-bottom: 24px;
    }

    .hero-badge .pulse-dot {
      width: 8px;
      height: 8px;
      background-color: var(--accent);
      border-radius: 50%;
      box-shadow: 0 0 8px var(--accent);
    }

    .main-heading {
      font-size: 2.7rem;
      line-height: 1.25;
      font-weight: 800;
      color: var(--text-main);
      margin-bottom: 20px;
      letter-spacing: -0.5px;
    }

    .hero-highlight {
      background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .hero-description {
      font-size: 1.15rem;
      color: var(--text-muted);
      max-width: 820px;
      margin: 0 auto 36px;
      line-height: 1.7;
    }

    .hero-cta-group {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 16px;
      margin-bottom: 50px;
      flex-wrap: wrap;
    }

    .btn-hero-portal {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 15px 36px;
      background: linear-gradient(135deg, #7928ca 0%, #d946ef 100%);
      color: #ffffff;
      font-size: 1.1rem;
      font-weight: 700;
      border-radius: 35px;
      text-decoration: none;
      box-shadow: 0 10px 24px rgba(121, 40, 202, 0.32);
      transition: all 0.25s ease;
    }

    .btn-hero-portal:hover {
      transform: translateY(-2px);
      box-shadow: 0 14px 30px rgba(121, 40, 202, 0.42);
      color: #ffffff;
    }

    .btn-hero-outline {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 15px 32px;
      background: var(--bg-surface);
      color: var(--primary);
      border: 1px solid var(--border-subtle);
      font-size: 1.05rem;
      font-weight: 600;
      border-radius: 35px;
      text-decoration: none;
      box-shadow: var(--shadow-sm);
      transition: all 0.25s ease;
    }

    .btn-hero-outline:hover {
      background: var(--bg-alt);
      border-color: var(--primary-light);
    }

    .hero-metrics-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      max-width: 1040px;
      margin: 0 auto;
    }

    .metric-card {
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      padding: 24px 16px;
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-sm);
      text-align: center;
      transition: transform 0.25s ease;
    }

    .metric-card:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-md);
    }

    .metric-val {
      font-size: 1.9rem;
      font-weight: 800;
      color: var(--primary-dark);
      margin-bottom: 4px;
    }

    .metric-lbl {
      font-size: 0.88rem;
      color: var(--text-muted);
      font-weight: 500;
    }

    .section-spacing {
      padding: 80px 0;
    }

    .section-header-center {
      text-align: center;
      max-width: 760px;
      margin: 0 auto 50px;
    }

    .section-tag {
      font-size: 0.85rem;
      font-weight: 700;
      color: var(--primary);
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 10px;
      display: inline-block;
    }

    .section-title {
      font-size: 2.1rem;
      font-weight: 800;
      color: var(--text-main);
      margin-bottom: 14px;
    }

    .section-subtitle {
      font-size: 1rem;
      color: var(--text-muted);
      line-height: 1.6;
    }

    .features-grid-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .feature-box {
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 30px;
      box-shadow: var(--shadow-sm);
      transition: all 0.25s ease;
      display: flex;
      flex-direction: column;
    }

    .feature-box:hover {
      transform: translateY(-4px);
      border-color: rgba(217, 70, 239, 0.4);
      box-shadow: var(--shadow-md);
    }

    .feature-icon-bar {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      background: linear-gradient(135deg, var(--accent-soft) 0%, rgba(121, 40, 202, 0.1) 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--primary);
      margin-bottom: 20px;
      font-weight: bold;
      font-size: 1.2rem;
    }

    .feature-box h3 {
      font-size: 1.2rem;
      font-weight: 700;
      color: var(--text-main);
      margin-bottom: 10px;
    }

    .feature-box p {
      font-size: 0.94rem;
      color: var(--text-muted);
      line-height: 1.65;
      margin-bottom: 16px;
      flex-grow: 1;
    }

    .feature-tags-inline {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .chip-badge {
      font-size: 0.76rem;
      background: var(--bg-alt);
      color: var(--primary-dark);
      padding: 3px 8px;
      border-radius: 4px;
      font-weight: 500;
    }

    .matrix-showcase {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      align-items: center;
    }

    .matrix-content-list {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .matrix-item {
      display: flex;
      gap: 16px;
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      padding: 20px;
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-sm);
    }

    .matrix-num {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
      color: #ffffff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 1rem;
      flex-shrink: 0;
    }

    .matrix-text h4 {
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--text-main);
      margin-bottom: 6px;
    }

    .matrix-text p {
      font-size: 0.9rem;
      color: var(--text-muted);
      line-height: 1.5;
    }

    .media-card-wrap {
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      padding: 16px;
      box-shadow: var(--shadow-md);
    }

    .media-card-wrap img {
      width: 100%;
      height: auto;
      border-radius: var(--radius-md);
      display: block;
      object-fit: cover;
    }

    .tokens-chip-cluster {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: center;
      margin-top: 30px;
    }

    .token-chip-item {
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      padding: 8px 16px;
      border-radius: 20px;
      font-size: 0.88rem;
      font-weight: 600;
      color: var(--text-main);
      box-shadow: var(--shadow-sm);
      transition: all 0.2s;
    }

    .token-chip-item:hover {
      border-color: var(--primary);
      color: var(--primary);
      transform: translateY(-2px);
    }

    .table-container-card {
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      overflow-x: auto;
      box-shadow: var(--shadow-sm);
    }

    .eval-table {
      width: 100%;
      border-collapse: collapse;
      text-align: left;
      font-size: 0.92rem;
    }

    .eval-table th,
    .eval-table td {
      padding: 16px 20px;
      border-bottom: 1px solid var(--border-subtle);
    }

    .eval-table th {
      background: var(--bg-alt);
      color: var(--primary-dark);
      font-weight: 700;
    }

    .eval-table tr:last-child td {
      border-bottom: none;
    }

    .highlight-col {
      background: rgba(121, 40, 202, 0.03);
      font-weight: 600;
      color: var(--primary);
    }

    .score-badge {
      display: inline-block;
      padding: 4px 10px;
      background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
      color: #ffffff;
      border-radius: 6px;
      font-size: 0.8rem;
      font-weight: 700;
    }

    .testimonials-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .testimonial-card {
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 24px;
      box-shadow: var(--shadow-sm);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .user-meta {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 16px;
    }

    .user-avatar-text {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: var(--accent-soft);
      color: var(--primary);
      font-weight: 700;
      font-size: 1rem;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(217, 70, 239, 0.2);
    }

    .user-info h4 {
      font-size: 0.98rem;
      color: var(--text-main);
      font-weight: 700;
    }

    .user-info p {
      font-size: 0.82rem;
      color: var(--text-muted);
    }

    .testimonial-comment {
      font-size: 0.9rem;
      color: var(--text-muted);
      line-height: 1.6;
      font-style: normal;
    }

    .faq-list {
      max-width: 900px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .faq-item {
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      transition: border-color 0.2s;
    }

    .faq-item.active {
      border-color: var(--primary-light);
    }

    .faq-question {
      padding: 18px 24px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-weight: 700;
      font-size: 1rem;
      color: var(--text-main);
      user-select: none;
    }

    .faq-toggle-icon {
      font-size: 1.2rem;
      color: var(--primary);
      transition: transform 0.2s ease;
    }

    .faq-item.active .faq-toggle-icon {
      transform: rotate(45deg);
    }

    .faq-answer {
      display: none;
      padding: 0 24px 20px;
      font-size: 0.92rem;
      color: var(--text-muted);
      line-height: 1.65;
      border-top: 1px solid var(--border-subtle);
      margin-top: 4px;
      padding-top: 14px;
    }

    .form-layout-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      padding: 40px;
      box-shadow: var(--shadow-md);
    }

    .form-info h3 {
      font-size: 1.8rem;
      color: var(--text-main);
      font-weight: 800;
      margin-bottom: 16px;
    }

    .form-info p {
      color: var(--text-muted);
      font-size: 0.95rem;
      line-height: 1.6;
      margin-bottom: 30px;
    }

    .contact-item-row {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 16px;
      font-size: 0.92rem;
      color: var(--text-main);
    }

    .contact-icon-pill {
      width: 32px;
      height: 32px;
      border-radius: 8px;
      background: var(--bg-alt);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--primary);
      font-weight: 700;
    }

    .kefu-qr-box {
      margin-top: 24px;
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .kefu-qr-box img {
      width: 100px;
      height: 100px;
      border-radius: var(--radius-sm);
      border: 1px solid var(--border-subtle);
      object-fit: contain;
    }

    .input-field-group {
      margin-bottom: 18px;
    }

    .input-field-group label {
      display: block;
      font-size: 0.88rem;
      font-weight: 600;
      color: var(--text-main);
      margin-bottom: 8px;
    }

    .input-field-group input,
    .input-field-group select,
    .input-field-group textarea {
      width: 100%;
      padding: 12px 16px;
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-sm);
      font-size: 0.92rem;
      color: var(--text-main);
      background: #faf8fd;
      transition: all 0.2s;
    }

    .input-field-group input:focus,
    .input-field-group select:focus,
    .input-field-group textarea:focus {
      outline: none;
      border-color: var(--primary);
      background: #ffffff;
      box-shadow: 0 0 0 3px rgba(121, 40, 202, 0.12);
    }

    .btn-form-submit {
      width: 100%;
      padding: 14px;
      background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
      color: #ffffff;
      border: none;
      border-radius: var(--radius-sm);
      font-size: 1rem;
      font-weight: 700;
      cursor: pointer;
      box-shadow: 0 4px 14px rgba(121, 40, 202, 0.25);
      transition: all 0.25s ease;
    }

    .btn-form-submit:hover {
      transform: translateY(-1px);
      box-shadow: 0 6px 18px rgba(121, 40, 202, 0.35);
    }

    .news-articles-card {
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 24px;
      box-shadow: var(--shadow-sm);
    }

    .articles-links-cluster {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 16px;
    }

    .articles-links-cluster a {
      display: inline-block;
      padding: 6px 14px;
      background: var(--bg-alt);
      color: var(--primary-dark);
      text-decoration: none;
      border-radius: 6px;
      font-size: 0.88rem;
      transition: all 0.2s;
    }

    .articles-links-cluster a:hover {
      background: var(--primary);
      color: #ffffff;
    }

    .site-footer {
      background: #ffffff;
      border-top: 1px solid var(--border-subtle);
      padding: 60px 0 30px;
      margin-top: 40px;
    }

    .footer-grid-main {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
      margin-bottom: 40px;
    }

    .footer-col h4 {
      font-size: 1rem;
      color: var(--text-main);
      font-weight: 700;
      margin-bottom: 18px;
    }

    .footer-col p {
      font-size: 0.88rem;
      color: var(--text-muted);
      line-height: 1.6;
      margin-bottom: 14px;
    }

    .footer-links-list {
      list-style: none;
    }

    .footer-links-list li {
      margin-bottom: 10px;
    }

    .footer-links-list li a {
      font-size: 0.88rem;
      color: var(--text-muted);
      text-decoration: none;
      transition: color 0.2s;
    }

    .footer-links-list li a:hover {
      color: var(--primary);
    }

    .friend-links-box {
      border-top: 1px solid var(--border-subtle);
      padding-top: 24px;
      margin-bottom: 24px;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 14px;
    }

    .friend-links-box span {
      font-size: 0.85rem;
      font-weight: 700;
      color: var(--text-main);
    }

    .friend-links-box a {
      font-size: 0.85rem;
      color: var(--text-muted);
      text-decoration: none;
      transition: color 0.2s;
    }

    .friend-links-box a:hover {
      color: var(--primary);
    }

    .footer-bottom-bar {
      border-top: 1px solid var(--border-subtle);
      padding-top: 20px;
      text-align: center;
      font-size: 0.82rem;
      color: var(--text-muted);
    }

    .floating-kefu {
      position: fixed;
      right: 20px;
      bottom: 80px;
      z-index: 990;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .float-btn {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      box-shadow: var(--shadow-md);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--primary);
      text-decoration: none;
      cursor: pointer;
      font-weight: bold;
      transition: transform 0.2s ease;
    }

    .float-btn:hover {
      transform: scale(1.08);
      color: var(--accent);
    }

    .float-qr-modal {
      display: none;
      position: absolute;
      right: 60px;
      bottom: 0;
      background: #ffffff;
      padding: 12px;
      border-radius: var(--radius-sm);
      box-shadow: var(--shadow-lg);
      border: 1px solid var(--border-subtle);
      width: 140px;
      text-align: center;
    }

    .float-qr-modal img {
      width: 100%;
      height: auto;
      border-radius: 4px;
    }

    .float-qr-modal p {
      font-size: 0.75rem;
      color: var(--text-muted);
      margin-top: 6px;
    }

    .floating-kefu .kefu-btn-wrapper:hover .float-qr-modal {
      display: block;
    }

    @media (max-width: 992px) {
      .hero-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .features-grid-3 {
        grid-template-columns: repeat(2, 1fr);
      }
      .matrix-showcase {
        grid-template-columns: 1fr;
      }
      .testimonials-grid {
        grid-template-columns: 1fr;
      }
      .form-layout-grid {
        grid-template-columns: 1fr;
        padding: 24px;
      }
      .footer-grid-main {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (max-width: 768px) {
      .main-heading {
        font-size: 2rem;
      }
      .menu-toggle-btn {
        display: block;
      }
      .nav-links {
        display: none;
        position: absolute;
        top: 74px;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 20px;
        border-bottom: 1px solid var(--border-subtle);
        box-shadow: var(--shadow-md);
      }
      .nav-links.active {
        display: flex;
      }
      .nav-links li {
        width: 100%;
      }
      .nav-links li a {
        padding: 10px 0;
      }
      .features-grid-3 {
        grid-template-columns: 1fr;
      }
      .footer-grid-main {
        grid-template-columns: 1fr;
      }
    }