/* Main Content */
main {
    margin-top: 80px;
}

/* Section通用样式 - 确保所有section有标准尺寸 */
main > section {
    width: 100%;
    max-width: none;
    margin: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Hero Section */
.hero {
    background-image: url('../hero-bg.png');
    height: 920px;
    background-size: 100% 95%;
    background-position: left top;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1440px;
    height: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    transform: translateY(-50%);
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 32px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Features Section */
.features {
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 96px 0;
    gap: 100px;
    width: 100%;
    height: auto;
    min-height: 920px;
}

.features .section-header {
    margin-bottom: 60px;
    text-align: center;
}

.features .section-title {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 40px;
    line-height: 44px;
    letter-spacing: -0.02em;
    color: #181D27;
    text-align: center;
    margin: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    width: 100%;
    max-width: 1216px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 32px;
    border-radius: 8px;
    background: white;
    box-shadow: 0 4px 8px rgba(17, 24, 39, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 6px 12px rgba(17, 24, 39, 0.15);
    transform: translateY(-4px);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: transparent;
    border: none;
    border-radius: 0;
    width: auto;
    height: auto;
    padding: 0;
}

.feature-icon img,
.feature-icon span {
    width: 48px;
    height: 48px;
    display: block;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 500;
    color: #181D27;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 16px;
    color: #535862;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    background-image: url('../statsbg2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100px 0 100px 0;
    width: 100%;
}

.testimonials .section-title {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 48px;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin: 0;
    text-align: center;
}

.testimonials .section-description {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.6;
    color: #64748b;
    text-align: center;
    margin: 12px 0 0 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
    width: 100%;
    max-width: 1440px;
}

.testimonial-grid {
    display: none;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 32px;
    width: 100%;
    max-width: 1440px;
}

.feature-card {
    background: white;
    padding: 40px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(127, 86, 217, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(127, 86, 217, 0.1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(127, 86, 217, 0.2);
}

.feature-icon-circle {
    width: 72px;
    height: 72px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-circle svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #181D27;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    color: #6B7280;
    line-height: 1.6;
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.testimonial-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 4px 0;
}

.company-name {
    font-size: 14px;
    color: #6B7280;
    margin: 0 0 16px 0;
}

.quote {
    font-size: 18px;
    color: #111827;
    line-height: 28px;
    margin: 0;
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, #F5F3FF 0%, #FAFBFF 50%, #F5F3FF 100%);
    padding: 260px 0 200px 0;
    position: relative;
    overflow: visible;
    height: auto !important;
    min-height: 1200px;
}

.stats::before {
    content: '';
    position: absolute;
    top: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(127, 86, 217, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.stats::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(127, 86, 217, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.stats .section-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 20px;
    width: 100%;
    max-width: 768px;
    transform: translateX(10%) translateY(0%);
    position: relative;
    z-index: 1;
    margin-bottom: 60px;
}

.stats .section-title {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 36px;
    line-height: 44px;
    letter-spacing: -0.02em;
    color: #181D27;
    text-align: left;
    margin: 0;
    position: relative;
    padding-left: 20px;
}

.stats .section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 4px;
    background: linear-gradient(180deg, #7F56D9 0%, #9F7AEA 100%);
    border-radius: 2px;
}

.stats .section-description {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
    color: #535862;
    text-align: left;
    margin: 0;
}

.stats-content {
    display: flex;
    align-items: center;
    gap: 180px;
    width: 100%;
    padding: 0 72px;
    min-height: 550px;
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 72px;
    flex: 1;
    max-width: 1350px;
}

.stat-item {
    text-align: center;
    height: 300px;
    background: white;
    border-radius: 16px;
    padding: 48px 32px;
    box-shadow: 0 4px 20px rgba(127, 86, 217, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(127, 86, 217, 0.05);
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(127, 86, 217, 0.15);
    border-color: rgba(127, 86, 217, 0.2);
}

.stat-number {
    font-size: 56px;
    font-weight: bold;
    color: #7F56D9;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #7F56D9 0%, #9F7AEA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 22px;
    font-weight: 600;
    color: #181D27;
    margin-bottom: 12px;
}

.stat-desc {
    color: #6B7280;
    font-size: 16px;
    line-height: 1.6;
}

/* Board Section */
.board {
    background: #ffffff;
    padding: 120px 0 150px 0;
    text-align: center;
    height: auto !important;
    display: block !important;
    align-items: normal !important;
}

.board-title {
    font-size: 32px;
    font-weight: 700;
    color: #4b0082;
    margin-bottom: 40px;
}

.board-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.board-tab {
    text-decoration: none;
    background: #f7f4ff;
    color: #4b0082;
    border: 1px solid #ddd;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.board-tab:hover,
.board-tab.active {
    background: #4b0082;
    color: white;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-items: center;
    margin-bottom: 50px;
}

.board-load-more {
    text-align: center;
}

.load-more-btn {
    text-decoration: none;
    background: #7F56D9;
    color: white;
    border: none;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: #6D48C1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(127, 86, 217, 0.3);
}

.article-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 0;
    width: 260px;
    height: auto;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 10px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: transform 0.3s;
    overflow: hidden;
}

.card-link {
    width: 100%;
    height: 100%;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.card-link:hover .card-title {
    color: #7F56D9;
}

.card-category {
    background: #f0e6ff;
    color: #7F56D9;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.card-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-align: left;
    margin: 0 0 8px 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    flex-shrink: 0;
}

.card-summary {
    font-size: 13px;
    color: #999;
    line-height: 1.4;
    margin: 0 0 8px 0;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    flex-grow: 1;
}

.card-date {
    font-size: 12px;
    color: #999;
    text-align: left;
    margin-top: auto;
    margin-bottom: 0;
    width: 100%;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .board-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-list {
        gap: 1rem;
        font-size: 14px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .board-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    main > section {
        height: auto !important;
        min-height: 920px;
    }
}

/* Document Styles (Terms, Privacy, IP, API) */
.terms-content,
.privacy-content,
.ip-content,
.api-content {
    padding: 60px 0 100px 0;
    background: #ffffff;
    min-height: calc(100vh - 80px);
}

.document-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 30px;
    border-bottom: 2px solid #7F56D9;
}

.document-title {
    font-size: 36px;
    font-weight: 700;
    color: #181D27;
    margin-bottom: 16px;
}

.document-subtitle {
    font-size: 16px;
    color: #6B7280;
}

.document-section {
    margin-bottom: 40px;
}

.document-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: #181D27;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #E5E7EB;
}

.document-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #374151;
    margin: 24px 0 12px 0;
}

.document-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #4B5563;
    margin-bottom: 12px;
    text-align: justify;
}

.document-section ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 16px;
}

.document-section ul li {
    font-size: 16px;
    line-height: 1.8;
    color: #4B5563;
    margin-bottom: 8px;
    padding-left: 24px;
    position: relative;
    text-align: justify;
}

.document-section ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #7F56D9;
    font-weight: bold;
}

.document-section strong {
    color: #181D27;
    font-weight: 600;
}

.text-bold-key {
    color: #7F56D9;
    font-weight: 600;
}
