/* ==========================================================================
   电力野外勘测与设计协同系统 - 产品展示落地页样式
   设计理念: Windows 11 Fluent UI 风格 / 磨砂玻璃 (Glassmorphism) / 暗碳科技感
   ========================================================================== */

/* 1. 变量与基础重置 */
:root {
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-display: 'Outfit', 'Montserrat', var(--font-sans);
    
    /* 颜色系统 */
    --color-bg-dark: #090d16;
    --color-bg-card: rgba(22, 28, 45, 0.45);
    --color-border-card: rgba(255, 255, 255, 0.08);
    --color-border-card-hover: rgba(0, 120, 212, 0.4);
    
    --color-primary: #0078d4;          /* Fluent 经典蓝 */
    --color-primary-hover: #1084e3;
    --color-primary-rgb: 0, 120, 212;
    
    --color-secondary: #f97316;        /* 活力橙 */
    --color-secondary-hover: #ea580c;
    
    --color-text-main: #f8fafc;
    --color-text-muted: #94a3b8;
    
    --color-success: #10b981;
    --color-danger: #ef4444;
    
    /* 动效 */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    background-color: var(--color-bg-dark);
}

body {
    font-family: var(--font-sans);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* 2. 按钮组件 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    gap: 0.5rem;
    white-space: nowrap;
}

.btn-lg {
    padding: 0.95rem 2.2rem;
    font-size: 1.05rem;
    border-radius: 10px;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    border-radius: 6px;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(var(--color-primary-rgb), 0.3);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--color-primary-rgb), 0.45);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.07);
    color: var(--color-text-main);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-download .btn-subtext {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.8;
}

.btn-download {
    flex-direction: column;
    line-height: 1.2;
}

.btn.disabled, button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* 3. 导航栏 (Navbar) */
.navbar-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background-color: rgba(9, 13, 22, 0.65);
    backdrop-filter: blur(16px);
    transition: var(--transition-smooth);
}

.navbar-wrapper.scrolled {
    background-color: rgba(9, 13, 22, 0.85);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--color-text-main);
}

.logo-img {
    height: 2.2rem;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-muted);
    position: relative;
    padding: 0.25rem 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-fast);
}

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

/* 4. 首屏 (Hero Section) */
.hero-section {
    padding-top: 9rem;
    padding-bottom: 6rem;
    position: relative;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--color-primary-rgb), 0.25) 0%, rgba(9, 13, 22, 0) 70%);
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.badge-tech {
    display: inline-flex;
    background: rgba(var(--color-primary-rgb), 0.15);
    color: #60a5fa;
    border: 1px solid rgba(var(--color-primary-rgb), 0.3);
    padding: 0.35rem 0.95rem;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.2rem;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 0.75rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: var(--transition-smooth);
}

.hero-mockup-container {
    position: relative;
    width: 100%;
    max-width: 550px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.desktop-card {
    position: relative;
    z-index: 1;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
}

.mobile-card {
    position: absolute;
    bottom: -1.5rem;
    left: -2rem;
    width: 160px;
    z-index: 2;
    padding: 0.35rem;
    background: rgba(22, 28, 45, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    transform: perspective(1000px) rotateY(15deg) rotateX(5deg);
}

.mobile-card .mockup-img {
    border-radius: 14px;
}

/* Hover 时双端联动微移 */
.hero-mockup-container:hover .desktop-card {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

.hero-mockup-container:hover .mobile-card {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-8px) scale(1.03);
    box-shadow: 0 25px 50px rgba(var(--color-primary-rgb), 0.35);
}

.mockup-img {
    border-radius: 10px;
    width: 100%;
}

/* 5. 核心功能卡片 (Features) */
.features-section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

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

.feature-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-card);
    padding: 2.5rem;
    border-radius: 16px;
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: var(--color-border-card-hover);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 15px rgba(var(--color-primary-rgb), 0.1);
}

.card-icon-wrapper {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 1px solid transparent;
}

.card-icon-wrapper svg {
    width: 1.75rem;
    height: 1.75rem;
}

.icon-blue {
    background: rgba(0, 120, 212, 0.15);
    color: #60a5fa;
    border-color: rgba(0, 120, 212, 0.3);
}

.icon-orange {
    background: rgba(249, 115, 22, 0.15);
    color: #f97316;
    border-color: rgba(249, 115, 22, 0.3);
}

.icon-green {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.3);
}

.icon-purple {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
    border-color: rgba(139, 92, 246, 0.3);
}

.card-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: var(--font-sans);
}

.card-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.card-bullets {
    list-style: none;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.card-bullets li {
    position: relative;
    padding-left: 1.25rem;
}

.card-bullets li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

/* 6. 协同工作流 (Workflow) */
.workflow-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--color-bg-dark) 0%, rgba(22, 28, 45, 0.2) 100%);
}

.workflow-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
    padding-top: 2rem;
}

.workflow-timeline::before {
    content: '';
    position: absolute;
    top: 3.5rem;
    left: 12.5%;
    width: 75%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-success) 100%);
    opacity: 0.3;
    z-index: 0;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.timeline-badge {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: #0f172a;
    border: 2px solid var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 1.5rem;
    box-shadow: 0 0 15px rgba(var(--color-primary-rgb), 0.2);
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-badge {
    transform: scale(1.15);
    background-color: var(--color-primary);
    box-shadow: 0 0 25px rgba(var(--color-primary-rgb), 0.5);
}

.timeline-content {
    padding: 0 0.5rem;
}

.step-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.step-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* 7. 下载中心 (Download Zone) */
.download-section {
    padding: 6rem 0;
    position: relative;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.download-card {
    background: rgba(22, 28, 45, 0.4);
    border: 1px solid var(--color-border-card);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.download-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-border-card-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.dl-brand-icon {
    width: 4rem;
    height: 4rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.dl-brand-icon svg {
    width: 100%;
    height: 100%;
}

.download-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.dl-version {
    font-size: 0.8rem;
    color: #60a5fa;
    background-color: rgba(96, 165, 250, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.dl-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    min-height: 4rem;
}

.qr-container {
    width: 8rem;
    height: 8rem;
    padding: 0.5rem;
    background-color: #ffffff;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.qr-svg {
    width: 100%;
    height: 100%;
}

.qr-card {
    justify-content: center;
    padding: 2rem;
}

.qr-card h3 {
    margin-bottom: 0.25rem;
}

.qr-tip-badge {
    font-size: 0.75rem;
    color: var(--color-success);
    background-color: rgba(16, 185, 129, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-top: 1rem;
    font-weight: 500;
}

/* 8. 页脚 (Footer) */
.footer-wrapper {
    background-color: #05080f;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 0;
    color: var(--color-text-muted);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand .brand-title {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-text-main);
    font-size: 1.1rem;
}

.brand-slogan {
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.footer-copyright {
    font-size: 0.85rem;
}

/* 9. Windows 11 Fluent 风格的下载配置模态弹窗 */
.fluent-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.fluent-modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.fluent-modal-card {
    background: rgba(26, 32, 48, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    backdrop-filter: blur(25px);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.fluent-modal-overlay.open .fluent-modal-card {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-main);
}

.modal-close-btn {
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-text-main);
}

.modal-close-btn svg {
    width: 1rem;
    height: 1rem;
}

.modal-body {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loading-state-icon {
    width: 3.5rem;
    height: 3.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.spinning-icon {
    width: 100%;
    height: 100%;
    animation: spin 1.5s linear infinite;
}

.spinning-icon circle {
    stroke-linecap: round;
}

.loading-status-wrap {
    width: 100%;
    text-align: center;
    margin-bottom: 1.5rem;
}

.loading-status-title {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--color-text-main);
}

.fluent-progress-bar {
    width: 100%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.fluent-progress-fill {
    height: 100%;
    background-color: var(--color-primary);
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
}

.loading-percentage {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.modal-meta-list {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.meta-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.meta-item:last-child {
    margin-bottom: 0;
}

.meta-item span {
    color: var(--color-text-muted);
}

.meta-item strong {
    color: var(--color-text-main);
    font-weight: 500;
}

.color-success {
    color: var(--color-success) !important;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: flex-end;
    background-color: rgba(0, 0, 0, 0.1);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 10. 响应式布局媒体查询 */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-mockup-container {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .desktop-card {
        transform: none !important;
    }
    
    .desktop-card:hover {
        transform: none !important;
    }
    
    .mobile-card {
        display: none; /* 移动端尺寸下首屏仅展示清晰的桌面工作台截图 */
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .workflow-timeline {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .workflow-timeline::before {
        display: none;
    }
    
    .timeline-item {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .timeline-badge {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .download-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .navbar-container {
        padding: 0 1rem;
    }
    
    .nav-menu {
        display: none; /* 简化移动端，若需要折叠菜单可由JS控制 */
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}

/* ==========================================================================
   11. 实景界面展示 (Gallery Section) 样式
   ========================================================================== */
.gallery-section {
    padding: 6rem 0;
    background-color: rgba(9, 13, 22, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.gallery-tab-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-text-muted);
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.gallery-tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-main);
    border-color: rgba(255, 255, 255, 0.2);
}

.gallery-tab-btn.active {
    background: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(var(--color-primary-rgb), 0.3);
}

.gallery-content {
    position: relative;
    width: 100%;
}

.gallery-item-wrap {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-item-wrap.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.gallery-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-card);
    border-radius: 16px;
    padding: 2.5rem;
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 3rem;
    align-items: center;
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.gallery-card.mobile-layout {
    grid-template-columns: 1fr 1.5fr;
}

.gallery-card.mobile-layout .gallery-img-container {
    display: flex;
    justify-content: center;
}

.gallery-img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-card.mobile-layout .gallery-img {
    max-width: 250px;
    border-radius: 12px;
}

.gallery-info h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--color-text-main);
}

.gallery-info p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .gallery-card, .gallery-card.mobile-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
    }
    
    .gallery-card.mobile-layout .gallery-img {
        max-width: 220px;
    }
}

/* ==========================================================================
   12. 更新历史 (Changelog Section) 样式
   ========================================================================== */
.changelog-section {
    padding: 6rem 0;
    position: relative;
}

.changelog-timeline {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    padding-left: 2.5rem;
}

.changelog-timeline::before {
    content: '';
    position: absolute;
    top: 0.5rem;
    left: 0.75rem;
    width: 2px;
    height: calc(100% - 1.5rem);
    background: linear-gradient(180deg, var(--color-primary) 0%, rgba(0, 120, 212, 0.05) 100%);
    opacity: 0.6;
}

.changelog-item {
    position: relative;
    margin-bottom: 3.5rem;
}

.changelog-item:last-child {
    margin-bottom: 0;
}

.changelog-item::before {
    content: '';
    position: absolute;
    left: -2.15rem;
    top: 0.35rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-bg-dark);
    border: 3px solid var(--color-primary);
    box-shadow: 0 0 10px rgba(var(--color-primary-rgb), 0.8);
    z-index: 2;
    transition: var(--transition-fast);
}

.changelog-item:hover::before {
    background-color: var(--color-primary);
    transform: scale(1.2);
}

.changelog-version-tag {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-main);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}

.badge-latest {
    font-size: 0.7rem;
    color: #ffffff;
    background-color: var(--color-success);
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    font-weight: 600;
    animation: pulse 2.5s infinite;
}

.changelog-date {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.changelog-details {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-card);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.changelog-details:hover {
    border-color: var(--color-border-card-hover);
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.changelog-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-text-main);
}

.changelog-list {
    list-style: none;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.changelog-list li {
    position: relative;
    padding-left: 1.25rem;
    line-height: 1.6;
}

.changelog-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1.1rem;
    top: -0.05rem;
}

.changelog-list li strong {
    color: var(--color-text-main);
    font-weight: 600;
}

@keyframes pulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; box-shadow: 0 0 8px rgba(16, 185, 129, 0.5); }
    100% { opacity: 0.8; }
}

/* ==========================================================================
   13. 页脚信息 (Footer Info) 与合规展示
   ========================================================================== */
.footer-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.footer-info a {
    color: var(--color-text-muted);
    transition: var(--transition-fast);
}

.footer-info a:hover {
    color: var(--color-primary-hover);
    text-decoration: underline;
}

.footer-info span {
    color: rgba(255, 255, 255, 0.4);
}

.info-item {
    display: flex;
    align-items: center;
}

/* 页脚排版微调，适配三栏横排 */
@media (min-width: 769px) {
    .footer-container {
        display: grid;
        grid-template-columns: 1.2fr 1fr 1fr;
        gap: 2rem;
        align-items: flex-start;
    }
    
    .footer-info {
        align-items: flex-start;
    }
    
    .footer-copyright {
        text-align: right;
        align-self: center;
    }
}

