/* style.css - 水墨风 (Visual Ink-Wash) */
:root {
    --color-bg-light: #fdfaf6;
    --color-bg-alt: #f4efe6;
    --color-bg: #f5f5f0;          /* 宣纸白/米白 */
    --color-ink-dark: #1a1a1a;    /* 浓墨 */
    --color-ink-light: #595959;   /* 淡墨 */
    --color-seal-red: #c82829;    /* 印泥红 */
    --color-border: #dcdcdc;      /* 浅灰边框 */
    
    --font-serif: 'Lora', 'Noto Serif SC', 'Songti SC', serif;
    --font-calligraphy: 'Cinzel', 'Ma Shan Zheng', cursive;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-serif);
    background-color: var(--color-bg);
    color: var(--color-ink-dark);
    line-height: 1.8;
    overflow-x: hidden;
    position: relative;
}

img {
    max-width: 100%;
}

/* 水墨晕染背景特效 */
.ink-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.ink-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.08;
    background: #000;
}

.ink-blob-1 { width: 500px; height: 500px; top: -100px; left: -100px; }
.ink-blob-2 { width: 600px; height: 600px; bottom: -200px; right: -100px; }
.ink-blob-3 { width: 300px; height: 300px; top: 40%; left: 40%; opacity: 0.04; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.calligraphy {
    font-family: var(--font-calligraphy);
    font-weight: normal;
}

.seal {
    display: inline-block;
    background-color: var(--color-seal-red);
    color: #fff;
    padding: 4px 8px;
    font-family: var(--font-serif);
    font-weight: bold;
    font-size: 0.85rem;
    border-radius: 2px;
    letter-spacing: 2px;
    margin-right: 8px;
    vertical-align: middle;
}
.seal-text {
    color: var(--color-seal-red);
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(245, 245, 240, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.8rem;
    font-family: var(--font-calligraphy);
    color: var(--color-ink-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-item {
    color: var(--color-ink-light);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
}

.nav-item:hover, .nav-item.active {
    color: var(--color-ink-dark);
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background-color: var(--color-seal-red);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-ink-dark);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
}
.mobile-menu.active {
    display: flex;
}
.mobile-menu a {
    padding: 15px 24px;
    border-top: 1px solid var(--color-border);
    color: var(--color-ink-dark);
    text-decoration: none;
}

/* 页面内容通用 */
.page-content {
    padding-top: 70px; /* offset navbar */
    min-height: calc(100vh - 150px);
}

.page-header {
    padding: 80px 0 40px;
    text-align: center;
    border-bottom: 1px dashed var(--color-border);
    margin-bottom: 60px;
}
.page-header h1 {
    font-size: 3.5rem;
    color: var(--color-ink-dark);
    margin-bottom: 15px;
}
.page-header p {
    color: var(--color-ink-light);
    letter-spacing: 4px;
}
.case-page-header {
    padding: 56px 0 28px;
    margin-bottom: 36px;
}
.case-page-header h1 {
    margin-bottom: 10px;
}

.section {
    padding: 60px 0;
}
.case-page-section {
    padding: 32px 0 80px;
}
.section-header {
    margin-bottom: 50px;
}
.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* 按钮 */
.btn {
    display: inline-block;
    padding: 12px 32px;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    border-radius: 2px;
    letter-spacing: 2px;
    cursor: pointer;
}
.btn-primary {
    background-color: var(--color-ink-dark);
    color: var(--color-bg);
    border: 1px solid var(--color-ink-dark);
}
.btn-primary:hover {
    background-color: var(--color-seal-red);
    border-color: var(--color-seal-red);
}
.btn-outline {
    background-color: transparent;
    color: var(--color-ink-dark);
    border: 1px solid var(--color-ink-dark);
}
.btn-outline:hover {
    background-color: var(--color-ink-dark);
    color: var(--color-bg);
}
.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* 栅格 */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* 水墨风格卡片 */
.ink-card {
    border-left: 2px solid var(--color-border);
    padding: 20px 0 20px 24px;
    position: relative;
    transition: border-color 0.3s;
}
.ink-card:hover {
    border-left-color: var(--color-ink-dark);
}
.service-card-img {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4 / 3;
    margin: -5px auto 22px;
    overflow: hidden;
    border: 1px solid rgba(26, 26, 26, 0.12);
    background: var(--color-bg-light);
}
.service-card-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.7s ease;
}
.service-card {
    overflow: hidden;
    isolation: isolate;
    animation: service-card-enter 0.8s both cubic-bezier(0.22, 1, 0.36, 1);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, background-color 0.45s ease;
}
.service-card:nth-child(2) {
    animation-delay: 0.12s;
}
.service-card:nth-child(3) {
    animation-delay: 0.24s;
}
.service-card::before {
    content: '';
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--color-seal-red);
    transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 32px rgba(26, 26, 26, 0.12);
}
.service-card:hover::before {
    width: 100%;
}
.service-card:hover .service-card-img img {
    transform: scale(1.06);
    filter: saturate(1.08) contrast(1.03);
}
@keyframes service-card-enter {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (prefers-reduced-motion: reduce) {
    .service-card,
    .service-card-img img,
    .service-card::before {
        animation: none;
        transition: none;
    }
}
.ink-card .card-number {
    font-size: 3rem;
    color: var(--color-border);
    line-height: 1;
    margin-bottom: 10px;
}
.ink-card .card-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--color-ink-dark);
}
.ink-card .card-desc {
    color: var(--color-ink-light);
    font-size: 0.95rem;
}

/* Hero Section (首页) */
.hero-container {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 60px 0;
}
.hero-text-vertical {
    writing-mode: vertical-rl;
    text-orientation: upright;
    display: flex;
    align-items: center;
    gap: 30px;
}
.hero-text-vertical h1 {
    font-size: 5rem;
    letter-spacing: 10px;
    line-height: 1;
}
.hero-seal {
    writing-mode: vertical-rl;
    background-color: var(--color-seal-red);
    color: #fff;
    padding: 10px 5px;
    font-size: 1.2rem;
    letter-spacing: 5px;
}
.hero-content {
    flex: 1;
}
.hero-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}
.hero-content p {
    font-size: 1.1rem;
    color: var(--color-ink-light);
    margin-bottom: 40px;
}
.hero-actions {
    display: flex;
    gap: 20px;
}

/* 垂直时间轴 (六步法) */
.vertical-timeline {
    position: relative;
    padding-left: 40px;
}
.vertical-timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    height: 100%;
    width: 1px;
    background-color: var(--color-border);
}
.v-item {
    position: relative;
    margin-bottom: 40px;
}
.v-node {
    position: absolute;
    left: -40px;
    width: 22px;
    height: 22px;
    background-color: var(--color-bg);
    border: 2px solid var(--color-ink-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}
.v-content h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--color-ink-dark);
}
.v-content p {
    color: var(--color-ink-light);
}

/* FDE 专属 */
.highlight-text {
    font-size: 3.5rem;
    color: var(--color-ink-dark);
    margin-bottom: 20px;
}
.small-text {
    font-size: 1.2rem;
    font-family: var(--font-serif);
    color: var(--color-ink-light);
}
.evidence-item {
    border: 1px solid var(--color-border);
    padding: 30px;
    background-color: #fff;
}
.evidence-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}
.ink-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
}
.ink-table th, .ink-table td {
    border: 1px solid var(--color-border);
    padding: 16px;
    text-align: left;
}
.ink-table th {
    background-color: var(--color-ink-dark);
    color: var(--color-bg);
    font-weight: normal;
}
.ink-table .highlight-col {
    background-color: rgba(200, 40, 41, 0.05);
    color: var(--color-seal-red);
    font-weight: bold;
}

/* 团队卡片 */
.coach-ink-card {
    background-color: #fff;
    border: 1px solid var(--color-border);
    transition: all 0.3s;
}
.coach-ink-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform: translateY(-5px);
}
.coach-img {
    width: 100%;
    aspect-ratio: 2 / 3;
    background-color: #eaeaea;
    position: relative;
    overflow: hidden;
}
.coach-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    
    transition: filter 0.5s;
}
.coach-ink-card:hover .coach-img img {
    
}
.img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-ink-light);
    font-family: var(--font-calligraphy);
    font-size: 2rem;
}
.coach-info {
    padding: 24px;
}
.coach-info h4 {
    font-size: 1.4rem;
    margin-bottom: 4px;
}
.coach-info h5 {
    font-size: 0.9rem;
    color: var(--color-seal-red);
    margin-bottom: 12px;
    font-weight: normal;
}
.coach-info p {
    font-size: 0.85rem;
    color: var(--color-ink-light);
}
.team-title-wrap {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}
.team-title {
    font-size: 2rem;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.case-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.case-category-card {
    color: inherit;
    text-decoration: none;
}
.case-category-tag {
    display: inline-block;
    margin-bottom: 10px;
    padding: 3px 10px;
    border: 1px solid var(--color-seal-red);
    color: var(--color-seal-red);
    font-size: 0.8rem;
    line-height: 1.5;
}
.case-grid .feature-card-img[data-case-detail] {
    cursor: pointer;
}
.case-grid .feature-card-img[data-case-detail]:focus-visible {
    outline: 3px solid var(--color-seal-red);
    outline-offset: 4px;
}
.case-collection-heading {
    margin-bottom: 22px;
}
.case-collection-heading h2 {
    margin: 0;
    font-size: 2.1rem;
}
.case-lightbox[hidden] {
    display: none;
}
.case-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 24px;
}
.case-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 28, 26, 0.82);
    backdrop-filter: blur(3px);
}
.case-lightbox-dialog {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(260px, 1.05fr) minmax(260px, 0.95fr);
    width: min(960px, 100%);
    max-height: min(760px, 92vh);
    overflow: auto;
    background: var(--color-paper, #f7f1e6);
    border: 1px solid rgba(207, 176, 105, 0.75);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}
.case-lightbox-close {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    background: rgba(17, 28, 26, 0.6);
    color: #fff;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
}
.case-lightbox-media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    padding: 28px;
    background: #0b5147;
}
.case-lightbox-media img {
    display: block;
    width: 100%;
    max-height: min(72vh, 700px);
    object-fit: contain;
}
.case-lightbox-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 52px 42px 42px;
}
.case-lightbox-content h2 {
    margin: 14px 0 16px;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    color: var(--color-ink-dark);
}
.case-lightbox-content p {
    margin: 0 0 22px;
    color: var(--color-ink-light);
    line-height: 1.9;
}
.case-lightbox-content small {
    color: var(--color-ink-light);
    line-height: 1.6;
}
body.modal-open {
    overflow: hidden;
}

/* 案例卡片 */
.case-ink-card {
    background-color: #fff;
    border: 1px solid var(--color-border);
}
.case-img {
    height: 220px;
    background-color: #eaeaea;
    overflow: hidden;
}
.case-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    
    transition: filter 0.5s;
}
.case-ink-card:hover .case-img img {
    
}
.case-info {
    padding: 24px;
}
.case-info h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.case-info p {
    font-size: 0.9rem;
    color: var(--color-ink-light);
}
.case-result {
    margin-top: 16px;
    font-size: 1.1rem;
    font-weight: bold;
}
.case-ink-card.text-only {
    display: flex;
    align-items: center;
    border-left: 4px solid var(--color-seal-red);
}

/* 产品金字塔 */
.pyramid-method-section { background: var(--color-bg-light); }
.pyramid-matrix {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin: 46px auto 54px;
    width: 100%;
    max-width: 1080px;
    position: relative;
}
.pyramid-level {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
    column-gap: 32px;
    align-items: center;
    width: 100%;
    position: relative;
}
.pyramid-shape {
    background-color: #79c882; /* 绿色基调与参考图一致 */
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: bold;
    height: 70px;
    position: relative;
    flex-direction: column;
    z-index: 2;
    transition: transform 0.3s;
    filter: drop-shadow(0 8px 10px rgba(48, 91, 66, 0.14));
    justify-self: center;
}
.pyramid-shape:hover {
    transform: translateY(-3px);
}
.pyramid-shape span {
    display: block;
}
/* 使用 clip-path 切割梯形 (仿照参考图金字塔角度) */
.pl-1 .pyramid-shape { width: 44%; height: 140px; background: transparent; clip-path: none; filter: none; }
.pyramid-apex { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 8px 10px rgba(48, 91, 66, 0.14)); }
.pyramid-apex text { fill: #fff; font-family: inherit; font-size: 20px; font-weight: 700; }
.pl-2 .pyramid-shape { width: 60%; clip-path: polygon(10% 0%, 90% 0%, 100% 100%, 0% 100%); background: linear-gradient(135deg, #4b9e6d, #79c882); height: 86px; }

.pl-3 .pyramid-shape { width: 75%; display: flex; flex-direction: row; gap: 3%; background: transparent; height: 80px; justify-content: space-between; filter: none;}
.pl-3 .pyramid-shape .p-box { width: 48.5%; height: 100%; display: flex; align-items: center; justify-content: center; flex-direction: column; background: linear-gradient(135deg, #57a972, #82ca88); font-size: 0.95rem; filter: drop-shadow(0 8px 10px rgba(48, 91, 66, 0.12)); }
.pl-3 .pyramid-shape .p-box:first-child { clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%); }
.pl-3 .pyramid-shape .p-box:last-child { clip-path: polygon(0% 0%, 90% 0%, 100% 100%, 10% 100%); }

.pl-4 .pyramid-shape { width: 95%; display: flex; flex-direction: row; gap: 0; background: transparent; height: 80px; justify-content: space-between; filter: none; }
.pl-4 .pyramid-shape .p-box { height: 100%; display: flex; align-items: center; justify-content: center; flex-direction: column; background: linear-gradient(135deg, #68b67a, #91d093); filter: drop-shadow(0 8px 10px rgba(48, 91, 66, 0.12)); }
.pl-4 .pyramid-shape .p-box:first-child { width: 49%; clip-path: polygon(8% 0%, 100% 0%, 94% 100%, 0% 100%); }
.pl-4 .pyramid-shape .p-box:last-child { width: 49%; clip-path: polygon(0% 0%, 92% 0%, 100% 100%, 6% 100%); }

.pyramid-label {
    position: relative;
    width: auto;
    color: var(--color-ink-dark);
    font-size: 0.98rem;
    text-align: left;
    padding: 14px 18px;
    line-height: 1.7;
    background: rgba(255, 255, 255, 0.78);
    border-left: 2px solid var(--color-seal-red);
    border-radius: 0 6px 6px 0;
    box-shadow: 0 8px 20px rgba(28, 63, 48, 0.08);
}
.pyramid-label::before {
    content: '';
    position: absolute;
    left: -34px;
    top: 50%;
    width: 28px;
    border-top: 1px dashed var(--color-seal-red);
}
.pyramid-label span {
    color: var(--color-ink-dark);
}
.pyramid-label.pl-dark { color: var(--color-ink-dark); }

/* 单画布标准金字塔：所有层的斜边共享同一组坐标 */
.pyramid-matrix { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 300px); column-gap: 32px; align-items: stretch; }
.pyramid-graphic { width: 100%; max-width: 640px; justify-self: center; align-self: center; }
.pyramid-svg { display: block; width: 100%; height: auto; }
.pyramid-svg-text { fill: #fff; font-family: inherit; font-size: 18px; font-weight: 700; }
.pyramid-svg-text .pyramid-small-text { font-size: 13px; }
.pyramid-svg polygon { transform-box: fill-box; transform-origin: center; transition: filter .35s ease, opacity .35s ease; animation: pyramid-reveal .75s cubic-bezier(.22,.8,.26,1) both; }
.pyramid-svg polygon:nth-of-type(1) { animation-delay: .05s; }
.pyramid-svg polygon:nth-of-type(2) { animation-delay: .14s; }
.pyramid-svg polygon:nth-of-type(3) { animation-delay: .23s; }
.pyramid-svg polygon:nth-of-type(4) { animation-delay: .30s; }
.pyramid-svg polygon:nth-of-type(5) { animation-delay: .37s; }
.pyramid-svg polygon:nth-of-type(6) { animation-delay: .44s; }
.pyramid-svg polygon:nth-of-type(7) { animation-delay: .51s; }
.pyramid-svg polygon:hover { filter: brightness(1.08) saturate(1.08) drop-shadow(0 5px 8px rgba(38, 104, 69, .22)); }
.pyramid-svg-text { animation: pyramid-text-reveal .8s .35s ease both; }
@keyframes pyramid-reveal { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pyramid-text-reveal { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
    .pyramid-svg polygon, .pyramid-svg-text { animation: none; }
}
.pyramid-labels { display: grid; grid-template-rows: repeat(4, 1fr); gap: 10px; min-height: 420px; }
.pyramid-labels .pyramid-label { align-self: center; }

/* 七星宝剑 */
.sword-section {
    position: relative;
    overflow: hidden;
    margin-top: 0;
    background-color: #15302d;
    background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.018) 0, rgba(255,255,255,.018) 1px, transparent 1px, transparent 18px);
    color: #f5f0e6;
}
.sword-section::before {
    content: '';
    position: absolute;
    inset: 0;
    border-top: 1px solid rgba(214, 170, 67, .48);
    border-bottom: 1px solid rgba(214, 170, 67, .24);
    pointer-events: none;
}
.sword-section .container { position: relative; z-index: 1; }
.sword-section .section-header h2 { color: #fffaf0; }
.sword-section .section-header p { color: rgba(245, 240, 230, .72); }
.sword-title-rule { width: 52px; height: 2px; margin: 22px auto 38px; background: #d6aa43; box-shadow: 0 0 16px rgba(214, 170, 67, .46); }
.sword-matrix-container {
    position: relative;
    display: grid;
    grid-template-rows: repeat(7, 68px);
    width: 100%;
    max-width: 760px;
    min-height: 640px;
    margin: 0 auto;
    padding: 130px 0 34px;
    box-sizing: border-box;
}
.sword-art {
    position: absolute;
    top: 0;
    left: 50%;
    width: 180px;
    height: 640px;
    transform: translateX(-50%);
    overflow: visible;
}
.sword-shine { animation: sword-shimmer 3.8s ease-in-out infinite; transform-origin: center; }
.sword-stars circle { animation: sword-star-pulse 2.6s ease-in-out infinite; }
.sword-stars circle:nth-child(2n) { animation-delay: .55s; }
.sword-stars circle:nth-child(3n) { animation-delay: 1.1s; }
.sword-item { position: relative; z-index: 2; display: flex; align-items: center; width: 100%; }
.sword-left { justify-content: flex-end; padding-right: calc(50% + 66px); box-sizing: border-box; }
.sword-right { justify-content: flex-start; padding-left: calc(50% + 66px); box-sizing: border-box; }
.sword-label {
    position: relative;
    min-width: 152px;
    padding: 10px 24px;
    box-sizing: border-box;
    border: 1px solid rgba(214, 170, 67, .7);
    border-radius: 3px;
    background: rgba(250, 248, 241, .96);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255,255,255,.9);
    color: #1e302d;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.sword-label::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 52px;
    border-top: 1px solid rgba(214, 170, 67, .78);
}
.sword-label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #e2bd61;
    box-shadow: 0 0 10px rgba(226, 189, 97, .8);
    transform: translateY(-50%);
}
.sword-left .sword-label::before { right: -54px; }
.sword-left .sword-label::after { right: -58px; }
.sword-right .sword-label::before { left: -54px; }
.sword-right .sword-label::after { left: -58px; }
.sword-label:hover { transform: translateY(-2px); border-color: #f1d27b; box-shadow: 0 16px 34px rgba(0,0,0,.28), 0 0 18px rgba(214,170,67,.13); }
.sword-label-accent { color: #a6322c; border-color: rgba(182, 61, 52, .78); }
.sword-label-final { background: #d6aa43; color: #132421; border-color: #f3d985; }
@keyframes sword-shimmer { 0%, 100% { opacity: .2; transform: translateY(0); } 50% { opacity: .75; transform: translateY(16px); } }
@keyframes sword-star-pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    .sword-shine, .sword-stars circle { animation: none; }
}

@media (max-width: 992px) {
    .pyramid-level { grid-template-columns: minmax(0, 1fr) minmax(210px, 260px); column-gap: 24px; }
    .pyramid-label { padding: 12px 14px; font-size: 0.92rem; }
    .pyramid-label::before { left: -24px; width: 18px; }
    .pl-1 .pyramid-shape { width: 48%; }
    .pl-2 .pyramid-shape { width: 68%; }
    .pl-3 .pyramid-shape { width: 88%; }
    .pl-4 .pyramid-shape { width: 100%; }
}

@media (max-width: 680px) {
    .pyramid-matrix { display: flex; gap: 18px; margin-top: 34px; }
    .pyramid-graphic { max-width: 640px; }
    .pyramid-labels { min-height: 0; width: 100%; gap: 18px; }
    .pyramid-level { display: flex; flex-direction: column; gap: 12px; margin-bottom: 0; }
    .pyramid-shape,
    .pl-1 .pyramid-shape,
    .pl-2 .pyramid-shape,
    .pl-3 .pyramid-shape,
    .pl-4 .pyramid-shape { width: 100%; clip-path: none; }
    .pl-3 .pyramid-shape .p-box, .pl-4 .pyramid-shape .p-box { clip-path: none; }
    .pyramid-label { width: 100%; box-sizing: border-box; border-left: none; border-top: 1px solid var(--color-seal-red); border-radius: 0; box-shadow: none; text-align: center; }
    .pyramid-label::before { display: none; }
    .sword-matrix-container { min-height: 570px; padding-top: 116px; grid-template-rows: repeat(7, 62px); }
    .sword-art { width: 154px; height: 570px; }
    .sword-left { padding-right: calc(50% + 50px); }
    .sword-right { padding-left: calc(50% + 50px); }
    .sword-label { min-width: 112px; padding: 8px 12px; font-size: .9rem; }
    .sword-label::before { width: 38px; }
    .sword-left .sword-label::before { right: -40px; }
    .sword-left .sword-label::after { right: -44px; }
    .sword-right .sword-label::before { left: -40px; }
    .sword-right .sword-label::after { left: -44px; }
}

/* 合作路径与表单 */
.path-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.step-ink-card {
    text-align: center;
    padding: 30px 20px;
    border: 1px dashed var(--color-border);
    background-color: #fff;
}
.step-num {
    font-size: 2.5rem;
    color: var(--color-ink-light);
    margin-bottom: 15px;
}
.contact-form-wrap {
    max-width: 600px;
    margin: 60px auto 0;
    background-color: #fff;
    padding: 50px;
    border: 1px solid var(--color-border);
    position: relative;
}
.contact-form-wrap::before {
    content: '';
    position: absolute;
    top: 10px; left: 10px; right: -10px; bottom: -10px;
    border: 1px solid var(--color-border);
    z-index: -1;
}
.ink-form .form-group {
    margin-bottom: 24px;
}
.ink-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--color-ink-light);
}
.ink-form input, .ink-form textarea {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid var(--color-border);
    background: transparent;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}
.ink-form input:focus, .ink-form textarea:focus {
    border-bottom-color: var(--color-ink-dark);
}
.contact-status {
    margin: 16px 0 0;
    text-align: center;
    font-size: .9rem;
    line-height: 1.6;
}
.contact-status.is-loading { color: var(--color-ink-light); }
.contact-status.is-success { color: #2f7b4c; }
.contact-status.is-error { color: var(--color-seal-red); }
.ink-form button:disabled { opacity: .65; cursor: wait; }

/* Footer */
.footer {
    border-top: 1px solid var(--color-border);
    padding: 60px 0 30px;
    margin-top: 80px;
    background-color: #fff;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}
.footer-brand h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}
.footer-brand p {
    color: var(--color-ink-light);
}
.footer-qr {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--color-border);
    box-shadow: 0 8px 20px rgba(31, 43, 36, 0.08);
}
.footer-qr-image {
    display: block;
    width: 112px;
    height: 112px;
    object-fit: contain;
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
    color: var(--color-ink-light);
    font-size: 0.85rem;
}
.filing-record {
    margin-top: 6px;
}

/* 响应式 */
@media (max-width: 992px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
    .case-report-grid { column-count: 2; column-gap: 20px; }
    .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .case-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-container { flex-direction: column; text-align: center; }
    .hero-text-vertical { writing-mode: horizontal-tb; flex-direction: column; gap: 10px; }
    .hero-seal { writing-mode: horizontal-tb; padding: 5px 15px; }
    .hero-actions { justify-content: center; }
    .path-steps { grid-template-columns: repeat(2, 1fr); }
    .layer-1, .layer-2, .layer-3, .layer-4 { max-width: 100%; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .case-grid { grid-template-columns: 1fr; gap: 20px; }
    .case-report-grid { column-count: 1; }
    .team-grid { grid-template-columns: 1fr; }
    .case-category-grid { grid-template-columns: 1fr; }
    .path-steps { grid-template-columns: 1fr; }
    .page-header h1 { font-size: 2.5rem; }
    .hero-actions { flex-direction: column; }
    .contact-form-wrap { padding: 30px 20px; }
    .service-card-img { aspect-ratio: 16 / 9; }
    .case-lightbox { padding: 12px; }
    .case-lightbox-dialog { grid-template-columns: 1fr; max-height: 94vh; }
    .case-lightbox-media { min-height: 240px; padding: 18px; }
    .case-lightbox-media img { max-height: 52vh; }
    .case-lightbox-content { padding: 34px 24px 28px; }
}

/* 自动缓动动画 (Idle Animations) */
@keyframes idle-bg-pan {
    0% { background-position: 50% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 50% 50%; }
}

@keyframes idle-photo-pan {
    0% { transform: translateZ(0px) translateX(0%); }
    50% { transform: translateZ(0px) translateX(3%); }
    100% { transform: translateZ(0px) translateX(0%); }
}

@keyframes idle-leaf-fall {
    0% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(20px) translateX(-10px); }
    100% { transform: translateY(0px) translateX(0px); }
}

/* 移动端 Hero 覆盖 */
@media (max-width: 992px) {
    .hero { min-height: 100vh !important; height: auto !important; max-height: none !important; }
    .hero-container { position: relative !important; width: 100% !important; z-index: 5 !important; }
    .hero-content { position: relative !important; top: 0 !important; transform: none !important; width: 100% !important; max-width: 100% !important; padding-top: 50px !important; align-items: center !important; text-align: center !important; }
    .hero-actions { justify-content: center !important; }
    .hero-3d-wrapper { position: relative !important; width: 100% !important; height: 60vh !important; margin-top: 20px !important; }
    #hero-3d-inner { right: 0 !important; }
    .master-intro-card { left: 5% !important; bottom: 5% !important; top: auto !important; right: auto !important; transform: scale(0.9); transform-origin: bottom left; }
}

.bg-idle-anim {
    animation: idle-bg-pan 30s ease-in-out infinite alternate;
}

.photo-idle-anim {
    animation: idle-photo-pan 20s ease-in-out infinite alternate;
}

.leaf-idle-anim {
    animation: idle-leaf-fall 12s ease-in-out infinite alternate;
}

/* 覆盖之前定义的关键帧 */
@keyframes idle-bg-pan {
    0% { background-position: 50% 50%; }
    100% { background-position: 0% 50%; } /* 向左缓慢移动 */
}

@keyframes idle-photo-pan {
    0% { transform: translateZ(0px) translateX(5%); }
    100% { transform: translateZ(0px) translateX(8%); } /* 向右缓慢移动 */
}

@keyframes idle-leaf-fall {
    0% { margin-top: 0px; }
    100% { margin-top: 30px; } /* 向下缓慢移动 */
}

/* Dark Mode Cards for Methodology Section */
.dark-mode-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 2px solid #61b373;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.dark-mode-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
    background-color: rgba(255, 255, 255, 0.08);
    border-left-color: #79c882;
}
.dark-mode-card .card-number {
    color: rgba(255, 255, 255, 0.1) !important;
    font-size: 3.5rem !important;
    position: absolute;
    right: 20px;
    top: 10px;
    margin: 0 !important;
}
.dark-mode-card .card-title {
    color: #fff !important;
    font-size: 1.35rem !important;
    margin-bottom: 12px !important;
    position: relative;
    z-index: 2;
}
.dark-mode-card .card-desc {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.95rem !important;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Core Services & Generic Feature Cards with Images */
.feature-card-img {
    background-color: #fff;
    border: 1px solid var(--color-border);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    position: relative;
    border-top: 3px solid var(--color-ink-dark);
}
.feature-card-img:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-top-color: var(--color-seal-red);
}
.feature-card-img .img-wrapper {
    height: 200px;
    background-color: #eaeaea;
    overflow: hidden;
    position: relative;
}
.feature-card-img .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    
}
.feature-card-img:hover .img-wrapper img {
    transform: scale(1.05);
    
}
.feature-card-img .content-wrapper {
    padding: 25px;
}
.feature-card-img .card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--color-ink-dark);
}
.feature-card-img .card-desc {
    color: var(--color-ink-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.case-ink-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    border-top: 3px solid transparent;
}
.case-ink-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-top-color: var(--color-seal-red);
}
.case-img {
    position: relative;
}
.case-img img {
    transition: transform 0.6s ease, filter 0.6s ease !important;
}
.case-ink-card:hover .case-img img {
    transform: scale(1.05);
}

/* Product Matrix Cards */
.matrix-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}
.matrix-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-left: 6px solid var(--color-ink-dark);
    padding: 40px;
    position: relative;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.matrix-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-left-color: var(--color-seal-red);
}
.matrix-card .level-tag {
    position: absolute;
    top: -15px;
    left: 30px;
    background: var(--color-seal-red);
    color: #fff;
    padding: 6px 15px;
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 2px;
}
.matrix-card h4 {
    font-size: 1.6rem;
    color: var(--color-ink-dark);
    margin: 0 0 10px 0;
}
.matrix-card p {
    color: var(--color-ink-light);
    line-height: 1.8;
    margin: 0;
}
.matrix-card .delivery-box {
    margin-top: 15px;
    background: var(--color-bg-light);
    padding: 15px 20px;
    border: 1px dashed var(--color-border);
    font-size: 0.95rem;
    color: var(--color-ink-dark);
}

/* Product Tiers Grid (Products Page) */
.tier-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 20px;
}
@media (max-width: 1024px) { .tier-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tier-grid { grid-template-columns: 1fr; } }

.tier-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-top: 4px solid var(--color-ink-dark);
    padding: 40px 25px;
    position: relative;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.tier-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border-top-color: var(--color-seal-red);
}
.tier-card.highlight {
    border-top-color: var(--color-seal-red);
}
.tier-badge {
    writing-mode: vertical-rl;
    font-family: 'Zhi Mang Xing', cursive;
    font-size: 2rem;
    color: var(--color-ink-dark);
    letter-spacing: 4px;
    margin-bottom: 20px;
    border: 1px solid var(--color-ink-dark);
    padding: 10px 5px;
}
.tier-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--color-ink-dark);
    min-height: 50px;
}
.tier-desc {
    color: var(--color-ink-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: justify;
    flex-grow: 1;
}
.tier-divider {
    width: 40px;
    height: 1px;
    background: var(--color-border);
    margin: 0 auto 25px;
}
.tier-delivery {
    font-size: 0.9rem;
    color: var(--color-ink-dark);
    text-align: left;
    background: var(--color-bg-light);
    padding: 15px;
    border: 1px dashed var(--color-border);
    width: 100%;
    box-sizing: border-box;
}

/* Home Product Grid */
.home-prod-card {
    background: #fff;
    border: 1px solid var(--color-border);
    padding: 30px;
    position: relative;
    transition: all 0.4s ease;
    text-align: left;
}
.home-prod-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    border-color: var(--color-ink-light);
}
.home-prod-card.highlight {
    border-left: 4px solid var(--color-seal-red);
    background: linear-gradient(90deg, rgba(200,40,41,0.03) 0%, rgba(255,255,255,0) 100%);
}
.home-prod-card h4 {
    font-size: 1.2rem;
    color: var(--color-ink-dark);
    margin: 15px 0 10px;
}
.home-prod-card p {
    font-size: 0.9rem;
    color: var(--color-ink-light);
    line-height: 1.6;
    margin: 0;
}
.prod-tag {
    display: inline-block;
    font-size: 0.8rem;
    border: 1px solid var(--color-border);
    padding: 2px 8px;
    color: var(--color-ink-light);
}

.case-grid .feature-card-img .img-wrapper {
    height: auto;
}

.case-report-section {
    padding-top: 22px;
}
.case-grid + .case-report-section {
    margin-top: 34px;
    padding-top: 34px;
    border-top: 1px dashed var(--color-border);
}
.case-report-section .section-header {
    margin-bottom: 32px;
}
.case-section-kicker {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--color-seal-red);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
}
.case-archive-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin: 10px 0 22px;
}
.case-archive-heading h3 {
    margin: 0;
    color: var(--color-ink-dark);
    font-size: 1.6rem;
}
.case-archive-heading p {
    max-width: 560px;
    margin: 0;
    color: var(--color-ink-light);
    font-size: 0.9rem;
    line-height: 1.7;
}
.case-archive-heading a {
    color: var(--color-seal-red);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.case-report-grid {
    display: block;
    column-count: 3;
    column-gap: 24px;
}
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.case-report-grid .feature-card-img {
    display: inline-block;
    width: 100%;
    margin: 0 0 24px;
    vertical-align: top;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
}
.case-grid .feature-card-img[hidden],
.case-report-grid .feature-card-img[hidden] {
    display: none;
}
.case-report-item {
    cursor: pointer;
}
.case-report-item:focus-visible {
    outline: 3px solid var(--color-seal-red);
    outline-offset: 4px;
}
.case-report-item .img-wrapper {
    height: auto;
    background: #0b5147;
}
.case-report-item .img-wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.case-grid .feature-card-img .img-wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.case-grid .feature-card-img:hover .img-wrapper img,
.case-report-grid .feature-card-img:hover .img-wrapper img {
    transform: none;
}
.case-report-item .content-wrapper {
    padding: 18px 18px 20px;
}
.case-archive-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 2px 0 10px;
    color: var(--color-ink-light);
    font-size: 0.78rem;
}
.case-archive-meta span + span::before {
    content: '·';
    margin-right: 8px;
    color: var(--color-seal-red);
}
.case-report-item .card-title {
    margin-bottom: 10px;
    font-size: 1.05rem;
}
.case-report-item .card-desc {
    font-size: 0.84rem;
    line-height: 1.55;
}
.case-archive-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
}
.case-archive-metrics span {
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(11, 81, 71, 0.08);
    color: #0b5147;
    font-size: 0.74rem;
}

@media (max-width: 768px) {
    .case-archive-heading {
        display: block;
    }
    .case-archive-heading p {
        margin-top: 12px;
    }
    .case-report-item .img-wrapper {
        height: auto;
    }
}

@media (max-width: 520px) {
    .case-grid { grid-template-columns: 1fr; }
    .case-report-grid { column-count: 1; }
}
