/* 智域奇点官网 - 交互样式 */

/* 按钮交互效果 */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    outline: none;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:active {
    transform: scale(0.98);
}

/* 主要按钮样式 */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    box-shadow: 0 4px 15px rgba(14, 241, 253, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 241, 253, 0.4);
}

/* 轮廓按钮样式 */
.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-outline:hover {
    background: var(--accent-color);
    color: var(--bg-dark);
    border-color: var(--accent-color);
}

/* Demo按钮样式 */
.btn-demo {
    background: linear-gradient(135deg, rgba(14, 241, 253, 0.1), rgba(79, 172, 254, 0.1));
    border: 1px solid rgba(14, 241, 253, 0.3);
    color: var(--accent-color);
    padding: 12px 24px;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-demo:hover {
    background: linear-gradient(135deg, rgba(14, 241, 253, 0.2), rgba(79, 172, 254, 0.2));
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 241, 253, 0.2);
}

/* 查看演示按钮 */
.view-demo-btn {
    background: var(--accent-color);
    color: var(--bg-dark);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.view-demo-btn:hover {
    background: #00d4e6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 241, 253, 0.3);
}

/* 案例筛选标签交互 */
.case-tab {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.case-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 241, 253, 0.1), transparent);
    transition: left 0.5s ease;
}

.case-tab:hover::before {
    left: 100%;
}

.case-tab:hover {
    background: rgba(14, 241, 253, 0.1);
    border-color: rgba(14, 241, 253, 0.3);
    color: var(--text-light);
    transform: translateY(-1px);
}

/* 选中态统一为 CTA 渐变配色 */
.case-tab.active {
    background: linear-gradient(135deg, #3B5AF4 0%, #2A3F8F 100%);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    box-shadow:
        0 8px 25px rgba(59, 90, 244, 0.4),
        0 0 20px rgba(59, 90, 244, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.case-tab.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 90, 244, 0.4), 0 0 20px rgba(59, 90, 244, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* 服务流程卡片交互 */
.process-step {
    transition: all 0.4s ease;
    position: relative;
}

.process-step:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.30); /* 与home.css保持一致 */
}

/* 取消对子元素的额外高亮与缩放 */

/* AI引擎节点交互 */
.ai-node {
    cursor: pointer;
    transition: all 0.3s ease;
}

.ai-node:hover .node-circle {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    box-shadow: 0 0 20px rgba(14, 241, 253, 0.5);
}

.ai-node:hover .node-label {
    color: var(--accent-color);
    font-weight: 600;
}

.node-circle {
    transition: all 0.3s ease;
    border: 2px solid rgba(14, 241, 253, 0.3);
}

.node-circle.active {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border-color: var(--accent-color);
    box-shadow: 0 0 25px rgba(14, 241, 253, 0.6);
    animation: pulse 2s infinite;
}

.node-circle.active + .node-label {
    color: var(--accent-color);
    font-weight: 600;
}

@keyframes pulse {
    0% { box-shadow: 0 0 25px rgba(14, 241, 253, 0.6); }
    50% { box-shadow: 0 0 35px rgba(14, 241, 253, 0.8); }
    100% { box-shadow: 0 0 25px rgba(14, 241, 253, 0.6); }
}



/* Demo卡片交互 */
.demo-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.demo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 241, 253, 0.05), transparent);
    transition: left 0.6s ease;
}

.demo-card:hover::before {
    left: 100%;
}

.demo-card:hover {
    transform: translateY(-8px);
    border-color: rgba(14, 241, 253, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.demo-card:hover .demo-icon {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 15px rgba(14, 241, 253, 0.3);
}

.demo-card:hover .demo-header h3 {
    color: var(--accent-color);
}

/* FAQ手风琴交互 */
.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(14, 241, 253, 0.3);
}

.faq-question {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.03);
}

.faq-question h3 {
    color: var(--text-light);
    font-size: 18px;
    margin: 0;
    transition: color 0.3s ease;
}

.faq-icon {
    color: var(--accent-color);
    font-size: 18px;
    transition: all 0.3s ease;
}

.faq-item.active .faq-question {
    background: rgba(14, 241, 253, 0.05);
}

.faq-item.active .faq-question h3 {
    color: var(--accent-color);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.faq-item.active .faq-answer {
    padding: 0 24px 20px 24px;
}

.faq-answer p {
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

/* 搜索框交互 */
.search-container {
    position: relative;
}

.search-input {
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(14, 241, 253, 0.1);
}

.search-btn {
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: var(--accent-color);
    color: var(--bg-dark);
    transform: translateX(-2px);
}

/* 搜索结果样式 */
.demo-separator {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    margin: 40px 0 30px 0;
    position: relative;
}

.other-demos-title {
    text-align: center;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.8);
    font-size: 18px;
    font-weight: 500;
    position: relative;
}

.other-demos-title::before,
.other-demos-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3));
}

.other-demos-title::before {
    left: -80px;
    transform: translateY(-50%);
}

.other-demos-title::after {
    right: -80px;
    transform: translateY(-50%) rotate(180deg);
}

/* 搜索高亮样式 */
mark {
    background-color: rgba(14, 241, 253, 0.3) !important;
    color: #fff !important;
    padding: 0 2px !important;
    border-radius: 2px !important;
    font-weight: 600 !important;
}

/* 清除搜索按钮 */
.search-clear-btn {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.6);
}

.search-clear-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

/* 搜索建议样式 */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(14, 241, 253, 0.3);
    border-radius: 8px;
    margin-top: 5px;
    z-index: 1000;
    display: none;
    max-height: 200px;
    overflow-y: auto;
}

.suggestion-item {
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.8);
}

.suggestion-item:hover {
    background: rgba(14, 241, 253, 0.1);
    color: var(--accent-color);
}

.suggestion-item i {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* 联系表单交互 */
.contact-form input,
.contact-form textarea,
.contact-form select {
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(14, 241, 253, 0.1);
}

.contact-form input.error,
.contact-form textarea.error {
    border-color: #EF4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* 复选框样式 */
.checkbox-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkbox-item:hover {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    padding: 4px;
    margin: -4px;
}

.checkbox-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border-color);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: all 0.3s ease;
}

.checkbox-item input:checked ~ .checkmark {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-color: var(--accent-color);
}

.checkbox-item input:checked ~ .checkmark::after {
    opacity: 1;
}

.checkbox-item:hover .checkmark {
    border-color: var(--accent-color);
    background: rgba(14, 241, 253, 0.1);
}

/* 加载动画 */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 模态框动画 */
.demo-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 90%;
    max-width: 1000px;
    height: 80%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: scaleIn 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
}

.modal-header h3 {
    color: var(--text-light);
    margin: 0;
    font-size: 20px;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.1);
}

.modal-body {
    flex: 1;
    position: relative;
    background: #000;
}

.demo-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    color: var(--text-gray);
    flex-direction: column;
    gap: 20px;
}

.demo-frame {
    width: 100%;
    height: 100%;
    border: none;
    background: white;
    display: none;
}

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

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

/* 案例卡片特殊交互 */
.featured-case-card {
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.featured-case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(14, 241, 253, 0.02), rgba(79, 172, 254, 0.02));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.featured-case-card:hover::before {
    opacity: 1;
}

.featured-case-card:hover {
    transform: translateY(-5px);
    border-color: rgba(14, 241, 253, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.case-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.case-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 49%, rgba(14, 241, 253, 0.1) 50%, transparent 51%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.case-card:hover::after {
    opacity: 1;
    animation: shimmer 1s ease-in-out;
}

.case-card:hover {
    transform: translateY(-5px);
    border-color: rgba(14, 241, 253, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* 业务卡片交互增强 */
.business-type:hover .business-icon {
    animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
    0%, 20%, 50%, 80%, 100% { transform: scale(1.1) rotate(5deg); }
    40% { transform: scale(1.15) rotate(8deg); }
    60% { transform: scale(1.12) rotate(3deg); }
}

/* 成就项目交互 - 已禁用 */

@keyframes numberCount {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* 滚动触发动画 */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-up.animate {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.fade-in-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
}

.fade-in-right.animate {
    opacity: 1;
    transform: translateX(0);
}

/* 工具提示 */
.tooltip {
    position: relative;
    cursor: help;
}

.tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.tooltip::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(1px);
    border: 5px solid transparent;
    border-top-color: var(--border-color);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tooltip:hover::before,
.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* 高亮搜索结果 */
mark {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 600;
}

/* 错误状态样式 */
.error-message {
    color: #EF4444;
    font-size: 12px;
    margin-top: 4px;
    display: block;
    animation: errorShake 0.5s ease;
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* 成功状态样式 */
.success-message {
    color: #10B981;
    font-size: 12px;
    margin-top: 4px;
    display: block;
    animation: successFade 0.5s ease;
}

@keyframes successFade {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 禁用状态 */
.btn:disabled,
.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* 移动端触摸优化 */
@media (hover: none) and (pointer: coarse) {
    .btn:hover,
    .case-tab:hover,
    .demo-card:hover,
    .faq-question:hover {
        transform: none;
    }
    
    .btn:active {
        transform: scale(0.98);
    }
    
    .case-tab:active,
    .demo-card:active {
        transform: scale(0.99);
    }
}

/* Demo模态框样式 */
.demo-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.demo-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 1200px;
    max-height: 85vh;
    background: var(--bg-secondary);
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.demo-modal.active .modal-content {
    transform: translate(-50%, -50%) scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, rgba(59, 90, 244, 0.1), rgba(14, 241, 253, 0.05));
}

.modal-header h3 {
    color: var(--text-light);
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    transform: rotate(90deg);
}

.modal-body {
    padding: 0;
    height: calc(85vh - 80px);
    max-height: 600px;
    position: relative;
}

.demo-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-gray);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(59, 90, 244, 0.3);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.demo-loading p {
    margin: 0;
    font-size: 16px;
}

#demoFrame {
    width: 100%;
    height: 100%;
    border: none;
    background: #fff;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 20px 24px;
    }
    
    .modal-header h3 {
        font-size: 18px;
    }
    
    .modal-body {
        height: calc(90vh - 70px);
    }
}

/* 高亮搜索结果 */
mark {
    background: linear-gradient(135deg, rgba(59, 90, 244, 0.3), rgba(14, 241, 253, 0.2));
    color: var(--text-light);
    padding: 2px 4px;
    border-radius: 4px;
    animation: highlightPulse 2s ease-in-out;
}

@keyframes highlightPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* 搜索建议下拉框 */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.search-suggestions.show {
    opacity: 1;
    transform: translateY(0);
}

.suggestion-item {
    padding: 12px 16px;
    color: var(--text-gray);
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: rgba(59, 90, 244, 0.1);
    color: var(--text-light);
}

.suggestion-item.recent {
    color: var(--accent-color);
}

.suggestion-item.recent::before {
    content: "🕒 ";
    margin-right: 8px;
} 

/* 搜索相关样式 */
.searching-message {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(59, 90, 244, 0.1);
    border: 1px solid rgba(59, 90, 244, 0.3);
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 8px;
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
    z-index: 1000;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.3s ease forwards;
}

.searching-message i {
    margin-right: 8px;
    color: var(--primary-color);
    animation: pulse 1.5s infinite;
}

.no-results-message {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-gray);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin: 20px 0;
    backdrop-filter: blur(10px);
}

.no-results-message h4 {
    color: var(--text-light);
    margin-bottom: 12px;
    font-size: 18px;
}

.no-results-message p {
    margin-bottom: 16px;
    line-height: 1.6;
}

.no-results-message .contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.no-results-message .contact-link:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* 搜索结果高亮 */
.search-highlight {
    background: rgba(59, 90, 244, 0.3);
    padding: 2px 4px;
    border-radius: 4px;
    color: #fff;
    font-weight: 500;
}

/* 搜索建议样式 */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    margin-top: 4px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    backdrop-filter: blur(15px);
    display: none;
}

.search-suggestions.show {
    display: block;
    animation: fadeInUp 0.3s ease forwards;
}

.search-suggestion-item {
    padding: 10px 16px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s ease;
    color: var(--text-light);
}

.search-suggestion-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.search-suggestion-item:last-child {
    border-bottom: none;
}

.search-suggestion-item .suggestion-text {
    font-size: 14px;
}

.search-suggestion-item .suggestion-category {
    font-size: 12px;
    color: var(--text-gray);
    margin-top: 2px;
}

/* 搜索动画 */
@keyframes searchResultAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes searchResultDisappear {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* 响应式搜索样式 */
@media (max-width: 768px) {
    .searching-message {
        font-size: 13px;
        padding: 10px 12px;
    }
    
    .no-results-message {
        padding: 30px 16px;
        margin: 15px 0;
    }
    
    .no-results-message h4 {
        font-size: 16px;
    }
    
    .search-suggestions {
        max-height: 150px;
    }
} 

/* ========== 从左到右划过的青色光效效果 ========== */

/* CTA卡片区域 - 青色光效 */
.cta-content {
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 241, 253, 0.08), transparent);
    transition: left 0.6s ease;
    z-index: 1;
    pointer-events: none;
}

.cta-content:hover::before {
    left: 100%;
}

/* 项目成果卡片 - 青色光效 */
.project-results-inline .results-card {
    position: relative;
    overflow: hidden;
}

.project-results-inline .results-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 241, 253, 0.06), transparent);
    transition: left 0.6s ease;
    z-index: 1;
    pointer-events: none;
}

.project-results-inline .results-card:hover::before {
    left: 100%;
}

/* 关于我们介绍卡片 - 青色光效 */
.about-card {
    position: relative;
    overflow: hidden;
}

.about-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 241, 253, 0.07), transparent);
    transition: left 0.6s ease;
    z-index: 3; /* 调整z-index，确保在::before之上 */
    pointer-events: none;
}

.about-card:hover::after {
    left: 100%;
}

/* 服务卡片 - 青色光效 */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 241, 253, 0.05), transparent);
    transition: left 0.6s ease;
    z-index: 2; /* 调整z-index，确保在现有::after之上 */
    pointer-events: none;
}

.service-card:hover::after {
    left: 100%;
}

/* 流程步骤卡片 - 青色光效 */
.process-step {
    position: relative;
    overflow: hidden;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 241, 253, 0.06), transparent);
    transition: left 0.6s ease;
    z-index: 1;
    pointer-events: none;
}

.process-step:hover::after {
    left: 100%;
}

/* 确保内容在光效之上 */
.cta-content > *,
.project-results-inline .results-card > *,
.about-card > *,
.service-card > *,
.process-step > * {
    position: relative;
    z-index: 4; /* 调整z-index，确保在所有光效之上 */
}

/* ========== 青色光效应用区域总结 ==========
 * 
 * 已成功为以下卡片区域添加了从左到右划过的青色光效效果：
 * 
 * 1. CTA卡片区域 (.cta-content) - 光效强度: 0.08
 * 2. 项目成果卡片 (.project-results-inline .results-card) - 光效强度: 0.06
 * 3. 关于我们介绍卡片 (.about-card) - 光效强度: 0.07
 * 4. 服务卡片 (.service-card) - 光效强度: 0.05
 * 5. 流程步骤卡片 (.process-step) - 光效强度: 0.06
 * 6. 架构卡片 (.arch-card) - 光效强度: 0.08 【已添加到home.css，层级已优化】
 * 7. 案例卡片 (.case-content-item) - 光效强度: 0.06 【已添加到home.css】
 * 
 * 光效特点：
 * - 从左到右划过效果，悬停时触发
 * - 使用青色渐变 (rgba(14, 241, 253))
 * - 0.6秒平滑过渡动画
 * - 不同卡片区域使用不同的光效强度，保持视觉层次
 * - 所有内容元素都确保在光效之上显示
 * 
 * 技术实现：
 * - 使用 ::before 或 ::after 伪元素
 * - 通过 z-index 控制层级关系
 * - overflow: hidden 确保光效不超出卡片边界
 * - pointer-events: none 确保光效不影响交互
 * - 架构卡片和案例卡片直接在home.css中添加，避免CSS冲突
 */ 