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

:root {
    --primary-color: #FF7A45;
    --secondary-color: orange;
    --third-color: #00d4ff;
    --forth-color: #0066ff;
    --accent-color: #8a2be2;
    --dark-bg: #0a0a1a;
    --darker-bg: #050510;
    --card-bg: rgba(16, 18, 27, 0.8);
    --text-primary: #ffffff;
    --text-secondary: #a0a8c3;
    --border-color: rgba(0, 212, 255, 0.2);
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Exo 2', sans-serif;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* 背景特效 */
.background-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
}

.floating-dots {
    position: absolute;
    width: 100%;
    height: 100%;
}

.dot {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-color);
    filter: blur(1px);
    opacity: 0.3;
}

.dot-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 5%;
    background: radial-gradient(circle, var(--primary-color), transparent 70%);
    animation: float 20s infinite ease-in-out;
}

.dot-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 5%;
    background: radial-gradient(circle, var(--accent-color), transparent 70%);
    animation: float 25s infinite ease-in-out reverse;
}

.dot-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 15%;
    background: radial-gradient(circle, var(--secondary-color), transparent 70%);
    animation: float 18s infinite ease-in-out;
}

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

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* 头部导航 */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 40px;
}

.logo-container {
    display: flex;
    flex-direction: column;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}

.logo i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 32px;
}

.tagline {
    color: var(--text-secondary);
    font-size: 14px;
    letter-spacing: 1px;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient);
    border-radius: 1px;
}

.demo-btn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.demo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

/* 英雄区域 */
.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 0;
    min-height: 80vh;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-weight: 300;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: var(--text-secondary);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.primary-btn, .secondary-btn, .outline-btn {
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    border: none;
}

.primary-btn {
    background: var(--gradient);
    color: white;
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.outline-btn {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.primary-btn:hover, .secondary-btn:hover, .outline-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

.globe-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.globe {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(0, 102, 255, 0.2), rgba(0, 20, 40, 0.8));
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(0, 212, 255, 0.3);
    box-shadow: 
        0 0 60px rgba(0, 212, 255, 0.3),
        inset 0 0 100px rgba(0, 102, 255, 0.2);
}

.globe-inner {
    width: 100%;
    height: 100%;
    position: relative;
}

.connection-line {
    position: absolute;
    background: rgba(0, 212, 255, 0.5);
    border-radius: 1px;
    transform-origin: left center;
}

.line-1 {
    width: 40%;
    height: 1px;
    top: 30%;
    left: 30%;
    transform: rotate(30deg);
    animation: pulse 3s infinite;
}

.line-2 {
    width: 50%;
    height: 1px;
    top: 50%;
    left: 20%;
    transform: rotate(120deg);
    animation: pulse 3s infinite 0.5s;
}

.line-3 {
    width: 45%;
    height: 1px;
    top: 70%;
    left: 40%;
    transform: rotate(200deg);
    animation: pulse 3s infinite 1s;
}

.pulse-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

.dot-1 { top: 30%; left: 30%; animation: pulse 2s infinite; }
.dot-2 { top: 50%; left: 20%; animation: pulse 2s infinite 0.3s; }
.dot-3 { top: 70%; left: 40%; animation: pulse 2s infinite 0.6s; }

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* 功能区域 */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.highlight {
    color: var(--primary-color);
}

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

/* 轮播区域 */
.carousel-wrapper {
    margin: 50px 0;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(16, 18, 27, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.feature-card {
    min-width: 100%;
    padding: 20px;
}

.feature-number {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    margin-bottom: -30px;
}

.feature-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.feature-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.feature-description {
    flex: 1;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* 优化图片容器 */
.feature-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    height: 300px; /* 固定高度 */
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.1); /* 背景色 */
}

/* 优化图片样式 */
.feature-image img {
    width: auto; /* 自动宽度 */
    max-width: 100%; /* 最大宽度100% */
    height: 100%; /* 高度100% */
    object-fit: cover; /* 保持比例并填满容器 */
    display: block;
    transition: transform 0.5s;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .feature-image {
        height: 250px; /* 移动端较小高度 */
    }
}

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

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-image:hover .image-overlay {
    opacity: 1;
}

.view-btn {
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark-bg);
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: transform 0.3s;
}

.view-btn:hover {
    transform: translateY(-2px);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.carousel-indicators {
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* 核心功能 */
.core-features {
    margin: 100px 0;
}

.section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.feature-item:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 30px;
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 设备支持 */
.devices-section {
    margin: 100px 0;
}

.devices-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.device-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    width: 250px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.device-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.device-icon {
    font-size: 50px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.device-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.version-badge {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.device-btn {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.device-btn:hover {
    background: var(--primary-color);
    color: white;
}

/* 底部 */
.footer {
    margin-top: 100px;
    /* border-top: 1px solid var(--border-color); */
    padding-top: 50px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.link-group h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.link-group a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.link-group a:hover {
    color: var(--primary-color);
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 40px 0;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding-bottom: 30px;
}

.footer-logo {
    order: 1; /* 让logo在最上面 */
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-logo i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 28px;
}

.copyright {
    order: 2; /* 让copyright在logo下面 */
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    width: 100%;
}

.copyright a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.copyright a:hover {
    color: var(--primary-color);
}

.footer-logo-img {
    width: 40px; /* 设置合适的宽度 */
    height: 40px; /* 设置与宽度相等的高度 */
    border-radius: 50%; /* 关键属性：设置为50%即为圆形 */
    object-fit: cover; /* 确保图片在圆形区域内正常显示 */
    margin-right: 8px; /* 可选的：调整图片和文字间距 */
}

/* 或者如果不想改变图标颜色，可以使用原始颜色 */
.footer-logo-img.original {
    filter: none; /* 保持原色 */
    width: 35px;
    height: 35px;
    margin-right: 10px;
}

.record-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.record-info p {
    display: flex;
    align-items: center;
    gap: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 18px;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    border: none;
    font-size: 20px;
    cursor: pointer;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100;
    transition: all 0.3s;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

/* 模态框 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.modal-image {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 10px;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 50px;
    }
    
    .globe-container {
        width: 300px;
        height: 300px;
    }
    
    .feature-content {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-header h2, .section-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        justify-content: center;
    }
}

/* FontAwesome地球容器 */
.fa-globe-container {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 地球图标包装器 */
.fa-globe-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* FontAwesome地球图标 */
.fa-globe-icon {
    font-size: 240px; /* 图标大小 */
    color: var(--third-color);
    text-shadow: 
        0 0 30px rgba(0, 212, 255, 0.6),
        0 0 60px rgba(0, 212, 255, 0.4),
        0 0 100px rgba(0, 212, 255, 0.2);
    filter: brightness(1.1);
    z-index: 1;
    position: relative;
}

/* 气泡区域 */
.fa-bubble-zone {
    position: absolute;
    width: 240px;  /* 与图标大小匹配 */
    height: 240px;
    border-radius: 50%; /* 圆形区域 */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

/* 光环效果 */
.fa-globe-halo {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 1px solid rgba(0, 212, 255, 0.3);
    animation: faHaloPulse 3s ease-in-out infinite;
    box-shadow: 
        0 0 30px rgba(0, 212, 255, 0.3),
        inset 0 0 30px rgba(0, 212, 255, 0.1);
}

@keyframes faHaloPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.5;
    }
    50% { 
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .fa-globe-container {
        width: 300px;
        height: 300px;
    }
    
    .fa-globe-wrapper {
        width: 200px;
        height: 200px;
    }
    
    .fa-globe-icon {
        font-size: 160px;
    }
    
    .fa-bubble-zone {
        width: 160px;
        height: 160px;
    }
    
    .fa-globe-halo {
        width: 240px;
        height: 240px;
    }
}

/* 增强版FontAwesome地球样式 */
.fa-globe-icon.enhanced {
    position: relative;
    color: transparent;
    background: linear-gradient(135deg, 
        #00d4ff 0%, 
        #8a2be2 50%, 
        #0066ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
    animation: faGlobeRotate 40s linear infinite;
}

@keyframes faGlobeRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 添加数据点效果 */
.fa-globe-icon.enhanced::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(
        circle at 30% 30%,
        rgba(0, 212, 255, 0.1) 0%,
        transparent 60%
    );
    transform: translate(-50%, -50%);
    z-index: -1;
}


