/* 
* 云e养平台首页样式表 - 蓝色主题
* 主色调已修改为蓝色系(#0066CC)
* 您可以根据需要调整颜色值
*/

/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 通用按钮样式 */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #0066CC; /* 主题蓝色 */
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background-color: #0055AA; /* 深蓝色 */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: #0066CC; /* 主题蓝色 */
    border: 1px solid #0066CC;
}

.btn-outline:hover {
    background-color: #0066CC;
    color: #fff;
}

.btn-login {
    color: #0066CC; /* 主题蓝色 */
}

.btn-register {
    background-color: #0066CC; /* 主题蓝色 */
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px;
}

.btn-cta {
    background-color: #fff;
    color: #0066CC; /* 主题蓝色 */
    font-size: 18px;
    padding: 12px 30px;
    font-weight: 600;
}

.btn-cta:hover {
    background-color: #0066CC;
    color: #fff;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

/* 部分标题样式 */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #0066CC; /* 主题蓝色 */
    margin: 15px auto 0;
}

.section-header p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* 头部导航样式 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo span {
    font-size: 20px;
    font-weight: 600;
    color: #0066CC; /* 主题蓝色 */
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin: 0 15px;
}

.main-nav a {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    padding: 8px 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0066CC; /* 主题蓝色 */
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a.active {
    color: #0066CC; /* 主题蓝色 */
}

.auth-buttons {
    display: flex;
    align-items: center;
}

.auth-buttons a {
    margin-left: 20px;
    font-weight: 500;
}

/* 轮播图区域样式 */
.carousel-section {
    height: 600px;
    position: relative;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: #fff;
    max-width: 500px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.carousel-caption h2 {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 15px;
}

.carousel-caption p {
    font-size: 18px;
    margin-bottom: 15px;
}

/* 添加轮播图标语样式 */
.carousel-caption .slogan {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    background-color: rgba(0, 102, 204, 0.7); /* 半透明蓝色 */
    display: inline-block;
    padding: 5px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.carousel-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background-color: #fff;
    transform: scale(1.2);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

/* 平台愿景口号区域样式 */
.vision-section {
    padding: 50px 0;
    background-color: #fff; /* 浅蓝色背景 */
    text-align: center;
}

.vision-slogan {
    font-size: 36px;
    font-weight: 700;
    color: #0066CC;
    margin-bottom: 15px;
}

.vision-description p {
    font-size: 18px;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

/* 服务板块区域样式 */
.services-section {
    padding: 80px 0;
    background-color: #f0f7ff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.15);
    border-color: #0066CC;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 102, 204, 0.1); /* 浅蓝色背景 */
    border-radius: 50%;
    font-size: 30px;
    color: #0066CC; /* 主题蓝色 */
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #0066CC; /* 主题蓝色 */
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
    min-height: 80px;
}

/* 特色服务展示区域样式 */
.special-services-section {
    padding: 20px 0;
    background-color: #fff; /* 浅蓝色背景 */
}

.special-service-item {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    gap: 50px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.special-service-item.reverse {
    flex-direction: row-reverse;
}

.service-image {
    flex: 1;
    max-width: 50%;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.special-service-item:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    flex: 1;
    padding: 40px;
}

.service-content h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #0066CC; /* 主题蓝色 */
}

.service-content p {
    color: #666;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.7;
}

/* 添加服务区域标语样式 */
.service-slogan {
    display: inline-block;
    background-color: #0066CC; /* 主题蓝色 */
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.feature-list {
    margin-bottom: 25px;
}

.feature-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.feature-list li i {
    color: #0066CC; /* 主题蓝色 */
    margin-right: 10px;
}

/* 成功案例区域样式 */
.success-cases-section {
    padding: 80px 0;
    background-color: #fff;
}

.cases-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.case-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.15);
    border-color: #0066CC;
}

.case-image {
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.1);
}

.case-content {
    padding: 25px;
}

.case-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #0066CC; /* 主题蓝色 */
}

.case-description {
    color: #666;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.6;
}

.case-result {
    display: flex;
    margin-bottom: 20px;
    gap: 20px;
}

.result-item {
    text-align: center;
    flex: 1;
}

.result-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #0066CC; /* 主题蓝色 */
    margin-bottom: 5px;
}

.result-label {
    font-size: 14px;
    color: #666;
}

.read-more {
    color: #0066CC; /* 主题蓝色 */
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* 用户权益区域样式 */
.user-benefits-section {
    padding: 20px 0;
    background-color: #f0f7ff; /* 浅蓝色背景 */
}

.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.benefit-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 102, 204, 0.15);
    border-color: #0066CC;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 102, 204, 0.1); /* 浅蓝色背景 */
    border-radius: 50%;
    font-size: 35px;
    color: #0066CC; /* 主题蓝色 */
}

.benefit-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #0066CC; /* 主题蓝色 */
}

.benefit-card p {
    color: #666;
    margin-bottom: 25px;
}

.medal-levels {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.medal {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    position: relative;
}

.medal.bronze {
    background: linear-gradient(135deg, #cd7f32, #a04000);
}

.medal.silver {
    background: linear-gradient(135deg, #c0c0c0, #7a7a7a);
}

.medal.gold {
    background: linear-gradient(135deg, #ffd700, #b8860b);
}

.medal.platinum {
    background: linear-gradient(135deg, #e5e4e2, #9c9c9c);
}

.certification-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.cert-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.cert-feature i {
    color: #0066CC; /* 主题蓝色 */
}

/* 行动召唤区域样式 */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0066CC, #1E90FF); /* 蓝色渐变 */
    color: #fff;
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 添加CTA区域标语样式 */
.cta-slogan {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* 底部信息区域样式 */
.footer {
    background-color: #00264d; /* 深蓝色背景 */
    color: #fff;
    padding-top: 60px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-logo img {
    height: 30px;
    margin-right: 10px;
}

.footer-logo span {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.footer-slogan {
    color: #aaa;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #0066CC; /* 主题蓝色 */
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #0066CC; /* 主题蓝色 */
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #aaa;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-col p {
    color: #aaa;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-col p i {
    margin-right: 10px;
    color: #0066CC; /* 主题蓝色 */
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.copyright {
    color: #aaa;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #aaa;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #0066CC; /* 主题蓝色 */
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 102, 204, 0.3);
    transition: all 0.3s ease;
    z-index: 100;
}

.back-to-top:hover {
    background-color: #0055AA; /* 深蓝色 */
    transform: translateY(-5px);
}

.back-to-top.show {
    display: flex;
}

/* 响应式布局 */
@media (max-width: 992px) {
    .section-header h2 {
        font-size: 30px;
    }
    
    .carousel-caption h2 {
        font-size: 36px;
    }
    
    .special-service-item,
    .special-service-item.reverse {
        flex-direction: column;
        gap: 30px;
    }
    
    .service-image {
        max-width: 100%;
    }
    
    .service-content {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
        height: auto;
        padding: 15px 20px;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .main-nav {
        order: 3;
        width: 100%;
        margin-top: 15px;
    }
    
    .main-nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .carousel-section {
        height: 450px;
    }
    
    .carousel-caption {
        left: 5%;
        right: 5%;
    }
    
    .carousel-caption h2 {
        font-size: 28px;
    }
    
    .carousel-caption p {
        font-size: 16px;
    }
    
    .services-grid,
    .cases-container,
    .benefits-container {
        grid-template-columns: 1fr;
    }
    
    .vision-slogan {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 26px;
    }
    
    .carousel-section {
        height: 350px;
    }
    
    .carousel-caption h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .carousel-caption p {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .carousel-caption .slogan {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .cta-slogan {
        font-size: 20px;
        padding: 10px 0;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
/* 大图展示区域样式 */
.hero-section {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 半透明遮罩，增强文字可读性 */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: #fff;
    max-width: 600px;
    z-index: 10;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 25px;
    line-height: 1.6;
}

.hero-slogan {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.hero-slogan span {
    font-size: 18px;
    font-weight: 600;
    background-color: rgba(0, 102, 204, 0.7); /* 半透明蓝色 */
    padding: 6px 16px;
    border-radius: 4px;
}

.hero-cta {
    display: flex;
    gap: 15px;
}

/* 按钮样式修改，适应大图区域 */
.hero-cta .btn-primary {
    background-color: #0066CC;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
}

.hero-cta .btn-outline {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
}

.hero-cta .btn-outline:hover {
    background-color: #fff;
    color: #0066CC;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 40px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 500px;
    }
    
    .hero-content {
        left: 5%;
        right: 5%;
        max-width: 90%;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .hero-slogan span {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 450px;
    }
    
    .hero-content h1 {
        font-size: 30px;
        margin-bottom: 15px;
    }
    
    .hero-content p {
        margin-bottom: 20px;
    }
    
    .hero-slogan {
        margin-bottom: 20px;
    }
    
    .hero-slogan span {
        font-size: 14px;
        padding: 5px 12px;
    }
    
    .hero-cta .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

.social-hover {
    display: inline-block;
    position: relative;
    margin-right: 8px;
}
.social-hover .hover-preview {
    display: none;
    position: absolute;
    left: 50%;
    bottom: 30%;
    top: auto;
    transform: translateX(-50%) translateY(-100%);
    max-width: 200px;
    max-height: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    border-radius: 8px;
    z-index: 10;
}
.social-hover:hover .hover-preview {
    display: block;
}