:root {
    --color-dark-bg: #0A0F1E;
    --color-card-bg: #11182B;
    --color-primary: #00A9FF;
    --color-secondary: #31C5F0;
    --color-text: #E0E0E0;
    --color-text-muted: #8892B0;
    --color-border: rgba(0, 169, 255, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--color-dark-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* --- 动画效果 --- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 滚动触发动画的初始状态 */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* 滚动触发动画的激活状态 */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.btn {
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 169, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 30px rgba(0, 169, 255, 0.7);
}

/* --- 英雄区域 --- */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeIn 1s ease-in;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    animation: fadeIn 1s ease-in 0.2s;
    animation-fill-mode: both;
}

.hero-buttons {
    animation: fadeIn 1s ease-in 0.4s;
    animation-fill-mode: both;
}

/* --- 通用 Section 样式 --- */
.section {
    padding: 120px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--color-text);
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 80px;
}

/* --- 特色功能区域 --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: linear-gradient(145deg, var(--color-card-bg), #1a223a);
    padding: 40px 30px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(0);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 169, 255, 0.2), transparent, transparent);
    transform: rotate(0deg);
    transition: transform 1s ease, opacity 0.5s ease;
    opacity: 0;
    z-index: 1;
}

.feature-card:hover::before {
    opacity: 1;
    transform: rotate(360deg);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--color-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-card > * {
    position: relative;
    z-index: 2;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    line-height: 1;
}

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

.feature-card p {
    color: var(--color-text-muted);
}

/* --- 产品预览/展示区域 --- */
.showcase-section {
    text-align: center;
}
.showcase-image-wrapper {
    position: relative;
    display: inline-block;
}
.showcase-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 50px;
    background: radial-gradient(ellipse, rgba(0, 169, 255, 0.3) 0%, transparent 70%);
    z-index: -1;
}
.image-caption {
    text-align: center;
    margin-top: 25px; /* 与图片的间距 */
    color: var(--color-text-muted); /* 使用柔和的文字颜色 */
    font-size: 1rem;
    font-weight: 400;
}
.showcase-image {
    max-width: 90%;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease;
}
.showcase-image:hover {
    transform: scale(1.03);
}

/* --- 最终行动号召 (CTA) --- */
.cta-section {
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    padding: 80px 40px;
    text-align: center;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}
.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--color-dark-bg);
    font-weight: 700;
}
.cta-section p {
    color: rgba(10, 15, 30, 0.8);
    margin-bottom: 30px;
    font-size: 1.1rem;
}
.cta-section .btn-primary {
    background-color: #fff;
    color: var(--color-primary);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* --- 页脚 --- */
.footer {
    padding: 50px 0;
    text-align: center;
    border-top: 1px solid var(--color-border);
    margin-top: 100px;
}
.footer p {
    color: var(--color-text-muted);
}
.footer a {
    color: var(--color-primary);
    text-decoration: none;
}
.friendship-links {
    margin-top: 15px; /* 与上方内容隔开一些距离 */
    color: var(--color-text-muted);
}

.friendship-links a {
    margin: 0 10px; /* 让链接之间有一些间距 */
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.friendship-links a:hover {
    color: var(--color-primary); /* 鼠标悬停时变为主题色 */
}

/* --- 微信联系方式样式 --- */
.wechat-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    /*background: linear-gradient(45deg, #28a745, #2dc432);*/
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1001;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.wechat-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(45, 196, 50, 0.5);
}

.wechat-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(5px);
}

.wechat-modal.active {
    opacity: 1;
    visibility: visible;
}

.wechat-modal-content {
    background-color: var(--color-card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--color-border);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.wechat-modal.active .wechat-modal-content {
    transform: scale(1);
}

.wechat-modal-content img {
    max-width: 200px;
    width: 100%;
    border-radius: 5px;
    margin-bottom: 15px;
}

.wechat-modal-content p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.close-btn:hover {
    color: var(--color-text);
}


/* --- 响应式设计 --- */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.8rem; }
    .section-title { font-size: 2.2rem; }
    .section { padding: 80px 0; }
    .wechat-icon { width: 50px; height: 50px; bottom: 20px; right: 20px; }
}