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

/* 全局变量 */
:root {
    --bg-primary: #1E222D;
    --bg-secondary: #2B3139;
    --bg-card: #252930;
    --text-primary: #F5F5F5;
    --text-secondary: #B7BDC6;
    --text-muted: #848E9C;
    --yellow: #F0B90B;
    --yellow-dark: #C99C0A;
    --blue: #3B82F6;
    --green: #0ECB81;
    --red: #F6465D;
    --border: #3A3F4A;
}

/* 基础样式 */
body {
    font-family: 'Noto Sans SC', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

/* 导航栏 */
.header {
    background-color: rgba(30, 34, 45, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.logo-icon {
    background: var(--yellow);
    color: var(--bg-primary);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--text-primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.btn-download-header {
    background: var(--yellow);
    color: var(--bg-primary);
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.btn-download-header:hover {
    background: var(--yellow-dark);
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
}

/* Hero区域 */
.hero {
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(240, 185, 11, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(240, 185, 11, 0.1);
    border: 1px solid rgba(240, 185, 11, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--yellow);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

.hero-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--yellow);
    color: var(--bg-primary);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(240, 185, 11, 0.3);
}

.btn-primary:hover {
    background: var(--yellow-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(240, 185, 11, 0.4);
}

.version {
    background: rgba(0, 0, 0, 0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--yellow);
}

.hero-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.feature-item .icon {
    color: var(--yellow);
    font-weight: 700;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* 下载卡片 */
.download-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.card-header h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
}

.copy-btn {
    background: var(--yellow);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s;
}

.copy-btn:hover {
    background: var(--yellow-dark);
}

.card-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.info-row:last-child {
    border-bottom: none;
}

.label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.value {
    color: var(--text-primary);
    font-weight: 500;
}

.green {
    color: var(--green);
}

.latest {
    color: var(--yellow);
    font-size: 0.85rem;
    margin-left: 0.5rem;
}

.verified {
    color: var(--yellow);
    font-size: 0.85rem;
}

.mono {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
}

.card-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.card-footer small {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* 价格滚动条 */
.ticker {
    background: var(--bg-card);
    padding: 1rem 0;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.ticker-wrap {
    width: 100%;
    overflow: hidden;
}

.ticker-move {
    display: inline-flex;
    gap: 3rem;
    animation: scroll 30s linear infinite;
    white-space: nowrap;
}

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

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.ticker-item .green {
    color: var(--green);
}

.ticker-item .red {
    color: var(--red);
}

/* 特色功能 */
.features {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-desc {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* 3步指南 */
.guide {
    padding: 5rem 0;
    background: var(--bg-card);
}

.guide-header {
    text-align: center;
    margin-bottom: 3rem;
}

.guide-badge {
    display: inline-block;
    background: rgba(240, 185, 11, 0.1);
    color: var(--yellow);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.step {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    text-align: center;
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.step-icon.yellow {
    background: var(--yellow);
    color: var(--bg-primary);
}

.step-icon.blue {
    background: var(--blue);
    color: white;
}

.step-icon.gray {
    background: var(--bg-card);
    color: var(--text-primary);
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.guide-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--green);
    font-size: 0.95rem;
}

.note-icon {
    font-size: 1.2rem;
}

/* 安全保障 */
.security {
    padding: 5rem 0;
}

.security-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 968px) {
    .security-content {
        grid-template-columns: 1fr;
    }
}

.security-badge {
    display: inline-block;
    background: rgba(240, 185, 11, 0.1);
    color: var(--yellow);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.security-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.security-item {
    display: flex;
    gap: 1rem;
}

.security-icon {
    width: 40px;
    height: 40px;
    background: rgba(14, 203, 129, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.security-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.security-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.scan-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border);
}

.scan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.scan-status {
    font-weight: 600;
}

.scan-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.scan-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.scan-icon {
    font-size: 1.5rem;
}

.scan-label {
    flex: 1;
    color: var(--text-secondary);
}

.scan-value {
    font-weight: 600;
}

.scan-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.scan-footer small {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* 智能助手 */
.assistant {
    padding: 5rem 0;
    background: var(--bg-card);
}

.assistant-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border);
}

.assistant-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.assistant-icon {
    font-size: 2rem;
}

.assistant-header h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
}

.assistant-example {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.assistant-questions {
    list-style: none;
    margin-bottom: 1.5rem;
}

.assistant-questions li {
    color: var(--text-muted);
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.assistant-input {
    display: flex;
    gap: 1rem;
}

.assistant-input input {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
    color: var(--text-primary);
    font-size: 1rem;
}

.assistant-input input::placeholder {
    color: var(--text-muted);
}

.send-btn {
    background: var(--yellow);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.5rem;
    transition: background 0.3s;
}

.send-btn:hover {
    background: var(--yellow-dark);
}

/* FAQ */
.faq {
    padding: 5rem 0;
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-secondary);
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-primary);
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--bg-card);
}

.faq-toggle {
    color: var(--yellow);
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* 安装指南详情 */
.install-guide {
    padding: 5rem 0;
    background: #F5F5F5;
    color: #333;
}

.guide-content {
    max-width: 900px;
    margin: 0 auto;
}

.install-guide .section-title {
    color: #333;
    margin-bottom: 2rem;
}

.guide-section {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.guide-section h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.guide-section p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.guide-section ol {
    padding-left: 1.5rem;
    color: #666;
}

.guide-section li {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.guide-section strong {
    color: #333;
    font-weight: 600;
}

.guide-warning {
    background: #FFF9E6;
    border-left: 4px solid var(--yellow);
    padding: 1.5rem;
    border-radius: 8px;
}

.guide-warning h4 {
    color: #333;
    margin-bottom: 0.75rem;
}

.guide-warning p {
    color: #666;
    line-height: 1.8;
}

/* 页脚 */
.footer {
    background: var(--bg-card);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 568px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-col p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-col h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

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

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--yellow);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

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

/* 响应式调整 */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-desc {
        font-size: 1rem;
    }
}
