:root {
    --primary-color: #2c5282;
    --secondary-color: #3182ce;
    --light-color: #f7fafc;
    --dark-color: #2d3748;
    --transition-speed: 0.3s;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    overflow-x: hidden;
}

a {
    text-decoration: none; /* 删除下划线 */
    color: inherit; /* 继承父级元素的文本颜色 */
    font-weight: inherit; /* 继承父级元素的字体粗细 */
    font-style: inherit; /* 继承父级元素的字体样式 */
    }

/* 导航栏 */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color);
    transition: color var(--transition-speed);
    padding: 1rem 1.5rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--secondary-color);
}

.dropdown-menu {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    font-weight: 400;
    padding: 0.5rem 1.5rem;
}

.dropdown-item:hover {
    background-color: rgba(44, 82, 130, 0.1);
}

/* Banner栏 */
.banner {
    background-image: linear-gradient(0deg, #a1c4fd 0%, #c2e9fb 100%);
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
}

.banner img {
    max-height: 50px;
    margin-bottom: 1.5rem;
}

.banner h1 {
    font-weight: 700;
    margin-bottom: 2rem;
}

.banner-card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-top: 2rem;
    color: var(--dark-color);
    text-align: center;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* 公告栏 */
.announcement {
    background-color: var(--light-color);
    padding: 0.75rem 0;
    font-size: 0.9rem;
}

.announcement-container {
    display: flex;
    align-items: center;
}

.announcement-title {
    font-weight: 600;
    margin-right: 1rem;
    color: var(--primary-color);
}

.announcement-text {
    flex-grow: 1;
    overflow: hidden;
}

.announcement-text span {
    display: inline-block;
    animation: scrollText 20s linear infinite;
    white-space: nowrap;
}

@keyframes scrollText {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.announcement-more {
    margin-left: 1rem;
}

/* 产品展示栏 */
.product-showcase {
    padding: 5rem 0;
}

.section-title {
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
}

.tab-navigation {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    background-color: #e2e8f0;
    color: var(--dark-color);
    border: none;
    padding: 0.75rem 1.5rem;
    margin: 0 0.5rem 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all var(--transition-speed);
}

.tab-btn:hover, .tab-btn.active {
    background-image: linear-gradient(120deg, #89f7fe 0%, #66a6ff 100%);
    color: white;
}

.product-tab-content {
    display: none;
}

.product-tab-content.active {
    display: block;
}

.product-tab-pane {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.product-image {
    flex: 0 0 45%;
    margin-bottom: 2rem;
}

.product-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 100%;
}

.product-info {
    flex: 0 0 50%;
}

.product-info h3 {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.product-info p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* 使用教程栏 */
.tutorial-section {
    padding: 5rem 0;
}

.tutorial-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    text-align: center;
    height: 100%;
    transition: all var(--transition-speed);
}

.tutorial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.tutorial-card img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.tutorial-card h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.more-btn {
    background-image: linear-gradient(to bottom, #88d3ce 0%, #6e45e2 100%);
    color: white;
    border-radius: 8px;
    padding: 2rem;
    transition: all var(--transition-speed);
    text-decoration: none;
}

.more-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(44, 82, 130, 0.3);
}

.more-btn h4 {
    font-weight: 600;
}

/* 定价信息栏 */
.pricing-section {
    padding: 5rem 0;
}

.pricing-tab {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.pricing-tab-btn {
    background-color: #e2e8f0;
    color: var(--dark-color);
    border: none;
    padding: 0.75rem 2rem;
    margin: 0 0.5rem 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all var(--transition-speed);
}

.pricing-tab-btn.active {
    background-image: linear-gradient(120deg, #89f7fe 0%, #66a6ff 100%);
    color: white;
}

.pricing-tab-content {
    display: none;
}

.pricing-tab-content.active {
    display: block;
}

.pricing-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: all var(--transition-speed);
    margin: 0 0.5rem 1rem;
    flex: 0 0 calc(25% - 2rem);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.pricing-card h3 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.price {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.benefits {
    margin-top: 2rem;
    text-align: left;
}

.benefits p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.comparison-link {
    color: var(--secondary-color);
    font-weight: 500;
    text-decoration: none;
}

.comparison-link:hover {
    text-decoration: underline;
}

/* 版权信息栏 */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0;
}

.footer-logo {
    margin-top: 1rem;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color var(--transition-speed);
}

.footer-links a:hover {
    color: white;
}

.copyright {
    margin-bottom: 0.5rem;
}

.copyright a {
    color: #cbd5e0;
    text-decoration: none;
}

.copyright a:hover {
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .product-image, .product-info {
        flex: 0 0 100%;
    }
    
    .product-image {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .tab-navigation {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        margin-bottom: 0.5rem;
        width: 100%;
        text-align: center;
    }
    
    .pricing-card {
        flex: 0 0 calc(50% - 1rem);
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .pricing-card {
        flex: 0 0 100%;
    }
    
    .tutorial-card {
        flex: 0 0 100%;
        margin-bottom: 1rem;
    }
}