* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    min-height: 100vh;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 20px;
}

header {
    text-align: center;
    margin-bottom: 25px;
}

header h1 {
    font-size: 2.5em;
    background: linear-gradient(90deg, #6C5CE7, #a29bfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    color: #a0a0b0;
    margin-top: 6px;
    font-size: 1.1em;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.feature-card {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    color: #6C5CE7;
    margin-bottom: 10px;
}

.feature-card p {
    color: #a0a0b0;
    font-size: 0.9em;
}

.pricing {
    text-align: center;
    margin-bottom: 15px;
}

.pricing h2 {
    margin-bottom: 30px;
    font-size: 1.8em;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 35px 25px;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    transition: transform 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.popular {
    border-color: #6C5CE7;
    box-shadow: 0 0 30px rgba(108,92,231,0.3);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #6C5CE7;
    color: #fff;
    padding: 4px 20px;
    border-radius: 20px;
    font-size: 0.85em;
}

.pricing-card h3 {
    font-size: 1.3em;
    margin-bottom: 15px;
}

.price {
    font-size: 2.5em;
    font-weight: bold;
    color: #6C5CE7;
    margin-bottom: 20px;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 25px;
}

.pricing-card ul li {
    padding: 8px 0;
    color: #c0c0d0;
    font-size: 0.95em;
}

.pricing-card ul li::before {
    content: "✓ ";
    color: #6C5CE7;
    font-weight: bold;
}

.btn-buy {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background: #6C5CE7;
    color: #fff;
    font-size: 1.1em;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-buy:hover {
    background: #5a4bd1;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: #1a1a2e;
    border-radius: 16px;
    padding: 35px;
    max-width: 500px;
    width: 90%;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5em;
    cursor: pointer;
    color: #888;
}

.close:hover {
    color: #fff;
}

.modal-content h2 {
    margin-bottom: 25px;
    text-align: center;
    color: #6C5CE7;
}

.step {
    text-align: center;
}

.step.hidden {
    display: none;
}

.step h3 {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.step p {
    color: #a0a0b0;
    margin-bottom: 20px;
    font-size: 0.9em;
}

input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    color: #fff;
    font-size: 1em;
    margin-bottom: 20px;
    text-align: center;
}

input[type="text"]:focus {
    outline: none;
    border-color: #6C5CE7;
}

.btn-next, .btn-simulate {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    background: #6C5CE7;
    color: #fff;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-next:hover, .btn-simulate:hover {
    background: #5a4bd1;
}

.btn-simulate {
    background: #27ae60;
    margin-top: 15px;
}

.btn-simulate:hover {
    background: #219a52;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.payment-method {
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: border-color 0.3s;
}

.payment-method:hover {
    border-color: #6C5CE7;
}

.payment-icon {
    font-size: 1.1em;
    font-weight: bold;
}

.qr-container {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 15px;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #333;
}

.payment-note {
    color: #a0a0b0;
    font-size: 0.85em;
}

.activation-code-box {
    background: rgba(108,92,231,0.15);
    border: 1px solid #6C5CE7;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 15px;
}

.code-display {
    font-family: "Courier New", monospace;
    font-size: 1.3em;
    color: #6C5CE7;
    padding: 15px;
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
    margin: 15px 0;
    word-break: break-all;
}

.btn-copy {
    padding: 10px 25px;
    border: none;
    border-radius: 6px;
    background: #6C5CE7;
    color: #fff;
    cursor: pointer;
    font-size: 0.95em;
}

.hint {
    color: #a0a0b0;
    font-size: 0.85em;
}

footer {
    text-align: center;
    padding: 10px 0;
    color: #666;
    font-size: 0.85em;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.download-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6C5CE7;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    padding: 10px 28px;
    border: 1px solid rgba(108, 92, 231, 0.3);
    border-radius: 10px;
    transition: all 0.3s;
    margin-bottom: 10px;
}
.download-link-btn:hover {
    background: rgba(108, 92, 231, 0.1);
    border-color: #6C5CE7;
    color: #a855f7;
}

@media (max-width: 768px) {
    .features {
        grid-template-columns: 1fr;
    }
    .pricing-cards {
        grid-template-columns: 1fr;
    }
}
