/* ================================================================
   南疆传统技艺非遗多模态双语术语知识库
   Stylesheet - 国风高级设计
   ================================================================ */

/* ===== CSS Variables ===== */
:root {
    /* Colors - 国风 Palette */
    --c-ink: #0d1117;
    --c-ink-light: #161b22;
    --c-ink-dark: #080b10;
    --c-red: #c8332c;
    --c-red-dark: #9a2622;
    --c-red-light: #d9483f;
    --c-gold: #c9a961;
    --c-gold-light: #d4b373;
    --c-gold-bright: #e8c98a;
    --c-gold-dark: #a68a4e;
    --c-paper: #f7f1e6;
    --c-paper-dark: #ebe0cc;
    --c-paper-warm: #f0e6d2;
    --c-text-light: #f0e6d2;
    --c-text-dim: #a89878;
    --c-text-dark: #2a2018;
    --c-text-mid: #5a5040;
    --c-jade: #5a7d6a;
    --c-border: rgba(201, 169, 97, 0.2);
    --c-border-strong: rgba(201, 169, 97, 0.4);

    /* Fonts */
    --font-zh-serif: 'Noto Serif SC', 'SimSun', serif;
    --font-zh-sans: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
    --font-en-serif: 'Cinzel', serif;
    --font-en-body: 'Cormorant Garamond', serif;

    /* Transitions */
    --t-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --t-mid: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --t-slow: 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-zh-sans);
    background: var(--c-ink);
    color: var(--c-text-dark);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

input, button {
    font-family: inherit;
    border: none;
    outline: none;
    background: none;
}

/* ===== Utility ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 0px;
    position: relative;
    z-index: 1;
}

/* ===== Reveal Animation ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }

/* ===== Loading Screen ===== */
.loader {
    position: fixed;
    inset: 0;
    background: var(--c-ink);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-seal {
    width: 80px;
    height: 80px;
    color: var(--c-gold);
    animation: spin 2s linear infinite;
}

.loader-text {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--c-text-dim);
    font-size: 0.85rem;
    letter-spacing: 2px;
}

.loader-text span:first-child {
    font-family: var(--font-zh-serif);
    color: var(--c-gold);
    font-size: 1rem;
}

/* ===== Scroll Progress ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--c-gold-dark), var(--c-gold), var(--c-gold-bright));
    z-index: 1001;
    transition: width 0.1s ease;
    box-shadow: 0 0 8px rgba(201, 169, 97, 0.5);
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--t-mid);
    background: transparent;
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(8, 11, 16, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--c-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.logo-seal {
    width: 36px;
    height: 36px;
    color: var(--c-gold);
    transition: transform var(--t-mid);
    flex-shrink: 0;
}

.nav-logo:hover .logo-seal {
    transform: rotate(360deg);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-zh {
    font-family: var(--font-zh-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--c-text-light);
    letter-spacing: 1px;
}

.logo-en {
    font-family: var(--font-en-serif);
    font-size: 0.65rem;
    color: var(--c-text-dim);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 36px;
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: var(--c-text-light);
    font-family: var(--font-zh-serif);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--t-fast);
    position: relative;
    padding: 4px 0;
}

.nav-en {
    font-family: var(--font-en-body);
    font-size: 0.65rem;
    color: var(--c-text-dim);
    letter-spacing: 1px;
    transition: color var(--t-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--c-gold-dark), var(--c-gold-bright));
    transition: width var(--t-fast);
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: var(--c-gold-bright);
}

.nav-link:hover .nav-en,
.nav-link.active .nav-en {
    color: var(--c-gold);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Language Toggle */
.lang-toggle {
    position: relative;
    cursor: pointer;
}

.globe-icon {
    width: 22px;
    height: 22px;
    color: var(--c-text-light);
    transition: color var(--t-fast);
    display: block;
}

.lang-toggle:hover .globe-icon {
    color: var(--c-gold-bright);
    transform: rotate(360deg);
    transition: transform 0.8s ease, color var(--t-fast);
}

.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--t-fast);
    background: rgba(8, 11, 16, 0.92);
    border: 1px solid var(--c-border);
    border-radius: 4px;
    padding: 8px;
    min-width: 100px;
    backdrop-filter: blur(10px);
}

.lang-toggle:hover .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    padding: 6px 16px;
    color: var(--c-text-dim);
    font-size: 0.85rem;
    border-radius: 2px;
    transition: all var(--t-fast);
    text-align: center;
}

.lang-option:hover,
.lang-option.active {
    color: var(--c-gold-bright);
    background: rgba(201, 169, 97, 0.1);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--c-text-light);
    transition: all var(--t-fast);
    border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== Mobile Menu ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: var(--c-ink-light);
    border-left: 1px solid var(--c-border);
    z-index: 1001;
    transition: right var(--t-mid);
    display: flex;
    flex-direction: column;
    padding: 80px 30px 30px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 2rem;
    color: var(--c-text-light);
    cursor: pointer;
    line-height: 1;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-link {
    color: var(--c-text-light);
    font-family: var(--font-zh-serif);
    font-size: 1.1rem;
    padding: 12px 0;
    border-bottom: 1px solid var(--c-border);
    transition: color var(--t-fast);
}

.mobile-link:hover {
    color: var(--c-gold-bright);
}

.mobile-lang {
    margin-top: auto;
    display: flex;
    gap: 20px;
}

.mobile-lang-option {
    color: var(--c-text-dim);
    font-size: 0.9rem;
    padding: 8px 20px;
    border: 1px solid var(--c-border);
    border-radius: 4px;
}

.mobile-lang-option.active {
    color: var(--c-gold-bright);
    border-color: var(--c-gold);
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--t-mid);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroZoom 20s ease-in-out infinite alternate;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, rgba(13, 17, 23, 0.4) 0%, rgba(8, 11, 16, 0.7) 50%, rgba(8, 11, 16, 0.95) 100%),
        linear-gradient(180deg, rgba(13, 17, 23, 0.2) 0%, transparent 30%, transparent 70%, rgba(8, 11, 16, 0.9) 100%);
    z-index: 1;
}

/* Floating Clouds */
.hero-clouds {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.xiangyun {
    position: absolute;
    color: var(--c-gold);
    opacity: 0.12;
}

.cloud-1 {
    width: 320px;
    top: 15%;
    left: -5%;
    animation: driftRight 25s linear infinite;
}

.cloud-2 {
    width: 260px;
    top: 60%;
    right: -5%;
    animation: driftLeft 30s linear infinite;
    opacity: 0.08;
}

.cloud-3 {
    width: 200px;
    top: 35%;
    left: 60%;
    animation: floatCloud 15s ease-in-out infinite;
    opacity: 0.1;
}

@keyframes driftRight {
    0% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(50px) translateY(-20px); }
    100% { transform: translateX(0) translateY(0); }
}

@keyframes driftLeft {
    0% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(-50px) translateY(20px); }
    100% { transform: translateX(0) translateY(0); }
}

@keyframes floatCloud {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -20px) rotate(5deg); }
    66% { transform: translate(-20px, 15px) rotate(-3deg); }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 20px;
    max-width: 900px;
}

.hero-seal {
    width: 80px;
    height: 80px;
    margin: 0 auto 28px;
    color: var(--c-gold);
    animation: sealPulse 4s ease-in-out infinite;
}

@keyframes sealPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(201, 169, 97, 0.3));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 25px rgba(201, 169, 97, 0.5));
    }
}

.hero-title-zh {
    font-family: var(--font-zh-serif);
    font-size: clamp(1.5rem, 4vw, 2.6rem);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--c-gold-dark) 0%, var(--c-gold-bright) 25%, var(--c-gold) 50%, var(--c-gold-bright) 75%, var(--c-gold-dark) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 5s linear infinite;
    filter: drop-shadow(0 0 30px rgba(201, 169, 97, 0.3));
    letter-spacing: 2px;
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.hero-title-en {
    font-family: var(--font-en-body);
    font-size: clamp(0.85rem, 1.5vw, 1.05rem);
    color: var(--c-text-light);
    opacity: 0.8;
    margin-bottom: 28px;
    line-height: 1.5;
    letter-spacing: 1px;
}

/* Hero Divider */
.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 0 auto 20px;
}

.divider-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--c-gold));
}

.hero-divider .divider-line:last-child {
    background: linear-gradient(90deg, var(--c-gold), transparent);
}

.divider-cloud {
    width: 50px;
    height: 25px;
    color: var(--c-gold);
    opacity: 0.7;
}

.hero-subtitle-zh {
    font-family: var(--font-zh-serif);
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: var(--c-gold-bright);
    letter-spacing: 4px;
    margin-bottom: 6px;
    font-weight: 600;
}

.hero-subtitle-en {
    font-family: var(--font-en-serif);
    font-size: clamp(0.7rem, 1.2vw, 0.85rem);
    color: var(--c-text-dim);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 40px;
}

/* Hero Search */
/* .hero-search {
    display: flex;
    align-items: center;
    max-width: 560px;
    margin: 0 auto;
    background: rgba(8, 11, 16, 0.5);
    border: 1px solid var(--c-border);
    border-radius: 4px;
    overflow: hidden;
    transition: all var(--t-mid);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-search:focus-within {
    border-color: var(--c-gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1), 0 8px 30px rgba(0, 0, 0, 0.3);
}

.search-icon {
    padding: 0 14px;
    color: var(--c-text-dim);
    display: flex;
    align-items: center;
}

.search-icon svg {
    width: 18px;
    height: 18px;
}

.hero-search input {
    flex: 1;
    padding: 14px 0;
    color: var(--c-text-light);
    font-size: 0.9rem;
    background: transparent;
}

.hero-search input::placeholder {
    color: var(--c-text-dim);
}

.search-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--c-gold-dark), var(--c-gold));
    color: var(--c-ink);
    font-family: var(--font-zh-serif);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--t-fast);
    gap: 1px;
}

.search-btn-en {
    font-family: var(--font-en-body);
    font-size: 0.6rem;
    letter-spacing: 1px;
    opacity: 0.7;
}

.search-btn:hover {
    background: linear-gradient(135deg, var(--c-gold), var(--c-gold-bright));
    box-shadow: 0 0 20px rgba(201, 169, 97, 0.4);
} */


.hero-search {
    display: flex;
    align-items: stretch;
    max-width: 560px;
    margin: 0 auto;
    background: rgba(8, 11, 16, 0.5);
    border: 1px solid var(--c-border);
    border-radius: 4px;
    overflow: hidden;
    transition: all var(--t-mid);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.hero-search:focus-within {
    border-color: var(--c-gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1), 0 8px 30px rgba(0, 0, 0, 0.3);
}
.search-icon {
    padding: 0 14px;
    color: var(--c-text-dim);
    display: flex;
    align-items: center;
    flex-shrink:0;
}
.search-icon svg {
    width: 18px;
    height: 18px;
}
.hero-search form.search-form{
    display:flex;
    flex:1;
}
.hero-search input {
    flex: 1;
    padding: 14px 0;
    color: var(--c-text-light);
    font-size: 0.9rem;
    background: transparent;
}
.hero-search input::placeholder {
    color: var(--c-text-dim);
}
.search-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    background: linear-gradient(135deg, var(--c-gold-dark), var(--c-gold));
    color: var(--c-ink);
    font-family: var(--font-zh-serif);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--t-fast);
    gap: 1px;
    border:none;
}
.search-btn-en {
    font-family: var(--font-en-body);
    font-size: 0.6rem;
    letter-spacing: 1px;
    opacity: 0.7;
}
.search-btn:hover {
    background: linear-gradient(135deg, var(--c-gold), var(--c-gold-bright));
    box-shadow: 0 0 20px rgba(201, 169, 97, 0.4);
}


/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--c-text-dim);
    cursor: pointer;
    animation: fadeInDown 1.5s ease 1s both;
}

.scroll-text {
    font-family: var(--font-zh-serif);
    font-size: 0.75rem;
    letter-spacing: 2px;
}

.scroll-text-en {
    font-family: var(--font-en-body);
    font-size: 0.65rem;
    letter-spacing: 1px;
    opacity: 0.7;
}

.scroll-arrow {
    width: 20px;
    height: 30px;
    color: var(--c-gold);
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translate(-50%, -20px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

/* ===== Section Header (shared) ===== */
.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 50px;
}

.section-line {
    flex: 0 0 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--c-gold));
}

.section-line-right {
    background: linear-gradient(90deg, var(--c-gold), transparent);
}

.section-title-block {
    text-align: center;
}

.section-title-zh {
    font-family: var(--font-zh-serif);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--c-text-dark);
    letter-spacing: 3px;
    margin-bottom: 4px;
}

.section-title-en {
    font-family: var(--font-en-serif);
    font-size: 0.8rem;
    color: var(--c-text-dim);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* ===== About Section ===== */
.about {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--c-paper) 0%, var(--c-paper-dark) 100%);
    position: relative;
    overflow: hidden;
}

.section-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(201, 169, 97, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(200, 51, 44, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.about-text .text-zh {
    font-family: var(--font-zh-serif);
    font-size: 1.05rem;
    line-height: 2;
    color: var(--c-text-dark);
    margin-bottom: 16px;
    text-indent: 2em;
}

.about-text .text-en {
    font-family: var(--font-en-body);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--c-text-mid);
    margin-bottom: 32px;
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 24px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-red);
    flex-shrink: 0;
}

.feature-text-zh {
    font-family: var(--font-zh-serif);
    font-size: 0.9rem;
    color: var(--c-text-dark);
    font-weight: 500;
}

.feature-text-en {
    font-family: var(--font-en-body);
    font-size: 0.8rem;
    color: var(--c-text-dim);
}

.about-image {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 4px;
    transition: transform var(--t-slow);
}

.about-image:hover .about-img {
    transform: scale(1.05);
}

.about-image-frame {
    position: absolute;
    inset: 12px;
    border: 1px solid var(--c-border-strong);
    border-radius: 2px;
    pointer-events: none;
    z-index: 1;
}

/* About Stats */
.about-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 40px 0;
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
}

.stat-item {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-num {
    font-family: var(--font-zh-serif);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    color: var(--c-red);
    line-height: 1;
}

.stat-label-zh {
    font-family: var(--font-zh-serif);
    font-size: 0.85rem;
    color: var(--c-text-dark);
}

.stat-label-en {
    font-family: var(--font-en-body);
    font-size: 0.75rem;
    color: var(--c-text-dim);
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--c-border);
}

/* ===== Projects Section ===== */
.projects {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--c-paper-dark) 0%, var(--c-paper) 100%);
    position: relative;
    overflow: hidden;
}

.projects-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 10% 50%, rgba(201, 169, 97, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 20%, rgba(200, 51, 44, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

.section-desc {
    text-align: center;
    margin-bottom: 50px;
    color: var(--c-text-mid);
}

.desc-zh {
    font-family: var(--font-zh-serif);
    font-size: 1rem;
    letter-spacing: 1px;
}

.desc-en {
    font-family: var(--font-en-body);
    font-size: 0.9rem;
    color: var(--c-text-dim);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

/* Project Card */
.project-card {
    background: var(--c-paper);
    border: 1px solid var(--c-border);
    border-radius: 6px;
    overflow: hidden;
    transition: all var(--t-slow);
    position: relative;
    display: flex;
    flex-direction: column;
}

.project-card::before,
.project-card::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 1px solid var(--c-gold);
    opacity: 0;
    transition: opacity var(--t-fast);
    z-index: 2;
    pointer-events: none;
}

.project-card::before {
    top: 6px;
    left: 6px;
    border-right: none;
    border-bottom: none;
}

.project-card::after {
    bottom: 6px;
    right: 6px;
    border-left: none;
    border-top: none;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(201, 169, 97, 0.2), 0 6px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--c-gold);
}

.project-card:hover::before,
.project-card:hover::after {
    opacity: 1;
}

.card-image-wrap {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: var(--c-paper-dark);
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* ==========新增下面两行========== */
    background: transparent;
    /* 图片加载失败时，img自身透明，露出父级.card-image-wrap的背景色 */
}
/* 重点：图片加载失败的伪元素，显示兜底容器底色 */
.card-img::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: var(--c-paper-dark);
}


.project-card:hover .card-img {
    transform: scale(1.12);
}

.card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(13, 17, 23, 0.6) 100%);
}

.card-number {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(200, 51, 44, 0.85);
    color: var(--c-paper);
    font-family: var(--font-en-serif);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    backdrop-filter: blur(4px);
    letter-spacing: 1px;
}

.card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.card-name-zh {
    font-family: var(--font-zh-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--c-text-dark);
    line-height: 1.4;
    transition: color var(--t-fast);
}

.project-card:hover .card-name-zh {
    color: var(--c-red);
}

.card-name-en {
    font-family: var(--font-en-body);
    font-size: 0.8rem;
    color: var(--c-text-dim);
    line-height: 1.3;
    margin-bottom: 4px;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 4px;
}

.tag {
    font-family: var(--font-zh-sans);
    font-size: 0.7rem;
    color: var(--c-red-dark);
    background: rgba(200, 51, 44, 0.06);
    padding: 2px 8px;
    border-radius: 2px;
    border: 1px solid rgba(200, 51, 44, 0.1);
}

.card-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 12px;
    color: var(--c-gold-dark);
    font-family: var(--font-zh-serif);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--t-fast);
}

.card-btn-en {
    font-family: var(--font-en-body);
    font-size: 0.75rem;
    opacity: 0.7;
}

.card-btn svg {
    width: 16px;
    height: 16px;
    transition: transform var(--t-fast);
}

.card-btn:hover {
    color: var(--c-red);
}

.card-btn:hover svg {
    transform: translateX(4px);
}

/* ===== Features Section ===== */
.features {
    padding: 100px 0;
    background: var(--c-ink);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 30% 50%, rgba(201, 169, 97, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(200, 51, 44, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.features .section-title-zh {
    color: var(--c-text-light);
}

.features .section-title-en {
    color: var(--c-text-dim);
}

.features .section-line {
    background: linear-gradient(90deg, transparent, var(--c-gold));
}

.features .section-line-right {
    background: linear-gradient(90deg, var(--c-gold), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    text-align: center;
    padding: 40px 24px;
    border: 1px solid var(--c-border);
    border-radius: 6px;
    transition: all var(--t-mid);
    position: relative;
    overflow: hidden;
    background: rgba(22, 27, 34, 0.5);
    backdrop-filter: blur(4px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
    transition: left 0.6s ease;
}

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

.feature-card:hover {
    border-color: var(--c-gold);
    background: rgba(22, 27, 34, 0.8);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(201, 169, 97, 0.1);
}

.feature-icon-wrap {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    color: var(--c-gold);
    transition: transform var(--t-mid);
}

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

.feature-icon-wrap svg {
    width: 100%;
    height: 100%;
}

.feature-title-zh {
    font-family: var(--font-zh-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--c-text-light);
    margin-bottom: 4px;
}

.feature-title-en {
    font-family: var(--font-en-serif);
    font-size: 0.75rem;
    color: var(--c-gold);
    letter-spacing: 2px;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.feature-desc-zh {
    font-family: var(--font-zh-sans);
    font-size: 0.82rem;
    color: var(--c-text-dim);
    line-height: 1.6;
    margin-bottom: 4px;
}

.feature-desc-en {
    font-family: var(--font-en-body);
    font-size: 0.78rem;
    color: rgba(168, 152, 120, 0.7);
    line-height: 1.5;
}

/* ===== Footer ===== */
.footer {
    background: var(--c-ink-dark);
    position: relative;
    overflow: hidden;
}

.footer-cloud-border {
    width: 100%;
    height: 40px;
    color: var(--c-gold);
    opacity: 0.3;
}

.footer-cloud-border svg {
    width: 100%;
    height: 100%;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 40px 30px;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
}

.footer-seal {
    width: 32px;
    height: 32px;
    color: var(--c-gold);
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.footer-logo-zh {
    font-family: var(--font-zh-serif);
    font-size: 0.95rem;
    color: var(--c-text-light);
    font-weight: 600;
}

.footer-logo-en {
    font-family: var(--font-en-serif);
    font-size: 0.6rem;
    color: var(--c-text-dim);
}

.footer-title-zh {
    font-family: var(--font-zh-serif);
    font-size: 0.9rem;
    color: var(--c-text-dim);
    margin-bottom: 6px;
    line-height: 1.5;
}

.footer-title-en {
    font-family: var(--font-en-body);
    font-size: 0.8rem;
    color: var(--c-text-dim);
    opacity: 0.6;
    margin-bottom: 24px;
    line-height: 1.4;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 24px;
}

.footer-links a {
    font-family: var(--font-zh-sans);
    font-size: 0.8rem;
    color: var(--c-text-dim);
    transition: color var(--t-fast);
}

.footer-links a:hover {
    color: var(--c-gold-bright);
}

.footer-divider {
    width: 60px;
    height: 1px;
    background: var(--c-border);
    margin: 0 auto 20px;
}

.footer-copyright {
    font-family: var(--font-zh-sans);
    font-size: 0.75rem;
    color: var(--c-text-dim);
    opacity: 0.5;
}

/* ===== Back to Top ===== */
.back-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(13, 17, 23, 0.85);
    border: 1px solid var(--c-border-strong);
    color: var(--c-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--t-mid);
    backdrop-filter: blur(8px);
}

.back-top.show {
    opacity: 1;
    visibility: visible;
}

.back-top:hover {
    background: var(--c-gold);
    color: var(--c-ink);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(201, 169, 97, 0.3);
}

.back-top svg {
    width: 22px;
    height: 22px;
}

/* ===== Animations ===== */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

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

/* ===== Responsive ===== */
@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .nav-menu {
        gap: 24px;
    }
}

@media (max-width: 992px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-img {
        height: 320px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-menu {
        gap: 18px;
    }

    .nav-link {
        font-size: 0.85rem;
    }

    .logo-text {
        display: none;
    }
}

@media (max-width: 768px) {
    .container,
    .nav-container,
    .footer-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Mobile Navigation */
    .nav-menu {
        display: none;
    }

    .lang-toggle {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    /* Hero */
    .hero {
        min-height: 568px;
    }

    .hero-seal {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }

    .hero-divider {
        gap: 12px;
    }

    .divider-line {
        width: 40px;
    }

    .hero-search {
        flex-direction: row;
    }

    .search-btn {
        padding: 12px 18px;
        font-size: 0.85rem;
    }

    .search-btn-en {
        display: none;
    }

    .scroll-text-en {
        display: none;
    }

    /* About */
    .about,
    .projects,
    .features {
        padding: 60px 0;
    }

    .about-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }

    .stat-item {
        flex: 0 0 45%;
    }

    /* Projects */
    .projects-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .card-image-wrap {
        height: 220px;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
        gap: 16px;
    }

    .feature-card {
        padding: 30px 20px;
    }

    /* Footer */
    .footer-content {
        padding: 30px 20px 20px;
    }

    .footer-links {
        gap: 16px;
    }

    /* Section Header */
    .section-header {
        gap: 16px;
    }

    .section-line {
        flex: 0 0 40px;
    }

    /* Back to top */
    .back-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .hero-title-zh {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }

    .hero-title-en {
        font-size: 0.75rem;
    }

    .hero-subtitle-zh {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .hero-search input {
        font-size: 0.8rem;
    }

    .search-btn {
        padding: 12px 14px;
        font-size: 0.8rem;
    }

    .search-icon {
        padding: 0 10px;
    }

    .search-icon svg {
        width: 16px;
        height: 16px;
    }

    .stat-item {
        flex: 0 0 100%;
    }

    .section-title-zh {
        font-size: 1.3rem;
    }

    .about-features {
        flex-direction: column;
        gap: 12px;
    }

    .card-body {
        padding: 16px;
    }

    .card-name-zh {
        font-size: 0.9rem;
    }
}

/* ===== Scrollbar Styling ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--c-ink);
}

::-webkit-scrollbar-thumb {
    background: var(--c-gold-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--c-gold);
}

/* ===== Selection ===== */
::selection {
    background: var(--c-gold);
    color: var(--c-ink);
}

/* ================================================================
   NEW STYLES - v2 Updates
   ================================================================ */

/* ===== Nav Search Box ===== */
.nav-search {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-search-input {
    width: 0;
    padding: 8px 0;
    font-size: 0.85rem;
    color: var(--c-text-light);
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: width 0.4s ease, border-color 0.3s ease, padding 0.4s ease;
    width: 180px;
    border-bottom-color: var(--c-border);
}

.nav-search-input:focus {
    border-bottom-color: var(--c-gold);
    width: 220px;
}

.nav-search-input::placeholder {
    color: var(--c-text-dim);
    font-size: 0.8rem;
}

.nav-search-icon {
    width: 18px;
    height: 18px;
    color: var(--c-gold);
    cursor: pointer;
    margin-right: 10px;
    flex-shrink: 0;
}

.nav-search-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 360px;
    max-height: 400px;
    overflow-y: auto;
    background: var(--c-ink-light);
    border: 1px solid var(--c-border);
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    z-index: 200;
    display: none;
}

.nav-search-dropdown.show {
    display: block;
}

.search-result-item {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(201,169,97,0.1);
    transition: background 0.2s;
    cursor: pointer;
}

.search-result-item:hover {
    background: rgba(201,169,97,0.08);
}

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

.search-result-zh {
    font-family: var(--font-zh-serif);
    font-size: 0.9rem;
    color: var(--c-text-light);
    font-weight: 600;
}

.search-result-en {
    font-family: var(--font-en-body);
    font-size: 0.8rem;
    color: var(--c-text-dim);
    margin-top: 2px;
}

.search-result-tags {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.search-result-tags span {
    font-size: 0.7rem;
    color: var(--c-gold-dark);
    background: rgba(201,169,97,0.1);
    padding: 2px 8px;
    border-radius: 3px;
}

.search-no-result {
    padding: 24px;
    text-align: center;
    color: var(--c-text-dim);
    font-size: 0.85rem;
}

/* ===== Hero Search Bar ===== */
.hero-search-bar {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    width: 100%;
    max-width: 700px;
}

.hero-search-box {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-search-icon {
    position: absolute;
    left: 16px;
    width: 20px;
    height: 20px;
    color: var(--c-gold);
    z-index: 1;
}

.hero-search-box input {
    width: 100%;
    padding: 14px 16px 14px 46px;
    font-size: 0.95rem;
    color: var(--c-text-light);
    background: rgba(13,17,23,0.6);
    border: 1px solid var(--c-border);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.hero-search-box input::placeholder { color: var(--c-text-dim); }

.hero-search-box input:focus {
    border-color: var(--c-gold);
    box-shadow: 0 0 0 3px rgba(201,169,97,0.1);
}

.hero-filter-box {
    position: relative;
    display: flex;
    align-items: center;
}

.hero-filter-icon {
    position: absolute;
    left: 14px;
    width: 18px;
    height: 18px;
    color: var(--c-gold);
    z-index: 1;
    pointer-events: none;
}

.hero-filter-box select {
    padding: 14px 16px 14px 40px;
    font-size: 0.9rem;
    color: var(--c-text-light);
    background: rgba(13,17,23,0.6);
    border: 1px solid var(--c-border);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    min-width: 220px;
    transition: border-color 0.3s;
}

.hero-filter-box select:focus { border-color: var(--c-gold); }

.hero-filter-box select option {
    background: var(--c-ink-light);
    color: var(--c-text-light);
}

.hero-search-results {
    margin-top: 16px;
    width: 100%;
    max-width: 700px;
    background: rgba(13,17,23,0.85);
    border: 1px solid var(--c-border);
    border-radius: 8px;
    overflow: hidden;
    max-height: 500px;
    overflow-y: auto;
}

.hero-search-results .search-result-item a {
    display: block;
}

/* ===== About Section Background ===== */
.about {
    position: relative;
    overflow: hidden;
}

.about-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.about-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.28;
}

.about-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(247,241,230,0.82) 0%, rgba(240,230,210,0.72) 50%, rgba(247,241,230,0.82) 100%);
}

.about .container { z-index: 1; }

/* ===== Section Title Center ===== */
.section-title-center {
    text-align: center;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.section-title-center h2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.section-title-center h2 span:first-child {
    font-family: var(--font-zh-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--c-gold);
    letter-spacing: 4px;
}

.section-title-center .title-en {
    font-family: var(--font-en-serif);
    font-size: 0.9rem;
    color: var(--c-text-dim);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.title-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
}

.section-subtitle {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.section-subtitle span:first-child {
    font-size: 0.95rem;
    color: var(--c-text-dim);
}

.section-subtitle span:last-child {
    font-family: var(--font-en-body);
    font-size: 0.85rem;
    color: var(--c-text-dim);
    opacity: 0.7;
}

/* ===== About Content ===== */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-zh {
    font-family: var(--font-zh-serif);
    font-size: 1.05rem;
    line-height: 2;
    color: var(--c-text-light);
    margin-bottom: 16px;
    text-align: justify;
}

.about-en {
    font-family: var(--font-en-body);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--c-text-dim);
    margin-bottom: 32px;
    text-align: justify;
}

.about-tags {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.about-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--c-gold-light);
    padding: 8px 20px;
    border: 1px solid var(--c-border);
    border-radius: 30px;
    transition: all 0.3s;
}

.about-tag:hover {
    border-color: var(--c-gold);
    background: rgba(201,169,97,0.08);
}

.tag-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-gold);
}

/* ===== Footer Contact ===== */
.footer-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin: 24px 0;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact-icon {
    width: 20px;
    height: 20px;
    color: var(--c-gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-label {
    font-size: 0.75rem;
    color: var(--c-text-dim);
    margin-bottom: 2px;
}

.footer-contact-value {
    font-size: 0.85rem;
    color: var(--c-text-light);
    font-family: var(--font-zh-sans);
}

/* ================================================================
   Detail Page Styles
   ================================================================ */

/* ===== Detail Hero ===== */
.detail-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 120px 0 60px;
}

.detail-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.detail-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13,17,23,0.85) 0%, rgba(13,17,23,0.7) 50%, rgba(13,17,23,0.9) 100%);
}

.detail-hero-content {
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.detail-hero-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 24px;
    border: 1px solid var(--c-border-strong);
    border-radius: 30px;
    margin-bottom: 24px;
    background: rgba(13,17,23,0.5);
    backdrop-filter: blur(8px);
}

.detail-hero-badge span:first-child {
    font-size: 0.85rem;
    color: var(--c-gold);
    font-family: var(--font-zh-serif);
    font-weight: 600;
}

.detail-hero-badge span:last-child {
    font-family: var(--font-en-body);
    font-size: 0.75rem;
    color: var(--c-text-dim);
}

.detail-hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.detail-hero-title > span:first-child {
    font-family: var(--font-zh-serif);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--c-gold);
    letter-spacing: 4px;
    line-height: 1.3;
}

.detail-hero-en {
    font-family: var(--font-en-serif);
    font-size: 1rem;
    color: var(--c-text-light);
    letter-spacing: 1px;
}

.detail-hero-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.detail-hero-meta span {
    font-size: 0.85rem;
    color: var(--c-text-dim);
}

.meta-divider { color: var(--c-gold-dark); }

.detail-hero-cloud {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

.detail-hero-cloud svg {
    width: 100%;
    height: 40px;
}

/* ===== Right Side Nav ===== */
.detail-nav {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
}

.detail-nav-inner {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 12px;
    background: rgba(22,27,34,0.8);
    border: 1px solid var(--c-border);
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

.detail-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    border-radius: 20px;
    transition: all 0.3s;
    cursor: pointer;
}

.detail-nav-item:hover {
    background: rgba(201,169,97,0.1);
}

.detail-nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-text-dim);
    flex-shrink: 0;
    transition: all 0.3s;
}

.detail-nav-item.active .detail-nav-dot {
    background: var(--c-gold);
    box-shadow: 0 0 8px rgba(201,169,97,0.6);
}

.detail-nav-label {
    font-size: 0.75rem;
    color: var(--c-text-dim);
    white-space: nowrap;
    transition: color 0.3s;
}

.detail-nav-item.active .detail-nav-label,
.detail-nav-item:hover .detail-nav-label {
    color: var(--c-gold-light);
}

.detail-nav-mobile {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    background: rgba(22,27,34,0.95);
    border-top: 1px solid var(--c-border);
    padding: 10px 20px;
    backdrop-filter: blur(10px);
}

.detail-nav-mobile select {
    width: 100%;
    padding: 10px 16px;
    font-size: 0.9rem;
    color: var(--c-text-light);
    background: var(--c-ink-light);
    border: 1px solid var(--c-border);
    border-radius: 8px;
    cursor: pointer;
}

/* ===== Detail Sections ===== */
.detail-main { padding-bottom: 40px; }

.detail-section {
    padding: 80px 0;
    position: relative;
}

.detail-section-alt {
    background: var(--c-ink-light);
}

.detail-section-title {
    text-align: center;
    margin-bottom: 50px;
}

.detail-section-title h2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.detail-section-title h2 span:first-child {
    font-family: var(--font-zh-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--c-gold);
    letter-spacing: 4px;
}

.detail-section-title .title-en {
    font-family: var(--font-en-serif);
    font-size: 0.85rem;
    color: var(--c-text-dim);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ===== Info Table ===== */
.info-table {
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid var(--c-border);
    border-radius: 12px;
    overflow: hidden;
}

.info-row {
    display: grid;
    grid-template-columns: 240px 1fr;
    border-bottom: 1px solid var(--c-border);
    transition: background 0.2s;
}

.info-row:last-child { border-bottom: none; }

.info-row:hover { background: rgba(201,169,97,0.04); }

.info-label {
    padding: 16px 24px;
    font-family: var(--font-zh-serif);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--c-gold);
    background: rgba(201,169,97,0.06);
    border-right: 1px solid var(--c-border);
}

.info-label span {
    font-family: var(--font-en-body);
    font-size: 0.8rem;
    color: var(--c-text-dim);
    font-weight: 400;
}

.info-value {
    padding: 16px 24px;
    font-size: 0.95rem;
    color: var(--c-text-light);
    line-height: 1.8;
}

.info-value .info-en,
.info-value span.info-en {
    display: block;
    font-family: var(--font-en-body);
    font-size: 0.85rem;
    color: var(--c-text-dim);
    margin-top: 4px;
}

/* ===== Bilingual Block ===== */
.bilingual-block {
    max-width: 900px;
    margin: 0 auto 32px;
}

.bi-zh {
    font-family: var(--font-zh-serif);
    font-size: 1rem;
    line-height: 2.1;
    color: var(--c-text-light);
    text-align: justify;
    margin-bottom: 16px;
    text-indent: 2em;
}

.bi-en {
    font-family: var(--font-en-body);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--c-text-dim);
    text-align: justify;
    margin-bottom: 16px;
}

/* ===== Flowchart ===== */
.flowchart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 60px;
    padding: 30px 20px;
    background: rgba(13,17,23,0.4);
    border: 1px solid var(--c-border);
    border-radius: 12px;
}

.flowchart-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 14px;
    background: rgba(201,169,97,0.08);
    border: 1px solid var(--c-border);
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
}

.flowchart-item:hover {
    background: rgba(201,169,97,0.15);
    border-color: var(--c-gold);
    transform: translateY(-3px);
}

.flowchart-item span:first-child {
    font-size: 0.85rem;
    color: var(--c-gold-light);
    font-family: var(--font-zh-serif);
    font-weight: 600;
}

.flow-en {
    font-family: var(--font-en-body);
    font-size: 0.7rem;
    color: var(--c-text-dim);
    margin-top: 2px;
}

.flowchart-arrow {
    color: var(--c-gold-dark);
    font-size: 0.85rem;
}

/* ===== Process Steps ===== */
.process-steps {
    max-width: 900px;
    margin: 0 auto;
}

.process-step {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 24px;
    margin-bottom: 40px;
    position: relative;
}

.process-step::before {
    content: '';
    position: absolute;
    left: 29px;
    top: 48px;
    bottom: -40px;
    width: 2px;
    background: linear-gradient(180deg, var(--c-gold-dark), transparent);
}

.process-step:last-child::before { display: none; }

.step-num {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-en-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--c-gold);
    background: rgba(13,17,23,0.8);
    border: 2px solid var(--c-gold-dark);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}

.process-step:hover .step-num {
    border-color: var(--c-gold);
    box-shadow: 0 0 15px rgba(201,169,97,0.3);
    transform: scale(1.05);
}

.step-content {
    padding-top: 4px;
}

.step-content h3 {
    font-family: var(--font-zh-serif);
    font-size: 1.15rem;
    color: var(--c-gold-light);
    margin-bottom: 16px;
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.step-content h3 span {
    font-family: var(--font-en-body);
    font-size: 0.9rem;
    color: var(--c-text-dim);
    font-weight: 400;
}

/* ===== Photo Gallery ===== */
.gallery-subtitle {
    text-align: center;
    margin-bottom: 30px;
}

.gallery-subtitle h3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.gallery-subtitle h3 span:first-child {
    font-family: var(--font-zh-serif);
    font-size: 1.3rem;
    color: var(--c-gold);
}

.gallery-subtitle h3 span:last-child {
    font-family: var(--font-en-body);
    font-size: 0.85rem;
    color: var(--c-text-dim);
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.photo-item {
    cursor: pointer;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid var(--c-border);
    transition: all 0.3s;
    background: var(--c-ink-light);
}

.photo-item:hover {
    border-color: var(--c-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.photo-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.4s;
}

.photo-item:hover img { transform: scale(1.08); }

.photo-caption {
    padding: 10px 12px;
    font-size: 0.8rem;
    color: var(--c-gold-light);
    font-family: var(--font-zh-serif);
    text-align: center;
}

.photo-caption span {
    display: block;
    font-family: var(--font-en-body);
    font-size: 0.7rem;
    color: var(--c-text-dim);
    margin-top: 2px;
}

/* ===== Video Gallery ===== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.video-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid var(--c-border);
    transition: all 0.3s;
}

.video-item:hover {
    border-color: var(--c-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.video-thumb {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s;
}

.video-item:hover .video-thumb { transform: scale(1.05); }

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: transform 0.3s;
}

.video-play-btn svg {
    width: 56px;
    height: 56px;
}

.video-item:hover .video-play-btn { transform: translate(-50%, -50%) scale(1.15); }

.video-caption {
    padding: 12px 16px;
    font-size: 0.9rem;
    color: var(--c-gold-light);
    font-family: var(--font-zh-serif);
    text-align: center;
}

.video-caption span {
    display: block;
    font-family: var(--font-en-body);
    font-size: 0.8rem;
    color: var(--c-text-dim);
    margin-top: 2px;
}

/* Content Images (interspersed in text) */
.content-image-block {
    text-align: center;
    margin: 20px 0;
    padding: 0;
}
.content-img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
body.detail-page .content-img {
    box-shadow: 0 4px 14px rgba(120, 90, 40, 0.1);
    border: 1px solid var(--c-border);
}

/* ===== References ===== */
.refs-list {
    max-width: 800px;
    margin: 0 auto;
}

.ref-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(201,169,97,0.1);
}

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

.ref-num {
    font-family: var(--font-en-serif);
    font-size: 0.9rem;
    color: var(--c-gold);
    font-weight: 600;
    flex-shrink: 0;
    min-width: 36px;
}

.ref-item p {
    font-size: 0.9rem;
    color: var(--c-text-light);
    line-height: 1.7;
}

/* ===== Lightbox ===== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.lightbox.show { display: flex; }

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 2.5rem;
    color: var(--c-gold);
    cursor: pointer;
    z-index: 1;
    line-height: 1;
}

.lightbox-content {
    max-width: 80%;
    max-height: 80%;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border: 2px solid var(--c-border);
    border-radius: 8px;
}

.lightbox-caption {
    margin-top: 16px;
    font-size: 0.95rem;
    color: var(--c-gold-light);
    font-family: var(--font-zh-serif);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 24px;
}

.lightbox-prev, .lightbox-next {
    font-size: 2.5rem;
    color: var(--c-gold);
    cursor: pointer;
    background: rgba(0,0,0,0.4);
    border: 1px solid var(--c-border);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.3s;
}

.lightbox-prev:hover, .lightbox-next:hover {
    background: rgba(201,169,97,0.2);
    border-color: var(--c-gold);
}

/* ===== Video Modal ===== */
.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.video-modal.show { display: flex; }

.video-modal-close {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 2.5rem;
    color: var(--c-gold);
    cursor: pointer;
    z-index: 1;
    line-height: 1;
}

.video-modal-content {
    max-width: 900px;
    width: 90%;
}

.video-modal-player {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--c-ink);
    border: 2px solid var(--c-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-placeholder {
    font-size: 1.1rem;
    color: var(--c-text-dim);
}

.video-modal-title {
    margin-top: 16px;
    text-align: center;
    font-size: 1rem;
    color: var(--c-gold-light);
    font-family: var(--font-zh-serif);
}

/* ===== Mobile Search in Menu ===== */
.mobile-search {
    padding: 0 24px;
    margin-bottom: 20px;
}

.mobile-search input {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.9rem;
    color: var(--c-text-light);
    background: rgba(13,17,23,0.6);
    border: 1px solid var(--c-border);
    border-radius: 8px;
}

.mobile-search input::placeholder { color: var(--c-text-dim); }

/* ===== Responsive Updates ===== */
@media (max-width: 1200px) {
    .photo-grid { grid-template-columns: repeat(3, 1fr); }
    .detail-nav { display: none; }
    .detail-nav-mobile { display: block; }
    .detail-main { padding-bottom: 60px; }
}

@media (max-width: 992px) {
    .photo-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-search-bar { flex-direction: column; }
    .hero-filter-box select { min-width: 100%; }
    .nav-search { display: none; }
    .info-row { grid-template-columns: 1fr; }
    .info-label {
        border-right: none;
        border-bottom: 1px solid var(--c-border);
    }
    .footer-contact { gap: 20px; }
    .video-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .detail-hero { min-height: 320px; padding: 100px 0 40px; }
    .detail-hero-title > span:first-child { font-size: 1.5rem; }
    .detail-hero-en { font-size: 0.85rem; }
    .detail-section { padding: 50px 0; }
    .detail-section-title h2 span:first-child { font-size: 1.4rem; }
    .photo-grid { grid-template-columns: repeat(2, 1fr); }
    .photo-item img { height: 140px; }
    .video-thumb { height: 160px; }
    .flowchart { gap: 4px; padding: 20px 10px; }
    .flowchart-item { padding: 6px 10px; }
    .flowchart-item span:first-child { font-size: 0.75rem; }
    .flow-en { font-size: 0.65rem; }
    .process-step { grid-template-columns: 1fr; gap: 12px; }
    .process-step::before { display: none; }
    .step-num { width: 48px; height: 48px; font-size: 1.1rem; }
    .hero-search-bar { gap: 10px; }
    .about-tags { gap: 12px; }
    .about-tag { font-size: 0.8rem; padding: 6px 16px; }
    .footer-contact { flex-direction: column; gap: 16px; align-items: center; text-align: center; }
    .footer-contact-item { flex-direction: column; align-items: center; gap: 4px; }
    .lightbox-close, .video-modal-close { top: 12px; right: 16px; font-size: 2rem; }
    .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 2rem; }
}

@media (max-width: 480px) {
    .detail-hero-title > span:first-child { font-size: 1.2rem; }
    .detail-hero-meta span { font-size: 0.75rem; }
    .photo-grid { grid-template-columns: 1fr; }
    .photo-item img { height: 200px; }
    .hero-search-box input { font-size: 0.85rem; }
    .hero-filter-box select { font-size: 0.85rem; }
    .bi-zh { font-size: 0.9rem; line-height: 1.9; }
    .bi-en { font-size: 0.9rem; }
    .step-content h3 { font-size: 1rem; }
    .info-label, .info-value { padding: 12px 16px; font-size: 0.85rem; }
    .ref-item p { font-size: 0.85rem; }
    .video-play-btn svg { width: 44px; height: 44px; }
}

/* ================================================================
   Detail Page — 亮色国风 Light Theme
   亮色白色系 + 朱红/金色国风元素
   ================================================================ */
body.detail-page {
    --c-ink: #faf6ed;
    --c-ink-light: #f3ead8;
    --c-ink-dark: #ebe0cc;
    --c-text-light: #2a2018;
    --c-text-dim: #6b5e4a;
    --c-border: rgba(168, 132, 70, 0.22);
    --c-border-strong: rgba(168, 132, 70, 0.42);

    background: #faf6ed;
    background-image:
        radial-gradient(circle at 12% 18%, rgba(201, 169, 97, 0.07) 0%, transparent 42%),
        radial-gradient(circle at 88% 78%, rgba(200, 51, 44, 0.04) 0%, transparent 42%);
    color: var(--c-text-dark);
}

/* Navbar & Footer 不受 detail-page 影响，保持深色主题 */
body.detail-page .navbar {
    --c-ink: #0d1117;
    --c-ink-light: #161b22;
    --c-text-light: #f0e6d2;
    --c-text-dim: #a89878;
    --c-border: rgba(201, 169, 97, 0.2);
    --c-border-strong: rgba(201, 169, 97, 0.4);
    background: rgba(8, 11, 16, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(201, 169, 97, 0.15);
}
body.detail-page .navbar.scrolled {
    background: rgba(8, 11, 16, 0.94);
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
body.detail-page .footer {
    --c-ink: #0d1117;
    --c-ink-light: #161b22;
    --c-ink-dark: #080b10;
    --c-text-light: #f0e6d2;
    --c-text-dim: #a89878;
    --c-border: rgba(201, 169, 97, 0.2);
    --c-border-strong: rgba(201, 169, 97, 0.4);
}
body.detail-page .mobile-menu {
    --c-ink: #0d1117;
    --c-ink-light: #161b22;
    --c-text-light: #f0e6d2;
    --c-text-dim: #a89878;
}

/* Detail Hero — 亮色叠加 */
body.detail-page .detail-hero-overlay {
    background: linear-gradient(180deg,
        rgba(250, 246, 237, 0.72) 0%,
        rgba(250, 246, 237, 0.45) 50%,
        rgba(250, 246, 237, 0.88) 100%);
}

body.detail-page .detail-hero-badge {
    background: rgba(255, 255, 255, 0.75);
    border-color: var(--c-border-strong);
}
body.detail-page .detail-hero-badge span:first-child { color: var(--c-red-dark); }
body.detail-page .detail-hero-badge span:last-child { color: var(--c-text-mid); }

body.detail-page .detail-hero-title > span:first-child {
    color: var(--c-red-dark);
    text-shadow: 0 1px 10px rgba(250, 246, 237, 0.7);
}
body.detail-page .detail-hero-en { color: var(--c-text-mid); }
body.detail-page .detail-hero-meta span { color: var(--c-text-mid); }

/* Right side nav */
body.detail-page .detail-nav-inner {
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 4px 20px rgba(120, 90, 40, 0.1);
}
body.detail-page .detail-nav-mobile {
    background: rgba(250, 246, 237, 0.97);
    box-shadow: 0 -2px 12px rgba(120, 90, 40, 0.1);
}
body.detail-page .detail-nav-mobile select { background: var(--c-paper); }

/* Section titles — 朱红国风 */
body.detail-page .detail-section {
    background: transparent;
}
body.detail-page .detail-section-alt {
    background: rgba(243, 234, 216, 0.5);
}
body.detail-page .detail-section-title h2 span:first-child {
    color: var(--c-red);
}
body.detail-page .detail-section-title .title-en {
    color: var(--c-text-dim);
}

/* Info table */
body.detail-page .info-label {
    color: var(--c-red-dark);
    background: rgba(201, 169, 97, 0.08);
}
body.detail-page .info-value { color: var(--c-text-dark); }
body.detail-page .info-row:hover { background: rgba(201, 169, 97, 0.06); }

/* Bilingual */
body.detail-page .bi-zh { color: var(--c-text-dark); }
body.detail-page .bi-en { color: var(--c-text-mid); }

/* Flowchart */
body.detail-page .flowchart {
    background: rgba(201, 169, 97, 0.06);
}
body.detail-page .flowchart-item {
    background: rgba(255, 255, 255, 0.7);
}
body.detail-page .flowchart-item:hover {
    background: rgba(201, 169, 97, 0.15);
}
body.detail-page .flowchart-item span:first-child { color: var(--c-red-dark); }

/* Steps */
body.detail-page .step-num {
    background: var(--c-paper);
    color: var(--c-red-dark);
    border-color: var(--c-gold-dark);
}
body.detail-page .step-content h3 { color: var(--c-red-dark); }

/* Gallery */
body.detail-page .photo-item {
    background: var(--c-paper);
    box-shadow: 0 2px 10px rgba(120, 90, 40, 0.08);
}
body.detail-page .photo-item:hover {
    box-shadow: 0 10px 28px rgba(120, 90, 40, 0.18);
}
body.detail-page .photo-caption { color: var(--c-text-dark); }
body.detail-page .gallery-subtitle h3 span:first-child { color: var(--c-red); }

/* Video */
body.detail-page .video-item {
    box-shadow: 0 2px 10px rgba(120, 90, 40, 0.08);
}
body.detail-page .video-item:hover {
    box-shadow: 0 10px 28px rgba(120, 90, 40, 0.18);
}
body.detail-page .video-caption { color: var(--c-text-dark); }

/* Content interspersed images */
body.detail-page .content-img {
    box-shadow: 0 4px 14px rgba(120, 90, 40, 0.1);
    border: 1px solid var(--c-border);
}

/* References */
body.detail-page .ref-num { color: var(--c-red-dark); }
body.detail-page .ref-item p { color: var(--c-text-dark); }

/* ================================================================
   New Pages — About & Team Styles
   ================================================================ */

/* ===== Project Info Cards ===== */
.project-info-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.info-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--c-border);
    border-radius: 12px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.info-card:hover {
    transform: translateY(-8px);
    border-color: var(--c-gold);
    box-shadow: 0 12px 32px rgba(120, 90, 40, 0.12);
}

.info-card-icon {
    width: 52px;
    height: 52px;
    color: var(--c-red);
}

.info-card-icon svg {
    width: 100%;
    height: 100%;
}

.info-card-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.info-card-label-zh {
    font-family: var(--font-zh-serif);
    font-size: 0.95rem;
    color: var(--c-text-dark);
    font-weight: 600;
}

.info-card-label-en {
    font-family: var(--font-en-body);
    font-size: 0.75rem;
    color: var(--c-text-dim);
    margin-bottom: 8px;
}

.info-card-value {
    font-family: var(--font-zh-serif);
    font-size: 1.05rem;
    color: var(--c-red-dark);
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* ===== Project Content Grid ===== */
.project-content-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 50px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.project-text-col .bilingual-block {
    max-width: 100%;
    margin-bottom: 24px;
}

.project-text-col .bilingual-block:last-child {
    margin-bottom: 0;
}

/* ===== Project Featured Image ===== */
.project-featured-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--c-border);
    box-shadow: 0 4px 16px rgba(120, 90, 40, 0.1);
}

.project-featured-image.mt-20 {
    margin-top: 20px;
}

.featured-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-featured-image:hover .featured-img {
    transform: scale(1.05);
}

.featured-img-caption {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.9);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.featured-img-caption span:first-child {
    font-family: var(--font-zh-serif);
    font-size: 0.9rem;
    color: var(--c-text-dark);
    font-weight: 600;
}

.featured-img-caption span:last-child {
    font-family: var(--font-en-body);
    font-size: 0.75rem;
    color: var(--c-text-dim);
}

/* ===== Goals Grid ===== */
.goals-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.goal-card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--c-border);
    border-radius: 12px;
    padding: 32px 28px;
    display: flex;
    gap: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.goal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--c-red), var(--c-gold));
    transition: height 0.4s ease;
}

.goal-card:hover {
    transform: translateY(-6px);
    border-color: var(--c-gold);
    box-shadow: 0 12px 32px rgba(120, 90, 40, 0.1);
}

.goal-card:hover::before {
    height: 100%;
}

.goal-number {
    font-family: var(--font-en-serif);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--c-red);
    opacity: 0.3;
    line-height: 1;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.goal-card:hover .goal-number {
    opacity: 0.6;
    transform: scale(1.1);
}

.goal-content {
    flex: 1;
}

.goal-title-zh {
    font-family: var(--font-zh-serif);
    font-size: 1.1rem;
    color: var(--c-text-dark);
    font-weight: 700;
    margin-bottom: 4px;
}

.goal-title-en {
    font-family: var(--font-en-serif);
    font-size: 0.75rem;
    color: var(--c-gold-dark);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.goal-desc-zh {
    font-size: 0.85rem;
    color: var(--c-text-mid);
    line-height: 1.7;
    margin-bottom: 6px;
}

.goal-desc-en {
    font-family: var(--font-en-body);
    font-size: 0.82rem;
    color: var(--c-text-dim);
    line-height: 1.6;
    opacity: 0.8;
}

/* ===== ICH Tags Grid ===== */
.ich-tags-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
}

.ich-tag-item {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--c-border);
    border-radius: 8px;
    padding: 16px 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: all 0.3s ease;
    cursor: default;
}

.ich-tag-item:hover {
    border-color: var(--c-red);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(200, 51, 44, 0.1);
}

.ich-tag-zh {
    font-family: var(--font-zh-serif);
    font-size: 0.9rem;
    color: var(--c-text-dark);
    font-weight: 600;
}

.ich-tag-en {
    font-family: var(--font-en-body);
    font-size: 0.72rem;
    color: var(--c-text-dim);
    line-height: 1.3;
}

/* ===== Leader Card ===== */
.leader-card {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--c-border);
    border-radius: 16px;
    padding: 48px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 48px;
    align-items: center;
    box-shadow: 0 4px 20px rgba(120, 90, 40, 0.08);
}

.leader-avatar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.avatar-frame {
    width: 140px;
    height: 140px;
    color: var(--c-red);
    position: relative;
}

.avatar-frame svg {
    width: 100%;
    height: 100%;
}

.leader-role-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--c-red-dark), var(--c-red));
    color: var(--c-paper);
    border-radius: 30px;
    white-space: nowrap;
}

.leader-role-badge span:first-child {
    font-family: var(--font-zh-serif);
    font-size: 0.85rem;
    font-weight: 600;
}

.leader-role-badge span:last-child {
    font-family: var(--font-en-body);
    font-size: 0.7rem;
    opacity: 0.9;
}

.leader-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.leader-name {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.leader-name-zh {
    font-family: var(--font-zh-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--c-text-dark);
    letter-spacing: 2px;
}

.leader-name-en {
    font-family: var(--font-en-serif);
    font-size: 0.95rem;
    color: var(--c-gold-dark);
    letter-spacing: 1px;
}

.leader-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.leader-tag {
    padding: 5px 14px;
    background: rgba(201, 169, 97, 0.1);
    border: 1px solid var(--c-border);
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--c-gold-dark);
    font-family: var(--font-zh-serif);
}

.leader-bio {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bio-zh {
    font-family: var(--font-zh-serif);
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--c-text-dark);
    text-align: justify;
}

.bio-en {
    font-family: var(--font-en-body);
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--c-text-dim);
    text-align: justify;
}

/* ===== Student Grid ===== */
.student-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto 32px;
}

.student-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--c-border);
    border-radius: 12px;
    padding: 28px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.student-card:hover {
    transform: translateY(-6px);
    border-color: var(--c-gold);
    box-shadow: 0 10px 24px rgba(120, 90, 40, 0.1);
}

.student-avatar {
    width: 72px;
    height: 72px;
    color: var(--c-red-dark);
}

.student-avatar svg {
    width: 100%;
    height: 100%;
}

.student-name-zh {
    font-family: var(--font-zh-serif);
    font-size: 1rem;
    color: var(--c-text-dark);
    font-weight: 600;
}

.student-name-en {
    font-family: var(--font-en-body);
    font-size: 0.78rem;
    color: var(--c-text-dim);
}

/* ===== Team Note ===== */
.team-note {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 700px;
    margin: 0 auto;
}

.note-zh {
    font-size: 0.85rem;
    color: var(--c-text-mid);
    font-family: var(--font-zh-serif);
}

.note-en {
    font-family: var(--font-en-body);
    font-size: 0.8rem;
    color: var(--c-text-dim);
    opacity: 0.8;
}

/* ===== Responsive for New Pages ===== */
@media (max-width: 992px) {
    .project-info-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .project-image-col {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .project-featured-image.mt-20 {
        margin-top: 0;
    }

    .goals-grid {
        grid-template-columns: 1fr;
    }

    .ich-tags-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .leader-card {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 36px 28px;
        text-align: center;
    }

    .leader-tags {
        justify-content: center;
    }

    .student-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .project-info-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .info-card {
        padding: 20px;
        flex-direction: row;
        text-align: left;
    }

    .info-card-icon {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }

    .info-card-content {
        align-items: flex-start;
    }

    .project-image-col {
        grid-template-columns: 1fr;
    }

    .ich-tags-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .ich-tag-item {
        padding: 12px 10px;
    }

    .ich-tag-zh {
        font-size: 0.82rem;
    }

    .ich-tag-en {
        font-size: 0.68rem;
    }

    .leader-card {
        padding: 28px 20px;
    }

    .leader-name-zh {
        font-size: 1.4rem;
    }

    .bio-zh {
        font-size: 0.88rem;
    }

    .bio-en {
        font-size: 0.82rem;
    }

    .student-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .student-card {
        padding: 20px 12px;
    }

    .goal-card {
        padding: 24px 20px;
        gap: 16px;
    }

    .goal-number {
        font-size: 1.8rem;
    }
}

@media (max-width: 400px) {
    .student-grid {
        grid-template-columns: 1fr;
        max-width: 220px;
    }
}
