:root {
    --ali-orange: #ff6a00;
    --ali-blue: #1677ff;
}


/* 基础样式 */
body {
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* 容器宽度控制 */
@media (min-width: 1200px) {
    .container {
        max-width: 1024px !important;
    }
}

/* 导航栏样式 */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 500;
}

.navbar-brand img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* Hero 区域样式 */
.hero-section {
    background: linear-gradient(135deg, #1677ff 0%, #0056b3 100%);
    color: white;
    padding: 60px 0;
    margin-bottom: 40px;
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-section .lead {
    font-size: 1.25rem;
    font-weight: 400;
    opacity: 0.9;
}

/* 商品卡片基础样式 */
.product-card {
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* 卡片主体高端商务风格 */

/* 卡片容器样式优化 */
.product-card {
    border: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: transparent;
    position: relative;
}

/* 卡片阴影和悬停效果 */
.product-card:hover {
    transform: translateY(-6px);
}

/* 卡片发光效果 */
.product-card:hover .card-body {
    background: linear-gradient(145deg, #ffffff 0%, #f0f7ff 100%);
    border-color: rgba(22, 119, 255, 0.15);
    box-shadow: 
        0 8px 24px rgba(149, 157, 165, 0.15),
        0 0 2px rgba(22, 119, 255, 0.1),
        inset 0 0 40px rgba(22, 119, 255, 0.03);
}

/* 卡片内容布局优化 */
.card-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at top right, rgba(22, 119, 255, 0.03) 0%, transparent 60%),
        radial-gradient(circle at bottom left, rgba(255, 106, 0, 0.02) 0%, transparent 60%);
    border-radius: 12px;
    pointer-events: none;
}

/* 卡片内容间距调整 */
.card-body > * {
    position: relative;
    z-index: 1;
}

/* 卡片底部渐变分隔线 */
.card-body::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(
        90deg, 
        transparent 0%, 
        rgba(22, 119, 255, 0.1) 50%, 
        transparent 100%
    );
}

/* 价格和按钮区域特殊样式 */
.d-flex.justify-content-between {
    position: relative;
    padding-top: 16px;
    margin-top: auto;
}

.d-flex.justify-content-between::before {
    content: '';
    position: absolute;
    top: 0;
    left: -24px;
    right: -24px;
    height: 1px;
    background: linear-gradient(
        90deg,
        rgba(22, 119, 255, 0.05) 0%,
        rgba(22, 119, 255, 0.1) 50%,
        rgba(22, 119, 255, 0.05) 100%
    );
}

/* 标签容器背景优化 */
.tags-container {
    background: rgba(255, 255, 255, 0.5);
    padding: 4px 0;
    backdrop-filter: blur(4px);
}

/* 卡片文字阴影优化 */
.card-title {
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}

/* 服务时长背景优化 */
.service-duration {
    background: rgba(255, 255, 255, 0.6);
    padding: 6px 12px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
}

/* 价格标签优化 */
.price-tag {
    position: relative;
    padding: 4px 12px;
    background: rgba(255, 106, 0, 0.05);
    border-radius: 6px;
}

/* 详情按钮优化 */
.btn-detail {
    position: relative;
    overflow: hidden;
}

.btn-detail::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
    transform: scale(0);
    transition: transform 0.3s ease-out;
}

.btn-detail:hover::before {
    transform: scale(1);
}

/* 响应式优化 */
@media (max-width: 768px) {
    .card-body {
        padding: 20px;
    }
    
    .d-flex.justify-content-between::before {
        left: -20px;
        right: -20px;
    }
}

/* 卡片标题样式 */
.card-title {
    font-size: 1.1rem;
    line-height: 1.4;
    height: 3.08rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 0.8rem;
    color: #333;
    font-weight: 500;
}

/* 分类和标签容器 */
.tags-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

/* 分类标签样式 */
.category-tag {
    background-color: rgba(22, 119, 255, 0.1);
    color: var(--ali-blue);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* 精选标签样式 */
.featured-tag {
    background-color: rgba(255, 106, 0, 0.1);
    color: var(--ali-orange);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.featured-tag i {
    font-size: 0.8rem;
}

/* 商品描述文本 */
.card-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 1rem;
    flex-grow: 1;
}

/* 服务时长样式 */
.service-duration {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.service-duration i {
    color: #999;
}

/* 价格标签样式 */
.price-tag {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--ali-orange);
    display: flex;
    align-items: baseline;
}

.price-tag small {
    font-size: 0.9rem;
    margin-right: 2px;
    font-weight: normal;
}

/* 详情按钮样式 */
.btn-detail {
    background-color: var(--ali-blue);
    border-color: var(--ali-blue);
    color: white;
    padding: 6px 16px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
}

.btn-detail:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    color: white;
    transform: translateY(-2px);
}

.btn-detail i {
    font-size: 0.85rem;
}

/* 区域标题样式 */
.section-title {
    font-size: 1.75rem;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--ali-blue);
    display: inline-block;
    color: #2c3e50;
    font-weight: 600;
}

/* 联系信息区域样式 */
.contact-info {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-top: 60px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.contact-info h4 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    color: #2c3e50;
    font-weight: 600;
}

.contact-info p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
}

.contact-info i {
    color: var(--ali-blue);
    font-size: 1.1rem;
}

/* 页脚样式 */
footer {
    background-color: #f8f9fa;
    padding: 2rem 0;
    margin-top: 4rem;
}

footer p {
    margin-bottom: 0.5rem;
    color: #666;
}

footer small {
    color: #999;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .card-title {
        font-size: 1rem;
    }

    .price-tag {
        font-size: 1.3rem;
    }

    .contact-info {
        padding: 20px;
    }
}

/* 网格布局调整 */
.row {
    --bs-gutter-x: 24px;
    --bs-gutter-y: 24px;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeIn 0.5s ease-out;
/* 卡片主体样式优化 */
}

.card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    background: linear-gradient(180deg, #fffdfd, #b2c9d957);
    transition: all 0.3s ease;
}

