.hero {
    padding: 160px 0 80px;
    text-align: center;
    background: var(--soul-gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(124, 58, 237, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(124, 58, 237, 0.06) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 48px;
    color: var(--soul-primary);
    margin-bottom: 10px;
}

.hero .sub-title {
    font-size: 20px;
    color: var(--soul-text-2);
    margin-bottom: 10px;
}

.hero .desc {
    font-size: 16px;
    color: var(--soul-text-3);
    max-width: 600px;
    margin: 0 auto 30px;
}

.hero .btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero .stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}

.hero .stat-item {
    background: var(--soul-bg-white);
    padding: 16px 24px;
    border-radius: var(--soul-radius-lg);
    box-shadow: var(--soul-shadow-theme);
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero .stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--soul-primary);
    color: var(--soul-text-white);
    flex-shrink: 0;
}

.hero .stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero .stat-value {
    font-size: 22px;
    font-weight: 600;
    color: var(--soul-text-1);
    line-height: 1;
}

.hero .stat-label {
    font-size: 14px;
    color: var(--soul-text-3);
    margin-top: 6px;
}

.features {
    padding: 80px 0;
}

.feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
}

.feature-list .item {
    flex: 1;
    min-width: 220px;
    background: var(--soul-bg-white);
    padding: 30px 24px;
    border-radius: var(--soul-radius-lg);
    box-shadow: var(--soul-shadow-sm);
    text-align: center;
}

.feature-list .item i {
    font-size: 30px;
    color: var(--soul-primary);
    margin-bottom: 16px;
}

.feature-list .item h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.feature-list .item p {
    font-size: 14px;
    color: var(--soul-text-2);
}

.scenarios {
    padding: 80px 0;
    background: var(--soul-bg-white);
}

.scenario-list {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
}

.scenario-list .item {
    flex: 1;
    min-width: 280px;
    border-radius: var(--soul-radius-lg);
    overflow: hidden;
    box-shadow: var(--soul-shadow-sm);
}

.scenario-list .item img {
    height: 180px;
    object-fit: cover;
}

.scenario-list .info {
    padding: 20px;
}

.scenario-list .info h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.scenario-list .info p {
    font-size: 14px;
    color: var(--soul-text-2);
}

.demo-code {
    padding: 80px 0;
    background: var(--soul-bg-soft);
}

.demo-code-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

.chat-demo, .code-demo {
    flex: 1;
    min-width: 300px;
}

.chat-box {
    background: var(--soul-bg-white);
    border-radius: var(--soul-radius-lg);
    padding: 20px;
    box-shadow: var(--soul-shadow-sm);
}

.msg {
    max-width: 75%;
    padding: 10px 14px;
    border-radius: var(--soul-radius-lg);
    font-size: 14px;
    margin-bottom: 10px;
}

.msg.ai {
    background: var(--soul-primary-extralight);
    color: var(--soul-text-1);
    align-self: flex-start;
}

.msg.user {
    background: var(--soul-primary);
    color: var(--soul-text-white);
    align-self: flex-end;
    margin-left: auto;
}

.code-demo pre {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 20px;
    border-radius: var(--soul-radius-lg);
    font-size: 13px;
    overflow-x: auto;
}

.faq {
    padding: 80px 0;
    background: var(--soul-bg-white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: var(--soul-border-1);
    border-radius: var(--soul-radius-md);
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 16px;
    background: var(--soul-bg-soft);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

.faq-answer {
    padding: 0 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    font-size: 14px;
    color: var(--soul-text-2);
}

.faq-item.active .faq-answer {
    padding: 16px;
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.updates {
    padding: 80px 0;
}

.update-list {
    max-width: 800px;
    margin: 0 auto;
}

.update-list .item {
    border-left: 3px solid var(--soul-primary);
    padding-left: 20px;
    margin-bottom: 20px;
}

.update-list .date {
    font-size: 13px;
    color: var(--soul-text-3);
}

.update-list h4 {
    font-size: 18px;
    margin: 8px 0;
}

.update-list p {
    font-size: 14px;
    color: var(--soul-text-2);
}

/* 技术博客 - 带图片卡片网格 */
.news {
    padding: 80px 0;
    background: var(--soul-bg-white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.news-card {
    background: var(--soul-bg-white);
    border-radius: var(--soul-radius-lg);
    overflow: hidden;
    box-shadow: var(--soul-shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--soul-shadow-md);
}

.news-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.news-link:hover {
    text-decoration: none;
    color: inherit;
}

/* 图片容器 */
.news-img-wrap {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
    background: var(--soul-bg-soft);
}

.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    transform: scale(1);
}

.news-card:hover .news-img {
    transform: scale(1.1);
}

/* 卡片文字内容 */
.news-info {
    padding: 20px;
}

.news-info h3 {
    font-size: 18px;
    color: var(--soul-text-1);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    line-height: 1.4;
    max-height: 1.4em;
}

.news-desc {
    font-size: 14px;
    color: var(--soul-text-2);
    margin-bottom: 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-date {
    font-size: 13px;
    color: var(--soul-primary);
    margin: 0;
}

.read-more {
    color: var(--soul-primary);
    font-size: 14px;
}

/* 查看更多按钮 */
.news-more {
    text-align: center;
    margin-top: 20px;
}

.news-more .btn {
    padding: 10px 28px;
}

/* ========== 响应式适配 ========== */
@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .news-img-wrap {
        height: 160px;
    }
}

@media (max-width: 576px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .news-img-wrap {
        height: 160px;
    }
    .news-info {
        padding: 16px;
    }
    .news-info h3 {
        font-size: 15px;
    }
}

.cta {
    padding: 80px 0;
    background: var(--soul-gradient-cta);
    color: var(--soul-text-white);
    text-align: center;
}

.cta h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.cta p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta .btn {
    background: var(--soul-bg-white);
    color: var(--soul-primary);
}
.active a{
	color: var(--soul-primary);
}
.stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}
.stat-item {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.stat-icon {
  width: 40px;
  height: 40px;
  background: #7c3aed;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  margin-right: 12px;
}
.stat-content .stat-num {
  font-size: 20px;
  font-weight: 600;
  color: #222;
}
.stat-content .stat-text {
  font-size: 14px;
  color: #666;
}
.reviews-section {
    padding: 60px 0;
    background: #f9f7ff;
}
.section-title {
    text-align: center;
    margin-bottom: 40px;
}
.section-title h2 {
    font-size: 28px;
    color: #222;
    margin-bottom: 10px;
}
.section-title p {
    font-size: 16px;
    color: #666;
}
.reviews-list {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}
.review-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    width: 300px;
    box-shadow: 0 2px 10px rgba(124, 58, 237, 0.08);
}
.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.review-avatar {
    width: 40px;
    height: 40px;
    background: #7c3aed;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
}
.review-info .review-name {
    font-size: 15px;
    font-weight: 500;
    color: #222;
}
.review-stars {
    color: #f5a623;
    font-size: 14px;
}
.review-content {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}
@media (max-width: 768px) {
    .reviews-list {
        flex-direction: column;
        align-items: center;
    }
    .review-card {
        width: 100%;
        max-width: 350px;
    }
}