/* ==========================================
   0. 单页面隔离容器
========================================== */
#longwill-product-page {
    font-family: var(--font-regular), 'HarmonyOS_SansSC_Regular', sans-serif;
    line-height: 1.6; 
    color: #222; 
    background-color: #fff;
    /* padding-top: 110px; */
}
#longwill-product-page * { box-sizing: border-box; }
#longwill-product-page img { max-width: 100%; display: block; height: auto; border-radius: 4px; }
#longwill-product-page a { text-decoration: none; color: inherit; transition: 0.2s; }
#longwill-product-page ul, #longwill-product-page ol { list-style: none; padding: 0; margin: 0; }

/* ==========================================
   1. 基础重置、排版与配色 (适配整站)
========================================== */
#longwill-product-page {
    --brand-yellow: #ffdf00; /* 网站主色 */
    --dark-bg: #1a202c;
    --light-bg: #f8f9fa;
    --border-color: #e5e7eb;
    --text-main: #222;
    --text-sub: #666;
    --max-width: 1400px;
}

#longwill-product-page .container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
#longwill-product-page .flex-between { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }

/* ==========================================
   2. 通用组件 (标题、按钮) 
========================================== */
#longwill-product-page .section-title-wrap { text-align: center; margin-bottom: 50px; }

/* 标题基础样式 - 使用整站规范 */
#longwill-product-page .sec-title { 
    font-family: var(--font-bold), 'HarmonyOS_SansSC_Bold', sans-serif;
    font-size: var(--font-size-36);
    color: var(--text-main); 
    margin-bottom: 15px;
    line-height: 1.3;
    display: block;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}
#longwill-product-page .sec-title em{
     background: linear-gradient(to top, var(--brand-yellow) 40%, transparent 40%);
      font-style: normal;  /* 新增：强制取消斜体 */
    /* 黄色从文字底部40%高度开始覆盖，像荧光笔 */
    padding: 0 4px;
}

#longwill-product-page .sub-title { 
    font-size: var(--font-size-18); 
    color: var(--text-sub); 
    font-weight: 400; 
    max-width: 100%;   /* 将原来的 850px 改为 100%，移除宽度限制 */
    margin: 0 auto;    /* 保持水平居中 */
    line-height: 1.6; 
    text-align: center; /* 确保文字本身居中 */
    margin-top: 15px;    /* 调整与上方标题的距离，数值可改 */
    margin-bottom: 45px; /* 调整与下方卡片网格的距离，数值可改 */
}
#longwill-product-page  strong{
      font-style: normal; /* 去掉斜体，保持风格统一 */
    /*color: var(--brand-yellow);*/
    font-weight: 700;
}

/* 按钮系统 */
#longwill-product-page .btn { 
    display: inline-block; padding: 14px 32px; border-radius: 6px; 
    font-size: var(--font-size-18); font-weight: 400;
    cursor: pointer; transition: all 0.3s; border: none; text-align: center;
}
#longwill-product-page .btn-primary { background: var(--brand-yellow); color: #222; }
#longwill-product-page .btn-primary:hover { background: #e6c800; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(255, 223, 0, 0.4); }
#longwill-product-page .btn-blue { background: #0e4b8a; color: #fff; border-radius: 30px;}
#longwill-product-page .btn-blue:hover { background: #0a3a6b; transform: translateY(-2px); }

/* ==========================================
   3. 页面结构 - 顶部首屏 (Hero Area)
========================================== */
#longwill-product-page .hero-section { padding: 60px 0 40px; background: #fff; }
#longwill-product-page .hero-wrapper { display: flex; gap: 50px; align-items: flex-start; flex-wrap: wrap; }

#longwill-product-page .gallery-col { flex: 1.2; min-width: 450px; display: flex; gap: 15px; }
#longwill-product-page .thumbnails-col { display: flex; flex-direction: column; gap: 12px; width: 70px; flex-shrink: 0;}
#longwill-product-page .thumb-item { 
    width: 100%; aspect-ratio: 1 / 1; border: 2px solid #eee; border-radius: 4px; 
    overflow: hidden; cursor: pointer; background: #fff; transition: all 0.25s ease;
    display: flex; align-items: center; justify-content: center; padding: 2px;
}
#longwill-product-page .thumb-item img { width: 100%; height: 100%; object-fit: contain; }
#longwill-product-page .thumb-item:hover { border-color: #ffeb80; transform: scale(1.03); }
#longwill-product-page .thumb-item.active { border-color: var(--brand-yellow); box-shadow: 0 0 0 2px rgba(255, 223, 0, 0.4); }

/* 大图 */
#longwill-product-page .main-image-wrap { 
    flex: 1; border: 1px solid var(--border-color); border-radius: 6px; background: #fafafa; 
    position: relative; padding: 0; display: flex; align-items: center; justify-content: center;
    aspect-ratio: 1 / 1; overflow: hidden;
}
#longwill-product-page .main-image-wrap img { width: 100%; height: 100%; object-fit: cover; display: none; }
#longwill-product-page .main-image-wrap img.active { display: block; }

/* 右侧信息 */
#longwill-product-page .hero-info { flex: 1; min-width: 350px; }
#longwill-product-page .hero-info h1 { 
    font-family: var(--font-bold), 'HarmonyOS_SansSC_Bold', sans-serif;
    font-size: var(--font-size-36); 
    font-weight: 700; 
    line-height: 1.2; 
    margin-bottom: 15px; 
    color: var(--text-main);
}
#longwill-product-page .hero-info h1 span { color: var(--brand-yellow); }
#longwill-product-page .hero-desc { 
    font-size: var(--font-size-18); 
    color: var(--text-sub); 
    margin-bottom: 25px; 
    line-height: 1.8; 
}

#longwill-product-page .feature-list { margin-bottom: 30px; border-top: 1px solid var(--border-color); padding-top: 20px; }
#longwill-product-page .feature-list li { 
    display: flex; align-items: flex-start; font-size: var(--font-size-18); color: var(--text-sub); 
    margin-bottom: 12px; line-height: 1.5; 
}
#longwill-product-page .feature-list li::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 12px;
    margin-top: 1px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2322c55e'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
#longwill-product-page .btn-hero { 
    background: var(--brand-yellow); color: #222; padding: 14px 40px; 
    font-weight: 400; border-radius: 6px; border: none; 
    font-size: var(--font-size-18); cursor: pointer; transition: 0.3s;
}
#longwill-product-page .btn-hero:hover { background: #e6c800; transform: translateY(-2px); }

/* 底部胶囊 */
#longwill-product-page .hero-tags-wrap {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
#longwill-product-page .hero-tag-item {
    background: #fff7cc;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: var(--font-size-18);
    font-weight: 400;
    color: #333;
}

/* ==========================================
   4. 页面结构 - 各个区块 
========================================== */
#longwill-product-page .section-padding { padding: 0.3rem 0; padding-bottom: 0.6rem; }
#longwill-product-page .bg-light { background: var(--light-bg); }
#longwill-product-page .bg-dark { background: var(--dark-bg); color: #fff; }

/* ---- 4.1 痛点挑战 ---- */
#longwill-product-page .section-3 { background-color: #fbfbfb; }
#longwill-product-page .grid-3col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
#longwill-product-page .challenge-card { 
    background: #fff; border: 1px solid var(--border-color); border-radius: 6px; 
    padding: 30px 30px 0 30px; display: flex; flex-direction: column; height: 100%; transition: all 0.3s ease;
}
#longwill-product-page .challenge-card:hover {
    transform: translateY(-8px); box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08); border-color: var(--brand-yellow);
}
#longwill-product-page .challenge-card h3 { 
    font-size: var(--font-size-24); 
    font-weight: 600; margin-bottom: 12px; color: var(--text-main); display: flex; align-items: center;
}
#longwill-product-page .challenge-card h3 .num { color: var(--brand-yellow); font-size: 20px; margin-right: 8px; }
#longwill-product-page .challenge-card p { 
    font-size: var(--font-size-18); color: var(--text-sub); margin-bottom: 25px; flex-grow: 1; line-height: 1.6;
}
#longwill-product-page .challenge-card .card-img { 
    width: 100%; height: 180px; object-fit: contain; border-radius: 6px; background: #fafafa; padding: 15px; margin: 0 auto; margin-bottom: 25px;
}

/* ---- 4.2 核心优势 ---- */
#longwill-product-page .grid-4col { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
#longwill-product-page .feature-card { 
    background: #fff; border: 1px solid var(--border-color); border-radius: 6px; padding: 20px; text-align: center; transition: 0.2s;
}
#longwill-product-page .feature-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.05); transform: translateY(-3px); }
#longwill-product-page .feature-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 4px; margin-bottom: 15px; background: #f4f5f7; }
#longwill-product-page .feature-card h4 { font-size: var(--font-size-20); font-weight: 600; margin-bottom: 8px; color: var(--text-main); }
#longwill-product-page .feature-card p { font-size: var(--font-size-18); color: var(--text-sub); line-height: 1.6; }


//* ---- 4.3 规格表 - 卡片风格 ---- */
#longwill-product-page .specs-table-wrap {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
    overflow: hidden;
    margin-top: 10px;
    transition: box-shadow 0.3s ease;
}
#longwill-product-page .specs-table-wrap:hover {
    /*box-shadow: 0 8px 30px rgba(0, 0, 0, 0.10);*/
}

#longwill-product-page .specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--font-size-18);
}

#longwill-product-page .specs-table tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.25s ease;
}
#longwill-product-page .specs-table tr:last-child {
    border-bottom: none;
}

#longwill-product-page .specs-table tr:hover {
    background-color: rgba(255, 223, 0, 0.04); /* 柔和的暖黄 */
}

#longwill-product-page .specs-table td {
    padding: 16px 28px;
    vertical-align: middle;
    line-height: 1.6;
}

#longwill-product-page .specs-table td:first-child {
    font-weight: 600;
    width: 32%;
    color: var(--text-main);
    background-color: #fafbfc;
    letter-spacing: 0.3px;
}

#longwill-product-page .specs-table td:last-child {
    color: var(--text-sub);
}

/* ---- 4.4 应用场景 & 评论 ---- */
#longwill-product-page .app-card { background: #fff; border: 1px solid var(--border-color); border-radius: 6px; padding: 30px; text-align: center; }
#longwill-product-page .app-card h4 { font-size: var(--font-size-20); font-weight: 600; text-align: left; margin-bottom: 10px; }
#longwill-product-page .app-card p { font-size: var(--font-size-18); color: var(--text-sub); text-align: left; line-height: 1.6; margin-bottom: 20px;}
#longwill-product-page .app-card img { width: 120px; height: auto; margin: 0 auto; }

#longwill-product-page .review-card { background: #fff; border: 1px solid var(--border-color); border-radius: 6px; padding: 30px; text-align: center; }
#longwill-product-page .stars { color: var(--brand-yellow); font-size: 18px; letter-spacing: 3px; margin-bottom: 10px; }
#longwill-product-page .review-card p { font-size: var(--font-size-18); color: #666; font-style: italic; margin-bottom: 15px; line-height: 1.5; }
#longwill-product-page .review-author { font-weight: 600; font-size: 14px; color: #222; }
#longwill-product-page .review-img { width: 100px; height: 60px; object-fit: cover; margin: 15px auto 0; border: 1px solid #eee; }

/* ---- 4.5 浅色表单（原深色表单调整） ---- */
#longwill-product-page .bg-dark {
    background: var(--light-bg); /* 改为浅色背景 */
    color: var(--text-main); /* 文字颜色改为深色 */
}

#longwill-product-page .bg-dark .sec-title {
    color: var(--text-main); /* 标题颜色改为深色 */
}

#longwill-product-page .bg-dark .sub-title {
    color: var(--text-sub) !important; /* 描述文字颜色改为灰色，覆盖内联样式 */
}

#longwill-product-page .form-row input, 
#longwill-product-page .form-row textarea {
    background: #fff; /* 输入框背景改为白色 */
    border: 1px solid var(--border-color); /* 边框改为浅灰色 */
    color: var(--text-main); /* 文字颜色改为深色 */
}

#longwill-product-page .form-row input:focus, 
#longwill-product-page .form-row textarea:focus {
    border-color: var(--brand-yellow); /* 聚焦时边框变为品牌黄色 */
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 223, 0, 0.15); /* 添加黄色光晕 */
}

#longwill-product-page .form-check-group label {
    color: var(--text-sub); /* 复选框文字改为深灰色 */
}

#longwill-product-page .form-check-group input[type="checkbox"] {
    accent-color: var(--brand-yellow); /* 复选框选中时保持品牌黄色 */
    width: 18px;
    height: 18px;
}

/* ---- 4.6 视频 ---- */
#longwill-product-page .video-container { max-width: 900px; margin: 0 auto; background: #000; border-radius: 8px; overflow: hidden; box-shadow: 0 8px 25px rgba(0,0,0,0.1);}
#longwill-product-page .video-container video { width: 100%; display: block; }

/* ---- 4.7 FAQ ---- */
#longwill-product-page .faq-wrap { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
#longwill-product-page .faq-item { border-bottom: 1px solid var(--border-color); padding: 25px 0; cursor: pointer; }
#longwill-product-page .faq-item:last-child { border-bottom: none; }
#longwill-product-page .faq-q { font-size: var(--font-size-24); font-weight: 600; display: flex; justify-content: space-between; color: var(--text-main); align-items: center; }
#longwill-product-page .faq-icon { color: #999; font-size: 16px; transition: 0.3s;}
#longwill-product-page .faq-a { font-size: var(--font-size-18); color: var(--text-sub); line-height: 1.8; display: none; margin-top: 15px; padding-right: 20px;}
#longwill-product-page .faq-item.active .faq-a { display: block; }
#longwill-product-page .faq-item.active .faq-icon { transform: rotate(180deg); color: var(--brand-yellow); }


/* ---- 4.9 底部 CTA & Footer ---- */


/* ==========================================
   5. 响应式适配 
========================================== */
@media (max-width: 992px) {
    #longwill-product-page .hero-wrapper { flex-direction: column-reverse; gap: 30px; }
    #longwill-product-page .gallery-col { width: 100%; min-width: unset; flex-direction: column-reverse; }
    #longwill-product-page .thumbnails-col { flex-direction: row; width: 100%; gap: 8px; justify-content: center; }
    #longwill-product-page .thumb-item { width: 70px; }
    #longwill-product-page .grid-4col { grid-template-columns: repeat(2, 1fr); }
    #longwill-product-page .grid-3col { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    #longwill-product-page .grid-4col, #longwill-product-page .grid-3col { grid-template-columns: 1fr; }
    #longwill-product-page .form-wrapper { flex-direction: column; }
    #longwill-product-page .form-row { flex-direction: column; gap: 10px; }
    #longwill-product-page .cta-wrap { flex-direction: column; text-align: center; }
    #longwill-product-page .sec-title { font-size: 28px; }
    #longwill-product-page .hero-info h1 { font-size: 28px; }
    #longwill-product-page .gallery-col { min-width: unset; }
    #longwill-product-page .main-image-wrap { aspect-ratio: 4 / 3; }
    #longwill-product-page .faq-q { font-size: 16px; }
}

/* ==========================================
   6. 痛点板块 - 居中按钮样式 (纯黄色风格)
========================================== */
#longwill-product-page .concerns-btn-wrap {
    text-align: center;
    margin-top: 50px;
}
#longwill-product-page .concerns-btn {
    display: inline-block;
    background: var(--brand-yellow);
    color: #222;
    padding: 12px 44px;
    font-weight: 400;
    font-size: var(--font-size-18);
    border: 1px solid transparent;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 4px rgba(255, 223, 0, 0.2);
}
#longwill-product-page .concerns-btn:hover {
    background: #e6c800;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 223, 0, 0.4);
}

/* ---- 应用场景 - 左右交替布局 ---- */
#longwill-product-page .scenario-block {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}
#longwill-product-page .scenario-block:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

#longwill-product-page .scenario-image {
    flex: 1;
    min-width: 0;
}
#longwill-product-page .scenario-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

#longwill-product-page .scenario-text {
    flex: 1;
    min-width: 0;
}
#longwill-product-page .scenario-text h4 {
    font-size: var(--font-size-24);
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 12px;
}
#longwill-product-page .scenario-text p {
    font-size: var(--font-size-18);
    color: var(--text-sub);
    line-height: 1.8;
    margin-bottom: 16px;
}
#longwill-product-page .scenario-text ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 16px;
}
#longwill-product-page .scenario-text ul li {
    font-size: var(--font-size-18);
    color: var(--text-sub);
    line-height: 1.8;
}

/* 交替布局：第二块反转 */
#longwill-product-page .scenario-block.reverse {
    flex-direction: row-reverse;
}

/* 响应式 */
@media (max-width: 768px) {
    #longwill-product-page .scenario-block,
    #longwill-product-page .scenario-block.reverse {
        flex-direction: column;
        gap: 30px;
        padding: 30px 0;
    }
    #longwill-product-page .scenario-image {
        width: 100%;
    }
}
/* ==========================================
   7. 评论卡片 - 悬停边框环绕动效
========================================== */

/* 评论卡片基础样式 - 保留原有样式，增加相对定位和溢出隐藏 */
#longwill-product-page .review-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    cursor: pointer;
}

/* 卡片悬停效果 - 轻微上浮+阴影 */
#longwill-product-page .review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* ===== 方案一：角标环绕动效（推荐） ===== */
/* 使用四个角标，悬停时从左上角开始顺时针画线 */
#longwill-product-page .review-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid transparent;
    border-radius: 10px;
    pointer-events: none;
    transition: all 0.6s ease;
    z-index: 1;
}

/* 悬停时，边框变为黄色，并产生环绕动画 */
#longwill-product-page .review-card:hover::before {
    border-color: var(--brand-yellow);
    animation: borderRotate 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* 边框环绕动画 - 从左上角开始顺时针 */
@keyframes borderRotate {
    0% {
        clip-path: inset(0 100% 100% 0);
    }
    25% {
        clip-path: inset(0 0 100% 0);
    }
    50% {
        clip-path: inset(0 0 0 100%);
    }
    75% {
        clip-path: inset(100% 0 0 0);
    }
    100% {
        clip-path: inset(0 0 0 0);
    }
}
/* ==========================================
   8. 联系表单 - 左右布局 (完整样式)
========================================== */

/* ---- 8.1 表单外层容器 ---- */
#longwill-product-page .contact-form-wrapper {
    display: flex;
    gap: 50px;
    align-items: stretch;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
    overflow: hidden;
    padding: 0;
}

/* ---- 8.2 左侧文案区 ---- */
#longwill-product-page .contact-info-col {
    flex: 0 0 38%;
    background: #fafbfc;
    padding: 50px 40px;
    display: flex;
    align-items: center;
}

#longwill-product-page .contact-info-inner {
    width: 100%;
}

#longwill-product-page .contact-info-inner .sec-title {
    text-align: left;
    margin-bottom: 16px;
    padding-bottom: 0;
    font-size: var(--font-size-32);
}

#longwill-product-page .contact-info-inner .sec-title em {
    background: linear-gradient(to top, var(--brand-yellow) 40%, transparent 40%);
    padding: 0 4px;
    font-style: normal;
}

#longwill-product-page .contact-info-inner .sub-title {
    text-align: left;
    max-width: 100%;
    margin: 0;
    font-size: var(--font-size-18);
    color: var(--text-sub);
    line-height: 1.8;
}

/* ---- 8.3 右侧表单区 ---- */
#longwill-product-page .form-col-right {
    flex: 1;
    padding: 40px 45px 40px 0;
    display: flex;
    align-items: center;
}

#longwill-product-page .form-inner {
    width: 100%;
}

/* ---- 8.4 表单行 - 双列 ---- */
#longwill-product-page .form-inner .form-row {
    display: flex;
    gap: 24px;
    margin-bottom: 18px;
}

#longwill-product-page .form-inner .form-row-single {
    margin-bottom: 18px;
}

/* ---- 8.5 表单组 ---- */
#longwill-product-page .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

#longwill-product-page .form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: 0.3px;
}

#longwill-product-page .form-group input,
#longwill-product-page .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: var(--font-size-18);
    background: #f9fafb;
    transition: all 0.3s ease;
    color: var(--text-main);
    outline: none;
    font-family: inherit;
}

#longwill-product-page .form-group input::placeholder,
#longwill-product-page .form-group textarea::placeholder {
    color: #bbb;
    font-weight: 400;
}

#longwill-product-page .form-group input:focus,
#longwill-product-page .form-group textarea:focus {
    border-color: var(--brand-yellow);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 223, 0, 0.12);
}

#longwill-product-page .form-group textarea {
    min-height: 80px;
    resize: vertical;
}

/* ---- 8.6 电话输入框（带国家代码） ---- */
#longwill-product-page .phone-input-wrap {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: #f9fafb;
    transition: all 0.3s ease;
    overflow: hidden;
}

#longwill-product-page .phone-input-wrap:focus-within {
    border-color: var(--brand-yellow);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 223, 0, 0.12);
}

#longwill-product-page .phone-input-wrap .country-code {
    flex-shrink: 0;
    padding: 12px 12px 12px 16px;
    font-size: var(--font-size-18);
    color: var(--text-main);
    font-weight: 500;
    border-right: 1px solid var(--border-color);
    background: #f5f5f5;
}

#longwill-product-page .phone-input-wrap input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 0;
    font-size: var(--font-size-18);
    background: transparent;
    color: var(--text-main);
    outline: none;
    font-family: inherit;
    min-width: 0;
}

#longwill-product-page .phone-input-wrap input::placeholder {
    color: #bbb;
    font-weight: 400;
}

/* ---- 8.7 底部操作区 ---- */
#longwill-product-page .form-actions {
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#longwill-product-page .form-actions .btn-submit {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 6px;
    font-size: var(--font-size-18);
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
}

/* ---- 8.8 操作链接 ---- */
#longwill-product-page .action-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    justify-content: center;
    padding-top: 4px;
}

#longwill-product-page .action-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--text-sub);
    text-decoration: none;
    transition: all 0.25s ease;
    font-weight: 500;
    padding-bottom: 2px;
}

#longwill-product-page .action-link input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    accent-color: var(--brand-yellow);
}

#longwill-product-page .action-link svg {
    flex-shrink: 0;
    width: 17px;
    height: 17px;
    color: var(--brand-yellow);
    transition: all 0.25s ease;
}

#longwill-product-page .action-link:hover {
    color: var(--text-main);
}

#longwill-product-page .action-link:hover svg {
    transform: translateX(2px);
}

/* ---- 8.9 响应式适配 ---- */
@media (max-width: 992px) {
    #longwill-product-page .contact-form-wrapper {
        flex-direction: column;
        gap: 0;
    }

    #longwill-product-page .contact-info-col {
        flex: unset;
        padding: 35px 30px 20px;
        background: #fafbfc;
        border-bottom: 1px solid var(--border-color);
    }

    #longwill-product-page .form-col-right {
        padding: 30px 30px 35px;
        flex: unset;
    }

    #longwill-product-page .contact-info-inner .sec-title {
        font-size: 26px;
    }

    #longwill-product-page .contact-info-inner .sub-title {
        font-size: 16px;
    }

    #longwill-product-page .action-links {
        gap: 10px 20px;
    }
}

@media (max-width: 768px) {
    #longwill-product-page .form-inner .form-row {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 14px;
    }

    #longwill-product-page .form-inner .form-row-single {
        margin-bottom: 14px;
    }

    #longwill-product-page .form-group input,
    #longwill-product-page .form-group textarea,
    #longwill-product-page .phone-input-wrap input,
    #longwill-product-page .phone-input-wrap .country-code {
        font-size: 16px;
        padding: 11px 14px;
    }

    #longwill-product-page .phone-input-wrap .country-code {
        padding: 11px 10px 11px 14px;
    }

    #longwill-product-page .form-group textarea {
        min-height: 70px;
    }

    #longwill-product-page .form-actions .btn-submit {
        padding: 13px;
        font-size: 16px;
    }

    #longwill-product-page .action-link {
        font-size: 14px;
    }

    #longwill-product-page .action-links {
        flex-direction: column;
        align-items: flex-start;
        width: max-content;
        max-width: 100%;
        margin: 0 auto;
        gap: 8px;
    }
}

@media (max-width: 600px) {
    #longwill-product-page .contact-info-col {
        padding: 25px 20px 15px;
    }

    #longwill-product-page .form-col-right {
        padding: 20px 20px 25px;
    }

    #longwill-product-page .contact-info-inner .sec-title {
        font-size: 22px;
        margin-bottom: 12px;
    }

    #longwill-product-page .contact-info-inner .sub-title {
        font-size: 15px;
        line-height: 1.6;
    }

    #longwill-product-page .form-group label {
        font-size: 13px;
    }

    #longwill-product-page .form-group input,
    #longwill-product-page .form-group textarea,
    #longwill-product-page .phone-input-wrap input,
    #longwill-product-page .phone-input-wrap .country-code {
        font-size: 15px;
        padding: 10px 12px;
    }

    #longwill-product-page .phone-input-wrap .country-code {
        padding: 10px 8px 10px 12px;
    }

    #longwill-product-page .form-actions .btn-submit {
        padding: 12px;
        font-size: 15px;
    }

    #longwill-product-page .form-inner .form-row {
        gap: 12px;
        margin-bottom: 12px;
    }

    #longwill-product-page .form-inner .form-row-single {
        margin-bottom: 12px;
    }
}

/* ---- 8.10 暗色模式适配 ---- */
@media (prefers-color-scheme: dark) {
    #longwill-product-page .contact-form-wrapper {
        background: #1a1a1a;
        border-color: #333;
    }

    #longwill-product-page .contact-info-col {
        background: #222;
    }

    #longwill-product-page .contact-info-inner .sec-title {
        color: #f0f0f0;
    }

    #longwill-product-page .contact-info-inner .sub-title {
        color: #aaa;
    }

    #longwill-product-page .form-group label {
        color: #ddd;
    }

    #longwill-product-page .form-group input,
    #longwill-product-page .form-group textarea,
    #longwill-product-page .phone-input-wrap {
        background: #2a2a2a;
        border-color: #444;
        color: #f0f0f0;
    }

    #longwill-product-page .phone-input-wrap .country-code {
        background: #333;
        border-color: #444;
        color: #ddd;
    }

    #longwill-product-page .form-group input::placeholder,
    #longwill-product-page .form-group textarea::placeholder,
    #longwill-product-page .phone-input-wrap input::placeholder {
        color: #777;
    }

    #longwill-product-page .form-group input:focus,
    #longwill-product-page .form-group textarea:focus,
    #longwill-product-page .phone-input-wrap:focus-within {
        background: #333;
        border-color: var(--brand-yellow);
        box-shadow: 0 0 0 3px rgba(255, 223, 0, 0.15);
    }

    #longwill-product-page .action-link {
        color: #999;
    }

    #longwill-product-page .action-link:hover {
        color: #eee;
    }
}
/* ==========================================
   9. FAQ 卡片式样式 (覆盖原有样式)
   用于替换 #longwill-product-page .faq-wrap 下的样式
========================================== */

/* 9.1 FAQ 外层容器 - 网格卡片布局 */
#longwill-product-page .faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 两列布局 */
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 9.2 单个 FAQ 卡片 */
#longwill-product-page .faq-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px 30px 30px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

#longwill-product-page .faq-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--brand-yellow);
}

/* 9.3 问题 (Q) - 使用引号装饰 */
#longwill-product-page .faq-card .faq-q {
    font-size: var(--font-size-20);
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.5;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

#longwill-product-page .faq-card .faq-q::before {
    content: "Q:";
    font-weight: 700;
    color: var(--brand-yellow);
    flex-shrink: 0;
    font-size: var(--font-size-20);
}

/* 9.4 答案 (A) */
#longwill-product-page .faq-card .faq-a {
    font-size: var(--font-size-18);
    color: var(--text-sub);
    line-height: 1.7;
    margin-top: 4px;
    padding-left: 34px; /* 与 Q 的文字对齐 */
    display: block; /* 默认全部展开，无需点击切换 */
}

#longwill-product-page .faq-card .faq-a::before {
    content: "A:";
    font-weight: 600;
    color: var(--text-main);
    margin-right: 6px;
}

/* 9.5 分页导航 (如果保留) */
#longwill-product-page .faq-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
    flex-wrap: wrap;
}

#longwill-product-page .faq-pagination a,
#longwill-product-page .faq-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: var(--font-size-18);
    color: var(--text-sub);
    transition: all 0.25s ease;
    background: #fff;
}

#longwill-product-page .faq-pagination a:hover {
    border-color: var(--brand-yellow);
    color: var(--text-main);
    background: #fffbe6;
}

#longwill-product-page .faq-pagination .active {
    background: var(--brand-yellow);
    border-color: var(--brand-yellow);
    color: #222;
    font-weight: 600;
}

/* 9.6 响应式调整 */
@media (max-width: 992px) {
    #longwill-product-page .faq-grid {
        grid-template-columns: 1fr; /* 小屏幕变为单列 */
        gap: 18px;
        padding: 0 15px;
    }

    #longwill-product-page .faq-card {
        padding: 24px 22px 26px;
    }

    #longwill-product-page .faq-card .faq-q {
        font-size: var(--font-size-18);
    }

    #longwill-product-page .faq-card .faq-a {
        font-size: 16px;
        padding-left: 28px;
    }
}

@media (max-width: 600px) {
    #longwill-product-page .faq-card {
        padding: 20px 18px 22px;
    }

    #longwill-product-page .faq-card .faq-q {
        font-size: 16px;
        gap: 6px;
    }

    #longwill-product-page .faq-card .faq-q::before {
        font-size: 16px;
    }

    #longwill-product-page .faq-card .faq-a {
        font-size: 15px;
        padding-left: 22px;
    }

    #longwill-product-page .faq-pagination a,
    #longwill-product-page .faq-pagination span {
        min-width: 34px;
        height: 34px;
        font-size: 15px;
        padding: 0 8px;
    }
}
/* ==========================================
 /* ==========================================
   FAQ - 紧凑版样式
========================================== */

.faq-s2 {
    padding: 30px 0 20px 0;
}

.faq-s2-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-s2-content-tit {
    margin-bottom: 2px;
    padding: 4px 0;
    border-bottom: 1px solid #f0f0f0;
}

.faq-s2-content-tit:last-child {
    border-bottom: none;
}

.faq-s2-content-tit-s {
    display: flex;
    align-items: center;
    padding: 3px 0;
}

.faq-s2-content-tit-s-img {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-right: 10px;
}

.faq-s2-content-tit-s-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.faq-s2-content-tit-s-text {
    font-size: 17px;
    font-weight: 600;
    color: #222;
    line-height: 1.3;
}

.faq-s2-content-tit-s2 {
    display: flex;
    align-items: flex-start;
    padding: 2px 0 6px 0;
}

.faq-s2-content-tit-s-text-2 p {
    font-size: 17px;
    color: #666;
    line-height: 1.4;
    margin: 0;
}

.index-s4-bgc{
    min-height: 100px;
    padding:0.2rem !important;
    background: #ffdf00;
    display: flex;
    align-items: center;
    justify-content: center;
}
.index-s4-bgc .index-s4-content{
    position: relative;
    left: 0px;
    top: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: max(0.2rem, 10px);

}
.index-s4-bgc .index-s4-content .index-s3-content-text-four{
    margin-left: auto;
    /* position: absolute;
    right: 0px;
    top: 0px; */
}
.index-s4-bgc .get-more-services{
    background: #fff;
}
@media screen and (max-width:768px) {
    .index-s4-bgc .index-s4-content{
        background: transparent;
    }
}