/* ===== Eonix-Inspired Design System ===== */
:root {
    --white: #ffffff;
    --black: #0a0a0a;
    --bg: #ffffff;
    --bg-light: #f5f5f5;
    --accent: #d4e157;
    --accent-dark: #c0ca33;
    --text: #0a0a0a;
    --text-secondary: #555555;
    --text-muted: #999999;
    --border: #e8e8e8;
    --border-light: #f0f0f0;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 999px;
    --font-serif: 'Playfair Display', 'Noto Serif SC', serif;
    --font-sans: 'Inter', 'Noto Sans SC', -apple-system, sans-serif;
    --max-width: 1380px;
    --nav-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

img, video {
-webkit-user-drag: none;
-khtml-user-drag: none;
-moz-user-drag: none;
-o-user-drag: none;
user-drag: none;
}

img {
pointer-events: none;
}

video {
pointer-events: auto;
}

/* ===== Particles Canvas (subtle) ===== */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
}

/* ===== Decorations (hidden for clean look) ===== */
.decorations {
    display: none;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 48px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
}

.navbar-inner {
    width: 100%;
    max-width: 1280px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--black);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-group {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--black);
}

.nav-icon-link {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.nav-icon-link:hover {
    color: var(--black);
}

.nav-wechat-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-wechat-popup {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 12px;
    padding: 16px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    text-align: center;
    z-index: 1001;
    white-space: nowrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 0.82rem;
    color: var(--text-primary);
}

.contact-item svg {
    flex-shrink: 0;
    color: var(--text-muted);
}

.nav-wechat-wrap:hover .nav-wechat-popup {
    display: block;
}

.nav-menu-btn {
    display: none;
    padding: 10px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    background: var(--white);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.nav-menu-btn:hover {
    background: var(--bg-light);
}

/* ===== Sections ===== */
.section {
    position: relative;
    z-index: 1;
    padding: 120px 48px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-header {
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-subtitle::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--text-muted);
}

.section-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--black);
    letter-spacing: -0.02em;
}

/* ===== Hero Section ===== */
.hero-section {
    padding-top: calc(var(--nav-height) + 80px);
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content {
    margin-bottom: 80px;
}

.hero-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.hero-title {
font-family: var(--font-sans);
font-size: clamp(3.5rem, 8vw, 6.5rem);
font-weight: 500;
line-height: 1.08;
letter-spacing: -0.02em;
color: var(--black);
margin-bottom: 48px;
}

.hero-title em,
.hero-title i {
font-family: var(--font-serif);
font-style: italic;
font-weight: 400;
}

/* Hero Inline Image Upload */
.hero-inline-image {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(60px, 8vw, 100px);
    height: clamp(60px, 8vw, 100px);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    vertical-align: middle;
    position: relative;
    transition: all 0.3s;
    background: var(--bg-light);
}

.hero-inline-image.has-image {
    border-color: transparent;
    background: transparent;
}

.hero-inline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.hero-inline-image img.has-image {
    display: block;
}

.hero-inline-image::before {
    content: '';
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-muted);
    position: absolute;
    transition: opacity 0.3s;
}

.hero-inline-image.has-image::before {
    display: none;
}

.hero-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--accent);
    color: var(--black);
    text-decoration: none;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s;
}

.hero-cta:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.hero-cta::after {
content: '→';
display: inline-flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
background: var(--black);
color: var(--white);
border-radius: 50%;
font-size: 1rem;
transition: transform 0.3s;
}

.hero-cta:hover::after {
transform: rotate(90deg);
}

.hero-desc {
    max-width: 280px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.hero-stats-left {
    display: flex;
    align-items: baseline;
    gap: 48px;
    flex-shrink: 0;
}

.hero-stat-item {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.hero-stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--black);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    font-style: italic;
}

.hero-stats-right {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 24px;
    background: #f5f5f5;
    padding: 18px 36px;
    border-radius: 16px;
}

.hero-stats-served {
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.hero-logo-item {
display: flex;
align-items: center;
position: relative;
overflow: hidden;
border-radius: 8px;
padding: 4px;
transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-logo-item .company-logo {
height: 36px;
width: 36px;
border-radius: 8px;
object-fit: contain;
filter: grayscale(100%);
opacity: 0.7;
transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
flex-shrink: 0;
}

.hero-logo-item .logo-info {
display: flex;
flex-direction: column;
max-width: 0;
overflow: hidden;
white-space: nowrap;
opacity: 0;
transform: translateX(-8px);
transition: max-width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
            opacity 0.4s ease 0.1s,
            transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s;
}

.hero-logo-item .logo-name {
font-size: 0.75rem;
font-weight: 500;
color: var(--black);
line-height: 1.3;
}

.hero-logo-item .logo-time {
font-size: 0.75rem;
color: #c8d84c;
line-height: 1.3;
}

.hero-logo-item:hover {
background: #ffffff;
padding: 8px 12px 8px 8px;
border-radius: 12px;
box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.hero-logo-item:hover .company-logo {
filter: grayscale(0%);
opacity: 1;
transform: scale(1.1);
}

.hero-logo-item:hover .logo-info {
max-width: 120px;
opacity: 1;
transform: translateX(0);
margin-left: 8px;
}

.hero-logo-divider {
    width: 1px;
    height: 24px;
    background: var(--border);
}

/* Hero Stats 移动端适配 */
@media (max-width: 1024px) {
    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .hero-stats-left {
        gap: 32px;
    }

    .hero-stats-right {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
        padding: 14px 20px;
    }
}

@media (max-width: 640px) {
    .hero-stats-left {
        flex-direction: column;
        gap: 16px;
    }

    .hero-stat-number {
        font-size: 2rem;
    }

    .hero-stats-right {
        border-radius: 16px;
        gap: 12px;
        padding: 12px 16px;
    }

    .hero-logo-item .company-logo {
        height: 28px;
    }

    .hero-logo-divider {
        height: 18px;
    }

    .hero-stats-served {
        width: 100%;
        text-align: center;
        margin-bottom: 4px;
    }
}

.desc-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.desc-bold {
    font-weight: 600;
    color: var(--black);
}

/* Hero Cards */
.hero-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.hero-card {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.hero-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.hero-card-1 {
    background: var(--accent);
}

.card-number {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

.hero-card-1 .card-number {
    color: var(--black);
}

.card-bottom {
    margin-top: auto;
}

.card-text {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.card-link {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.card-link:hover {
    color: var(--black);
}

.card-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

.feature-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

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

.card-stat {
    margin-top: auto;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.stat-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ===== Process Section ===== */
.process-section {
padding-top: 80px;
padding-bottom: 40px;
}

.process-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--black);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 280px 280px;
    gap: 12px;
    min-height: 560px;
}

.process-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-light);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
}

.process-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.process-card:nth-child(5) {
    background: #1a1a1a;
}

/* Layout positions */
.process-card:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / 3;
}

.process-card:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.process-card:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
}

.process-card:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
}

.process-card:nth-child(5) {
    grid-column: 3;
    grid-row: 2;
}

.process-card-accent {
    background: var(--accent);
}

.process-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.process-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.process-card-content {
    position: relative;
    z-index: 1;
    padding: 24px;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.process-card:has(.process-card-image) .process-card-content {
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    padding-top: 80px;
}

.process-card:has(.process-card-image) .process-card-title {
    color: #ffffff;
}

.process-card:has(.process-card-image) .process-card-desc {
    color: rgba(255,255,255,0.8);
}

.process-card-title {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--black);
}

.process-card-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.process-card:nth-child(5) .process-card-title {
    color: #ffffff;
}

.process-card:nth-child(5) .process-card-desc {
    color: rgba(255,255,255,0.6);
}

/* Get Started button - eonix style */
.process-card-cta {
    position: absolute;
    bottom: 24px;
    right: 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px 12px 22px;
    background: #1a1a1a;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    z-index: 2;
    text-decoration: none;
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
    cursor: pointer;
}

.process-card-cta:hover {
    background: #2a2a2a;
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.process-card-cta::after {
    content: '↗';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--accent);
    color: #0a0a0a;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 700;
    transition: transform 0.3s, background 0.3s;
}

.process-card-cta:hover::after {
    transform: rotate(45deg);
    background: #c8e600;
}

.process-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .process-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        min-height: auto;
    }

    .process-card:nth-child(1) {
        grid-column: 1 / 3;
        grid-row: 1;
        min-height: 240px;
    }

    .process-card:nth-child(2),
    .process-card:nth-child(3),
    .process-card:nth-child(4),
    .process-card:nth-child(5) {
        grid-column: auto;
        grid-row: auto;
        min-height: 200px;
    }
}

@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .process-card:nth-child(1) {
        grid-column: 1;
        min-height: 220px;
    }

    .process-title {
        font-size: 2.2rem;
    }

    .process-card {
        min-height: 180px;
    }
}

/* ===== Works Section ===== */
.works-section {
padding-top: 40px;
padding-bottom: 63px;
}

.works-filter {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    background: var(--white);
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn:hover {
    border-color: var(--black);
    color: var(--black);
}

.filter-btn.active {
    background: var(--black);
    border-color: var(--black);
    color: var(--white);
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.work-card {
    cursor: pointer;
    transition: transform 0.3s;
}

.work-card:hover {
    transform: translateY(-4px);
}

.work-card-media {
position: relative;
border-radius: var(--radius-lg);
overflow: hidden;
aspect-ratio: 16/9;
background: var(--bg-light);
}

.work-card-media img,
.work-card-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.work-card:hover .work-card-media img,
.work-card:hover .work-card-media video {
    transform: scale(1.03);
}

.work-card-cursor {
    position: absolute;
    top: 0;
    left: 0;
    width: 64px;
    height: 64px;
    background: var(--black);
    color: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s;
    will-change: transform;
    z-index: 2;
}

.work-card:hover .work-card-cursor {
    opacity: 1;
}

.work-card-info {
    padding: 20px 4px 0;
}

.work-card-category {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.work-card-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
}

.work-card-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.work-card-author {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 8px;
}

/* Tags on cards */
.work-card-tags {
display: flex;
gap: 8px;
margin-top: 12px;
flex-wrap: wrap;
align-items: center;
}

.work-card-date {
font-size: 0.75rem;
color: var(--text-muted);
margin-right: 4px;
}

.work-card-tag {
padding: 4px 12px;
background: var(--bg-light);
border-radius: var(--radius-full);
font-size: 0.75rem;
color: var(--text-secondary);
}

/* ===== Articles Section ===== */
.articles-section {
padding-top: 63px;
}

.articles-section .section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}


.articles-section .section-header-left .section-subtitle {
    text-align: left;
}

.articles-section .section-header-left .section-title {
    text-align: left;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
}

.articles-section .view-all-btn {
display: inline-flex;
align-items: center;
gap: 12px;
padding: 16px 32px;
background: var(--accent);
border-radius: var(--radius-full);
font-size: 0.95rem;
font-weight: 500;
color: var(--black);
text-decoration: none;
transition: all 0.3s;
white-space: nowrap;
margin-top: 12px;
}

.articles-section .view-all-btn:hover {
background: var(--accent-dark);
transform: translateY(-2px);
}

.articles-section .view-all-btn::after {
content: '→';
display: inline-flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
background: var(--black);
color: var(--white);
border-radius: 50%;
font-size: 1rem;
}

.articles-list {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 24px;
    align-items: stretch;
}

.article-card {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: all 0.3s;
}

.article-card:hover {
    transform: translateY(-4px);
}

.article-card-cover {
position: relative;
width: 100%;
aspect-ratio: 4 / 3;
border-radius: var(--radius-xl);
overflow: hidden;
background: var(--bg-light);
}

.article-card:hover .article-card-cover .work-card-cursor {
opacity: 1;
}

.article-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.article-card:hover .article-card-cover img {
    transform: scale(1.05);
}

.article-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 16px;
}

.article-card-category {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
}

.article-card-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--black);
    line-height: 1.4;
}

.article-card-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

.article-card-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.article-card-tags {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.article-card-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--black);
}

.article-card-excerpt {
    display: none;
}

.article-card-meta {
    display: none;
}

/* Articles responsive */
@media (max-width: 900px) {
    .articles-list {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .articles-section .section-header {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 600px) {
    .articles-list {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ===== Showcase (Video) Section ===== */
.showcase-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 48px;
    overflow: hidden;
    margin: 0;
    border-radius: 0;
    max-width: 100%;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: #1a1a1a;
}

.showcase-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.showcase-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
}

.showcase-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.showcase-subtitle {
    font-size: 0.85rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.showcase-quote {
    font-family: 'Playfair Display', 'Noto Serif SC', serif;
    font-size: 1.8rem;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.5;
    margin: 0 0 32px 0;
    padding: 0;
    border: none;
}

.showcase-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.showcase-author-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
}

.showcase-author-role {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Showcase Navigation */
.showcase-nav {
display: flex;
align-items: center;
justify-content: center;
gap: 16px;
margin-top: 32px;
}

.showcase-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    backdrop-filter: blur(4px);
}

.showcase-nav-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.7);
}

.showcase-nav-count {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    min-width: 50px;
    text-align: center;
}

/* Showcase 无视频时的占位样式 */
.showcase-section.no-video {
    background: #1a1a1a;
    min-height: 40vh;
}

@media (max-width: 768px) {
    .showcase-section {
        min-height: 50vh;
        padding: 60px 24px;
    }

    .showcase-quote {
        font-size: 1.3rem;
    }

    .showcase-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }
}

/* Showcase Admin Slide Items */
.showcase-slide-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 16px;
    background: var(--bg-light);
    position: relative;
}

.slide-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.slide-item-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.slide-remove-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--white);
    color: #e53935;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.slide-remove-btn:hover {
    background: #ffebee;
    border-color: #e53935;
}

.add-slide-btn {
    width: 100%;
    padding: 14px;
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    background: none;
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 8px;
}

.add-slide-btn:hover {
    border-color: var(--accent);
    color: var(--text);
    background: rgba(212, 225, 87, 0.05);
}

/* ===== About Section ===== */
.about-section {
    padding-top: 80px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-light);
    aspect-ratio: 4/3;
}

.about-media img,
.about-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-info {
    padding-top: 20px;
}

.about-name {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.about-slogan {
    font-size: 1rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 24px;
}

.about-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.about-team {
    margin-top: 32px;
}

.about-team h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

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

.team-member {
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--radius);
}

.team-member-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.team-member-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== Admin Section ===== */
.admin-section {
    padding-top: 80px;
}

.admin-panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.admin-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    padding: 0 32px;
}

.admin-tab {
    padding: 20px 24px;
    border: none;
    background: none;
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}

.admin-tab:hover {
    color: var(--text);
}

.admin-tab.active {
    color: var(--black);
    font-weight: 500;
}

.admin-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 24px;
    right: 24px;
    height: 2px;
    background: var(--black);
}

.admin-content {
    display: none;
    padding: 40px;
}

.admin-content.active {
    display: block;
}

/* Forms */
.upload-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-family: var(--font-sans);
    background: var(--white);
    transition: border-color 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--black);
}

.form-group textarea {
    resize: vertical;
}

.file-upload-area {
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.file-upload-area:hover {
    border-color: var(--accent);
    background: rgba(212, 225, 87, 0.03);
}

.upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.upload-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--text-muted);
}

.upload-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.upload-link {
    font-weight: 600;
    color: var(--black);
    text-decoration: underline;
}

.upload-hint {
    font-size: 0.8rem !important;
    color: var(--text-muted) !important;
}

.file-preview {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.file-preview .preview-item {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.file-preview .preview-item img,
.file-preview .preview-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.file-preview .preview-item .remove-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    background: var(--black);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 0.7rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.submit-btn {
    padding: 16px 40px;
    background: var(--black);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    align-self: flex-start;
}

.submit-btn:hover {
    background: #222;
    transform: translateY(-1px);
}

/* Rich Editor */
.rich-editor {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.editor-toolbar {
    display: flex;
    gap: 4px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-light);
    flex-wrap: wrap;
}

.toolbar-btn {
    padding: 6px 10px;
    border: none;
    background: none;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.2s;
}

.toolbar-btn:hover {
    background: var(--border);
}

.toolbar-select {
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.75rem;
    cursor: pointer;
    background: #fff;
    outline: none;
    height: 28px;
}

.toolbar-select:hover {
    border-color: #999;
}

.toolbar-color {
    width: 28px;
    height: 28px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 2px;
    cursor: pointer;
    background: none;
}

.toolbar-color:hover {
    border-color: #999;
}

.editor-content {
    min-height: 200px;
    padding: 16px;
    font-size: 0.9rem;
    line-height: 1.7;
    outline: none;
}

/* Member inputs */
.member-input {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
}

.member-input input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.85rem;
    outline: none;
}

.member-input input:focus {
    border-color: var(--black);
}

.add-member-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s;
}

.add-member-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
}

/* Manage section */
.manage-section {
    margin-bottom: 32px;
}

.manage-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.manage-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.manage-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--radius);
}

.manage-item-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.manage-item-title {
    font-weight: 500;
    font-size: 0.9rem;
}

.manage-item-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.manage-item-actions {
    display: flex;
    gap: 8px;
}

.manage-item-actions button {
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    background: var(--white);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.manage-item-actions .edit {
color: #1565c0;
border-color: #bbdefb;
}

.manage-item-actions .edit:hover {
background: #e3f2fd;
}

.manage-item-actions .delete,
.manage-item-actions .delete-btn {
color: #e53935;
border-color: #ffcdd2;
}

.manage-item-actions .delete:hover,
.manage-item-actions .delete-btn:hover {
background: #ffebee;
}

/* ===== Work Detail Page ===== */
.work-detail-page {
    position: relative;
    z-index: 1;
    padding: 120px 48px 60px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.detail-nav {
    margin-bottom: 40px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: all 0.2s;
}

.back-btn:hover {
    border-color: var(--black);
    color: var(--black);
}

.detail-header {
    margin-bottom: 40px;
}

.detail-category {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.detail-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.detail-meta {
    display: flex;
    gap: 24px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.detail-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    padding: 24px 32px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    margin-bottom: 40px;
}

/* Gallery - no gaps */
.detail-gallery {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.gallery-item {
    overflow: hidden;
    line-height: 0;
}

.gallery-item img {
    width: 100%;
    display: block;
}

.gallery-item video {
    width: 100%;
    display: block;
    background: #000;
}

/* Share link */
.detail-share {
    margin-top: 40px;
    padding: 20px 24px;
    background: var(--bg-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 16px;
}

.detail-share-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.detail-share-url {
    flex: 1;
    padding: 8px 14px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.8rem;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.copy-btn {
    padding: 8px 16px;
    background: var(--black);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.2s;
}

.copy-btn:hover {
    background: #333;
}

/* ===== Article Detail Page ===== */
.article-detail-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.article-detail-tag {
    display: inline-block;
    padding: 4px 14px;
    background: var(--accent, #e8f5e9);
    color: var(--accent-dark, #2e7d32);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.article-detail-cover {
    margin: 32px 0;
    border-radius: var(--radius);
    overflow: hidden;
}

.article-detail-cover img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
}

.article-detail-body {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-primary);
    margin-top: 24px;
}

.article-detail-body h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 2em 0 0.8em;
    color: var(--text-primary);
}

.article-detail-body h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 1.5em 0 0.6em;
    color: var(--text-primary);
}

.article-detail-body p {
    margin-bottom: 1.2em;
}

.article-detail-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 1.5em 0;
}

.article-detail-body ul,
.article-detail-body ol {
    padding-left: 1.5em;
    margin-bottom: 1.2em;
}

.article-detail-body li {
    margin-bottom: 0.5em;
}

.article-detail-body blockquote {
    border-left: 3px solid var(--text-muted);
    padding-left: 1em;
    margin: 1.5em 0;
    color: var(--text-secondary);
    font-style: italic;
}

.detail-description details,
.article-detail-body details {
    border: none;
    margin: 0.5rem 0;
    padding: 0;
}

.detail-description details summary,
.article-detail-body details summary {
    cursor: pointer;
    font-weight: bold;
    padding: 0.3rem 0;
    line-height: 1.4;
}

.detail-description details p,
.article-detail-body details p {
    margin: 0.3em 0;
    line-height: 1.5;
}

/* ===== Editor Table ===== */
.editor-table,
.detail-description table,
.article-detail-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.95rem;
}

.editor-table th,
.editor-table td,
.detail-description table th,
.detail-description table td,
.article-detail-body table th,
.article-detail-body table td {
    border: 1px solid #e0e0e0;
    padding: 8px 12px;
    text-align: left;
    min-width: 60px;
}

.editor-table th,
.detail-description table th,
.article-detail-body table th {
    background: #f5f5f5;
    font-weight: 600;
}

.editor-table tr:hover,
.detail-description table tr:hover,
.article-detail-body table tr:hover {
    background: #fafafa;
}

.editor-content .editor-table td,
.editor-content .editor-table th {
    cursor: text;
    outline: none;
}

.editor-content .editor-table td:focus,
.editor-content .editor-table th:focus {
    background: #e8f4fd;
}

/* ===== Footer ===== */
.footer {
    position: relative;
    z-index: 1;
    background: var(--black);
    color: var(--white);
    padding: 40px 48px;
    margin-top: 80px;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-brand {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.footer-copy {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

/* ===== Modal ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #fff;
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    padding: 3rem;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e5e5e5;
    background: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal-close:hover {
    background: #f5f5f5;
}

.modal-body h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.modal-body .article-meta {
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.modal-body .article-body {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
}

.modal-body .article-body img {
    max-width: 100%;
    border-radius: 12px;
    margin: 1.5rem 0;
}

/* ===== Toast ===== */
.toast-container {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    background: #1a1a1a;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    animation: toastIn 0.3s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.toast.error {
    background: #dc3545;
}

.toast.success {
    background: #1a1a1a;
}

@keyframes toastIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ===== Work Detail Page ===== */
.work-detail-page {
    min-height: 100vh;
    padding: 120px 4rem 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.detail-nav {
    margin-bottom: 3rem;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 100px;
    border: 1px solid #e5e5e5;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
}

.back-btn:hover {
    background: #f5f5f5;
}

.detail-header {
    margin-bottom: 3rem;
}

.detail-category {
    font-size: 0.8rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.detail-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.detail-meta {
    display: flex;
    gap: 2rem;
    color: #999;
    font-size: 0.85rem;
}

.detail-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 3rem;
    padding: 2rem;
    background: #f8f8f8;
    border-radius: 16px;
}

/* Gallery - no gaps */
.detail-gallery {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
}

.gallery-item {
    overflow: hidden;
    line-height: 0;
}

.gallery-item img {
    width: 100%;
    display: block;
}

.gallery-item video {
    width: 100%;
    display: block;
    background: #000;
}

/* Share */
.detail-share {
    margin-top: 3rem;
    padding: 1.5rem 2rem;
    background: #f8f8f8;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.detail-share-label {
    font-size: 0.85rem;
    color: #999;
    white-space: nowrap;
}

.detail-share-url {
    flex: 1;
    padding: 0.5rem 1rem;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 100px;
    font-size: 0.8rem;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.copy-btn {
    padding: 0.5rem 1.2rem;
    background: var(--accent);
    color: #1a1a1a;
    border: none;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.copy-btn:hover {
    filter: brightness(0.95);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }
    .hero-cards {
        grid-template-columns: 1fr 1fr;
    }
    .works-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 1.5rem;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-section {
        flex-direction: column;
    }
    .hero-cards {
        grid-template-columns: 1fr;
    }
    .works-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        flex-direction: column;
    }
    .work-detail-page {
        padding: 100px 1.5rem 60px;
    }
    .detail-title {
        font-size: 2.2rem;
    }
    .detail-share {
        flex-direction: column;
        border-radius: 16px;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 1.5rem 2rem;
        border-bottom: 1px solid #f0f0f0;
        flex-direction: column;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-group {
        flex-direction: column;
        gap: 0.5rem;
    }
}


/* ===== Works Header & Pagination ===== */
.works-header {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    position: relative;
}
.works-header .section-subtitle {
    width: 100%;
}
.works-header .section-title {
    flex: 1;
}
.works-pagination {
    display: flex;
    align-items: center;
    background: #d4e157;
    border-radius: 999px;
    padding: 8px 8px 8px 18px;
    gap: 8px;
}
.works-pagination .pg-info {
    font-size: 0.85rem;
    font-weight: 500;
    color: #000;
    white-space: nowrap;
}
.pg-btn {
    width: 38px;
    height: 38px;
    border: none;
    background: #000;
    color: #fff;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pg-btn:hover:not(.disabled) {
    background: #222;
    transform: scale(1.05);
}
.pg-btn.disabled {
    opacity: 0.25;
    cursor: not-allowed;
}

.articles-section .works-header {
    display: flex;
    align-items: flex-end;
    flex-wrap: nowrap;
}
.articles-section .works-header .section-header-left {
    flex: 1;
}

@media (max-width: 768px) {
    .articles-section .works-header {
        flex-wrap: nowrap;
        align-items: center;
    }
    .articles-section .works-header .section-header-left {
        flex: 1;
        min-width: 0;
    }
    .articles-section .works-header .section-header-left .section-subtitle {
        display: none;
    }
}
