/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 基础变量 */
:root {
    --primary-color: #F0B90B;
    --primary-gradient: linear-gradient(90deg, #F0B90B, #FFD700);
    --dark-bg: #0D0F14;
    --secondary-bg: #13151C;
    --light-text: #FFFFFF;
    --dim-text: rgba(255, 255, 255, 0.9);
    --muted-text: #A0A3B3;
    --footer-text: #5A5E7A;
    --border-color: rgba(255, 255, 255, 0.1);
    --card-bg: rgba(255, 255, 255, 0.05);
    --section-padding: 80px 0;
    
    /* 浏览器前缀变量支持 */
    --webkit-primary-gradient: -webkit-linear-gradient(90deg, #F0B90B, #FFD700);
    --moz-primary-gradient: -moz-linear-gradient(90deg, #F0B90B, #FFD700);
}

/* 基础样式 */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: "PingFang SC", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--light-text);
    background-color: var(--dark-bg);
    background-image: linear-gradient(to bottom, #0D0F14, #131722);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--light-text);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #000;
    box-shadow: 0 4px 12px rgba(240, 185, 11, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(240, 185, 11, 0.4);
    color: #000;
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background: rgba(240, 185, 11, 0.1);
    transform: translateY(-2px);
}

.btn-login {
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
}

.btn-register {
    padding: 8px 16px;
    background: var(--primary-color);
    color: #000;
}

/* 区域标题样式 */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 16px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    display: inline-block;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--muted-text);
    max-width: 700px;
    margin: 0 auto;
}

.intro-text {
    margin-top: 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.intro-text p {
    font-size: 1rem;
    color: var(--muted-text);
    line-height: 1.6;
    text-align: center;
}

/* 导航样式 */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(13, 15, 20, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo a {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--primary-color);
}

.logo span {
    font-weight: 400;
    color: var(--light-text);
}

.logo p {
    font-size: 0.875rem;
    color: var(--muted-text);
    margin-top: -5px;
}

.main-nav ul {
    display: flex;
    gap: 24px;
}

.main-nav a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--dim-text);
}

.main-nav a:hover {
    color: var(--primary-color);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.language-selector {
    position: relative;
    cursor: pointer;
}

.language-selector span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--dim-text);
}

.language-selector span::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--dim-text);
    border-bottom: 2px solid var(--dim-text);
    transform: rotate(45deg);
    margin-top: -4px;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 120px;
    display: none;
    z-index: 10;
}

.language-dropdown li a {
    display: block;
    padding: 8px 16px;
    color: var(--dim-text);
    font-size: 0.875rem;
}

.language-dropdown li a:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.language-selector:hover .language-dropdown {
    display: block;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--light-text);
    transition: all 0.3s ease;
}

/* 英雄区域样式 */
.hero {
    position: relative;
    padding: 180px 0 100px;
    background-color: var(--dark-bg);
    overflow: hidden;
}

.particles-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../fonts/grid-pattern.svg'), url('../fonts/globe-pattern.svg');
    background-position: center, right top;
    background-repeat: repeat, no-repeat;
    background-size: cover, 40% auto;
    opacity: 0.15;
}

.hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 24px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sub-title {
    font-size: 1.25rem;
    color: var(--muted-text);
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 1rem;
    color: var(--muted-text);
    max-width: 800px;
    margin: 0 auto 48px;
    line-height: 1.6;
    text-align: center;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 48px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-8px);
}

.feature-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 8px rgba(240, 185, 11, 0.3));
}

.feature-item h3 {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--light-text);
}

.feature-item p {
    font-size: 0.875rem;
    color: var(--muted-text);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}

.hero-cta .btn {
    padding: 14px 32px;
    font-size: 1.125rem;
    font-weight: 500;
}

.quick-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}

.quick-links a {
    color: var(--muted-text);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.quick-links a:hover {
    color: var(--primary-color);
}

/* 特性区域样式 */
.features {
    padding: var(--section-padding);
    background-color: var(--secondary-bg);
    position: relative;
    overflow: hidden;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(240, 185, 11, 0.15);
}

.feature-card img {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    filter: drop-shadow(0 0 8px rgba(240, 185, 11, 0.3));
}

.feature-card h3 {
    font-size: 1.25rem;
    color: var(--light-text);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 1rem;
    color: var(--muted-text);
    line-height: 1.6;
}

/* 产品区域样式 */
.products {
    padding: var(--section-padding);
    background-color: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../fonts/tech-pattern.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.05;
    z-index: 1;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
}

.product-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    position: relative;
}

.product-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(240, 185, 11, 0.15);
}

.product-card .tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: var(--primary-color);
    color: #000;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
}

.product-card img {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    filter: drop-shadow(0 0 8px rgba(240, 185, 11, 0.3));
}

.product-card h3 {
    font-size: 1.25rem;
    color: var(--light-text);
    margin-bottom: 12px;
}

.product-card p {
    font-size: 1rem;
    color: var(--muted-text);
    line-height: 1.6;
}

/* 安全区域样式 */
.security {
    padding: var(--section-padding);
    background-color: var(--secondary-bg);
    position: relative;
    overflow: hidden;
}

.security-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.security-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.security-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.3s ease;
}

.security-item:hover {
    transform: translateY(-5px);
}

.security-item img {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 0 8px rgba(240, 185, 11, 0.3));
}

.security-item h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--light-text);
}

.security-item p {
    font-size: 1rem;
    color: var(--muted-text);
}

.security-partners {
    text-align: center;
}

.security-partners h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--light-text);
}

.partners-logo {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.partners-logo img {
    height: 40px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.partners-logo img:hover {
    opacity: 1;
}

.security-note {
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--muted-text);
    text-align: center;
    line-height: 1.6;
}

/* 下载区域样式 */
.download {
    padding: var(--section-padding);
    background-color: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.download-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.download-info {
    flex: 1;
}

.download-info h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--light-text);
}

.download-features {
    margin-bottom: 32px;
}

.download-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.download-features li img {
    width: 24px;
    height: 24px;
}

.download-features li span {
    font-size: 1rem;
    color: var(--dim-text);
}

.download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 24px;
    transition: all 0.3s ease;
}

.download-btn:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(240, 185, 11, 0.15);
}

.download-btn img {
    width: 24px;
    height: 24px;
}

.download-btn div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.download-btn span {
    font-size: 0.75rem;
    color: var(--muted-text);
}

.download-btn strong {
    font-size: 1rem;
    font-weight: 500;
    color: var(--light-text);
}

.download-note {
    font-size: 0.75rem;
    color: var(--muted-text);
    margin-top: 6px;
    text-align: center;
    line-height: 1.4;
    max-width: 160px;
}

.download-version-info {
    margin: 20px auto 16px;
    text-align: center;
}

.download-version-info p {
    font-size: 0.875rem;
    color: var(--muted-text);
    margin-bottom: 8px;
}

.qrcode-container {
    display: flex;
    justify-content: center;
}

.qrcode {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qrcode img {
    width: 140px;
    height: 140px;
    margin-bottom: 12px;
    padding: 12px;
    background-color: white;
    border-radius: 12px;
}

.qrcode p {
    font-size: 0.875rem;
    color: var(--muted-text);
}

.app-preview {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.app-preview img {
    max-height: 600px;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.4));
}

/* 关于区域样式 */
.about {
    padding: var(--section-padding);
    background-color: var(--secondary-bg);
    position: relative;
}

.about-content {
    display: flex;
    justify-content: center;
}

.about-info {
    max-width: 900px;
}

.about-desc {
    font-size: 1.125rem;
    color: var(--dim-text);
    margin-bottom: 24px;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 48px 0;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    display: inline-block;
}

.stat-item p {
    font-size: 1rem;
    color: var(--muted-text);
}

.about-media {
    text-align: center;
    margin-top: 60px;
}

.about-media h3 {
    font-size: 1.25rem;
    margin-bottom: 24px;
    color: var(--light-text);
}

.media-logos {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.media-logos img {
    height: 32px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.media-logos img:hover {
    opacity: 1;
}

/* 注册引导区域样式 */
.signup {
    padding: 100px 0;
    background-color: var(--dark-bg);
    background-image: url('../fonts/tech-pattern.svg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.signup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--dark-bg), transparent, var(--dark-bg));
    z-index: 1;
}

.signup-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.signup-content h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--light-text);
}

.signup-content p {
    font-size: 1.125rem;
    color: var(--muted-text);
    margin-bottom: 32px;
}

.signup-form {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.signup-form input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--light-text);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.signup-form input:focus {
    border-color: var(--primary-color);
}

.signup-form .btn {
    padding: 14px 32px;
    font-size: 1rem;
}

.signup-note {
    font-size: 0.875rem;
    color: var(--muted-text);
}

.signup-note a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* 友情链接区域样式 */
.friend-links {
    padding: 40px 0;
    background-color: var(--secondary-bg);
    border-bottom: 1px solid var(--border-color);
}

.friend-links h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: var(--light-text);
}

.link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.link-list a {
    font-size: 0.875rem;
    color: var(--muted-text);
}

.link-list a:hover {
    color: var(--primary-color);
}

/* 底部区域样式 */
.footer {
    background-color: var(--dark-bg);
    padding-top: 60px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.footer-column h4 {
    font-size: 1.125rem;
    color: var(--light-text);
    margin-bottom: 24px;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column ul li a {
    font-size: 0.875rem;
    color: var(--muted-text);
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--card-bg);
    transition: all 0.3s ease;
}

.social-links a img {
    width: 20px;
    height: 20px;
    opacity: 0.8;
}

.social-links a:hover {
    background-color: var(--primary-color);
}

.social-links a:hover img {
    opacity: 1;
    filter: brightness(0);
}

.app-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.app-links p {
    font-size: 0.875rem;
    color: var(--muted-text);
}

.qrcode-mini img {
    width: 100px;
    height: 100px;
    background-color: white;
    padding: 8px;
    border-radius: 8px;
}

.footer-middle {
    padding: 24px 0;
    border-top: 1px solid var(--border-color);
}

.risk-warning {
    max-width: 900px;
}

.risk-warning h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    display: inline-block;
}

.risk-warning p {
    font-size: 0.875rem;
    color: var(--footer-text);
    line-height: 1.6;
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 16px;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--footer-text);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright p {
    font-size: 0.875rem;
    color: var(--footer-text);
}

/* 响应式适配 */
@media (max-width: 1200px) {
    .main-title {
        font-size: 3rem;
    }
    
    .download-content {
        flex-direction: column;
    }
    
    .app-preview {
        justify-content: center;
    }
}

@media (max-width: 992px) {
    .features-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .security-info {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero-features {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .header-wrapper {
        position: relative;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--secondary-bg);
        padding: 20px;
        display: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-right .btn-login, 
    .header-right .btn-register {
        display: none;
    }
    
    .features-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .signup-form {
        flex-direction: column;
    }
    
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 140px 0 80px;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .hero-desc {
        font-size: 0.9rem;
        padding: 0 10px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .partners-logo {
        gap: 24px;
    }
    
    .download-buttons {
        flex-direction: column;
    }
    
    .product-card .tag {
        top: 8px;
        right: 8px;
        font-size: 0.7rem;
        padding: 2px 8px;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .intro-text p {
        padding: 0 10px;
        font-size: 0.9rem;
    }
    
    .security-item {
        flex-direction: column;
        text-align: center;
    }
    
    .security-item img {
        margin-bottom: 12px;
        margin-right: 0;
    }
    
    .about-desc {
        font-size: 1rem;
    }
    
    .download-note {
        max-width: 100%;
    }
}

/* 动画效果 */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.feature-item img,
.feature-card img,
.product-card img {
    animation: float 4s ease-in-out infinite;
}

.feature-item:nth-child(2) img,
.feature-card:nth-child(2) img,
.product-card:nth-child(2) img {
    animation-delay: 0.5s;
}

.feature-item:nth-child(3) img,
.feature-card:nth-child(3) img,
.product-card:nth-child(3) img {
    animation-delay: 1s;
}

.feature-item:nth-child(4) img,
.feature-card:nth-child(4) img,
.product-card:nth-child(4) img {
    animation-delay: 1.5s;
} 