/**
 * 从 index.html 提取的内联样式
 * 用于提高代码可维护性和性能
 */

/* ============================================
   页脚样式优化 - Footer Styles (优化版)
   ============================================ */

/* 页脚主容器 */
footer.page-section {
    background: linear-gradient(180deg, #252525 0%, #1f1f1f 100%);
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

footer.page-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #fb6c00 50%, transparent 100%);
    opacity: 0.9;
}

footer.page-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
}

/* 页脚内容区域 */
.footer-content {
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.footer-col {
    margin-bottom: 0;
    padding-right: 30px;
    transition: transform 0.3s ease;
}

.footer-col:hover {
    transform: translateY(-2px);
}

.footer-col:last-child {
    padding-right: 0;
}

/* 工具、知识库和服务列的特殊样式 */
.footer-col:nth-child(2),
.footer-col:nth-child(3),
.footer-col:nth-child(4) {
    padding-right: 25px;
}

/* 页脚标题 - 统一样式 */
footer h4 {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 22px 0;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

footer h4::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 35px;
    height: 2px;
    background: linear-gradient(90deg, #fb6c00 0%, #FF8930 100%);
    border-radius: 2px;
    transition: width 0.3s ease;
}

footer h4:hover::after {
    width: 50px;
}

/* 品牌区域 */
.footer-brand {
    padding-top: 0;
}

.footer-brand .logoDark {
    display: inline-block;
    transition: transform 0.3s ease;
}

.footer-brand .logoDark:hover {
    transform: scale(1.05);
}

.footer-brand .logoDark h4 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 16px 0;
    letter-spacing: 1.2px;
    border: none;
    padding: 0;
    text-transform: none;
    background: linear-gradient(135deg, #fff 0%, #fb6c00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand .logoDark h4::after {
    display: none;
}

.footer-brand p {
    color: #b8b8b8;
    font-size: 13px;
    line-height: 1.85;
    margin: 0;
    max-width: 100%;
    transition: color 0.3s ease;
}

/* 导航链接列表 */
.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 11px;
    position: relative;
    padding-left: 0;
    transition: padding-left 0.3s ease;
}

.footer-nav li::before {
    content: '→';
    position: absolute;
    left: -15px;
    color: #fb6c00;
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 12px;
}

.footer-nav li:hover::before {
    opacity: 1;
    left: -12px;
}

.footer-nav li a {
    color: #b8b8b8;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    display: inline-block;
    line-height: 1.85;
    position: relative;
}

.footer-nav li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #fb6c00;
    transition: width 0.3s ease;
}

.footer-nav li a:hover {
    color: #fb6c00;
    padding-left: 8px;
}

.footer-nav li a:hover::after {
    width: 100%;
}

/* 联系信息区块 */
.footer-contact-block {
    margin-top: 0;
}

.footer-contact-block p {
    margin: 0 0 14px 0;
    color: #b8b8b8;
    font-size: 13px;
    display: flex;
    align-items: center;
    line-height: 1.85;
    transition: color 0.3s ease;
}

.footer-contact-block p:hover {
    color: #d0d0d0;
}

.footer-contact-block p:last-of-type {
    margin-bottom: 20px;
}

.footer-contact-block p i {
    color: #fb6c00;
    margin-right: 12px;
    font-size: 16px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.footer-contact-block p:hover i {
    transform: scale(1.2);
}

.footer-contact-block p a {
    color: #b8b8b8;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-contact-block p a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #fb6c00;
    transition: width 0.3s ease;
}

.footer-contact-block p a:hover {
    color: #fb6c00;
}

.footer-contact-block p a:hover::after {
    width: 100%;
}

.footer-contact-block p span {
    color: #b8b8b8;
    transition: color 0.3s ease;
}

.footer-contact-block p:hover span {
    color: #d0d0d0;
}

/* CTA按钮 */
.btn-footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 26px;
    background: linear-gradient(135deg, #fb6c00 0%, #FF8930 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 22px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 10px rgba(251, 108, 0, 0.3);
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.btn-footer-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

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

.btn-footer-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(251, 108, 0, 0.5);
    color: #fff;
    text-decoration: none;
}

.btn-footer-cta:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(251, 108, 0, 0.4);
}

.btn-footer-cta i {
    font-size: 13px;
    transition: transform 0.3s ease;
}

.btn-footer-cta:hover i {
    transform: translateX(3px);
}

/* 页脚底部 */
.footer-bottom {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-links-bottom {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}

.footer-links-bottom a {
    color: #999;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
    position: relative;
    padding: 2px 0;
}

.footer-links-bottom a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #fb6c00;
    transition: width 0.3s ease;
}

.footer-links-bottom a:hover {
    color: #fb6c00;
}

.footer-links-bottom a:hover::after {
    width: 100%;
}

.footer-links-bottom .divider {
    margin: 0 14px;
    color: #555;
    font-size: 12px;
    opacity: 0.6;
}

.footer-standards-info {
    color: #999;
    font-size: 12px;
    transition: color 0.3s ease;
}

.footer-standards-info:hover {
    color: #aaa;
}

.footer-standards-info a {
    color: #999;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-standards-info a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: #fb6c00;
    transition: width 0.3s ease;
}

.footer-standards-info a:hover {
    color: #fb6c00;
}

.footer-standards-info a:hover::after {
    width: 100%;
}

/* 响应式优化 */
@media (max-width: 991px) {
    footer.page-section {
        padding: 50px 0 25px;
    }
    
    .footer-col {
        padding-right: 20px;
        margin-bottom: 35px;
    }
    
    .footer-col:hover {
        transform: none;
    }
    
    .footer-col:nth-child(2),
    .footer-col:nth-child(3),
    .footer-col:nth-child(4) {
        padding-right: 20px;
    }
    
    .footer-col:last-child {
        padding-right: 0;
    }
    
    .footer-bottom {
        margin-top: 40px;
        padding-top: 20px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .footer-links-bottom {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    footer.page-section {
        padding: 45px 0 25px;
    }
    
    .footer-col {
        padding-right: 0;
        margin-bottom: 35px;
    }
    
    .footer-col:hover {
        transform: none;
    }
    
    .footer-col:nth-child(2),
    .footer-col:nth-child(3),
    .footer-col:nth-child(4) {
        padding-right: 0;
    }
    
    .footer-col:last-child {
        margin-bottom: 0;
    }
    
    .footer-bottom {
        margin-top: 35px;
        padding-top: 20px;
    }
    
    .footer-nav li::before {
        display: none;
    }
    
    .footer-nav li a:hover {
        padding-left: 0;
    }
}

/* 版权区域 */
.copyright {
    background: #1a1a1a;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright-text {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #b0b0b0;
}

.copyright-text strong {
    color: #fff;
}

.copyright-tagline {
    margin: 0;
    font-size: 12px;
    color: #999;
    font-style: italic;
}

/* 响应式优化 */
@media (max-width: 991px) {
    footer.page-section {
        padding: 40px 0 25px;
    }
    
    .quick-links-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-info .text-right {
        text-align: left !important;
        margin-top: 15px;
    }
}

@media (max-width: 767px) {
    footer.page-section {
        padding: 35px 0 20px;
    }
    
    footer .col-md-4 {
        margin-bottom: 35px;
    }
    
    .tools-list {
        flex-direction: column;
        gap: 8px;
    }
}

/* About Us 部分 - 卡片样式 */
.about-us-row {
    display: flex;
}

.about-us-card {
    margin-bottom: 30px;
    display: flex;
}

.about-us-card-content {
    background: #fff;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.about-us-card-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

.about-us-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.about-us-card-header.services {
    margin-bottom: 25px;
}

.about-us-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #fb6c00 0%, #FF8930 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.about-us-icon-wrapper i {
    color: #fff;
    font-size: 24px;
}

.about-us-card-title {
    margin: 0;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

.about-us-card-body {
    flex: 1;
}

.about-us-card-body p {
    color: #666;
    line-height: 1.8;
    font-size: 15px;
    margin: 0 0 15px 0;
}

.about-us-card-body p:last-child {
    margin: 0;
}

.about-us-services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.about-us-services-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: flex-start;
}

.about-us-services-list li:last-child {
    border-bottom: none;
}

.about-us-services-list li i {
    color: #fb6c00;
    font-size: 18px;
    margin-right: 12px;
    margin-top: 3px;
    flex-shrink: 0;
}

.about-us-services-list li strong {
    color: #333;
    font-size: 16px;
    display: block;
    margin-bottom: 4px;
}

.about-us-services-list li span {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* Pain Points 轮播部分 */
.pain-points-container {
    position: relative;
    overflow: hidden;
}

.pain-points-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.pain-points-carousel-item {
    flex: 0 0 33.333%;
    padding: 0 10px;
    box-sizing: border-box;
}

.pain-points-card-wrapper {
    display: flex;
    height: 100%;
}

.knowledge-card {
    background: #fff;
    padding: 30px;
    width: 100%;
    border-left: 5px solid #fb6c00;
    display: flex;
    flex-direction: column;
}

.knowledge-card i.fa {
    color: #fb6c00;
    margin-bottom: 15px;
    display: block;
}

.knowledge-card h3 {
    color: #333;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.knowledge-card p {
    color: #666;
    line-height: 1.8;
    font-size: 15px;
    flex: 1;
    margin-bottom: 15px;
}

.knowledge-card p strong {
    color: #333;
}

.knowledge-card ul {
    text-align: left;
    margin-top: 15px;
    margin-bottom: 20px;
    flex: 1;
    padding-left: 20px;
    color: #666;
    line-height: 1.8;
    font-size: 15px;
}

.knowledge-card ul li {
    margin-bottom: 8px;
}

.knowledge-card .card-action {
    margin-top: auto;
    padding-top: 20px;
}

.knowledge-card .btn-primary {
    background-color: #fb6c00;
    color: #fff;
    display: inline-block;
    min-width: 120px;
    text-align: center;
}

/* 轮播导航按钮 */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(251, 108, 0, 0.8);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    transition: all 0.3s;
}

.carousel-nav:hover {
    background: rgba(251, 108, 0, 1);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

/* 轮播指示器 */
.carousel-indicators {
    text-align: center;
    margin-top: 20px;
}

.carousel-indicators .indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fb6c00;
    margin: 0 5px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.carousel-indicators .indicator.active {
    opacity: 1;
}

.carousel-indicators .indicator:not(.active) {
    opacity: 0.4;
}

/* 联系表单样式 */
.contact-form-container {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: relative; /* 为Honeypot字段的绝对定位提供参考 */
}

/* Honeypot 防机器人字段 - 完全隐藏，但对机器人可见 */
.honeypot-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
}

.form-group label i {
    color: #fb6c00;
    margin-right: 5px;
}

.required-field {
    color: #d32f2f;
}

.optional-field {
    color: #999;
}

.form-text {
    font-size: 12px;
    margin-top: 5px;
}

.submit-group {
    margin-top: 25px;
}

.submit-button {
    background-color: #fb6c00;
    color: #fff;
    padding: 12px 40px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    width: 100%;
    max-width: 300px;
    border: none;
}

.submit-button i {
    margin-right: 8px;
}

.submit-loading {
    display: none;
}

.submit-loading i {
    margin-right: 8px;
}

.result-message {
    margin-top: 20px;
    min-height: 30px;
}

.result-message .error {
    color: #d32f2f;
    margin-top: 10px;
}

.result-message .success {
    color: #2e7d32;
    margin-top: 10px;
}

/* Services 部分样式 */
.services-highlight-card {
    background: #fff5e6;
    padding: 30px;
    border-left: 5px solid #fb6c00;
}

.services-highlight-title {
    color: #fb6c00;
    font-size: 28px;
    margin-bottom: 15px;
}

.services-highlight-button {
    background-color: #fb6c00;
    color: #fff;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
    display: inline-block;
    text-decoration: none;
    transition: background-color 0.3s;
}

.services-highlight-button:hover {
    background-color: #d45a00;
    color: #fff;
    text-decoration: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .about-us-row {
        flex-direction: column;
    }
    
    .pain-points-carousel-item {
        flex: 0 0 100%;
    }
    
    .carousel-nav {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

