/* 重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: #000000;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Logo样式 - 仅Web端显示 */
.page-logo {
    position: fixed;
    top: 20px;
    left: 30px;
    z-index: 1001;
    display: block;
    text-decoration: none;
}

.page-logo img {
    height: 35px;
    width: auto;
    border-radius: 6px;
    display: block;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    min-width: 300px;
    max-width: 450px;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 25px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: rgba(255, 215, 0, 0.2) 0px 10px 16px -8px, rgba(255, 215, 0, 0.15) 0px 20px 36px -14px;
    padding: 0.3em 1.5em;
    overflow: hidden;
}


.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 45px;
    position: relative;
    padding: 0;
    gap: 1.5em;
    flex-wrap: nowrap;
    min-width: 0;
}


.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.6em;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.nav-link {
    text-decoration: none !important;
    color: rgba(224, 224, 224, 0.8);
    font-weight: 400;
    font-size: 12px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    padding: 0.4em 1em;
    border-radius: 18px;
    width: auto;
    min-width: auto;
    white-space: nowrap;
    border: 1px solid transparent;
    border-bottom: none !important;
    background: rgba(40, 40, 40, 0.5);
    overflow: hidden;
    cursor: pointer;
    user-select: none;
}

.nav-link::after,
.nav-link::before {
    display: none !important;
}


.nav-link:hover {
    color: #FFD700;
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.4);
    border-bottom: none !important;
    text-decoration: none !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}


.nav-link:active {
    color: #FFD700;
    background: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.5);
    border-bottom: none !important;
    text-decoration: none !important;
    transform: scale(0.95);
    transition: all 0.1s ease;
}

.nav-link.active {
    color: #FFD700;
    background: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.5);
    border-bottom: none !important;
    text-decoration: none !important;
}


.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333333;
    margin: 3px 0;
    transition: 0.3s;
}













/* 移动端适配 */
@media (max-width: 768px) {
}

/* 主页横幅 */
.hero {
    min-height: 100vh;
    background: #000000;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(255, 215, 0, 0.06) 0%, transparent 50%);
    opacity: 0.6;
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
}

/* Company Name Styles */
.company-name {
    margin-bottom: 4px;
    font-family: 'Arial', sans-serif;
    font-weight: 400;
    font-size: clamp(0.7rem, 1.4vw, 1rem);
    color: #999999;
    overflow: hidden;
    line-height: 1;
    white-space: nowrap;
}

.company-name span {
    display: block;
    animation: reveal 1.5s cubic-bezier(0.77, 0, 0.175, 1) 0.2s both;
}

/* ZAPP Title Animation Styles */
.zapp-title {
    margin-bottom: 4px;
    font-family: 'Arial', sans-serif;
    font-weight: 900;
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #FFD700;
    overflow: hidden;
}

.zapp-title span {
    display: block;
    animation: reveal 1.5s cubic-bezier(0.77, 0, 0.175, 1) 0.5s both;
}

/* Slogan Styles */
.slogan {
    margin-bottom: 4px;
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 300;
    font-size: clamp(0.7rem, 1.4vw, 1rem);
    color: #999999;
    overflow: hidden;
    line-height: 1.3;
    white-space: normal;
    text-align: left;
    word-spacing: 0.05em;
    letter-spacing: 0.02em;
    max-width: 900px;
}

.slogan span {
    display: block;
    animation: reveal 1.5s cubic-bezier(0.77, 0, 0.175, 1) 0.8s both;
}

/* Hero left container - desktop default (vertical stack) */
.hero-left {
    display: flex;
    flex-direction: column;
}

@keyframes reveal {
    0% {
        transform: translate(0, 100%);
    }
    100% {
        transform: translate(0, 0);
    }
}

/* Sphere Animation Container - 响应式设计 */
.animation-wrapper {
    position: absolute;
    top: 50%;
    right: 0;
    width: 66.67%;
    height: 50%;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sphere-animation {
    width: 100%;
    height: 100%;
    max-width: 600px;
    max-height: 600px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sphere {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}

.sphere path {
    fill: url(#sphereGradient);
    stroke-width: 1px;
    stroke: rgba(80,80,80,.35);
    backface-visibility: hidden;
}

@media (min-width: 500px) {
    .sphere path {
        stroke-width: .4px;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    opacity: 0;
}








@keyframes lineMove {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100vw);
        opacity: 0;
    }
}


.hero-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 3;
    min-height: 100vh;
    gap: 0;
}

.hero-content {
    color: #FFD700;
    flex: 0 0 33.33%;
    max-width: 33.33%;
    padding-left: 40px;
    padding-right: 20px;
    z-index: 4;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
    margin-left: 0;
    box-sizing: border-box;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(50px);
    animation: heroTitleScroll 0.8s ease-out 0.3s forwards;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 400;
    margin-bottom: 24px;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(40px);
    animation: heroSubtitleScroll 0.8s ease-out 0.7s forwards;
    color: #888888;
}

.hero-description {
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    margin-bottom: 48px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(30px);
    animation: heroDescriptionScroll 0.8s ease-out 1.1s forwards;
    color: #888888;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
    align-items: center;
    width: auto;
    justify-content: flex-start;
    flex-shrink: 0;
    overflow: hidden;
}

.btn {
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    min-height: 56px;
    min-width: 160px;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.btn-primary {
    background: #FFD700;
    color: #000000;
    font-weight: 700;
    animation: reveal 1.5s cubic-bezier(0.77, 0, 0.175, 1) 1.1s both;
}

.btn-primary:hover {
    background: #FFED4E;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    font-weight: 600;
    animation: reveal 1.5s cubic-bezier(0.77, 0, 0.175, 1) 1.4s both;
}

.btn-secondary:hover {
    background: #FFD700;
    color: #000000;
    border-color: #FFD700;
    transform: translateY(-2px);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn:hover::before {
    left: 100%;
}


.btn:active {
    transform: scale(0.98);
    transition: transform 0.1s;
}


.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeInUp 1s ease 1s forwards;
}

.tech-animation {
    position: relative;
    width: 300px;
    height: 300px;
}

.tech-animation i {
    position: absolute;
    font-size: 3rem;
    color: rgba(0, 0, 0, 0.8);
    animation: float 3s ease-in-out infinite;
}

.tech-animation i:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.tech-animation i:nth-child(2) {
    top: 20%;
    right: 20%;
    animation-delay: 0.5s;
}

.tech-animation i:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 1s;
}

.tech-animation i:nth-child(4) {
    bottom: 20%;
    right: 20%;
    animation-delay: 1.5s;
}


/* 页面头部样式 */
.page-header {
    padding: 120px 0 80px;
    background: #000000;
    text-align: center;
}

.page-header-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #FFD700;
}

.page-header-content p {
    font-size: 1.2rem;
    color: #999999;
}

/* 通用部分样式 */
.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #FFD700;
}

.section-header p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* 关于我们 */
.about {
    padding: 0 0 120px;
    background: #000000;
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.about-text h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #FFD700;
}

.about-text p {
    margin-bottom: 30px;
    color: #e0e0e0;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 12px;
    background: linear-gradient(145deg, #1a1a1a 0%, #0a0a0a 50%, #1a1a1a 100%);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(200, 200, 200, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.05) 0%, 
        transparent 50%, 
        rgba(255, 215, 0, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: 16px;
}

.stat-item:hover {
    border-color: rgba(255, 215, 0, 0.2);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
    letter-spacing: 0.05em;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.about-animation {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 动画组件样式 */
#test-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 28rem;
    height: 28rem;
}

.square {
    position: relative;
    width: 4.5rem;
    height: 4.5rem;
    margin: 0.15rem;
    background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 50%, #1a1a1a 100%);
    border-radius: 10px;
    box-shadow: 0 4px 12px 0 rgba(255, 215, 0, 0.15), 0 2px 6px 0 rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

.square::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.05) 0%, 
        transparent 50%, 
        rgba(255, 215, 0, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 10px;
}

.square::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, 
        rgba(255, 215, 0, 0.1), 
        transparent, 
        rgba(255, 215, 0, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 10px;
    z-index: -1;
}

.square:hover::before {
    opacity: 1;
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.15) 0%, 
        rgba(255, 215, 0, 0.08) 50%, 
        rgba(255, 215, 0, 0.1) 100%);
}

.square:hover::after {
    opacity: 1;
    background: linear-gradient(45deg, 
        rgba(255, 215, 0, 0.3), 
        rgba(255, 215, 0, 0.1), 
        rgba(255, 215, 0, 0.3));
}

.square.red {
    /* 默认状态 - 保持card样式 */
    background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 50%, #1a1a1a 100%);
}

.square:hover {
    transform: translateY(-4px);
    background: linear-gradient(145deg,
        rgba(255, 215, 0, 0.3) 0%,
        rgba(255, 215, 0, 0.2) 50%,
        rgba(255, 215, 0, 0.25) 100%);
    box-shadow: 0 6px 15px 0 rgba(255, 215, 0, 0.3), 0 3px 8px 0 rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.5);
}

.square:hover::before {
    opacity: 1;
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.4) 0%, 
        rgba(255, 215, 0, 0.3) 50%, 
        rgba(255, 215, 0, 0.35) 100%);
}

.square:hover::after {
    opacity: 1;
    background: linear-gradient(45deg, 
        rgba(255, 215, 0, 0.6), 
        rgba(255, 215, 0, 0.4), 
        rgba(255, 215, 0, 0.6));
}

/* 服务 */
.services {
    padding: 20px 0;
    background: #000000;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.service-card {
    background: linear-gradient(145deg, #1a1a1a 0%, #0a0a0a 50%, #1a1a1a 100%);
    padding: 20px 16px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(200, 200, 200, 0.3);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.05) 0%, 
        transparent 50%, 
        rgba(255, 215, 0, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: 24px;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(255, 215, 0, 0.1), 
        transparent, 
        rgba(255, 215, 0, 0.1));
    border-radius: 26px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 215, 0, 0.2);
}

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

.service-card:hover::after {
    opacity: 1;
}

.service-icon {
    width: 88px;
    height: 88px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 32px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    display: none;
}

.service-icon i {
    font-size: 1.8rem;
    color: #ffffff;
    position: relative;
    z-index: 1;
    filter: none;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #FFD700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
}

.service-link {
    display: inline-block;
    margin-top: 24px;
    color: #FFD700;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 8px 16px;
    border-radius: 12px;
    background: rgba(100, 116, 139, 0.05);
    border: 1px solid rgba(100, 116, 139, 0.2);
    position: relative;
    z-index: 1;
}

.service-link:hover {
    color: #FFD700;
    background: rgba(74, 85, 104, 0.08);
    border-color: rgba(74, 85, 104, 0.25);
    transform: translateY(-1px);
}

/* 产品 */
.products {
    padding: 100px 0;
    background: #000000;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.product-card {
    background: linear-gradient(145deg, #1a1a1a 0%, #0a0a0a 50%, #1a1a1a 100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(200, 200, 200, 0.3);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.05) 0%, 
        transparent 50%, 
        rgba(255, 215, 0, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: 24px;
}

.product-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(255, 215, 0, 0.1), 
        transparent, 
        rgba(255, 215, 0, 0.1));
    border-radius: 26px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 215, 0, 0.2);
}

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

.product-card:hover::after {
    opacity: 1;
}

.product-image {
    height: 220px;
    background: linear-gradient(135deg,
        #64748B 0%,
        #475569 50%,
        #334155 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    animation: shimmer 3s ease-in-out infinite;
}

.product-image i {
    font-size: 3.5rem;
    color: #0f172a;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.product-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 32px 32px 20px;
    color: #FFD700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.product-card p {
    margin: 0 32px 20px;
    color: rgba(51, 51, 51, 0.9);
    line-height: 1.7;
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
}

.product-features {
    margin: 0 32px 32px;
    list-style: none;
}

.product-features li {
    padding: 10px 0;
    color: rgba(51, 51, 51, 0.85);
    position: relative;
    padding-left: 28px;
    font-size: 0.9rem;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.product-features li:hover {
    color: #e0e0e0;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #FFD700;
    font-weight: bold;
    font-size: 1rem;
    top: 8px;
}

/* 联系我们 */
.contact {
    padding: 20px 0;
    background: #000000;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 50%, #1a1a1a 100%);
    border-radius: 15px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 6px 15px 0 rgba(255, 215, 0, 0.3), 0 3px 8px 0 rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-icon i {
    color: #ffffff;
    font-size: 1.2rem;
}

.contact-details h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #FFD700;
}

.contact-details p {
    color: #e0e0e0;
    line-height: 1.6;
}

.contact-form {
    background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 50%, #1a1a1a 100%);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 12px 0 rgba(255, 215, 0, 0.15), 0 2px 6px 0 rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: #000000;
    color: #e0e0e0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 4px rgba(255, 215, 0, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* 彩色光环背景 */
#wrap {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    margin: 0 auto 0 auto;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

#lightings {
    bottom: -60px;
    position: absolute;
    width: 100%;
}

#lightings section {
    border-radius: 50%;
    height: 20px;
    width: 100%;
    position: relative;
    margin: auto;
}

#one {
    animation: one 5s ease-in-out infinite alternate;
}

@keyframes one { 
    from {
        box-shadow: 0 0 250px 20px #473C78;
    }
    to { 
        box-shadow: 0 0 100px 15px #F72A3B; 
    }
}

#two {
    width: 90%;
    animation: two 4s ease-in-out infinite alternate;
}

@keyframes two { 
    from {
        box-shadow: 0 0 250px 20px #18C499;
    }
    to { 
        box-shadow: 0 0 100px 15px #D8F05E; 
    }
}

#three {
    width: 80%;
    animation: three 3s ease-in-out infinite alternate;
}

@keyframes three { 
    from {
        box-shadow: 0 0 250px 20px #FFDD00;
    }
    to { 
        box-shadow: 0 0 100px 15px #3E33FF; 
    }
}

#four {
    width: 70%;
    animation: four 2s ease-in-out infinite alternate;
}

@keyframes four { 
    from {
        box-shadow: 0 0 250px 20px #781848;
    }
    to { 
        box-shadow: 0 0 100px 15px #F2BBE9; 
    }
}

#five {
    width: 60%;
    animation: five 1s ease-in-out infinite alternate;
}

@keyframes five { 
    from {
        box-shadow: 0 0 250px 20px #42F2A1;
    }
    to { 
        box-shadow: 0 0 100px 15px #F4F6AD; 
    }
}

/* 页脚 */
.footer {
    background: #000000;
    color: #e0e0e0;
    padding: 80px 0 24px;
    border-top: 1px solid #333333;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 24px;
    gap: 60px;
}

.footer-left {
    flex: 0 0 35%;
    max-width: 400px;
}

.footer-right {
    flex: 1;
}

.footer-columns {
    display: flex;
    gap: 40px;
    justify-content: flex-end;
}

.footer-column {
    flex: 0 0 auto;
}

.company-info {
    margin-bottom: 20px;
}

.footer-section h3,
.footer-section h4,
.footer-column h4,
.company-info h3 {
    margin-bottom: 12px;
    color: #e0e0e0;
    font-size: 0.9rem;
    font-weight: 600;
}

.footer-section p,
.company-info p {
    color: #999999;
    line-height: 1.5;
    margin-bottom: 8px;
    font-size: 0.8rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li,
.footer-column ul li {
    margin-bottom: 6px;
}

.footer-section ul li a,
.footer-column ul li a {
    color: #999999;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.8rem;
}

.footer-section ul li a:hover,
.footer-column ul li a:hover {
    color: #FFD700;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-info span {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.8rem;
    color: #999999;
    line-height: 1.5;
}

.contact-info i {
    width: 14px;
    min-width: 14px;
    text-align: center;
    color: #FFD700;
    font-size: 0.7rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-info .address-text {
    display: inline;
    text-align: left;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-links a {
    width: 32px;
    height: 32px;
    background: #e0e0e0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.social-links a:hover {
    background: #FFD700;
    color: #000000;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333333;
    color: #999999;
    font-size: 0.8rem;
}


/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 简单向上滚动动画 */
@keyframes heroTitleScroll {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroSubtitleScroll {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroDescriptionScroll {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroButtonsScroll {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Apple风格响应式断点系统 */
/* 大屏幕 (1200px+) */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
    
    .hero-container {
        gap: 100px;
    }
    
    .hero-content {
        flex: 0 0 33.33%;
        max-width: 33.33%;
        margin-left: 0;
        padding-left: 40px;
        padding-right: 20px;
    }
    
    .animation-wrapper {
        width: 66.67%;
        height: 55%;
        right: 0;
    }
    
    .sphere-animation {
        max-width: 700px;
        max-height: 700px;
    }
}

/* 中等屏幕 (992px - 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
    .container {
        max-width: 960px;
    }
    
    .hero-container {
        gap: 80px;
    }
    
    .nav-menu {
        gap: 40px;
    }
}

/* 平板 (768px - 991px) */
@media (max-width: 991px) and (min-width: 769px) {
    .container {
        max-width: 720px;
    }
    
    .hero-container {
        gap: 40px;
    }
    
    .nav-menu {
        gap: 32px;
    }
    
    .hero-content {
        flex: 0 0 33.33%;
        max-width: 33.33%;
        margin-left: 0;
        padding-left: 30px;
        padding-right: 15px;
    }
    
    .animation-wrapper {
        right: 0;
        width: 66.67%;
    }
}

/* 手机 (最大768px) */
@media (max-width: 768px) {
    /* 移动端隐藏Logo */
    .page-logo {
        display: none;
    }

    .navbar {
        top: 10px;
        left: 16px;
        right: 16px;
        width: calc(100% - 32px);
        max-width: none;
        min-width: auto;
        transform: none;
        padding: 0.3em 1.2em;
    }

    .hamburger {
        display: none;
    }

    .nav-menu {
        display: flex;
        gap: 0.4em;
    }

    .nav-link {
        font-size: 13px;
        padding: 0.45em 1em;
    }

    .nav-link:hover {
        transform: translateY(-1px);
        box-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
    }

    .nav-link:active {
        transform: scale(0.98);
    }

    /* Hero区域移动端布局：文字 → 按钮 → 球体 */
    .hero {
        display: flex;
        flex-direction: column;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        min-height: auto;
        padding: 160px 20px 0;
        gap: 0;
        order: 1;
    }

    .hero-content {
        flex: 1;
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 50px;
        margin-left: 0;
        margin-bottom: 0;
        color: #FFD700;
        display: flex;
        flex-direction: column;  /* Vertical layout for mobile */
        gap: 14px;
        align-items: center;
    }

    /* Company name + ZAPP title wrapper */
    .hero-left {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .company-name {
        font-size: clamp(0.85rem, 2.2vw, 1.1rem);
        margin-bottom: 4px;
        text-align: center;
    }

    .zapp-title {
        font-size: clamp(2.2rem, 5.5vw, 3rem);
        margin-bottom: 8px;
        text-align: center;
    }

    /* Slogan */
    .slogan {
        font-size: clamp(0.85rem, 2vw, 1.2rem);
        margin-bottom: 0;
        max-width: 700px;
        text-align: center;
        word-spacing: 0.05em;
        letter-spacing: 0.02em;
        line-height: 1.6;
    }
    

    .hero-title {
        font-size: 2rem;
        color: #FFD700;
    }

    .hero-subtitle {
        color: #999999;
    }

    .hero-description {
        color: #999999;
    }

    .hero-buttons {
        flex-direction: row;
        align-items: center;
        gap: 16px;
        width: auto;
        justify-content: center;
        flex-wrap: wrap;
        order: 2;
        margin: 22px 0 16px;
    }

    .btn {
        width: auto;
        max-width: 150px;
        padding: 15px 26px;
        font-size: 13px;
        min-height: 46px;
        min-width: 130px;
    }

    /* Sphere Animation Mobile Styles - 放在最下面 */
    .animation-wrapper {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        height: 300px;
        transform: none;
        margin: 0;
        padding: 35px 0 20px;
        order: 3;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .sphere-animation {
        max-width: 300px;
        max-height: 300px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 0 24px;
    }

    .about {
        padding: 30px 0;
    }

    /* 方块动画移动端优化 */
    #test-wrapper {
        width: 22rem;
        height: 22rem;
    }

    .square {
        width: 3.5rem;
        height: 3.5rem;
        margin: 0.15rem;
    }
    
    .about-text h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
        margin-top: 20px;
    }

    .about-text h3:first-of-type {
        margin-top: 0;
    }

    .about-text p {
        font-size: 0.9rem;
        line-height: 1.8;
        margin-bottom: 20px;
    }

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

    .section-header h2 {
        font-size: 1.75rem;
        margin-bottom: 16px;
    }

    .section-header p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .stats {
        justify-content: center;
        gap: 16px;
        margin-top: 24px;
    }

    .stat-item {
        text-align: center;
        padding: 16px 12px;
    }

    .stat-item h4 {
        font-size: 1.75rem;
        margin-bottom: 8px;
    }

    .stat-item p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-info {
        order: 1;
    }

    .contact-map {
        order: 2;
    }

    .contact-item {
        padding: 16px;
        margin-bottom: 12px;
    }

    .contact-details h3 {
        font-size: 1rem;
        margin-bottom: 6px;
    }

    .contact-details p {
        font-size: 0.9rem;
    }

    .contact-icon {
        font-size: 1.25rem;
    }

    .services {
        padding: 20px 0;
    }

    .services .section-header {
        padding-top: 160px;
    }

    .services-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
        padding: 0 24px;
    }
    
    .footer-left {
        flex: none;
        max-width: none;
    }
    
    .footer-right {
        flex: none;
    }
    
    .footer-columns {
        justify-content: center;
        gap: 24px;
        flex-wrap: wrap;
    }
    
    .footer-section {
        margin-bottom: 24px;
    }
    
    .footer-section h3,
    .footer-section h4 {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    
    .footer-section p {
        font-size: 0.75rem;
        line-height: 1.5;
    }
    
    .social-links {
        justify-content: center;
        gap: 20px;
    }
    
    .footer-bottom {
        padding-top: 20px;
        font-size: 0.7rem;
    }
    
    .contact-info {
        gap: 12px;
    }

    .contact-info span {
        font-size: 0.75rem;
        gap: 8px;
        align-items: flex-start;
        line-height: 1.6;
        text-align: left;
    }

    .contact-info i {
        width: 16px;
        min-width: 16px;
        font-size: 0.75rem;
        margin-top: 3px;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .service-card,
    .product-card {
        margin: 0 10px;
    }

    .contact-form {
        padding: 20px;
    }

    /* Hero区域小屏幕布局优化 */
    .hero-container {
        padding: 160px 15px 0;
    }

    .hero-content {
        gap: 12px;
        padding-top: 50px;
    }

    .hero-buttons {
        margin: 20px 0 14px;
    }

    .btn {
        max-width: 145px;
        padding: 14px 24px;
        font-size: 12px;
        min-height: 44px;
        min-width: 125px;
    }

    /* Sphere Animation Small Mobile Styles */
    .animation-wrapper {
        height: 250px;
        padding: 30px 0 15px;
    }

    .sphere-animation {
        max-width: 250px;
        max-height: 250px;
    }

    .hero-title {
        font-size: 1.75rem;
        color: #FFD700;
    }

    .company-name {
        font-size: clamp(0.8rem, 2.2vw, 1.05rem);
        margin-bottom: 4px;
        text-align: center;
    }

    .zapp-title {
        font-size: clamp(1.9rem, 5.5vw, 2.6rem);
        margin-bottom: 6px;
        text-align: center;
    }

    .slogan {
        font-size: clamp(0.8rem, 2vw, 1.1rem);
        margin-bottom: 4px;
        max-width: 600px;
        text-align: center;
        word-spacing: 0.05em;
        letter-spacing: 0.02em;
        line-height: 1.6;
    }

    .about {
        padding: 25px 0;
    }

    .about-text h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
        margin-top: 18px;
    }

    .about-text h3:first-of-type {
        margin-top: 0;
    }

    .about-text p {
        font-size: 0.85rem;
        line-height: 1.75;
        margin-bottom: 18px;
    }

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

    .section-header h2 {
        font-size: 1.6rem;
        margin-bottom: 14px;
    }

    .section-header p {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    /* 方块动画小屏幕优化 */
    #test-wrapper {
        width: 18rem;
        height: 18rem;
    }

    .square {
        width: 3rem;
        height: 3rem;
        margin: 0.1rem;
    }

    .stat-item {
        padding: 14px 10px;
    }

    .stat-item h4 {
        font-size: 1.5rem;
        margin-bottom: 6px;
    }

    .stat-item p {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .stats {
        margin-top: 20px;
        gap: 10px;
    }

    .contact-item {
        padding: 12px;
        margin-bottom: 10px;
    }

    .contact-details h3 {
        font-size: 0.9rem;
    }

    .contact-details p {
        font-size: 0.85rem;
    }

    .contact-icon {
        font-size: 1.1rem;
    }

    .page-header {
        padding: 190px 0 80px;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .page-header p {
        font-size: 0.9rem;
    }
}

/* 小屏幕手机 (最大480px) */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 16px;
    }
    
    .hero-container {
        padding: 100px 16px 40px;
    }
    
    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 16px;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 16px;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 32px;
    }
    
    .btn {
        padding: 14px 20px;
        font-size: 12px;
        min-height: 40px;
        min-width: 100px;
    }
    
    .container {
        padding: 0 16px;
    }

    .services {
        padding: 20px 0;
    }

    .services .section-header {
        padding-top: 160px;
    }

    .page-header {
        padding: 190px 0 80px;
    }

    /* 返回顶部按钮移动端样式 */
    .back-to-top-btn {
        right: 20px !important;
        bottom: 20px !important;
        width: 45px !important;
        height: 45px !important;
        font-size: 16px !important;
    }
}

/* Apple风格微交互和动画 */

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 按钮悬停效果 */
.btn {
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.btn:hover::before {
    left: 100%;
}


.btn:active {
    transform: scale(0.98);
    transition: transform 0.1s;
}

/* 导航链接悬停效果 */
.nav-link {
    position: relative;
    overflow: hidden;
}


/* 卡片悬停效果 */
.service-card,
.product-card {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateZ(0);
    backface-visibility: hidden;
}

.service-card:hover,
.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* 页面加载动画 */
@keyframes pageLoad {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.loaded {
    animation: pageLoad 0.6s ease-out;
}

/* 滚动时的视差效果 */
.hero {
    background-attachment: fixed;
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    .btn:active {
        transform: scale(0.95);
    }
    
    .service-card:active,
    .product-card:active {
        transform: scale(0.98);
    }
}

/* 减少动画（用户偏好） */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* 页面滚动平滑效果 */
* {
    scroll-behavior: smooth;
}

body {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* 增强滚动平滑效果 */
html {
    scroll-padding-top: 80px;
}

/* 为所有可滚动元素添加平滑滚动 */
section, .container, .hero, .about, .services, .products, .contact {
    scroll-behavior: smooth;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 1px;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: #FFD700;
    border-radius: 0.5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
}

/* 加载动画 */
.loading {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

/* 按钮悬停效果 */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

