/* 动画延迟类 */
.animate__delay-1 { animation-delay: 0.1s; }
.animate__delay-2 { animation-delay: 0.2s; }
.animate__delay-3 { animation-delay: 0.3s; }
.animate__delay-4 { animation-delay: 0.4s; }
.animate__delay-5 { animation-delay: 0.5s; }

/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(145deg, #f5f7ff 0%, #f0f4fe 100%);
    color: #1a1f36;
    line-height: 1.5;
}

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

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    flex-wrap: wrap;
    gap: 16px;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.logo {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
}

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

.nav-links a {
    text-decoration: none;
    color: #1f2937;
    font-weight: 500;
    transition: color 0.2s;
    font-size: 15px;
}

.nav-links a:hover {
    color: #2563eb;
}

.btn-download-small {
    background: #2563eb;
    color: white !important;
    padding: 8px 22px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
    display: inline-block;
}

.btn-download-small:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 60px 0 50px;
    gap: 48px;
}

.hero-left {
    flex: 1;
    min-width: 280px;
}

.hero-left h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, #1a1f36, #2563eb);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
}

.hero-left p {
    font-size: 18px;
    color: #4b5563;
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    background: #2563eb;
    color: white;
    padding: 12px 32px;
    border-radius: 48px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    display: inline-block;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37, 99, 235, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.btn-outline {
    background: transparent;
    border: 1.5px solid #2563eb;
    color: #2563eb;
    padding: 12px 32px;
    border-radius: 48px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    display: inline-block;
}

.btn-outline:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

.hero-right {
    flex: 1;
    text-align: center;
}

.hero-right svg {
    max-width: 100%;
    height: auto;
    border-radius: 32px;
    box-shadow: 0 25px 40px -12px rgba(0, 0, 0, 0.15);
    background: white;
}

.stats-bar {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 32px;
    padding: 40px 0;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 60px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: #2563eb;
}

.stat-label {
    font-size: 14px;
    color: #6b7280;
    margin-top: 6px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin: 60px 0 40px;
}

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

.feature-card {
    background: white;
    padding: 32px 24px;
    border-radius: 28px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s;
    border: 1px solid rgba(37, 99, 235, 0.08);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -12px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.2);
}

.feature-card:hover .feature-icon {
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.feature-icon {
    font-size: 44px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
}

.updates-section {
    background: white;
    border-radius: 32px;
    padding: 40px;
    margin: 60px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.updates-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.updates-header h2 {
    font-size: 24px;
}

.version-badge {
    background: #e8f0fe;
    color: #2563eb;
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 500;
}

.update-item {
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.update-version {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 8px;
}

.update-date {
    font-size: 13px;
    color: #9ca3af;
    margin-left: 12px;
    font-weight: normal;
}

.update-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.update-list li {
    background: #f8fafc;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    color: #4b5563;
}

.platforms {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 40px 0;
}

.platform-badge {
    background: white;
    border-radius: 60px;
    padding: 12px 28px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #e5e7eb;
}

.download-section {
    background: linear-gradient(135deg, #1a1f36, #0f172a);
    border-radius: 48px;
    padding: 60px 40px;
    text-align: center;
    margin: 60px 0;
    color: white;
}

.download-section h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.download-section p {
    opacity: 0.8;
    margin-bottom: 32px;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.download-btn {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    padding: 12px 28px;
    border-radius: 48px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.download-btn:hover {
    background: white;
    color: #0f172a;
    transform: translateY(-2px);
}

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

.faq-item {
    background: white;
    border-radius: 20px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.faq-question {
    padding: 20px 24px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-answer {
    padding: 0 24px 20px;
    color: #6b7280;
    display: none;
    border-top: 1px solid #f0f0f0;
}

.faq-item.active .faq-answer {
    display: block;
}

.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 48px 0 24px;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 16px;
    font-size: 16px;
}

.footer-col p {
    margin: 8px 0;
    font-size: 14px;
}

.footer-col a {
    color: #94a3b8;
    text-decoration: none;
}

.footer-col a:hover {
    color: white;
}

.footer-copyright {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #1e293b;
    font-size: 13px;
}

/* product.html 特有样式 */
.hero-product {
    text-align: center;
    padding: 60px 0 40px;
    background: linear-gradient(135deg, #eef2ff, #ffffff);
    border-radius: 48px;
    margin: 32px 0;
}

.hero-product h1 {
    font-size: 44px;
    margin-bottom: 16px;
}

.hero-product p {
    font-size: 18px;
    color: #4b5563;
}

.feature-block {
    margin: 70px 0;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-text h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.feature-text p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 16px;
}

.feature-text ul {
    list-style: none;
    margin-top: 16px;
}

.feature-text li {
    margin: 8px 0;
    padding-left: 24px;
    position: relative;
}

.feature-text li::before {
    content: "✓";
    color: #2563eb;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.feature-image {
    flex: 1;
    background: #ffffff;
    border-radius: 32px;
    padding: 40px;
    text-align: center;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
}

.node-dashboard {
    background: #f1f5f9;
    border-radius: 40px;
    padding: 36px;
    margin: 50px 0;
}

.node-title {
    font-size: 24px;
    margin-bottom: 20px;
}

.node-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 20px 0;
}

.node-tag {
    background: white;
    padding: 8px 20px;
    border-radius: 40px;
    font-weight: 500;
    font-size: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    margin-right: 8px;
}

.protocol-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin: 30px 0;
}

.protocol-table th, .protocol-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.protocol-table th {
    background: #f8fafc;
    font-weight: 600;
}

.protocol-table tr:last-child td {
    border-bottom: none;
}

.download-zone {
    background: linear-gradient(135deg, #1a1f36, #0f172a);
    border-radius: 48px;
    padding: 50px 40px;
    text-align: center;
    margin: 60px 0;
    color: white;
}

.download-zone h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 32px 0;
}

.download-btn-white {
    background: white;
    color: #0f172a;
    padding: 12px 28px;
    border-radius: 48px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    display: inline-block;
}

.download-btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.testimonials {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 50px 0;
}

.testimonial-card {
    flex: 1;
    background: white;
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #e5e7eb;
}

.testimonial-card p {
    font-style: italic;
    color: #4b5563;
    line-height: 1.6;
}

.testimonial-author {
    margin-top: 16px;
    font-weight: 600;
    color: #2563eb;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-left h1 {
        font-size: 36px;
    }
    .section-title {
        font-size: 28px;
    }
    .stats-bar {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        border-radius: 40px;
    }
    .navbar {
        flex-direction: column;
    }
    .container {
        padding: 0 16px;
    }
    .download-section {
        padding: 40px 20px;
    }
}