/*
Theme Name: 数字前站
Theme URI: https://www.shuziqianzhan.com
Description: 专业B2B数字营销服务提供商WordPress主题，基于Bootstrap 3.4.1开发
Author: 数字前站团队
Author URI: https://www.shuziqianzhan.com
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: digitalfrontier
Tags: business, marketing, seo, bootstrap3, responsive
*/

/* 主题色变量 */
:root {
    --primary-color: #0829BA;
    --primary-dark: #061a8a;
    --primary-light: #4a5fd8;
    --secondary-color: #36b3a8;
    --accent-color: #ff6b35;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
    --text-color: #333;
    --light-text: #f8f9fa;
    --border-color: #dee2e6;
    --shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-lg: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body {
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 面包屑导航样式 */
.breadcrumb {
    height: 30px;
    margin: 12px 0;
    line-height: 30px;
    background: transparent;
    padding: 0;
}

.breadcrumb-item {
    line-height: 30px;
    font-size: 12px;
}

.breadcrumb-item a {
    line-height: 30px;
    font-size: 12px;
    color: #6B6B6E;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #6B6B6E;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #6c757d;
    line-height: 30px;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #6c757d;
    line-height: 30px;
    padding: 0 8px;
}

/* 导航栏样式 */
.navbar {
    box-shadow: var(--shadow);
    background-color: rgba(255, 255, 255, 0.95) !important;
}

.navbar-default {
    background-color: rgba(255, 255, 255, 0.95);
    border-color: transparent;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar-default .navbar-brand {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 20px;
    transition: color 0.3s ease;
}

.navbar-default .navbar-brand:hover {
    color: #007bff;
}

.navbar-nav > li > a {
    color: #555;
    font-weight: 500;
    padding: 15px 12px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus {
    color: #007bff;
    background-color: transparent;
}

.navbar-nav > li > a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #007bff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav > li > a:hover:after {
    width: 80%;
}

/* 下拉菜单样式 */
.dropdown-menu {
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 8px 0;
    margin-top: 2px;
    min-width: 200px;
    animation: dropdownFadeIn 0.3s ease;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu > li > a {
    padding: 8px 20px;
    color: #555;
    font-weight: 400;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
    background-color: #f8f9fa;
    color: #007bff;
    border-left-color: #007bff;
    text-decoration: none;
}

/* 经典多级下拉菜单样式 */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: 0;
    border-radius: 4px;
    min-width: 180px;
    display: none;
    position: absolute;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    background: #fff;
    border: 1px solid #eee;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.dropdown-submenu > a {
    white-space: nowrap;
    position: relative;
    padding-right: 18px;
}

.caret-right {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #bbb;
}

.dropdown-submenu > .dropdown-menu > li > a {
    padding: 8px 18px;
}

/* 三级及更多级菜单支持 */
.dropdown-submenu .dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: 0;
    border-radius: 4px;
    min-width: 180px;
    display: none;
    position: absolute;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    background: #fff;
    border: 1px solid #eee;
}

.dropdown-submenu .dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.dropdown-submenu .dropdown-submenu > a {
    white-space: nowrap;
    position: relative;
    padding-right: 18px;
}

.dropdown-submenu .dropdown-submenu .caret-right {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #bbb;
}

/* 子菜单项样式 */
.submenu-item {
    padding-left: 35px !important;
    font-size: 13px;
    color: #666 !important;
}

.submenu-item:hover {
    color: #007bff !important;
    background-color: #f0f8ff !important;
}

/* 下拉菜单标题样式 */
.dropdown-header {
    color: #333;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 20px 4px;
    margin-top: 5px;
    border-bottom: 1px solid #eee;
}

/* 分割线样式 */
.dropdown-menu .divider {
    margin: 5px 0;
    background-color: #e9ecef;
}

/* 搜索框样式 */
.navbar-form .form-control {
    border-radius: 20px;
    border: 1px solid #ddd;
    padding: 8px 15px;
    width: 200px;
    transition: all 0.3s ease;
}

.navbar-form .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
    width: 250px;
}

.navbar-form .btn {
    border-radius: 20px;
    border: 1px solid #007bff;
    background-color: #007bff;
    color: white;
    padding: 8px 15px;
    transition: all 0.3s ease;
}

.navbar-form .btn:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-1px);
}

/* 按钮样式 */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-accent {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    border-radius: 20px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background-color: #e65a2b;
    border-color: #e65a2b;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(40,167,69,0.3);
}

.btn-success {
    border-radius: 20px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(40,167,69,0.3);
}

/* Bootstrap 3 兼容性样式 */
.btn-outline-light {
    background-color: transparent;
    border-color: white;
    color: white;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--text-color);
}

/* 用户头像样式 */
.user-wechat-avatar {
    padding: 5px 10px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.user-wechat-avatar:hover {
    background-color: #f8f9fa;
    text-decoration: none;
}

/* 导航栏固定效果 */
.navbar-fixed-top {
    backdrop-filter: blur(10px);
    background-color: rgba(255,255,255,0.95);
}

/* 激活状态样式 */
.navbar-nav > .active > a,
.navbar-nav > .active > a:hover,
.navbar-nav > .active > a:focus {
    color: #007bff;
    background-color: transparent;
}

.navbar-nav > .active > a:after {
    width: 80%;
}

/* 下拉菜单激活状态 */
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
    background-color: #007bff;
    color: white;
    border-left-color: #0056b3;
}

/* 加载动画 */
.navbar-nav > li {
    opacity: 0;
    animation: slideInDown 0.5s ease forwards;
}

.navbar-nav > li:nth-child(1) { animation-delay: 0.1s; }
.navbar-nav > li:nth-child(2) { animation-delay: 0.2s; }
.navbar-nav > li:nth-child(3) { animation-delay: 0.3s; }
.navbar-nav > li:nth-child(4) { animation-delay: 0.4s; }
.navbar-nav > li:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bootstrap 3 额外兼容性样式 */
.navbar-toggle {
    border: none;
    background: transparent;
}

.navbar-toggle .icon-bar {
    background-color: var(--primary-color);
    height: 3px;
    width: 25px;
    margin: 4px 0;
    border-radius: 1px;
}

.navbar-toggle:hover .icon-bar {
    background-color: var(--primary-dark);
}

.navbar-btn {
    margin-left: 15px;
}

/* 为Bootstrap 3添加间距支持 */
.row > [class*="col-"] {
    margin-bottom: 30px;
}

.site-content {
    margin-top: 30px;
}

/* Banner/Slider */
.banner-slider {
    margin-bottom: 50px;
}

.banner-slide {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    color: white;
    background-size: cover;
    background-position: center;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(8, 41, 186, 0.8), rgba(54, 179, 168, 0.8));
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    padding-top: 100px;
}

.banner-content h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 25px;
    line-height: 1.2;
}

.banner-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 12px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background-color: #e65a2b;
    transform: translateY(-2px);
}

.secondary-btn {
    display: inline-block;
    background-color: transparent;
    color: white;
    padding: 12px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid white;
    margin-left: 15px;
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    background-color: white;
    color: var(--primary-color);
}

/* 区块标题样式 */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 40px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* 服务卡片样式 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.service-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: center;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
    text-align: center;
}

.service-card p {
    color: #666;
    margin-bottom: 25px;
    text-align: center;
}

.read-more {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.read-more i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* 博客卡片样式 */
.blog-section {
    background-color: var(--light-bg);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.blog-card {
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.blog-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-meta {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: #666;
    flex-wrap: wrap;
    gap: 1rem;
}

.blog-meta i {
    margin-right: 0.25rem;
    color: var(--primary-color);
}

.blog-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    line-height: 1.4;
}

.blog-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-link {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.blog-link:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.blog-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.blog-link:hover i {
    transform: translateX(5px);
}

/* 优势区块样式 */
.bg-light {
    background-color: var(--light-bg);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.advantage-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.advantage-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.advantage-content p {
    color: #666;
    margin: 0;
}

/* 为什么选择我们部分的样式 */
.why-choose-us {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
}

.why-choose-title {
    text-align: center;
    margin-bottom: 60px;
}

.why-choose-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.why-choose-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.advantage-card {
    background: white;
    border-radius: 20px;
    padding: 40px 25px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #4169E1 100%);
    transition: all 0.3s ease;
    z-index: 1;
    opacity: 0;
}

.advantage-card:hover::before {
    height: 100%;
    opacity: 1;
}

.advantage-card:hover {
    transform: translateY(-10px);
}

.advantage-card .advantage-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.advantage-card:hover .advantage-icon {
    color: white;
}

.advantage-content {
    position: relative;
    z-index: 2;
}

.advantage-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.advantage-card:hover h3 {
    color: white;
}

.advantage-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    transition: all 0.3s ease;
}

.advantage-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.advantage-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 4rem;
    font-weight: bold;
    color: rgba(8, 41, 186, 0.05);
    transition: all 0.3s ease;
}

.advantage-card:hover .advantage-number {
    color: rgba(255, 255, 255, 0.1);
}

/* 团队卡片样式 */
.team-section {
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.team-card {
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.team-icon-wrapper {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

.team-icon-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.team-card:hover .team-icon-wrapper::before {
    transform: translateX(100%);
}

.team-icon {
    font-size: 4rem;
    color: white;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.team-card:hover .team-icon {
    transform: scale(1.1);
}

.team-info {
    padding: 2rem 1.5rem;
}

.team-info h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: bold;
}

.team-info p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* CTA 区块样式 */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
    padding: 5rem 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.cta-section p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

/* 页脚样式 */
footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    font-weight: bold;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 0.5rem;
    text-decoration: none;
}

.contact-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-info i {
    margin-right: 12px;
    color: var(--secondary-color);
    width: 20px;
}

.social-icons {
    display: flex;
    margin-top: 25px;
    gap: 12px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    color: white;
}

.copyright {
    text-align: center;
    font-size: 14px;
    color: #aaa;
}

/* AI工具页面样式 */
.ai-tool-category-card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.ai-tool-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #007bff;
}

.ai-tool-icon {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 50%;
    margin: 0 auto;
    width: 80px;
}

.ai-tool-category-card:hover .ai-tool-icon {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white !important;
}

.ai-tool-category-card:hover .ai-tool-icon i {
    color: white !important;
}

.product-count {
    margin-top: 10px;
}

.category-stats .badge {
    font-size: 12px;
    padding: 4px 8px;
}

/* 媒体对象样式优化 */
.media {
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.2s ease;
}

.media:hover {
    background-color: #f8f9fa;
}

.media-object {
    border-radius: 5px;
    object-fit: cover;
}

.media-heading a {
    color: #333;
    font-weight: 500;
}

.media-heading a:hover {
    color: #007bff;
}

.tool-meta {
    margin-top: 5px;
}

/* 服务导航菜单样式 */
.navbar-nav .dropdown-menu li a[href*="service"] {
    padding: 8px 15px;
    border-bottom: 1px solid #f8f9fa;
    transition: all 0.2s ease;
    font-size: 14px;
}

.navbar-nav .dropdown-menu li a[href*="service"]:hover {
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    padding-left: 20px;
}

/* 服务菜单项特殊样式 */
.navbar-nav .dropdown-menu li a[href*="service"]:not([href*="archive"]):not([href*="case_study"]) {
    font-weight: 500;
    color: #333;
}

.navbar-nav .dropdown-menu li a[href*="service"]:not([href*="archive"]):not([href*="case_study"]):hover {
    background-color: #0056b3;
    color: #fff;
}

/* 服务菜单分隔线 */
.navbar-nav .dropdown-menu li.divider {
    margin: 5px 0;
    border-top: 1px solid #dee2e6;
}

/* 产品库二栏式mega menu样式 */
.mega-dropdown .dropdown-menu.mega-menu {
    display: flex;
    padding: 0;
    min-width: 500px;
    background: #f8f8fa;
    border: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.mega-menu-left {
    width: 220px;
    background: #f4f3fa;
    padding: 10px 0;
    border-right: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.mega-menu-parent {
    padding: 12px 24px;
    cursor: pointer;
    color: #333;
    font-weight: 500;
    border-radius: 4px 0 0 4px;
    transition: background 0.2s, color 0.2s;
}

.mega-menu-parent.active,
.mega-menu-parent:hover {
    background: #6c3fd4;
    color: #fff;
}

.mega-menu-right {
    flex: 1;
    padding: 16px 24px;
    background: #fff;
    min-height: 220px;
    position: relative;
}

.mega-menu-children {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mega-menu-children.active {
    display: block;
}

.mega-menu-children li {
    margin-bottom: 10px;
}

.mega-menu-children li a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.mega-menu-children li a:hover {
    color: #6c3fd4;
}

/* 小工具样式 */
.widget {
    margin-bottom: 30px;
}

.widget-title {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: bold;
}

/* 文章样式 */
.entry-content {
    line-height: 1.8;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.entry-content p {
    margin-bottom: 25px;
}

.entry-content a {
    color: var(--secondary-color);
    text-decoration: none;
}

.entry-content a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* 分页样式 */
.pagination .page-link {
    color: var(--primary-color);
    border-color: var(--border-color);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination .page-link:hover {
    color: var(--primary-dark);
    background-color: var(--light-bg);
    border-color: var(--primary-color);
}

/* 动画效果 */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes zoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.service-icon.pulse {
    animation: pulse 1s ease-in-out;
}

.blog-img.zoom {
    animation: zoom 0.3s ease-in-out;
}

/* 滚动动画 */
.animate-in {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .banner-slide {
        height: 400px;
    }
    
    .banner-content h1 {
        font-size: 32px;
    }
    
    .banner-content p {
        font-size: 16px;
    }
    
    .section-title h2 {
        font-size: 32px;
    }
    
    .cta-section h2 {
        font-size: 32px;
    }
    
    .advantage-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .advantage-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .dropdown-menu {
        text-align: center;
    }
    
    .team-icon-wrapper {
        padding: 30px 15px;
    }
    
    .team-icon {
        font-size: 48px;
    }
    
    .navbar-nav > li > a {
        padding: 12px 15px;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .navbar-nav > li > a:after {
        display: none;
    }
    
    .dropdown-menu {
        box-shadow: none;
        border: 1px solid #e9ecef;
        border-radius: 0;
        margin-top: 0;
    }
    
    .navbar-form .form-control {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .navbar-form .form-control:focus {
        width: 100%;
    }
    
    .navbar-form .btn {
        width: 100%;
    }
    
    .btn-accent,
    .btn-success {
        width: 100%;
        margin: 5px 0;
    }
    
    .user-wechat-avatar {
        width: 100%;
        text-align: center;
        margin: 5px 0;
    }
    
    .navbar-btn {
        margin: 10px 0;
        display: block;
        width: 100%;
    }
    
    .row > [class*="col-"] {
        margin-bottom: 20px;
    }
    
    .ai-tool-category-card {
        margin-bottom: 20px;
    }
    
    .ai-tool-icon {
        width: 60px;
        height: 60px;
    }
    
    .ai-tool-icon i {
        font-size: 24px !important;
    }
    
    .media {
        padding: 15px;
    }
    
    .media-left {
        margin-right: 15px;
    }
    
    .navbar-nav .dropdown-menu li a[href*="service"] {
        padding: 12px 20px;
        font-size: 16px;
    }
    
    .navbar-nav .dropdown-menu li a[href*="service"]:hover {
        padding-left: 25px;
    }
    
    .dropdown-submenu > .dropdown-menu {
        left: 0;
        top: 100%;
        margin-left: 0;
        margin-top: 0;
        position: static;
        min-width: 140px;
        box-shadow: none;
    }
    
    .dropdown-submenu .dropdown-submenu > .dropdown-menu {
        left: 0;
        top: 100%;
        margin-left: 0;
        margin-top: 0;
        position: static;
        min-width: 140px;
        box-shadow: none;
    }
    
    .mega-dropdown .dropdown-menu.mega-menu {
        flex-direction: column;
        min-width: 220px;
    }
    
    .mega-menu-left, .mega-menu-right {
        width: 100%;
        min-width: 0;
        border: none;
        padding: 0;
    }
    
    .mega-menu-parent {
        padding: 12px 16px;
        border-radius: 0;
    }
    
    .mega-menu-right {
        padding: 8px 16px;
        min-height: 0;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .why-choose-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 1200px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
} 