:root {
    --primary-color: #2A6AC4;
    --secondary-color: #1B9AA4;
    --dark-color: #2C3E50;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    color: var(--dark-color);
}

/* 专业类别 */
.specialty-card {
    border: 1px solid #e3f2fd;
    border-radius: 12px;
    transition: all 0.3s;
}
.specialty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* 案例展示 */
.case-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.7) 100%);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .navbar-brand { font-size: 1.2rem; }
}

/* 首屏 */
.hero-section {
    padding: 100px 0 50px;
    background: linear-gradient(150deg, #f8fcff 40%, #ebf7f9 100%);
}
.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
}
.keyword-mark {
    color: var(--primary-color);
    background: rgba(42,106,196,0.1);
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
}

/* 专业类别 */
.specialty-card {
    border: 1px solid #e3f2fd;
    border-radius: 12px;
    transition: all 0.3s;
}
.specialty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* 案例展示 */
.case-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.7) 100%);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .navbar-brand { font-size: 1.2rem; }
}

.specialty-card {
    border-radius: 12px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(13,110,253,0.15);
}
.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(13,110,253,0.1);
}
.icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.badge-group .badge {
    font-size: 0.75rem;
    padding: 0.35em 0.65em;
}

/* 增强动态效果 */
.animate__pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}
.progress-bar span {
    white-space: nowrap;
}

/* 新增交互样式 */
.card-hover {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid rgba(255,193,7,0.15);
}
.card-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255,193,7,0.12);
    background: rgba(255,255,255,0.95);
}
.icon-wrapper {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.bg-warning-soft {
    background: rgba(255,193,7,0.12) !important;
}

/* 案例展示专用样式 */
.case-showcase {
    position: relative;
    overflow: hidden;
}
.case-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}
.case-media {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
}
.scale-hover {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.case-card:hover .scale-hover {
    transform: scale(1.05);
}
.case-info {
    margin-top: -50px;
    transition: margin-top 0.3s ease;
    z-index: 1;
    border-radius: 0 0 12px 12px;
}
.case-card:hover .case-info {
    margin-top: -70px;
}
.case-number {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
}
.case-badge {
    transition: transform 0.3s ease;
    z-index: 2;
}
.case-card:hover .case-badge {
    transform: translateY(-10px);
}
.cases-stats {
    background: linear-gradient(135deg, #2A6AC4 30%, #1B9AA4 100%);
    box-shadow: 0 10px 20px rgba(42,106,196,0.15);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .case-info {
        margin-top: -30px;
        padding: 1.25rem;
    }
    .case-number {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
}
.c-hoverard {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid rgba(255,193,7,0.15);
}
.card-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255,193,7,0.12);
    background: rgba(255,255,255,0.95);
}
.icon-wrapper {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.bg-warning-soft {
    background: rgba(255,193,7,0.12) !important;
}
.animate__pulse {
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
/* 新增绿色系交互样式 */
.bg-success-soft {
    background: rgba(25,135,84,0.12) !important;
}
.advantage-card.bg-success-soft .card-hover {
    border-color: rgba(25,135,84,0.15);
}
.advantage-card.bg-success-soft .card-hover:hover {
    box-shadow: 0 8px 20px rgba(25,135,84,0.12);
}
.animate__tada {
    animation: tada 1.5s ease infinite;
}
.dashboard-panel {
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
}
 /* 微调动画效果 */
 .animate__shakeY {
    animation: shakeY 2s ease infinite;
}
@keyframes shakeY {
    0%, 100% { transform: translateY(0); }
    30% { transform: translateY(-8px); }
    60% { transform: translateY(4px); }
}
/* 新增样式 */
.bg-primary-soft { background: rgba(42,106,196,0.08); }
.bg-warning-soft { background: rgba(255,193,7,0.08); }
.bg-success-soft { background: rgba(25,135,84,0.08); }
.bg-info-soft { background: rgba(13,202,240,0.08); }

.advantage-card {
    border-radius: 12px;
    padding: 2.5rem;
    transition: transform 0.3s;
}
.advantage-card:hover {
    transform: translateY(-3px);
}

.icon-box {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

@media (max-width: 992px) {
    .advantage-card {
        padding: 1.5rem;
    }
    .icon-box {
        width: 60px;
        height: 60px;
    }
}
/* 新增CTA卡片样式 */
.case-cta {
    background: linear-gradient(135deg, #2A6AC4 0%, #1B9AA4 100%);
    transition: transform 0.3s ease;
}
.case-cta:hover {
    transform: translateY(-5px) perspective(1000px) rotateX(1deg);
}
.btn-light {
    background: rgba(255,255,255,0.9) !important;
    border: none;
    transition: all 0.3s ease;
}
.btn-light:hover {
    background: white !important;
    letter-spacing: 0.5px;
}
.btn-lg i {
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
.btn-lg:hover i {
    transform: translateX(5px) rotate(-45deg);
}
.achievement-badges .badge {
    backdrop-filter: blur(5px);
    border-radius: 20px;
    padding: 0.5rem 1rem;
}
/* 案例展示专用样式 */
.case-showcase {
    position: relative;
    overflow: hidden;
}

.case-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.case-media {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.scale-hover {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-card:hover .scale-hover {
    transform: scale(1.05);
}

.case-info {
    margin-top: -50px;
    transition: margin-top 0.3s ease;
    z-index: 1;
    border-radius: 0 0 12px 12px;
}

.case-card:hover .case-info {
    margin-top: -70px;
}

.case-number {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
}

.case-badge {
    transition: transform 0.3s ease;
    z-index: 2;
}

.case-card:hover .case-badge {
    transform: translateY(-10px);
}

.cases-stats {
    background: linear-gradient(135deg, #2A6AC4 30%, #1B9AA4 100%);
    box-shadow: 0 10px 20px rgba(42,106,196,0.15);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .case-info {
        margin-top: -30px;
        padding: 1.25rem;
    }

    .case-number {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
}