* { box-sizing: border-box; margin: 0; padding: 0; }
body { 
    background-color: #050505; 
    color: #ffffff; 
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
header { padding: 40px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { 
    width: 50px; height: 50px;
    border-radius: 12px; margin-right: 15px; display: flex; align-items: center; 
    justify-content: center; overflow: hidden;
}
.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.header-text h1 { font-size: 20px; font-weight: 600; }
.header-text p { font-size: 12px; color: #a855f7; font-weight: 500; }
.nav {
    margin-left: auto;
    display: flex;
    gap: 20px;
    font-size: 14px;
}
.nav a {
    color: #aaa;
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
}
.nav a:hover {
    color: #fff;
}
.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #a855f7);
    transition: width 0.2s ease;
}
.nav a:hover::after {
    width: 100%;
}
.plan-nav-mobile {
    display: none;
    margin: 0 0 16px;
    padding: 10px 12px;
    background: #111;
    border-radius: 12px;
    border: 1px solid #222;
    font-size: 13px;
}
.plan-nav-mobile a {
    flex: 1;
    text-align: center;
    color: #ccc;
    text-decoration: none;
    padding: 6px 4px;
    border-radius: 999px;
    border: 1px solid transparent;
}
.plan-nav-mobile a:hover {
    color: #fff;
    border-color: #6366f1;
}
.plan-nav-mobile a.active {
    color: #fff;
    border-color: #6366f1;
    background: linear-gradient(90deg, #6366f1, #a855f7);
}
.pricing-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 25px; 
    margin-top: 40px; 
}
.card { 
    background: #121214; 
    border: 1px solid #222; 
    border-radius: 24px; 
    padding: 30px; 
    position: relative; 
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}
.card:hover { transform: translateY(-10px); border-color: #6366f1; }
.card.featured { border: 2px solid #a855f7; background: #16161a; transform: scale(1.03); }
.card.featured:hover { transform: translateY(-10px) scale(1.03); }
.title {
    display: flex;
    align-items: center;
    gap: 8px;
}
.title-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}
.badge { 
    position: absolute; top: 20px; right: 20px; 
    background: #ef4444; color: white; font-size: 12px; 
    padding: 4px 12px; border-radius: 20px; font-weight: bold;
}
.featured-tag {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    background: #a855f7; font-size: 12px; padding: 4px 20px; border-bottom-right-radius: 12px; border-bottom-left-radius: 12px;
}
.price-box { margin: 25px 0; }
.current-price { font-size: 42px; font-weight: 700; color: #fff; }
.current-price .price-unit {
    font-size: 0.5em;
    margin-left: 4px;
}
.original-price { color: #666; text-decoration: line-through; margin-left: 10px; font-size: 16px; }
.price-desc { font-size: 12px; color: #888; margin-top: 8px; line-height: 1.4; }
.btn { 
    width: 100%; padding: 16px; border-radius: 14px; border: none; 
    background: linear-gradient(90deg, #6366f1, #a855f7); 
    color: white; font-weight: bold; font-size: 16px; cursor: pointer;
    margin-bottom: 25px; transition: opacity 0.2s;
}
.btn:hover { opacity: 0.9; }
.features { list-style: none; font-size: 13px; color: #ccc; flex-grow: 1; }
.features li { margin-bottom: 12px; display: flex; align-items: flex-start; }
.features li::before { content: "✓"; color: #22c55e; margin-right: 10px; font-weight: bold; }
.features li.dot::before { content: "◆"; color: #a855f7; }
.features li.special::before { content: "⑦"; color: #f59e0b; }
.features li.info::before { content: "i"; border: 1px solid #555; border-radius: 50%; width:14px; height:14px; display:inline-flex; align-items:center; justify-content:center; font-size:10px; }
.faq { margin-top: 80px; padding-bottom: 60px; }
.faq h2 { text-align: center; margin-bottom: 40px; font-size: 28px; }
.faq-item { background: #121214; padding: 20px; border-radius: 12px; margin-bottom: 15px; border: 1px solid #222; }
.faq-item h4 { color: #fff; margin-bottom: 10px; }
.faq-item p { color: #888; font-size: 14px; }
footer { border-top: 1px solid #222; padding: 32px 0 40px; color: #666; font-size: 12px; }
.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    font-size: 14px;
    font-weight: 600;
}
.footer-title {
    font-size: 13px;
    color: #aaa;
}
.footer-links {
    font-size: 12px;
    color: #777;
}
.footer-links a {
    color: #777;
    text-decoration: none;
}
.footer-links a:hover {
    color: #a855f7;
}
.footer-links .dot {
    margin: 0 4px;
}
.footer-meta {
    font-size: 11px;
    color: #555;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-links {
        text-align: left;
    }
}
.modal-overlay { 
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(0,0,0,0.85); z-index: 1000; align-items: center; justify-content: center;
}
.modal { 
    background: #1c1c1f; width: 90%; max-width: 400px; padding: 30px; 
    border-radius: 20px; border: 1px solid #333; position: relative;
}
.modal h3 { margin-bottom: 20px; font-size: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 12px; color: #888; margin-bottom: 8px; }
.form-group input { 
    width: 100%; background: #000; border: 1px solid #333; padding: 12px; 
    color: #fff; border-radius: 8px; outline: none;
}
.form-group input:focus { border-color: #a855f7; }
.pay-methods { display: flex; gap: 10px; margin-top: 10px; }
.pay-btn { 
    flex: 1; border: 1px solid #333; padding: 10px; border-radius: 8px; 
    display: flex; align-items: center; justify-content: center; gap: 6px;
    cursor: pointer; font-size: 14px;
}
.pay-btn.active { border-color: #a855f7; background: rgba(168, 85, 247, 0.1); }

.pay-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}
.pay-btn-more {
    display: none;
}
.pay-methods.show-more .pay-btn-more {
    display: flex;
}
.more-pay {
    margin-top: 8px;
    font-size: 12px;
    color: #888;
    cursor: pointer;
    text-align: right;
}
.more-pay:hover {
    color: #a855f7;
}
@media (max-width: 768px) {
    header {
        justify-content: flex-start;
        gap: 8px;
    }
    .logo {
        margin-right: 4px;
    }
    .header-text {
        text-align: left;
    }
    .plan-nav-mobile {
        display: flex;
        gap: 8px;
        margin-top: 8px;
    }
    .pricing-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 12px;
        margin-top: 24px;
        padding-bottom: 8px;
    }
    .pricing-grid::-webkit-scrollbar {
        display: none;
    }
    .pricing-grid .card {
        min-width: 100%;
        scroll-snap-align: start;
    }

    .card.featured { transform: scale(1); }
    .card.featured:hover { transform: translateY(-10px); }
    .header-text h1 { font-size: 18px; }
    .nav { display: none; }
    #download {
        margin-top: 48px;
        margin-bottom: 48px;
    }
    #download h3 {
        margin-bottom: 12px !important;
    }
    #download p {
        margin-bottom: 8px !important;
    }
    #download img {
        margin-top: 20px !important;
        max-width: 80%;
        width: 220px;
        height: auto;
    }
}
