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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    background: #f5f7fa;
    color: #1d2129;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ========== 导航栏 ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease;
    height: 64px;
    display: flex;
    align-items: center;
}
.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.navbar .logo {
    display: flex;
    align-items: center;
    font-size: 22px;
    font-weight: 700;
    color: #0052d9;
    letter-spacing: -0.5px;
}
.navbar .logo svg {
    margin-right: 8px;
}
.navbar .nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 15px;
    color: #4e5969;
}
.navbar .nav-links a {
    position: relative;
    transition: color 0.2s;
    cursor: pointer;
}
.navbar .nav-links a:hover {
    color: #0052d9;
}
.navbar .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0052d9;
    transition: width 0.25s ease;
}
.navbar .nav-links a:hover::after {
    width: 100%;
}
.navbar .cta-btn {
    background: #0052d9;
    color: #fff !important;
    padding: 8px 24px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 14px;
    transition: background 0.25s, transform 0.15s;
    cursor: pointer;
    border: none;
}
.navbar .cta-btn:hover {
    background: #003da5;
    transform: translateY(-1px);
}
.navbar .cta-btn::after {
    display: none !important;
}
.navbar .mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #1d2129;
}

/* ========== Hero ========== */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(145deg, #f0f5ff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 82, 217, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero .hero-content h1 {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.15;
    color: #1d2129;
    letter-spacing: -1px;
    margin-bottom: 8px;
}
.hero .hero-content h1 .highlight {
    color: #0052d9;
    position: relative;
}
.hero .hero-content .subtitle {
    font-size: 20px;
    color: #4e5969;
    margin-bottom: 16px;
    font-weight: 400;
}
.hero .hero-content .desc {
    font-size: 16px;
    color: #6b7785;
    max-width: 480px;
    margin-bottom: 32px;
    line-height: 1.8;
}
.hero .hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.hero .hero-buttons .btn-primary {
    background: #0052d9;
    color: #fff;
    padding: 12px 40px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background 0.25s, transform 0.15s;
    box-shadow: 0 4px 14px rgba(0, 82, 217, 0.3);
}
.hero .hero-buttons .btn-primary:hover {
    background: #003da5;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 82, 217, 0.35);
}
.hero .hero-buttons .btn-secondary {
    background: transparent;
    color: #1d2129;
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 16px;
    border: 1.5px solid #dce0e6;
    cursor: pointer;
    transition: border-color 0.25s, background 0.25s;
}
.hero .hero-buttons .btn-secondary:hover {
    border-color: #0052d9;
    background: rgba(0, 82, 217, 0.04);
}
.hero .hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero .hero-visual .mockup {
    width: 100%;
    max-width: 560px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08), 0 8px 24px rgba(0, 0, 0, 0.04);
    padding: 20px 24px 24px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.4s ease;
}
.hero .hero-visual .mockup:hover {
    transform: translateY(-6px);
}
.hero .hero-visual .mockup .mockup-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f2f5;
    margin-bottom: 16px;
}
.hero .hero-visual .mockup .mockup-bar .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e5e8ef;
}
.hero .hero-visual .mockup .mockup-bar .dot:nth-child(1) {
    background: #f25c5c;
}
.hero .hero-visual .mockup .mockup-bar .dot:nth-child(2) {
    background: #f5b342;
}
.hero .hero-visual .mockup .mockup-bar .dot:nth-child(3) {
    background: #4caf50;
}
.hero .hero-visual .mockup .mockup-bar .mockup-title {
    font-size: 14px;
    font-weight: 500;
    color: #4e5969;
    margin-left: 8px;
}
.hero .hero-visual .mockup .mockup-body {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 16px;
}
.hero .hero-visual .mockup .mockup-sidebar {
    background: #f7f9fc;
    border-radius: 12px;
    padding: 12px 14px;
    min-height: 180px;
}
.hero .hero-visual .mockup .mockup-sidebar .item {
    height: 28px;
    border-radius: 6px;
    background: #e5e8ef;
    margin-bottom: 10px;
    width: 80%;
}
.hero .hero-visual .mockup .mockup-sidebar .item:nth-child(2) {
    width: 60%;
}
.hero .hero-visual .mockup .mockup-sidebar .item:nth-child(3) {
    width: 70%;
}
.hero .hero-visual .mockup .mockup-main {
    background: #f7f9fc;
    border-radius: 12px;
    padding: 12px 14px;
    min-height: 180px;
}
.hero .hero-visual .mockup .mockup-main .line {
    height: 14px;
    border-radius: 4px;
    background: #e5e8ef;
    margin-bottom: 10px;
}
.hero .hero-visual .mockup .mockup-main .line:nth-child(2) {
    width: 85%;
}
.hero .hero-visual .mockup .mockup-main .line:nth-child(3) {
    width: 70%;
}
.hero .hero-visual .mockup .mockup-main .line:nth-child(4) {
    width: 90%;
}
.hero .hero-visual .mockup .mockup-main .line:nth-child(5) {
    width: 50%;
}
.hero .hero-visual .mockup .mockup-main .badge {
    display: inline-block;
    background: #0052d9;
    color: #fff;
    font-size: 12px;
    padding: 2px 12px;
    border-radius: 12px;
    margin-top: 4px;
}

/* ========== 通用标题 ========== */
.section-title {
    text-align: center;
    margin-bottom: 48px;
}
.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1d2129;
    letter-spacing: -0.5px;
}
.section-title p {
    font-size: 16px;
    color: #6b7785;
    margin-top: 8px;
}

/* ========== 特点 ========== */
.features {
    padding: 80px 0;
    background: #ffffff;
}
.features .grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.features .feature-card {
    background: #f7f9fc;
    border-radius: 16px;
    padding: 32px 24px 28px;
    transition: background 0.3s, transform 0.25s;
    border: 1px solid transparent;
    text-align: center;
}
.features .feature-card:hover {
    background: #f0f5ff;
    transform: translateY(-4px);
    border-color: rgba(0, 82, 217, 0.12);
}
.features .feature-card .icon {
    width: 56px;
    height: 56px;
    background: #e8f0fe;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px;
    color: #0052d9;
}
.features .feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1d2129;
    margin-bottom: 8px;
}
.features .feature-card p {
    font-size: 14px;
    color: #6b7785;
    line-height: 1.7;
}

/* ========== 技术栈 ========== */
.tech-stack {
    padding: 80px 0;
    background: #f7f9fc;
}
.tech-stack .grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.tech-stack .tech-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 20px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
    border: 1px solid #eef0f4;
    transition: box-shadow 0.3s, transform 0.25s;
}
.tech-stack .tech-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transform: translateY(-3px);
}
.tech-stack .tech-item .tech-icon {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 12px;
    display: block;
}
.tech-stack .tech-item .tech-icon.vue {
    color: #42b883;
}
.tech-stack .tech-item .tech-icon.tdesign {
    color: #0052d9;
}
.tech-stack .tech-item .tech-icon.go {
    color: #00add8;
}
.tech-stack .tech-item .tech-icon.goframe {
    color: #00b4a0;
}
.tech-stack .tech-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1d2129;
}
.tech-stack .tech-item p {
    font-size: 14px;
    color: #6b7785;
    margin-top: 4px;
}

/* ========== 定价 ========== */
.pricing {
    padding: 80px 0;
    background: #ffffff;
}
.pricing .pricing-card {
    max-width: 480px;
    margin: 0 auto;
    background: #f7f9fc;
    border-radius: 24px;
    padding: 40px 48px 48px;
    text-align: center;
    border: 1px solid #eef0f4;
    transition: box-shadow 0.3s, transform 0.25s;
    position: relative;
}
.pricing .pricing-card:hover {
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
}
.pricing .pricing-card .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #0052d9;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    padding: 4px 24px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}
.pricing .pricing-card .module-name {
    font-size: 20px;
    font-weight: 600;
    color: #1d2129;
    margin-top: 8px;
}
.pricing .pricing-card .module-name span {
    background: #e8f0fe;
    color: #0052d9;
    padding: 2px 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    margin-left: 8px;
}
.pricing .pricing-card .price {
    margin: 20px 0 8px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.pricing .pricing-card .price .original {
    font-size: 20px;
    color: #9aa3b3;
    text-decoration: line-through;
}
.pricing .pricing-card .price .current {
    font-size: 48px;
    font-weight: 700;
    color: #0052d9;
    line-height: 1;
}
.pricing .pricing-card .price .current small {
    font-size: 20px;
    font-weight: 500;
    color: #4e5969;
}
.pricing .pricing-card .price .save {
    font-size: 14px;
    color: #00a870;
    background: #e8f8f0;
    padding: 2px 14px;
    border-radius: 12px;
    font-weight: 500;
}
.pricing .pricing-card .sub-info {
    font-size: 14px;
    color: #6b7785;
    margin-bottom: 24px;
}
.pricing .pricing-card .features-list {
    text-align: left;
    margin: 20px 0 28px;
    padding: 0;
    list-style: none;
}
.pricing .pricing-card .features-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eef0f4;
    font-size: 15px;
    color: #1d2129;
    display: flex;
    align-items: center;
    gap: 10px;
}
.pricing .pricing-card .features-list li:last-child {
    border-bottom: none;
}
.pricing .pricing-card .features-list li .check {
    color: #00a870;
    font-weight: 700;
}
.pricing .pricing-card .btn-primary {
    background: #0052d9;
    color: #fff;
    padding: 14px 48px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background 0.25s, transform 0.15s;
    box-shadow: 0 4px 14px rgba(0, 82, 217, 0.25);
    width: 100%;
}
.pricing .pricing-card .btn-primary:hover {
    background: #003da5;
    transform: translateY(-2px);
}

/* ========== 模块详情 ========== */
.module-detail {
    padding: 80px 0;
    background: #f7f9fc;
}
.module-detail .detail-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 48px 56px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
    border: 1px solid #eef0f4;
}
.module-detail .detail-box h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1d2129;
    margin-bottom: 8px;
}
.module-detail .detail-box .sub {
    font-size: 15px;
    color: #6b7785;
    margin-bottom: 24px;
}
.module-detail .detail-box .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}
.module-detail .detail-box .tags .tag {
    background: #e8f0fe;
    color: #0052d9;
    padding: 4px 16px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 500;
}
.module-detail .detail-box .desc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 32px;
    margin-top: 16px;
}
.module-detail .detail-box .desc-grid .item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: #1d2129;
}
.module-detail .detail-box .desc-grid .item .dot {
    color: #0052d9;
    font-weight: 700;
    margin-top: 2px;
}

/* ========== FAQ ========== */
.faq {
    padding: 80px 0;
    background: #ffffff;
}
.faq .faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq .faq-item {
    background: #f7f9fc;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #eef0f4;
    transition: border-color 0.2s;
}
.faq .faq-item:hover {
    border-color: #d0d9e6;
}
.faq .faq-item .faq-q {
    padding: 18px 24px;
    font-weight: 500;
    font-size: 16px;
    color: #1d2129;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: background 0.2s;
}
.faq .faq-item .faq-q:hover {
    background: #f0f2f5;
}
.faq .faq-item .faq-q .arrow {
    transition: transform 0.3s ease;
    font-size: 14px;
    color: #6b7785;
}
.faq .faq-item .faq-q .arrow.open {
    transform: rotate(180deg);
}
.faq .faq-item .faq-a {
    padding: 0 24px 20px;
    font-size: 15px;
    color: #4e5969;
    line-height: 1.8;
    display: none;
}
.faq .faq-item .faq-a.open {
    display: block;
}

/* ========== Footer ========== */
.footer {
    background: #1d2129;
    color: rgba(255, 255, 255, 0.7);
    padding: 48px 0 32px;
}
.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}
.footer .footer-left .logo {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
}
.footer .footer-left p {
    font-size: 14px;
    margin-top: 4px;
}
.footer .footer-links {
    display: flex;
    gap: 28px;
    font-size: 14px;
}
.footer .footer-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
    cursor: pointer;
}
.footer .footer-links a:hover {
    color: #fff;
}
.footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 24px;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    width: 100%;
}

/* ========== 响应式 ========== */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero .hero-content .desc {
        margin-left: auto;
        margin-right: auto;
    }
    .hero .hero-buttons {
        justify-content: center;
    }
    .hero .hero-visual .mockup {
        max-width: 480px;
        margin: 0 auto;
    }
    .features .grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tech-stack .grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .module-detail .detail-box .desc-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        padding: 20px 24px;
        gap: 16px;
        border-bottom: 1px solid #eef0f4;
    }
    .navbar .nav-links.open {
        display: flex;
    }
    .navbar .mobile-toggle {
        display: block;
    }
    .hero {
        padding: 100px 0 60px;
    }
    .hero .hero-content h1 {
        font-size: 38px;
    }
    .features .grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .tech-stack .grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .pricing .pricing-card {
        padding: 32px 24px 36px;
    }
    .module-detail .detail-box {
        padding: 28px 20px;
    }
    .footer .container {
        flex-direction: column;
        text-align: center;
    }
    .footer .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero .hero-content h1 {
        font-size: 30px;
    }
    .features .grid {
        grid-template-columns: 1fr;
    }
    .tech-stack .grid {
        grid-template-columns: 1fr 1fr;
    }
    .pricing .pricing-card .price .current {
        font-size: 36px;
    }
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f0f2f5;
}
::-webkit-scrollbar-thumb {
    background: #c1c9d6;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a8b2c4;
}