/**
 * Policy Pages Styles - 政策页面通用样式
 *
 * 适用于 Warranty & Return、Glossary、Privacy Policy 等信息页面
 * 引用 root.css 中定义的自定义属性以保持配色统一
 */

/* ============================================
   1. 通用策略页面样式 - General Policy Styles
   ============================================ */

/* 章节内边距和背景 */
.tpa-policy-section,
.tpa-glossary-section {
    /* 政策页的大面板、列表与图标块直接切到 V2 背景层级。 */
    background: var(--v2-bg-functional);
    position: relative;
}

/* 添加微妙的背景纹理 */
.tpa-policy-section::before,
.tpa-glossary-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

/* ============================================
   2. 导航卡片 - Navigation Cards
   ============================================ */

.tpa-policy-nav-cards {
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.tpa-nav-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--v2-bg-primary);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* 卡片装饰线条 */
.tpa-nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--v2-primary-600), var(--v2-primary-500));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.tpa-nav-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(var(--v2-primary-500-rgb), 0.15);
    text-decoration: none;
}

.tpa-nav-card:hover::before {
    transform: scaleX(1);
}

.tpa-nav-card-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--v2-primary-600), var(--v2-primary-500));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(var(--v2-primary-500-rgb), 0.25);
}

.tpa-nav-card:hover .tpa-nav-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.tpa-nav-card-icon i {
    font-size: 32px;
    color: var(--color-white, #fff);
}

.tpa-nav-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--v2-text-heading);
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.tpa-nav-card:hover h3 {
    color: var(--v2-primary-600);
}

.tpa-nav-card p {
    font-size: 14px;
    color: var(--v2-text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* ============================================
   3. 政策内容块 - Policy Content Block
   ============================================ */

.tpa-policy-content {
    max-width: 920px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.tpa-policy-block {
    background: var(--v2-bg-primary);
    border-radius: 24px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.tpa-policy-block:hover {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

.tpa-policy-header {
    background: linear-gradient(-45deg, var(--v2-primary-600), var(--v2-primary-500));
    padding: 28px 35px;
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
    overflow: hidden;
}

/* 头部装饰圆圈 */
.tpa-policy-header::after {
    content: '';
    position: absolute;
    right: -50px;
    top: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.tpa-policy-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.tpa-policy-icon i {
    font-size: 26px;
    color: var(--color-white, #fff);
}

.tpa-policy-header h2 {
    font-size: 26px;
    font-weight: 600;
    color: var(--color-white, #fff);
    margin: 0;
    position: relative;
    z-index: 1;
}

.tpa-policy-body {
    padding: 35px;
}

.tpa-policy-body h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--v2-text-heading);
    margin: 30px 0 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--v2-bg-functional);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tpa-policy-body h4::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, var(--v2-primary-600), var(--v2-primary-500));
    border-radius: 2px;
}

.tpa-policy-body h4:first-child {
    margin-top: 0;
}

.tpa-policy-body p {
    color: var(--v2-text-secondary);
    line-height: 1.85;
    margin-bottom: 16px;
    font-size: 15px;
}

.tpa-policy-body strong {
    color: var(--v2-text-heading);
}

/* ============================================
   4. 政策列表样式 - Policy List Styles
   ============================================ */

.tpa-policy-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.tpa-policy-list li {
    position: relative;
    padding: 14px 0 14px 35px;
    color: var(--thm-gray, #8e8e8e);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 15px;
    line-height: 1.7;
    transition: all 0.3s ease;
}

.tpa-policy-list li:hover {
    background: var(--thm-f6, #F1F8FF);
    padding-left: 40px;
    margin: 0 -10px;
    padding-right: 10px;
    border-radius: 8px;
}

.tpa-policy-list li:last-child {
    border-bottom: none;
}

.tpa-policy-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 14px;
    width: 24px;
    height: 24px;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #28a745;
    font-size: 11px;
}

/* 带叉号的列表 */
.tpa-list-cross li::before {
    content: '\f00d';
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
}

/* 带勾号的列表 */
.tpa-list-check li::before {
    content: '\f00c';
    color: #28a745;
    background: rgba(40, 167, 69, 0.1);
}

/* ============================================
   5. 保修表格 - Warranty Table
   ============================================ */

.tpa-warranty-table {
    margin: 25px 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.tpa-warranty-table .table {
    margin: 0;
    border: none;
}

.tpa-warranty-table thead {
    background: var(--thm-line);
}

.tpa-warranty-table thead th {
    color: var(--color-white, #fff);
    font-weight: 600;
    padding: 18px 25px;
    border: none;
    font-size: 15px;
}

.tpa-warranty-table tbody td {
    padding: 18px 25px;
    vertical-align: middle;
    border-color: var(--thm-f6, #F1F8FF);
    font-size: 15px;
    color: var(--thm-gray, #8e8e8e);
}

.tpa-warranty-table tbody td i {
    color: var(--thm-base, #2d76c0);
}

.tpa-warranty-table tbody tr {
    transition: all 0.3s ease;
}

.tpa-warranty-table tbody tr:hover {
    background: var(--thm-f6, #F1F8FF);
}

.tpa-warranty-table tbody tr:hover td {
    color: var(--thm-black, #14296C);
}

/* ============================================
   6. 资格网格 - Eligibility Grid
   ============================================ */

.tpa-eligibility-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin: 25px 0;
}

.tpa-eligibility-item {
    background: var(--thm-f6, #F1F8FF);
    border-radius: 16px;
    padding: 28px;
    position: relative;
    overflow: hidden;
}

.tpa-eligibility-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.tpa-eligible::before {
    background: linear-gradient(180deg, #28a745, #20c997);
}

.tpa-not-eligible::before {
    background: linear-gradient(180deg, #dc3545, #e83e8c);
}

.tpa-eligibility-item h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tpa-eligible h5 {
    color: #28a745;
}

.tpa-not-eligible h5 {
    color: #dc3545;
}

.tpa-eligibility-item h5 i {
    font-size: 20px;
}

.tpa-eligibility-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tpa-eligibility-item li {
    padding: 10px 0;
    color: var(--thm-gray, #8e8e8e);
    font-size: 14px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
    line-height: 1.6;
}

.tpa-eligibility-item li:last-child {
    border-bottom: none;
}

/* ============================================
   7. 流程步骤 - Process Steps
   ============================================ */

.tpa-process-steps {
    margin: 30px 0;
    position: relative;
}

/* 连接线 */
.tpa-process-steps::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 45px;
    bottom: 45px;
    width: 2px;
    background: linear-gradient(180deg, var(--thm-base, #2d76c0), rgba(45, 118, 192, 0.2));
}

.tpa-step {
    display: flex;
    gap: 25px;
    padding: 22px 0;
    position: relative;
}

.tpa-step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--thm-line);
    color: var(--color-white, #fff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 25px rgba(31, 114, 195, 0.3);
}

.tpa-step-content {
    flex: 1;
    padding-top: 5px;
}

.tpa-step-content h5 {
    font-size: 17px;
    font-weight: 600;
    color: var(--thm-black, #14296C);
    margin-bottom: 8px;
}

.tpa-step-content p {
    margin: 0;
    font-size: 14px;
    color: var(--thm-gray, #8e8e8e);
    line-height: 1.7;
}

.tpa-step-content a {
    color: var(--thm-base, #2d76c0);
    text-decoration: none;
    font-weight: 500;
}

.tpa-step-content a:hover {
    text-decoration: underline;
}

/* ============================================
   8. 信息提示框 - Info Box
   ============================================ */

.tpa-info-box {
    display: flex;
    gap: 18px;
    padding: 22px 25px;
    border-radius: 16px;
    margin: 25px 0;
    align-items: flex-start;
}

.tpa-info-box i {
    font-size: 26px;
    flex-shrink: 0;
    margin-top: 2px;
}

.tpa-info-box strong {
    display: block;
    margin-bottom: 5px;
}

.tpa-info-primary {
    background: linear-gradient(135deg, rgba(45, 118, 192, 0.08), rgba(0, 165, 224, 0.08));
    border-left: 4px solid var(--thm-base, #2d76c0);
}

.tpa-info-primary i {
    color: var(--thm-base, #2d76c0);
}

.tpa-info-warning {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 152, 0, 0.08));
    border-left: 4px solid #ffc107;
}

.tpa-info-warning i {
    color: #ffc107;
}

.tpa-info-box div {
    font-size: 14px;
    color: var(--thm-gray, #8e8e8e);
    line-height: 1.7;
}

/* ============================================
   9. 支持卡片 - Support Cards
   ============================================ */

.tpa-support-options {
    margin: 25px 0;
}

.tpa-support-card {
    background: var(--thm-f6, #F1F8FF);
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.tpa-support-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--thm-line);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.tpa-support-card:hover {
    background: var(--color-white, #fff);
    box-shadow: 0 15px 40px rgba(31, 114, 195, 0.12);
}

.tpa-support-card:hover::before {
    transform: scaleX(1);
}

.tpa-support-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: var(--thm-line);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(31, 114, 195, 0.25);
    transition: all 0.4s ease;
}

.tpa-support-card:hover .tpa-support-icon {
    transform: scale(1.1);
}

.tpa-support-icon i {
    font-size: 28px;
    color: var(--color-white, #fff);
}

.tpa-support-card h5 {
    font-size: 18px;
    font-weight: 600;
    color: var(--thm-black, #14296C);
    margin-bottom: 10px;
}

.tpa-support-card p {
    font-size: 14px;
    color: var(--thm-gray, #8e8e8e);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* 小号按钮样式 */
.atf-themes-btn-sm {
    padding: 10px 24px;
    font-size: 14px;
}

/* ============================================
   10. 响应时间 - Turnaround Time
   ============================================ */

.tpa-turnaround-info {
    margin: 30px 0;
}

.tpa-time-box {
    background: var(--thm-line);
    border-radius: 20px;
    padding: 30px 25px;
    display: inline-block;
    min-width: 140px;
    box-shadow: 0 10px 30px rgba(31, 114, 195, 0.25);
    position: relative;
    overflow: hidden;
}

.tpa-time-box::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.tpa-time-value {
    display: block;
    font-size: 42px;
    font-weight: 700;
    color: var(--color-white, #fff);
    line-height: 1;
    position: relative;
    z-index: 1;
}

.tpa-time-unit {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

.tpa-turnaround-info p {
    margin-top: 15px;
    font-size: 14px;
    color: var(--thm-gray, #8e8e8e);
}

/* ============================================
   11. 联系信息 - Contact Info
   ============================================ */

.tpa-contact-block {
    background: var(--thm-line);
}

.tpa-contact-block .tpa-policy-header {
    background: rgba(0, 0, 0, 0.1);
}

.tpa-contact-block .tpa-policy-body {
    color: var(--color-white, #fff);
}

.tpa-contact-block .tpa-policy-body p {
    color: rgba(255, 255, 255, 0.9);
}

.tpa-contact-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.tpa-contact-list li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.tpa-contact-list i {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    width: 24px;
    text-align: center;
}

.tpa-contact-list a {
    color: var(--color-white, #fff);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tpa-contact-list a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   12. 术语表样式 - Glossary Styles
   ============================================ */

.tpa-glossary-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    position: relative;
    z-index: 1;
}

.tpa-glossary-intro .lead {
    font-size: 18px;
    color: var(--thm-gray, #8e8e8e);
    line-height: 1.85;
}

/* 搜索和分类控件 */
.tpa-glossary-controls {
    background: var(--color-white, #fff);
    border-radius: 20px;
    padding: 28px 35px;
    margin-bottom: 45px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 1;
}

.tpa-search-box {
    position: relative;
}

.tpa-search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--thm-gray, #8e8e8e);
    font-size: 16px;
}

.tpa-search-box input {
    padding-left: 50px;
    height: 54px;
    border-radius: 27px;
    border: 2px solid var(--thm-f6, #F1F8FF);
    transition: all 0.3s ease;
    font-size: 15px;
    background: var(--thm-f6, #F1F8FF);
}

.tpa-search-box input:focus {
    border-color: var(--thm-base, #2d76c0);
    background: var(--color-white, #fff);
    box-shadow: 0 0 0 4px rgba(45, 118, 192, 0.1);
    outline: none;
}

.tpa-search-box input::placeholder {
    color: var(--thm-ase, #afb2bf);
}

/* 分类过滤按钮 */
.tpa-category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.tpa-category-btn {
    padding: 12px 22px;
    border: 2px solid var(--thm-f6, #F1F8FF);
    background: var(--thm-f6, #F1F8FF);
    border-radius: 27px;
    font-size: 14px;
    font-weight: 500;
    color: var(--thm-gray, #8e8e8e);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tpa-category-btn:hover {
    border-color: var(--thm-base, #2d76c0);
    color: var(--thm-base, #2d76c0);
    background: var(--color-white, #fff);
}

.tpa-category-btn.active {
    background: var(--thm-line);
    border-color: transparent;
    color: var(--color-white, #fff);
    box-shadow: 0 8px 20px rgba(31, 114, 195, 0.25);
}

/* 术语列表 */
.tpa-glossary-list {
    max-width: 920px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.tpa-glossary-item {
    background: var(--color-white, #fff);
    border-radius: 20px;
    margin-bottom: 20px;
    padding: 30px 35px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.tpa-glossary-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--thm-line);
    transform: scaleY(0);
    transition: transform 0.4s ease;
    transform-origin: top;
}

.tpa-glossary-item:hover {
    box-shadow: 0 10px 40px rgba(31, 114, 195, 0.12);
}

.tpa-glossary-item:hover::before {
    transform: scaleY(1);
}

.tpa-term {
    font-size: 22px;
    font-weight: 600;
    color: var(--thm-base, #2d76c0);
    margin-bottom: 18px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--thm-f6, #F1F8FF);
    display: flex;
    align-items: center;
    gap: 12px;
}

.tpa-term::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--thm-f6, #F1F8FF), transparent);
}

.tpa-definition p {
    color: var(--thm-gray, #8e8e8e);
    line-height: 1.85;
    margin-bottom: 16px;
    font-size: 15px;
}

.tpa-definition ul {
    margin: 18px 0;
    padding-left: 0;
    list-style: none;
}

.tpa-definition li {
    color: var(--thm-gray, #8e8e8e);
    padding: 10px 0 10px 25px;
    position: relative;
    font-size: 15px;
    line-height: 1.7;
}

.tpa-definition li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    width: 8px;
    height: 8px;
    background: var(--thm-line);
    border-radius: 50%;
}

.tpa-definition li strong {
    color: var(--thm-black, #14296C);
}

/* 相关术语标签 */
.tpa-related {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.tpa-related-label {
    font-size: 13px;
    color: var(--thm-ase, #afb2bf);
    font-weight: 500;
}

.tpa-tag {
    display: inline-block;
    background: var(--thm-f6, #F1F8FF);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--thm-base, #2d76c0);
    font-weight: 500;
    transition: all 0.3s ease;
}

.tpa-tag:hover {
    background: var(--thm-line);
    color: var(--color-white, #fff);
}

/* 公式框 */
.tpa-formula {
    background: linear-gradient(135deg, var(--thm-f6, #F1F8FF), rgba(45, 118, 192, 0.05));
    border-left: 4px solid var(--thm-base, #2d76c0);
    padding: 18px 22px;
    border-radius: 0 12px 12px 0;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    font-size: 14px;
    margin: 20px 0;
    color: var(--thm-black, #14296C);
}

.tpa-formula em {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: var(--thm-gray, #8e8e8e);
}

/* 示例框 */
.tpa-example {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.08), rgba(32, 201, 151, 0.05));
    border-left: 4px solid #28a745;
    padding: 18px 22px;
    border-radius: 0 12px 12px 0;
    font-size: 14px;
    margin: 20px 0;
    color: var(--thm-gray, #8e8e8e);
}

.tpa-example strong {
    color: #28a745;
}

/* 术语表页脚 */
.tpa-glossary-footer {
    margin-top: 70px;
    padding-top: 50px;
    border-top: 2px solid var(--thm-f6, #F1F8FF);
    position: relative;
    z-index: 1;
}

.tpa-glossary-footer p {
    font-size: 20px;
    color: var(--thm-black, #14296C);
    margin-bottom: 30px;
    font-weight: 500;
}

.tpa-footer-links {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

.tpa-glossary-footer .atf-themes-btn {
    text-transform: none;
}

/* 轮廓按钮样式 */
.atf-themes-btn-outline {
    background: transparent;
    border: 2px solid var(--thm-base, #2d76c0);
    color: var(--thm-base, #2d76c0);
}

.atf-themes-btn-outline:hover {
    background: var(--thm-line);
    border-color: transparent;
    color: var(--color-white, #fff);
}

/* ============================================
   13. 响应式设计 - Responsive Design
   ============================================ */

@media (max-width: 991px) {
    .tpa-policy-header {
        padding: 22px 28px;
    }

    .tpa-policy-header h2 {
        font-size: 22px;
    }

    .tpa-policy-body {
        padding: 28px;
    }

    .tpa-eligibility-grid {
        grid-template-columns: 1fr;
    }

    .tpa-category-filter {
        justify-content: center;
        margin-top: 20px;
    }

    .tpa-glossary-controls {
        padding: 22px 25px;
    }

    .tpa-glossary-item {
        padding: 25px 28px;
    }
}

@media (max-width: 767px) {
    .tpa-nav-card {
        padding: 28px 22px;
    }

    .tpa-nav-card-icon {
        width: 70px;
        height: 70px;
    }

    .tpa-nav-card-icon i {
        font-size: 28px;
    }

    .tpa-nav-card h3 {
        font-size: 18px;
    }

    .tpa-policy-header {
        padding: 20px 22px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .tpa-policy-header h2 {
        font-size: 20px;
    }

    .tpa-policy-body {
        padding: 22px;
    }

    .tpa-policy-body h4 {
        font-size: 16px;
    }

    .tpa-process-steps::before {
        display: none;
    }

    .tpa-step {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px;
        background: var(--thm-f6, #F1F8FF);
        border-radius: 16px;
        margin-bottom: 15px;
    }

    .tpa-step-number {
        margin: 0 auto;
    }

    .tpa-time-box {
        padding: 22px 20px;
        min-width: 120px;
    }

    .tpa-time-value {
        font-size: 34px;
    }

    .tpa-term {
        font-size: 18px;
    }

    .tpa-glossary-item {
        padding: 22px;
    }

    .tpa-category-btn {
        padding: 10px 18px;
        font-size: 13px;
    }

    .tpa-search-box input {
        height: 48px;
    }
}

@media (max-width: 575px) {
    .tpa-policy-nav-cards .col-md-4 {
        margin-bottom: 15px;
    }

    .tpa-warranty-table {
        font-size: 14px;
        border-radius: 12px;
    }

    .tpa-warranty-table thead th,
    .tpa-warranty-table tbody td {
        padding: 14px 16px;
    }

    .tpa-turnaround-info .col-md-4 {
        margin-bottom: 20px;
    }

    .tpa-footer-links {
        flex-direction: column;
    }

    .tpa-footer-links .atf-themes-btn {
        width: 100%;
        text-align: center;
    }

    .tpa-eligibility-item {
        padding: 22px;
    }

    .tpa-support-card {
        padding: 28px 22px;
    }

    .tpa-contact-block .tpa-policy-body {
        text-align: center;
    }

    .tpa-contact-list {
        display: inline-block;
        text-align: left;
    }
}

/* ============================================
   14. 动画效果 - Animations
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.tpa-nav-card-icon {
    animation: pulse 3s ease-in-out infinite;
}

.tpa-nav-card:hover .tpa-nav-card-icon {
    animation: none;
}

/* ============================================================
   V2 Policy Page Overrides
   说明：
   - 政策页大量使用渐变头部和大阴影，这里统一收回到 V2 卡片层级。
   ============================================================ */

.tpa-policy-section,
.tpa-glossary-section {
    background: var(--v2-bg-functional);
}

.tpa-nav-card,
.tpa-policy-block {
    background: var(--v2-bg-primary);
    border: 1px solid var(--v2-bg-divider);
    box-shadow: var(--v2-shadow-card);
}

.tpa-nav-card::before,
.tpa-policy-header,
.tpa-policy-body h4::before {
    background: var(--v2-primary-500);
}

.tpa-nav-card-icon,
.tpa-policy-icon {
    background: rgba(var(--v2-primary-500-rgb), 0.1);
    box-shadow: none;
}

.tpa-policy-body h4,
.tpa-nav-card h3 {
    color: var(--v2-text-heading);
}

.tpa-policy-body p,
.tpa-nav-card p,
.tpa-policy-list li {
    color: var(--v2-text-secondary);
}

/* ============================================================
   V2 Policy Pages Final Alignment
   说明：
   - 政策页首批 V2 覆盖已处理主块，但导航卡、搜索框、标签和支援卡
     仍残留大圆角渐变与旧 hover。
   - 这里统一政策页导航、搜索、分类过滤、标签和帮助卡片。
   ============================================================ */

.tpa-policy-nav-cards,
.tpa-policy-content,
.tpa-glossary-content {
    position: relative;
    z-index: 1;
}

.tpa-nav-card,
.tpa-policy-block,
.tpa-support-card,
.tpa-faq-item {
    border-radius: var(--v2-radius-lg);
}

.tpa-nav-card:hover,
.tpa-support-card:hover,
.tpa-policy-block:hover {
    box-shadow: var(--v2-shadow-card-hover);
    border-color: rgba(var(--v2-primary-500-rgb), 0.18);
}

.tpa-nav-card-icon,
.tpa-support-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--v2-radius-md);
    background: rgba(var(--v2-primary-500-rgb), 0.10);
}

.tpa-nav-card-icon i,
.tpa-support-icon i,
.tpa-search-box i {
    color: var(--v2-primary-500);
}

.tpa-policy-header h2,
.tpa-support-card h5,
.tpa-search-box input,
.tpa-category-filter button {
    color: var(--v2-text-heading);
}

.tpa-search-box,
.tpa-category-filter button,
.tpa-tag {
    background: var(--v2-bg-primary);
    border: 1px solid var(--v2-bg-divider);
    border-radius: var(--v2-radius-md);
}

.tpa-search-box input {
    background: transparent;
}

.tpa-search-box input::placeholder {
    color: var(--v2-text-placeholder);
}

.tpa-search-box input:focus,
.tpa-category-filter button:hover,
.tpa-category-filter button.active,
.tpa-tag:hover {
    border-color: var(--v2-primary-500);
}

.tpa-category-filter button.active,
.tpa-tag:hover {
    background: var(--v2-primary-500);
    color: var(--v2-text-inverse);
}

.tpa-category-filter button.active i,
.tpa-tag:hover i {
    color: inherit;
}

/* ============================================================
   V2 Glossary Visibility and Typography
   ============================================================ */

.tpa-glossary-intro,
.tpa-glossary-controls,
.tpa-glossary-item,
.tpa-glossary-footer {
    visibility: visible !important;
    animation-name: none !important;
}

.tpa-glossary-intro .lead,
.tpa-definition p,
.tpa-definition li,
.tpa-example,
.tpa-related-label {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: var(--v2-text-secondary);
}

.tpa-glossary-controls,
.tpa-glossary-item,
.tpa-search-box,
.tpa-category-btn,
.tpa-tag,
.tpa-formula,
.tpa-example {
    border-radius: var(--v2-radius-sm);
}

.tpa-glossary-controls,
.tpa-glossary-item {
    background: var(--v2-bg-primary);
    border: 1px solid var(--v2-bg-divider);
    box-shadow: var(--v2-shadow-card);
}

.tpa-glossary-item:hover {
    box-shadow: var(--v2-shadow-card-hover);
    border-color: rgba(var(--v2-primary-500-rgb), 0.18);
}

.tpa-term {
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
    color: var(--v2-text-heading);
    border-bottom-color: var(--v2-bg-divider);
}

.tpa-term::after {
    background: linear-gradient(90deg, var(--v2-bg-divider), transparent);
}

.tpa-definition strong {
    color: var(--v2-text-heading);
    font-weight: 600;
}

.tpa-search-box input {
    height: 48px;
    border-radius: var(--v2-radius-sm);
    border: 1px solid var(--v2-bg-divider);
    font-size: 16px;
    line-height: 24px;
}

.tpa-category-btn {
    padding: 10px 18px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
}

.tpa-glossary-section .tpa-category-filter .tpa-category-btn {
    border-radius: var(--v2-radius-sm);
}

.tpa-tag {
    font-size: 14px;
    line-height: 20px;
}

@media (max-width: 767.98px) {
    .tpa-glossary-intro .lead,
    .tpa-definition p,
    .tpa-definition li,
    .tpa-example,
    .tpa-related-label {
        font-size: 16px;
        line-height: 24px;
    }

    .tpa-term {
        font-size: 20px;
        line-height: 28px;
        font-weight: 500;
    }

    .tpa-glossary-controls,
    .tpa-glossary-item {
        padding: 22px;
    }
}

/* Warranty/return policy visual alignment */
.tpa-policy-section .wow {
    visibility: visible !important;
    animation-name: none !important;
}

.tpa-policy-section .tpa-nav-card,
.tpa-policy-section .tpa-nav-card-icon,
.tpa-policy-section .tpa-policy-block,
.tpa-policy-section .tpa-policy-icon,
.tpa-policy-section .tpa-warranty-table,
.tpa-policy-section .tpa-eligibility-item,
.tpa-policy-section .tpa-info-box,
.tpa-policy-section .tpa-step,
.tpa-policy-section .tpa-support-card,
.tpa-policy-section .tpa-support-icon,
.tpa-policy-section .tpa-time-box {
    border-radius: 8px;
}

.tpa-policy-section + .atf-Subscribe-area .atf-subscribe-panel,
.tpa-policy-section + .atf-Subscribe-area .atf-subscribe-input,
.tpa-policy-section + .atf-Subscribe-area .atf-subscribe-btn {
    border-radius: 8px;
}

.tpa-policy-section .tpa-policy-header h2 {
    font-size: 32px;
    line-height: 40px;
    font-weight: 500;
}

.tpa-policy-section .tpa-nav-card h3,
.tpa-policy-section .tpa-policy-body h4 {
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
}

.tpa-policy-section .tpa-warranty-table thead,
.tpa-policy-section .tpa-warranty-table thead tr,
.tpa-policy-section .tpa-warranty-table thead th {
    background: var(--v2-primary-500, #2967D3);
    color: var(--v2-text-inverse, #fff);
}

.tpa-policy-section .tpa-policy-body p,
.tpa-policy-section .tpa-policy-list li,
.tpa-policy-section .tpa-warranty-table thead th,
.tpa-policy-section .tpa-warranty-table tbody td,
.tpa-policy-section .tpa-step-content p,
.tpa-policy-section .tpa-info-box div,
.tpa-policy-section .tpa-support-card p,
.tpa-policy-section .tpa-turnaround-info p,
.tpa-policy-section .tpa-contact-list a,
.tpa-policy-section .tpa-nav-card p,
.tpa-policy-section .tpa-eligibility-item li {
    font-size: 16px;
    line-height: 24px;
}

.tpa-policy-section .tpa-eligibility-item h5,
.tpa-policy-section .tpa-step-content h5,
.tpa-policy-section .tpa-support-card h5 {
    font-size: 20px;
    line-height: 28px;
    font-weight: 500;
}

@media (max-width: 767.98px) {
    .tpa-policy-section .tpa-policy-header h2 {
        font-size: 24px;
        line-height: 32px;
    }

    .tpa-policy-section .tpa-nav-card h3,
    .tpa-policy-section .tpa-policy-body h4 {
        font-size: 20px;
        line-height: 28px;
    }
}
