
/* 标题 */
.company-title {
    display: block;
    width: 100%;
    margin: 0 0 16px;
    padding-top: 20px;
    font-size: 2rem;             /* 约32px */
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    color: #222;
    line-height: 1.2;
}

/* 正文 */
.company-desc {
    display: block;
    max-width: 1000px;
    margin: 0 auto 30px;
    font-size: 1.5rem;             /* 约16px */
    line-height: 1.75;
    text-align: justify;
    text-justify: inter-ideograph; /* 中文两端对齐优化 */
}

:root {
    --primary-color: #c62828;
    --secondary-color: #1565c0;
    --dark-color: #00a89e;
    --light-color: #f5f5f5;
    --accent-color: #ff8f00;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', 'Segoe UI', sans-serif;
}

body {
    background-color: #f0f2f5;
    color: #333;
    line-height: 1.6;
    padding-bottom: 60px;
}

.toolbar2 {
    background: linear-gradient(135deg, var(--dark-color), var(--secondary-color));
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.homelink {
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
}

.btnList {
    display: flex;
    gap: 10px;
}

.btnList .btn {
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.btnList .btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.content2 {
    max-width: 1200px;
    margin: 30px auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 30px;
}

.caption2 {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--secondary-color);
    border-left: 5px solid var(--accent-color);
    padding-left: 15px;
    margin: 30px 0 20px;
}

.words h1 {
    font-size: 2.2rem;
    color: var(--dark-color);
    margin-bottom: 20px;
    text-align: center;
    padding: 10px 0;
    border-bottom: 2px solid var(--accent-color);
}

.rel {
    display: block;
    text-align: center;
    color: #666;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.tags {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 25px 0;
}

.tags dt {
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tags dd {
    margin-left: 0;
    margin-bottom: 8px;
    display: inline-block;
}

.tags a {
    background: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    text-decoration: none;
    display: inline-block;
    margin-right: 8px;
    transition: all 0.3s;
}

.tags a:hover {
    background: var(--dark-color);
    transform: translateY(-3px);
}

.demo {
    margin-top: 30px;
}

.company-title {
    display: block;
    text-align: center;
    font-size: 2rem;
    color: var(--dark-color);
    font-weight: bold;
    margin: 30px 0 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent-color);
}

.company-desc {
    display: block;
    text-align: justify;
    line-height: 1.8;
    margin: 20px 0 40px;
    padding: 0 20px;
    font-size: 1.5rem;
    color: #444;
}

.img-container {
    margin: 40px 0;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.img-container:hover {
    transform: translateY(-5px);
}

.img-container img {
    width: 100%;
    display: block;
    border-radius: 10px;
}

.img-caption2 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px 20px;
    text-align: center;
    font-size: 1.1rem;
}

.img-desc {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin: 20px 0 40px;
    border-left: 4px solid var(--accent-color);
}

.img-desc h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.img-desc p {
    line-height: 1.8;
    margin-bottom: 15px;
}

.dock {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
}

.dock .icons {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dock li {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.dock li:hover {
    transform: translateY(-5px) scale(1.1);
    background: var(--dark-color);
}

.dock .switch {
    display: none;
}

.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent-color), transparent);
    margin: 40px 0;
}

@media (max-width: 768px) {
    .content2 {
        padding: 20px;
        margin: 15px;
    }
    
    .words h1 {
        font-size: 1.8rem;
    }
    
    .caption2 {
        font-size: 1.5rem;
    }
    
    .btnList {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .company-title {
        font-size: 1.6rem;
    }
    
    .company-desc {
        padding: 0;
    }
}