/* ========================================
   字体定义
   ======================================== */
@font-face {
    font-family: Spezia;
    src: url(assets/spezia-ee875ecc.woff2) format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Spezia;
    src: url(assets/spezia-bold-f028592f.woff2) format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ========================================
   CSS 变量和全局重置
   ======================================== */
/* 暗色主题（默认） */
:root,
:root[data-theme="dark"] {
    --font-size-base: calc(0.036458333333333336 * 1vw);
    
    /* 暗色模式配色 */
    --color-bg: rgb(0, 0, 0);
    --color-text: rgb(255, 255, 255);
    --color-gray: rgb(156, 163, 175);
    --color-gray-light: rgb(107, 114, 128);
    --color-gray-lighter: rgb(209, 213, 219);
    --color-border: rgb(45, 45, 45);
    --color-border-light: rgba(255, 255, 255, 0.06);
    
    /* 卡片和背景 */
    --color-card-bg: rgba(15, 15, 15, 0.6);
    --color-card-border: rgba(255, 255, 255, 0.06);
    --color-card-hover-bg: rgba(20, 20, 20, 0.8);
    --color-card-hover-border: rgba(168, 139, 250, 0.15);
    
    /* 导航栏 */
    --color-navbar-bg: rgba(0, 0, 0, 0.8);
    
    /* 紫色强调色（保持不变） */
    --color-purple: rgb(168, 139, 250);
    --color-purple-hover: rgb(168, 139, 250);
    
    /* WebGL光晕效果（保留），取消运行时滤镜变色 */
    --logo-glow-1: rgba(255, 255, 255, 0.08);
    --logo-glow-2: rgba(168, 139, 250, 0.06);
    --logo-glow-3: rgba(99, 102, 241, 0.04);
    
    /* 社交图标 */
    --icon-color: rgba(255, 255, 255, 0.5);
    --icon-color-hover: rgba(255, 255, 255, 1);
    --icon-bg: rgba(255, 255, 255, 0.02);
    --icon-border: rgba(255, 255, 255, 0.1);
    --icon-border-hover: rgba(255, 255, 255, 0.3);
    --icon-glow: rgba(255, 255, 255, 0.1);
    
    --spacing-unit: 1rem;
}

/* 亮色主题 */
:root[data-theme="light"] {
    /* 亮色模式配色 */
    --color-bg: rgb(255, 255, 255);
    --color-text: rgb(17, 24, 39); /* 深灰黑 */
    --color-gray: rgb(55, 65, 81); /* 深灰色，确保在白色背景上可读 */
    --color-gray-light: rgb(107, 114, 128); /* 中等灰色 */
    --color-gray-lighter: rgb(156, 163, 175); /* 浅灰色 */
    --color-border: rgb(229, 231, 235);
    --color-border-light: rgba(0, 0, 0, 0.1);
    
    /* 卡片和背景 */
    --color-card-bg: rgba(249, 250, 251, 0.9);
    --color-card-border: rgba(0, 0, 0, 0.15);
    --color-card-hover-bg: rgba(243, 244, 246, 1);
    --color-card-hover-border: rgba(139, 92, 246, 0.4);
    
    /* 导航栏 */
    --color-navbar-bg: rgba(255, 255, 255, 0.8);
    
    /* 紫色强调色（稍微调深） */
    --color-purple: rgb(139, 92, 246);
    --color-purple-hover: rgb(124, 58, 237);
    
    /* WebGL光晕效果（保留），取消运行时滤镜变色 */
    --logo-glow-1: rgba(139, 92, 246, 0.12);
    --logo-glow-2: rgba(99, 102, 241, 0.08);
    --logo-glow-3: rgba(168, 139, 250, 0.06);
    
    /* 社交图标 */
    --icon-color: rgb(75, 85, 99);
    --icon-color-hover: rgb(17, 24, 39);
    --icon-bg: rgba(0, 0, 0, 0.03);
    --icon-border: rgba(0, 0, 0, 0.12);
    --icon-border-hover: rgba(139, 92, 246, 0.5);
    --icon-glow: rgba(139, 92, 246, 0.15);
}

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

html {
    font-size: var(--font-size-base);
}

html ::selection {
    background-color: var(--color-text);
    color: var(--color-bg);
}

body {
    margin: 0;
    user-select: none;
    overflow-y: scroll;
    overflow-x: hidden;
    background-color: var(--color-bg);
    font-family: Spezia, -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
    font-size: 32rem;
    line-height: 1.3125;
    color: var(--color-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
    opacity: 0.75;
}

ul {
    list-style: none;
}

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

button {
    font-family: inherit;
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0;
    font-size: inherit;
    transition: opacity 0.5s;
}

button:hover {
    opacity: 0.75;
}

/* ========================================
   动画定义
   ======================================== */
@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes skew-in {
    from {
        opacity: 0;
        transform: translateY(200%) skew(-20deg, 0deg) scaleY(1.5);
    }
    to {
        opacity: 1;
        transform: translateY(0%) skew(0deg, 0deg) scaleY(1);
    }
}

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

/* ========================================
   WebGL 容器
   ======================================== */
#webgl-container {
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    background-color: var(--color-bg);
}

#pixi-canvas {
    width: 100%;
    height: 100%;
}

/* ========================================
   主容器
   ======================================== */
#main-content {
    position: relative;
    z-index: 1;
    animation: fade-in 1s 1s both;
}

/* ========================================
   导航栏
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: var(--color-navbar-bg);
    backdrop-filter: blur(8px);
}

.navbar-content {
    max-width: 1920rem;
    margin: 0 auto;
    padding: 20rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-text {
    font-size: 18rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--color-text);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 32rem;
}

/* 主题切换按钮 */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40rem;
    height: 40rem;
    border-radius: 50%;
    background: var(--color-card-bg);
    border: 1px solid var(--color-border-light);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    background: var(--color-card-hover-bg);
    border-color: var(--color-card-hover-border);
    transform: scale(1.1);
}

.theme-toggle svg {
    width: 20rem;
    height: 20rem;
    color: var(--color-text);
    transition: all 0.3s;
}

.theme-icon {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s, transform 0.3s;
}

.theme-icon.hidden {
    opacity: 0;
    transform: scale(0) rotate(-90deg);
}

.contact-btn {
    font-size: 16rem;
    font-weight: 300;
}

.local-time {
    font-size: 14rem;
    font-weight: 300;
    color: var(--color-gray);
}

#clock {
    font-variant-numeric: tabular-nums;
}

/* ========================================
   Hero 区域
   ======================================== */
.hero-section {
    min-height: 100vh;
    padding-top: 112rem;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1920rem;
    margin: 0 auto;
    padding: 80rem 20rem;
    width: 100%;
}

.hero-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 96rem;
}

.logo-img {
    width: 512rem;
    height: 512rem;
    filter: none;  /* 改为使用静态SVG按主题切换 */
    will-change: transform;
}

.logo-fallback {
    filter: none;
    border-radius: 8rem;
}

.hero-titles {
    width: 100%;
}

.hero-grid-desktop {
    display: grid;
    grid-template-columns: repeat(24, minmax(0, 1fr));
    gap: 32rem;
}

.hero-grid-mobile {
    display: none;
}

.hero-title-main {
    grid-column: span 14 / span 14;
    grid-column-start: 1;
}

.hero-title-main h1 {
    font-size: 80rem;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: 0.01em;
}

.hero-subtitle {
    grid-column: span 10 / span 10;
    grid-column-start: 15;
    display: flex;
    align-items: flex-end;
}

.hero-subtitle p {
    font-size: 20rem;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: var(--color-gray);
}

.rainbow-text {
    background: linear-gradient(120deg, 
        #a78bfa 0%, 
        #818cf8 15%, 
        #6366f1 30%, 
        #8b5cf6 45%, 
        #a78bfa 60%,
        #818cf8 75%,
        #6366f1 90%,
        #a78bfa 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 300% 100%;
    animation: rainbow-flow 8s ease-in-out infinite;
}

@keyframes rainbow-flow {
    to { background-position: 200% 0; }
}

.italic {
    font-style: italic;
}

.font-normal {
    font-weight: 400;
}

.scroll-indicator {
    position: absolute;
    bottom: 40rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8rem;
    opacity: 0;
    animation: fade-in 1s 1.5s both, bounce 2s 2.5s infinite;
}

.scroll-text {
    font-size: 12rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gray-light);
}

.scroll-arrow {
    width: 24rem;
    height: 24rem;
    color: var(--color-gray-light);
}

/* ========================================
   Summary 区域
   ======================================== */
.summary-section {
    padding: 192rem 0;
}

.summary-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 40rem;
}

.summary-grid-desktop {
    display: grid;
    grid-template-columns: repeat(24, minmax(0, 1fr));
    gap: 64rem;
}

.summary-grid-mobile {
    display: none;
}

.summary-para-1 {
    grid-column: span 14 / span 14;
    grid-column-start: 1;
}

.summary-para-2 {
    grid-column: span 16 / span 16;
    grid-column-start: 5;
}

.summary-para-3 {
    grid-column: span 12 / span 12;
    grid-column-start: 13;
}

.large-text {
    font-size: 64rem;
    font-weight: 300;
    line-height: 1.125;
    letter-spacing: 0.02em;
}

.text-gray {
    color: var(--color-gray-lighter);
}

.text-gray-light {
    color: var(--color-gray);
}

.text-white {
    color: var(--color-text);
}

/* ========================================
   精选案例区域
   ======================================== */
.featured-section {
    padding: 192rem 0;
}

.featured-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 40rem;
}

.section-title {
    font-size: 40rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    margin-bottom: 128rem;
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 96rem;
}

/* 基础布局 - 奇数项（图左文右） */
.project-item {
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    gap: 60rem;
    align-items: start;
    padding-bottom: 80rem;
    position: relative;
}

/* 奇数项：图左文右 */
.project-item:nth-child(odd) .project-image {
    order: 1;
}

.project-item:nth-child(odd) .project-content {
    order: 2;
    margin-top: -20rem;
}

/* 偶数项：文左图右 */
.project-item:nth-child(even) {
    grid-template-columns: 1.2fr 2fr;
}

.project-item:nth-child(even) .project-content {
    order: 1;
    margin-top: 40rem;
}

.project-item:nth-child(even) .project-image {
    order: 2;
}

    
    .project-item:nth-child(even) .project-number,
    .project-item:nth-child(even) .project-content,
    .project-item:nth-child(even) .project-image {
        order: initial;
    }
    
    .project-item:nth-child(odd) .project-content,
    .project-item:nth-child(even) .project-content {
        margin-top: 0;
    }

.project-number {
    font-size: 18rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    color: var(--color-gray-light);
    margin-bottom: 16rem;
}

.project-content {
    display: flex;
    flex-direction: column;
    gap: 16rem;
}

.project-title {
    font-size: 52rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    transition: transform 0.5s cubic-bezier(0, 1, 0.2, 1);
}

.project-title:hover {
    transform: translateX(10rem);
}

.project-client {
    font-size: 24rem;
    font-weight: 300;
    color: var(--color-gray);
}

.project-desc {
    font-size: 20rem;
    font-weight: 300;
    line-height: 1.65;
    color: var(--color-gray-light);
}

.project-image {
    overflow: hidden;
    border-radius: 8rem;
    transition: transform 0.8s cubic-bezier(0, 1, 0.2, 1);
    animation: fade-in 1s 1s both;
}

/* 不规则图片尺寸 */
.project-item:nth-child(1) .project-image { aspect-ratio: 16 / 10; }
.project-item:nth-child(2) .project-image { aspect-ratio: 3 / 4; }
.project-item:nth-child(3) .project-image { aspect-ratio: 5 / 3; }
.project-item:nth-child(4) .project-image { aspect-ratio: 4 / 5; }
.project-item:nth-child(5) .project-image { aspect-ratio: 16 / 9; }
.project-item:nth-child(6) .project-image { aspect-ratio: 3 / 4; }
.project-item:nth-child(7) .project-image { aspect-ratio: 5 / 4; }

.project-image:hover {
    transform: scale(1.02);
}

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

/* ========================================
   服务能力区域
   ======================================== */
.capabilities-section {
    padding: 192rem 0;
}

.capabilities-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 40rem;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32rem 28rem;
    align-items: stretch;
}

.capability-card {
    background: var(--color-card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--color-card-border);
    border-radius: 16rem;
    padding: 40rem 32rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.capability-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top left, var(--logo-glow-2), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
}

.capability-card:hover::before {
    opacity: 1;
}

    
    .capability-card::before {
        display: none;
    }
    
    .capability-card:hover {
        transform: none;
        box-shadow: none;
    }

.capability-card:hover {
    border-color: var(--color-card-hover-border);
    background: var(--color-card-hover-bg);
    transform: translateY(-6rem) scale(1.02);
    box-shadow: 0 12rem 36rem var(--logo-glow-2), 0 4rem 16rem rgba(0, 0, 0, 0.2);
}

.capability-card h3 {
    font-size: 24rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    margin-bottom: 12rem;
    color: var(--color-text);
    transition: color 0.3s;
}

.capability-card:hover h3 {
    color: var(--color-purple-hover);
}

.capability-card p {
    font-size: 13rem;
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.04em;
    color: var(--color-gray-light);
    text-transform: uppercase;
    transition: color 0.3s;
}

.capability-card:hover p {
    color: var(--color-purple);
    opacity: 0.8;
}

/* ========================================
   合作伙伴区域
   ======================================== */
.clients-section {
    padding: 192rem 0;
}

.clients-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 40rem;
}

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

.client-card {
    text-align: center;
    padding: 32rem;
    border-radius: 8rem;
    font-size: 18rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    transition: all 0.5s;
    cursor: default;
}

.client-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: 128rem 0 80rem;
}

.footer-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 40rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80rem;
    margin-bottom: 80rem;
}

.footer-contact h3,
.footer-social h3 {
    font-size: 20rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    margin-bottom: 24rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16rem;
    color: var(--color-gray);
    font-weight: 300;
}

.contact-info p {
    font-size: 16rem;
    letter-spacing: 0.02em;
}

.social-icons {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16rem;
    margin-bottom: 32rem;
}

.social-icon {
    width: 48rem;
    height: 48rem;
    border-radius: 8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20rem;
    transition: all 0.5s;
}

.social-icon:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.footer-note {
    font-size: 13rem;
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.03em;
    color: var(--color-gray-light);
}

/* 新Footer样式 */
.footer-heading {
    font-size: 13rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 28rem;
    color: var(--color-gray);
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    margin-bottom: 16rem;
}

.contact-label {
    font-size: 12rem;
    font-weight: 300;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-gray-light);
}

.contact-value {
    font-size: 16rem;
    font-weight: 300;
    letter-spacing: 0.01em;
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-value:hover {
    color: var(--color-purple-hover);
}

.social-icons-new {
    display: flex;
    flex-wrap: wrap;
    gap: 16rem;
    margin-bottom: 32rem;
}

.social-icon-item {
    width: 44rem;
    height: 44rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--icon-color);
    background: var(--icon-bg);
    border: 1px solid var(--icon-border);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-icon-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--icon-glow);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.social-icon-item:hover {
    color: var(--icon-color-hover);
    border-color: var(--icon-border-hover);
    transform: translateY(-3rem) scale(1.05);
    box-shadow: 0 8rem 20rem var(--icon-glow);
}

.social-icon-item:hover::before {
    width: 100%;
    height: 100%;
}

.social-icon-item svg {
    position: relative;
    z-index: 1;
}

    
    .social-icon-item {
        width: 40rem;
        height: 40rem;
    }

.footer-copyright {
    padding-top: 48rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14rem;
    font-weight: 300;
    color: var(--color-gray);
    letter-spacing: 0.02em;
}

/* ========================================
   动画类
   ======================================== */
.fade-in-ani {
    opacity: 0;
    animation: fade-in 1.5s cubic-bezier(0, 1, 0.2, 1) both;
}

.skew-in-text {
    opacity: 0;
}

.skew-in-text.animated {
    animation: skew-in 1.5s cubic-bezier(0, 1, 0.2, 1) both;
}

/* Logo呼吸灯动画 + 光晕 */
.logo-blink {
    animation: logo-breathe 3s ease-in-out infinite, logo-glow 6s ease-in-out infinite;
}

/* 移动端简化动画以优化性能 */

@keyframes logo-breathe {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes logo-glow {
    0%, 100% {
        filter: drop-shadow(0 0 25rem var(--logo-glow-1)) 
                drop-shadow(0 0 50rem var(--logo-glow-2))
                drop-shadow(0 0 80rem var(--logo-glow-3));
    }
    33% {
        filter: drop-shadow(0 0 35rem var(--logo-glow-1)) 
                drop-shadow(0 0 70rem var(--logo-glow-2))
                drop-shadow(0 0 110rem var(--logo-glow-3));
    }
    66% {
        filter: drop-shadow(0 0 30rem var(--logo-glow-1)) 
                drop-shadow(0 0 60rem var(--logo-glow-2))
                drop-shadow(0 0 95rem var(--logo-glow-3));
    }
}

/* ========================================
   WebGL 图片类
   ======================================== */

/* ========================================
   社区板块
   ======================================== */
.community-section {
    position: relative;
    min-height: 2000rem;
    margin: 150rem 0;
    padding: 0 0;
    overflow: hidden;
    perspective: 2000rem;
    perspective-origin: 50% 50%;
}

.community-container {
    position: relative;
    max-width: 1920rem;
    margin: 0 auto;
    height: 100%;
}

/* 大标题居中 */
.community-title-wrapper {
    position: absolute;
    top: 493rem;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.community-title-content {
    text-align: center;
}

.community-hero-title {
    font-size: 90rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.05em;
    margin-bottom: 28rem;
    color: white;
    text-shadow: 0 0 40rem rgba(0, 0, 0, 0.8), 
                 0 4rem 20rem rgba(0, 0, 0, 0.6),
                 0 0 80rem rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 100;
}


.community-subtitle {
    font-size: 18rem;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.95);
    pointer-events: all;
    text-shadow: 0 0 30rem rgba(0, 0, 0, 0.9), 
                 0 2rem 15rem rgba(0, 0, 0, 0.7);
    position: relative;
    z-index: 100;
    display: inline-block;
    max-width: 800rem;
}


.highlight-number {
    font-size: 24rem;
    font-weight: 600;
    color: rgba(168, 139, 250, 1);
    background: linear-gradient(120deg, #c4b5fd, #a78bfa, #818cf8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15rem rgba(168, 139, 250, 0.6));
}

/* 艺术化图片布局容器 */
.community-gallery-artistic {
    position: absolute;
    top: -250rem;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    max-width: 200%;
    height: 1800rem;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
}

/* 背景图片样式 */
.community-bg-image {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}


/* CTA区域 */
.community-cta {
    position: absolute;
    top: 760rem;
    left: 0;
    right: 0;
    z-index: 100;
    text-align: center;
    padding: 60rem 0;
    pointer-events: all;
}


.cta-text {
    font-size: 20rem;
    line-height: 32rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28rem;
    text-shadow: 0 0 20rem rgba(0, 0, 0, 0.8), 
                 0 2rem 10rem rgba(0, 0, 0, 0.6);
}


.cta-button {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50rem;
    padding: 16rem 42rem;
    font-size: 17rem;
    font-weight: 400;
    font-family: Spezia, sans-serif;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    text-shadow: 0 0 10rem rgba(0, 0, 0, 0.5);
    box-shadow: 0 4rem 20rem rgba(0, 0, 0, 0.3);
}

.cta-button:hover {
    background: var(--color-purple);
    border-color: var(--color-purple-hover);
    color: white;
    transform: translateY(-3rem);
    box-shadow: 0 8rem 30rem var(--logo-glow-2);
}

/* ========================================
   移动端响应式布局优化
   ======================================== */

/* 平板设备 (768px - 1024px) */
@media (max-width: 1024px) {
    html {
        font-size: calc(0.055 * 1vw); /* 调整基础字体大小 */
    }
    
    /* Hero区域优化 */
    .hero-section {
        padding-top: 80rem;
    }
    
    .hero-logo {
        margin-bottom: 60rem;
    }
    
    .logo-img {
        width: 360rem;
        height: 360rem;
    }
    
    .hero-grid-desktop {
        grid-template-columns: 1fr;
        gap: 24rem;
    }
    
    .hero-title-main,
    .hero-subtitle {
        grid-column: span 1;
        grid-column-start: 1;
    }
    
    .hero-title-main h1 {
        font-size: 60rem;
    }
    
    .hero-subtitle {
        align-items: flex-start;
    }
    
    /* Summary区域优化 */
    .summary-section {
        padding: 120rem 0;
    }
    
    .summary-grid-desktop {
        grid-template-columns: 1fr;
        gap: 40rem;
    }
    
    .summary-para-1,
    .summary-para-2,
    .summary-para-3 {
        grid-column: span 1;
        grid-column-start: 1;
    }
    
    .large-text {
        font-size: 48rem;
    }
    
    /* Featured项目区域优化 */
    .featured-section {
        padding: 120rem 0;
    }
    
    .section-title {
        font-size: 32rem;
        margin-bottom: 80rem;
    }
    
    .projects-list {
        gap: 60rem;
    }
    
    .project-item,
    .project-item:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 24rem;
        padding-bottom: 40rem;
    }
    
    .project-item .project-image,
    .project-item .project-content,
    .project-item:nth-child(odd) .project-image,
    .project-item:nth-child(odd) .project-content,
    .project-item:nth-child(even) .project-image,
    .project-item:nth-child(even) .project-content {
        order: initial;
        margin-top: 0;
    }
    
    .project-title {
        font-size: 40rem;
    }
    
    .project-client {
        font-size: 20rem;
    }
    
    .project-desc {
        font-size: 18rem;
    }
    
    /* Capabilities技术矩阵优化 */
    .capabilities-section {
        padding: 120rem 0;
    }
    
    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24rem 20rem;
    }
    
    .capability-card {
        padding: 32rem 24rem;
    }
    
    .capability-card h3 {
        font-size: 20rem;
    }
    
    .capability-card p {
        font-size: 12rem;
    }
    
    /* Community社区区域优化 */
    .community-section {
        min-height: 1600rem;
        margin: 100rem 0;
    }
    
    .community-title-wrapper {
        top: 400rem;
    }
    
    .community-hero-title {
        font-size: 64rem;
        margin-bottom: 20rem;
    }
    
    .community-subtitle {
        font-size: 16rem;
        max-width: 600rem;
    }
    
    .highlight-number {
        font-size: 20rem;
    }
    
    .community-gallery-artistic {
        top: -200rem;
        height: 1400rem;
    }
    
    .community-cta {
        top: 680rem;
    }
    
    .cta-text {
        font-size: 18rem;
    }
    
    .cta-button {
        padding: 14rem 36rem;
        font-size: 16rem;
    }
    
    /* Footer优化 */
    .footer {
        padding: 80rem 0 60rem;
    }
    
    .footer-grid {
        gap: 60rem;
        margin-bottom: 60rem;
    }
    
    .footer-copyright {
        flex-direction: column;
        gap: 12rem;
        text-align: center;
    }
}

/* 手机设备 (小于 768px) */
@media (max-width: 768px) {
    html {
        font-size: calc(0.28 * 1vw); /* 移动端字体大小 */
    }
    
    body {
        font-size: 16rem;
    }
    
    /* 导航栏移动端优化 */
    .navbar-content {
        padding: 16rem;
    }
    
    .brand-text {
        font-size: 14rem;
    }
    
    .navbar-actions {
        gap: 20rem;
    }
    
    .contact-btn {
        font-size: 12rem;
    }
    
    .local-time {
        font-size: 11rem;
    }
    
    /* Hero区域移动端优化 */
    .hero-section {
        min-height: 100vh;
        padding-top: 60rem;
    }
    
    .hero-container {
        padding: 40rem 20rem;
    }
    
    .hero-logo {
        margin-bottom: 40rem;
    }
    
    .logo-img {
        width: 200rem;
        height: 200rem;
    }
    
    .hero-title-main h1 {
        font-size: 32rem;
        line-height: 1.2;
    }
    
    .hero-subtitle p {
        font-size: 14rem;
        line-height: 1.6;
    }
    
    .scroll-indicator {
        bottom: 24rem;
    }
    
    .scroll-text {
        font-size: 10rem;
    }
    
    .scroll-arrow {
        width: 20rem;
        height: 20rem;
    }
    
    /* Summary区域移动端优化 */
    .summary-section {
        padding: 80rem 0;
    }
    
    .summary-container {
        padding: 0 20rem;
    }
    
    .large-text {
        font-size: 24rem;
        line-height: 1.3;
    }
    
    /* Featured项目区域移动端优化 */
    .featured-section {
        padding: 80rem 0;
    }
    
    .featured-container {
        padding: 0 20rem;
    }
    
    .section-title {
        font-size: 24rem;
        margin-bottom: 48rem;
    }
    
    .projects-list {
        gap: 48rem;
    }
    
    .project-item,
    .project-item:nth-child(even) {
        gap: 20rem;
        padding-bottom: 32rem;
    }
    
    .project-number {
        font-size: 14rem;
        margin-bottom: 12rem;
    }
    
    .project-title {
        font-size: 28rem;
    }
    
    .project-client {
        font-size: 16rem;
    }
    
    .project-desc {
        font-size: 14rem;
        line-height: 1.6;
    }
    
    /* 移动端图片尺寸统一调整 */
    .project-item:nth-child(1) .project-image { aspect-ratio: 4 / 3; }
    .project-item:nth-child(2) .project-image { aspect-ratio: 4 / 3; }
    .project-item:nth-child(3) .project-image { aspect-ratio: 4 / 3; }
    .project-item:nth-child(4) .project-image { aspect-ratio: 4 / 3; }
    .project-item:nth-child(5) .project-image { aspect-ratio: 4 / 3; }
    .project-item:nth-child(6) .project-image { aspect-ratio: 4 / 3; }
    .project-item:nth-child(7) .project-image { aspect-ratio: 4 / 3; }
    
    /* Community社区区域移动端优化 */
    .community-section {
        min-height: 1200rem;
        margin: 60rem 0;
    }
    
    .community-title-wrapper {
        top: 300rem;
        padding: 0 20rem;
    }
    
    .community-hero-title {
        font-size: 36rem;
        margin-bottom: 16rem;
        text-shadow: 0 0 30rem rgba(0, 0, 0, 0.9), 
                     0 3rem 15rem rgba(0, 0, 0, 0.7);
    }
    
    .community-subtitle {
        font-size: 12rem;
        line-height: 1.7;
        max-width: 100%;
        padding: 0 10rem;
    }
    
    .highlight-number {
        font-size: 16rem;
    }
    
    .community-gallery-artistic {
        top: -150rem;
        width: 250%;
        height: 1000rem;
    }
    
    .community-bg-image {
        object-position: center 100rem;
    }
    
    .community-cta {
        top: 520rem;
        padding: 40rem 0;
    }
    
    .cta-text {
        font-size: 14rem;
        line-height: 24rem;
        margin-bottom: 20rem;
    }
    
    .cta-button {
        padding: 12rem 32rem;
        font-size: 14rem;
        border-radius: 40rem;
    }
    
    /* Capabilities技术矩阵移动端优化 */
    .capabilities-section {
        padding: 80rem 0;
    }
    
    .capabilities-container {
        padding: 0 20rem;
    }
    
    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 16rem;
    }
    
    .capability-card {
        padding: 24rem 20rem;
        border-radius: 12rem;
    }
    
    .capability-card h3 {
        font-size: 18rem;
        margin-bottom: 8rem;
    }
    
    .capability-card p {
        font-size: 11rem;
    }
    
    /* 移动端禁用hover效果 */
    .capability-card:hover {
        transform: none;
        box-shadow: none;
        border-color: rgba(255, 255, 255, 0.06);
        background: rgba(15, 15, 15, 0.6);
    }
    
    .capability-card:hover h3 {
        color: rgba(255, 255, 255, 0.95);
    }
    
    .capability-card:hover p {
        color: rgba(156, 163, 175, 0.7);
    }
    
    .capability-card::before {
        display: none;
    }
    
    /* Footer移动端优化 */
    .footer {
        padding: 60rem 0 40rem;
    }
    
    .footer-container {
        padding: 0 20rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40rem;
        margin-bottom: 40rem;
    }
    
    .footer-heading {
        font-size: 12rem;
        margin-bottom: 20rem;
    }
    
    .contact-item {
        margin-bottom: 12rem;
    }
    
    .contact-label {
        font-size: 11rem;
    }
    
    .contact-value {
        font-size: 14rem;
    }
    
    .social-icons-new {
        gap: 12rem;
        margin-bottom: 24rem;
    }
    
    .social-icon-item {
        width: 36rem;
        height: 36rem;
    }
    
    .social-icon-item svg {
        width: 16rem;
        height: 16rem;
    }
    
    /* 移动端禁用社交图标hover效果 */
    .social-icon-item:hover {
        transform: none;
        box-shadow: none;
    }
    
    .footer-note {
        font-size: 11rem;
    }
    
    .footer-copyright {
        padding-top: 32rem;
        font-size: 12rem;
        flex-direction: column;
        gap: 8rem;
        text-align: center;
    }
    
    /* Logo动画简化 */
    .logo-blink {
        animation: logo-breathe 3s ease-in-out infinite;
    }
    
    @keyframes logo-glow {
        0%, 100% {
            filter: drop-shadow(0 0 15rem rgba(255, 255, 255, 0.06)) 
                    drop-shadow(0 0 30rem rgba(168, 139, 250, 0.04));
        }
        50% {
            filter: drop-shadow(0 0 20rem rgba(255, 255, 255, 0.08)) 
                    drop-shadow(0 0 40rem rgba(168, 139, 250, 0.06));
        }
    }
}

/* 超小屏幕设备 (小于 480px) */
@media (max-width: 480px) {
    html {
        font-size: calc(0.35 * 1vw);
    }
    
    .hero-title-main h1 {
        font-size: 28rem;
    }
    
    .large-text {
        font-size: 20rem;
    }
    
    .project-title {
        font-size: 24rem;
    }
    
    .community-hero-title {
        font-size: 30rem;
    }
    
    .community-subtitle {
        font-size: 11rem;
    }
    
    .section-title {
        font-size: 20rem;
    }
}


