/* 入口导航页面样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 4rem 0;
    text-align: center;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-description {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.hero-features span {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-features i {
    color: var(--accent-color);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 快速入口区域 */
.quick-entry {
    background: var(--bg-light);
    padding: 4rem 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.quick-entry .section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.entry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.entry-card {
    background: var(--bg-white);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.entry-card:hover {
    transform: translateY(-5px);
}

.entry-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.entry-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.entry-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* 使用步骤 */
.steps-section {
    background: #fff;
    padding: 4rem 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.steps-section .section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    background: var(--bg-white);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.step-card::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -1rem;
    width: 2rem;
    height: 2px;
    background: var(--primary-color);
    transform: translateY(-50%);
}

.step-card:last-child::after {
    display: none;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: 700;
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.step-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* 问答区域 */
.qa-section {
    background: #fff;
    padding: 4rem 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.qa-section .section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.qa-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.qa-item {
    background: var(--bg-white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.qa-item h3 {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.qa-item h3 i {
    color: var(--accent-color);
}

.qa-item p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* 入口链接区域 */
.entry-links {
    background: var(--bg-light);
    padding: 4rem 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.entry-links .section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.link-card {
    background: var(--bg-white);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.link-card:hover {
    transform: translateY(-5px);
}

.link-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.link-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.link-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .entry-grid,
    .steps-grid,
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .qa-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .stat-item {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .entry-grid,
    .steps-grid,
    .links-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
    }

    .stat-item {
        flex: 0 0 100%;
    }
}

/* 移除section-inner的样式，因为现在用container控制宽度 */
.section-inner {
    width: 100%;
}
