/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: #333; background: #fff; line-height: 1.6; overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: color .2s; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== Utility ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-title { text-align: center; font-size: 2rem; font-weight: 700; margin-bottom: 12px; color: #1a1a2e; }
.section-subtitle { text-align: center; font-size: 1.05rem; color: #666; margin-bottom: 48px; max-width: 640px; margin-left: auto; margin-right: auto; }
.btn-primary {
    display: inline-block; background: linear-gradient(135deg, #2563eb, #7c3aed); color: #fff;
    padding: 14px 36px; border-radius: 50px; font-size: 1.05rem; font-weight: 600;
    transition: transform .2s, box-shadow .2s; box-shadow: 0 4px 15px rgba(37,99,235,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(37,99,235,.45); color: #fff; }
.btn-outline {
    display: inline-block; border: 2px solid #2563eb; color: #2563eb;
    padding: 12px 32px; border-radius: 50px; font-size: 1rem; font-weight: 600;
    transition: all .2s;
}
.btn-outline:hover { background: #2563eb; color: #fff; }

/* ===== Navbar ===== */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; height: 64px; z-index: 1000;
    background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,.06); display: flex; align-items: center;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-logo { font-size: 1.5rem; font-weight: 800; color: #2563eb; letter-spacing: -0.5px; }
.nav-logo span { color: #1a1a2e; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-size: .95rem; color: #555; font-weight: 500; transition: color .2s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: #2563eb; }
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
    background: #2563eb; transition: width .2s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { margin-left: 16px; }
.nav-cta .btn-primary { padding: 10px 24px; font-size: .9rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: #333; transition: .3s; }

/* ===== Hero ===== */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 120px 20px 80px;
    background: linear-gradient(135deg, #0f0c29 0%, #1a1a4e 40%, #24243e 100%);
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(37,99,235,.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(124,58,237,.1) 0%, transparent 50%);
}
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-badge {
    display: inline-block; background: rgba(37,99,235,.15); border: 1px solid rgba(37,99,235,.3);
    color: #93b5ff; padding: 6px 20px; border-radius: 50px; font-size: .85rem; margin-bottom: 24px;
}
.hero h1 { font-size: 3.2rem; font-weight: 800; color: #fff; margin-bottom: 20px; line-height: 1.2; }
.hero h1 .highlight { color: #60a5fa; }
.hero p { font-size: 1.2rem; color: rgba(255,255,255,.7); margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-info { margin-top: 24px; color: rgba(255,255,255,.5); font-size: .9rem; }

/* ===== Stats ===== */
.stats { background: #f8fafc; padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-item { padding: 20px; }
.stat-icon { font-size: 2rem; margin-bottom: 8px; }
.stat-number { font-size: 2.5rem; font-weight: 800; color: #2563eb; }
.stat-label { font-size: .95rem; color: #666; margin-top: 4px; }

/* ===== Features ===== */
.features { padding: 80px 0; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card {
    background: #fff; border: 1px solid #e8ecf1; border-radius: 16px; padding: 36px 24px;
    text-align: center; transition: transform .25s, box-shadow .25s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,.08); }
.feature-icon { font-size: 2.5rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; color: #1a1a2e; }
.feature-card p { font-size: .9rem; color: #666; line-height: 1.7; }

/* ===== Nodes ===== */
.nodes { padding: 80px 0; background: #f8fafc; }
.nodes-grid { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.node-tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; border: 1px solid #e2e8f0; border-radius: 50px;
    padding: 10px 22px; font-size: .95rem; font-weight: 500; color: #334155;
    transition: all .2s;
}
.node-tag:hover { border-color: #2563eb; color: #2563eb; box-shadow: 0 4px 12px rgba(37,99,235,.1); }
.node-flag { font-size: 1.3rem; }

/* ===== Platforms ===== */
.platforms { padding: 80px 0; }
.platforms-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.platform-card {
    background: #fff; border: 1px solid #e8ecf1; border-radius: 16px; padding: 40px 24px;
    text-align: center; transition: transform .25s, box-shadow .25s;
}
.platform-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,.08); }
.platform-icon { font-size: 3rem; margin-bottom: 16px; }
.platform-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; color: #1a1a2e; }
.platform-card .btn-outline { padding: 8px 24px; font-size: .85rem; }

/* ===== Pricing ===== */
.pricing { padding: 80px 0; background: #f8fafc; }
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.pricing-card {
    background: #fff; border: 2px solid #e8ecf1; border-radius: 20px; padding: 40px 32px;
    text-align: center; transition: transform .25s, box-shadow .25s; position: relative;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.08); }
.pricing-card.featured { border-color: #2563eb; }
.pricing-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, #2563eb, #7c3aed); color: #fff;
    padding: 4px 20px; border-radius: 50px; font-size: .8rem; font-weight: 600;
}
.pricing-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; color: #1a1a2e; }
.pricing-card .price { font-size: 2.8rem; font-weight: 800; color: #2563eb; margin: 16px 0; }
.pricing-card .price span { font-size: 1rem; font-weight: 400; color: #666; }
.pricing-features { margin: 24px 0; text-align: left; }
.pricing-features li { padding: 8px 0; font-size: .9rem; color: #555; display: flex; align-items: center; gap: 8px; }
.pricing-features li::before { content: '\2713'; color: #22c55e; font-weight: 700; }

/* ===== Testimonials ===== */
.testimonials { padding: 80px 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
    background: #fff; border: 1px solid #e8ecf1; border-radius: 16px; padding: 32px;
    transition: box-shadow .25s;
}
.testimonial-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,.06); }
.testimonial-stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 12px; }
.testimonial-text { font-size: .95rem; color: #555; line-height: 1.7; margin-bottom: 16px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
    width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #2563eb, #7c3aed);
    display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: .9rem;
}
.testimonial-name { font-weight: 600; font-size: .9rem; color: #1a1a2e; }
.testimonial-role { font-size: .8rem; color: #999; }
.trust-badges { display: flex; gap: 32px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.trust-badge {
    display: flex; align-items: center; gap: 8px; font-size: .9rem; color: #666;
    background: #f8fafc; padding: 10px 20px; border-radius: 50px;
}

/* ===== FAQ ===== */
.faq { padding: 80px 0; background: #f8fafc; }
.faq-category { margin-bottom: 48px; }
.faq-category-title {
    font-size: 1.3rem; font-weight: 700; color: #1a1a2e; margin-bottom: 20px;
    padding-bottom: 12px; border-bottom: 2px solid #2563eb; display: inline-block;
}
.faq-item { background: #fff; border: 1px solid #e8ecf1; border-radius: 12px; padding: 24px; margin-bottom: 16px; }
.faq-question { font-size: 1.05rem; font-weight: 600; color: #1a1a2e; margin-bottom: 12px; }
.faq-answer { font-size: .9rem; color: #555; line-height: 1.8; }
.faq-answer ol { padding-left: 20px; list-style: decimal; }
.faq-answer ol li { padding: 4px 0; }

/* ===== Footer ===== */
.footer { background: #0f172a; color: rgba(255,255,255,.7); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .nav-logo { margin-bottom: 12px; display: inline-block; }
.footer-brand p { font-size: .9rem; line-height: 1.7; }
.footer h4 { color: #fff; font-size: 1rem; font-weight: 600; margin-bottom: 16px; }
.footer-links a { display: block; padding: 4px 0; font-size: .9rem; color: rgba(255,255,255,.6); transition: color .2s; }
.footer-links a:hover { color: #60a5fa; }
.footer-warning {
    background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.3);
    border-radius: 12px; padding: 16px 24px; margin-bottom: 32px;
    color: #f59e0b; font-size: .9rem; text-align: center;
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; text-align: center; font-size: .85rem; }

/* ===== Page Header (for inner pages) ===== */
.page-header {
    padding: 140px 20px 60px; text-align: center;
    background: linear-gradient(135deg, #0f0c29, #24243e);
    color: #fff;
}
.page-header h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 12px; }
.page-header p { font-size: 1.1rem; color: rgba(255,255,255,.6); max-width: 600px; margin: 0 auto; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .features-grid, .platforms-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .nav-links.open {
        display: flex; flex-direction: column; position: absolute;
        top: 64px; left: 0; width: 100%; background: #fff;
        padding: 20px; gap: 16px; box-shadow: 0 8px 30px rgba(0,0,0,.1);
    }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    .section-title { font-size: 1.6rem; }
    .features-grid, .platforms-grid, .pricing-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .page-header h1 { font-size: 1.8rem; }
}
