/* 自定义样式补充 */

/* 字体设置 */
body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* 渐变文字效果 - 参考码枪堂 */
.gradient-text {
    background: linear-gradient(135deg, #DC2626 0%, #FF6B6B 50%, #DC2626 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(220, 38, 38, 0.3);
}

/* 服务标签样式 */
.service-tag {
    color: #e5e5e5;
    font-weight: 800;
    letter-spacing: 0.15em;
}

/* 主标题加粗 */
h1 {
    font-weight: 900 !important;
    letter-spacing: -0.02em;
}

/* 副标题加粗 */
h2 {
    font-weight: 800 !important;
}

h3 {
    font-weight: 700 !important;
}

/* 价格加粗 */
.text-3xl, .text-4xl {
    font-weight: 800 !important;
}

/* 按钮文字加粗 */
button, .px-8 {
    font-weight: 600 !important;
}

/* 滚动条隐藏 */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 淡入动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* 导航链接悬停效果 */
nav a {
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #DC2626;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* 卡片悬停效果增强 */
.group:hover {
    transform: translateY(-4px);
}

/* 渐变文字 */
.gradient-text {
    background: linear-gradient(135deg, #DC2626 0%, #991B1B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 按钮脉冲效果 */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(220, 38, 38, 0);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* 背景光晕效果 */
.glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* 响应式字体 */
@media (max-width: 640px) {
    html {
        font-size: 14px;
    }
}

/* 图片占位符样式 */
.img-placeholder {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

/* 轮播隐藏滚动条 */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* 灯箱动画 */
#lightbox {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#lightbox-img {
    animation: zoomIn 0.3s ease;
    transition: opacity 0.15s ease;
}

@keyframes zoomIn {
    from { 
        opacity: 0;
        transform: scale(0.9);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

/* 轮播卡片悬停效果 */
#case-carousel .group:hover img {
    transform: scale(1.05);
}

#case-carousel .group img {
    transition: transform 0.3s ease;
}

/* 时间线样式 */
#timeline .relative > .space-y-12 > div {
    position: relative;
}

@media (max-width: 768px) {
    #timeline .relative > .hidden {
        display: none;
    }
}

/* FAQ样式优化 */
.faq-item button:hover {
    background-color: rgba(31, 41, 55, 0.5);
}

.faq-item button i {
    transition: transform 0.3s ease;
}

/* 客户评价卡片 */
#testimonials .bg-darker {
    transition: all 0.3s ease;
}

#testimonials .bg-darker:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(220, 38, 38, 0.1);
}

/* 信任背书图标 */
#partners .bg-darker:hover {
    border-color: rgba(220, 38, 38, 0.3);
}

/* 关于我板块样式 */
#about .bg-dark {
    background: linear-gradient(145deg, #0f0f0f 0%, #1a1a1a 100%);
}

#about .rounded-full {
    transition: all 0.3s ease;
}

#about .rounded-full:hover {
    transform: scale(1.05);
}

#about .border-4 {
    box-shadow: 0 0 30px rgba(220, 38, 38, 0.2);
}

/* 头像悬停效果 */
#about .overflow-hidden:hover img,
#about .overflow-hidden:hover div {
    transform: scale(1.05);
}

#about .overflow-hidden img,
#about .overflow-hidden div {
    transition: transform 0.3s ease;
}

/* 指示器按钮 */
.carousel-dot {
    transition: all 0.3s ease;
}

.carousel-dot:hover {
    transform: scale(1.2);
}

/* 步骤连线（桌面端） */
@media (min-width: 768px) {
    .steps-container {
        position: relative;
    }
    
    .steps-container::before {
        content: '';
        position: absolute;
        top: 32px;
        left: 12.5%;
        right: 12.5%;
        height: 2px;
        background: linear-gradient(90deg, #DC2626 0%, #991B1B 100%);
        z-index: 0;
    }
}

/* 选中高亮 */
::selection {
    background: rgba(220, 38, 38, 0.3);
    color: #fff;
}
