/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary-color: #d4af37; /* 暗金色 */
    --secondary-color: #ffd700; /* 金色 */
    --accent-color: #b8860b; /* 暗棕色 */
    --background-color: #121212; /* 深黑色 */
    --text-color: #ffffff; /* 白色文字 */
    --light-text: #fff;
    --dark-text: #222;
    --border-color: #333333;
    --shadow-color: rgba(212, 175, 55, 0.3); /* 金色阴影 */
    --gradient-start: #d4af37;
    --gradient-end: #ffd700;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
    background: linear-gradient(to bottom, #000000, #121212);
}

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

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: var(--dark-text);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px var(--primary-color);
    animation: glow 1.5s infinite;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    text-shadow: var(--gold-glow);
    animation: textShimmer 3s infinite;
}

.underline {
    height: 4px;
    width: 60px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: 2px;
}

/* 导航栏样式 */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
}

header.scrolled {
    background-color: rgba(18, 18, 18, 0.95);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.2);
    padding: 15px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: var(--transition);
    text-shadow: var(--gold-glow);
    animation: textShimmer 3s infinite;
}

.logo a:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}

.nav-links {
    display: flex;
    justify-content: space-around;
    width: 40%;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
    text-shadow: var(--gold-glow);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px;
    transition: var(--transition);
}

/* 英雄区域样式 */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1639322537228-f710d846310a?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    position: relative;
    border-bottom: 1px solid var(--primary-color);
}

.hero-content {
    max-width: 800px;
    margin-bottom: 50px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    line-height: 1.6;
    color: var(--light-text);
}

.stats {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-item h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.stat-item span {
    font-size: 0.9rem;
    opacity: 0.8;
}

.crypto-ticker {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    overflow: hidden;
    padding: 15px 0;
}

.ticker-item {
    display: flex;
    align-items: center;
    padding: 0 20px;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
}

.ticker-item .price {
    margin-left: 10px;
    color: var(--secondary-color);
}

@keyframes ticker {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* 关于我们部分 */
.about {
    padding: 100px 20px;
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.about-content {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.about-content p {
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 1.1rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.grid-item {
    background-color: rgba(26, 26, 26, 0.8);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: var(--transition);
}

.grid-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
    border-color: var(--primary-color);
}

.grid-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.grid-item h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.grid-item p {
    color: #666;
    line-height: 1.6;
}

/* 服务部分 */
.services {
    padding: 100px 20px;
    background-color: var(--dark-color);
    position: relative;
    overflow: hidden;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: rgba(26, 26, 26, 0.8);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.3);
    border-color: var(--primary-color);
}

.service-icon {
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

.service-icon i {
    font-size: 3rem;
    color: white;
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.service-content h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    font-weight: 500;
}

.service-content p {
    color: #666;
    line-height: 1.6;
}

/* 研究部分 */
.research {
    padding: 100px 20px;
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

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

.research-text h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.research-text p {
    margin-bottom: 30px;
    line-height: 1.6;
    color: #666;
}

.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.image-container img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

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

.tech-stack {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.tech-stack h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.tech-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.tech-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    width: 120px;
}

.tech-icon:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(108, 92, 231, 0.2);
}

.tech-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.tech-icon span {
    font-size: 0.9rem;
    color: var(--dark-color);
}

/* 合作伙伴部分 */
.partners {
    padding: 100px 20px;
    background-color: var(--dark-color);
    position: relative;
    overflow: hidden;
}

.partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.partner-logo {
    width: 180px;
    height: 100px;
    background-color: rgba(26, 26, 26, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: var(--transition);
}

.partner-logo:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.3);
    border-color: var(--primary-color);
}

.placeholder-logo {
    color: #aaa;
    font-weight: 600;
    font-size: 1.1rem;
}

/* 联系我们部分 */
.contact {
    padding: 100px 20px;
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.contact-container {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
}

.world-map-container {
    width: 100%;
    height: 400px;
    position: relative;
    margin-bottom: 50px;
    background-image: url('https://cdn.jsdelivr.net/npm/world-map-svg@1.0.0/world-map.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: brightness(0.8) sepia(0.2) hue-rotate(10deg);
}

.map-location {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary-color);
    transform: translate(-50%, -50%);
    cursor: pointer;
    box-shadow: 0 0 0 rgba(212, 175, 55, 0.6);
    animation: pulse 2s infinite;
}

.map-location::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--primary-color);
    z-index: -1;
    opacity: 0.6;
    animation: ripple 2s infinite;
}

.map-location.active {
    background-color: var(--secondary-color);
    box-shadow: 0 0 20px var(--secondary-color);
}

.map-location:nth-child(1) { top: 40%; left: 75%; animation-delay: 0s; } /* 上海 */
.map-location:nth-child(2) { top: 35%; left: 25%; animation-delay: 0.4s; } /* 纽约 */
.map-location:nth-child(3) { top: 40%; left: 80%; animation-delay: 0.8s; } /* 香港 */
.map-location:nth-child(4) { top: 45%; left: 60%; animation-delay: 1.2s; } /* 阿曼 */
.map-location:nth-child(5) { top: 50%; left: 77%; animation-delay: 1.6s; } /* 新加坡 */

.location-info {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(26, 26, 26, 0.9);
    border: 1px solid var(--primary-color);
    padding: 15px 30px;
    border-radius: 5px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.location-info.active {
    opacity: 1;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 20px;
}

.info-item p {
    font-size: 1.1rem;
    color: #666;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    transition: var(--transition);
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(108, 92, 231, 0.3);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 10px rgba(108, 92, 231, 0.2);
}

.form-group textarea {
    height: 150px;
    resize: none;
}

/* 页脚部分 */
footer {
    background-color: #0a0a0a;
    color: white;
    padding: 70px 20px 20px;
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto 50px;
}

.footer-logo h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.footer-logo p {
    color: #aaa;
}

.footer-links {
    display: flex;
    gap: 50px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #aaa;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1200px;
    margin: 0 auto;
    color: #aaa;
    font-size: 0.9rem;
}

/* 动画效果 */
.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* 特效样式 */

/* 文字闪动效果 */
@keyframes shimmer {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 100% 0;
    }
}

.reveal-text.focus-in {
    background: linear-gradient(90deg, var(--background-color), var(--primary-color), var(--secondary-color), var(--primary-color), var(--background-color));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmer 4s infinite linear;
}

/* 两边聚中效果 */
@keyframes converge {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes converge-right {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.converge-left {
    animation: converge 1s forwards;
}

.converge-right {
    animation: converge-right 1s forwards;
}

/* 金色光晕效果 */
@keyframes glow {
    0% {
        box-shadow: 0 0 5px var(--primary-color);
    }
    50% {
        box-shadow: 0 0 20px var(--primary-color), 0 0 30px var(--secondary-color);
    }
    100% {
        box-shadow: 0 0 5px var(--primary-color);
    }
}

/* 脉冲效果 */
@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

/* 涟漪效果 */
@keyframes ripple {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* 烟花效果 */
@keyframes firework {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
        box-shadow: 
            0 0 0 0 var(--primary-color),
            0 0 0 0 var(--secondary-color),
            0 0 0 0 var(--accent-color);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
        box-shadow: 
            -30px -30px 0 0 var(--primary-color),
            30px -30px 0 0 var(--secondary-color),
            0 30px 0 0 var(--accent-color),
            -30px 30px 0 0 var(--primary-color),
            30px 30px 0 0 var(--secondary-color);
    }
}

/* 世界地图样式 */
.world-map-container {
    position: relative;
    width: 100%;
    height: 400px;
    background-color: #f7f3f3; /* 深色背景 */
    margin-bottom: 30px;
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.world-map-image {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('961700(1).png'); /* 修改为相对路径 */
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8; /* 调整透明度 */
    filter: drop-shadow(0 0 5px var(--primary-color)) brightness(1.2);
}

/* 城市标记点样式 */
.city-marker {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    animation: pulse 2s infinite;
}

.city-marker::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    z-index: -1;
    animation: ripple 2s infinite;
}

/* 城市标记点位置 */
.new-york {
    top: 32%;
    left: 25%;
    animation-delay: 0s;
}

.shanghai {
    top: 35%;
    left: 78%;
    animation-delay: 0.4s;
}

.hong-kong {
    top: 38%;
    left: 76%;
    animation-delay: 0.8s;
}

.singapore {
    top: 55%;
    left: 75%;
    animation-delay: 1.2s;
}

.oman {
    top: 42%;
    left: 62%;
    animation-delay: 1.6s;
}

/* 文字闪烁效果 */
@keyframes textShimmer {
    0% { color: var(--primary-color); text-shadow: 0 0 5px rgba(212, 175, 55, 0.3); }
    50% { color: var(--secondary-color); text-shadow: 0 0 15px rgba(255, 215, 0, 0.6); }
    100% { color: var(--primary-color); text-shadow: 0 0 5px rgba(212, 175, 55, 0.3); }
}

/* 金色光效动画 */
@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* 脉冲动画 */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* 涟漪动画 */
@keyframes ripple {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(3); opacity: 0; }
}

/* 烟花效果 */
.firework {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
    animation: explode 1s forwards;
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
}

@keyframes explode {
    0% { transform: scale(0); opacity: 1; }
    50% { opacity: 1; }
    100% { transform: scale(20); opacity: 0; }
}

/* 聚焦效果 */
.focus-in {
    animation: focusIn 1.5s cubic-bezier(0.55, 0.085, 0.68, 0.53) both;
}

@keyframes focusIn {
    0% { filter: blur(12px); opacity: 0; }
    100% { filter: blur(0); opacity: 1; }
}

/* 响应式设计 */
@media screen and (max-width: 1024px) {
    .nav-links {
        width: 60%;
    }
    
    .research-content,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .research-image {
        order: -1;
    }
}

@media screen and (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    
    .nav-links {
        position: absolute;
        right: 0;
        height: 92vh;
        top: 8vh;
        background-color: white;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        box-shadow: -5px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 1;
    }
    
    .nav-links li {
        opacity: 0;
        margin: 20px 0;
    }
    
    .burger {
        display: block;
    }
    
    .nav-active {
        transform: translateX(0%);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

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

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}