/* ===== 全局重置 & 基础 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'PingFang SC', Roboto, -apple-system, sans-serif;
    background: #0b0e14;
    color: #e8edf5;
    min-height: 100vh;
    line-height: 1.6;
}

a {
    color: #58a9ff;
    text-decoration: none;
}
a:hover {
    color: #7dbfff;
}

/* ===== 容器 ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== 导航栏 ===== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
    gap: 12px;
}
.navbar .logo {
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(135deg, #58a9ff, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.navbar .nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}
.navbar .nav-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    transition: 0.3s;
    font-weight: 500;
}
.navbar .nav-links a:hover,
.navbar .nav-links a.active {
    color: #fff;
}
.navbar .nav-links .btn-outline {
    padding: 8px 20px;
    border: 1px solid rgba(88, 169, 255, 0.3);
    border-radius: 24px;
    color: #58a9ff !important;
    font-size: 14px;
    transition: 0.3s;
}
.navbar .nav-links .btn-outline:hover {
    background: rgba(88, 169, 255, 0.12);
    border-color: #58a9ff;
}

/* ===== Hero 区块 ===== */
.hero {
    padding: 60px 0 40px;
    text-align: center;
}
.hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}
.hero h1 .highlight {
    background: linear-gradient(135deg, #58a9ff, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 640px;
    margin: 0 auto 32px;
}
.hero .actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-primary {
    padding: 14px 40px;
    border-radius: 30px;
    border: none;
    background: linear-gradient(135deg, #58a9ff, #7c5cfc);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 8px 28px rgba(88, 169, 255, 0.25);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(88, 169, 255, 0.35);
}
.btn-secondary {
    padding: 14px 40px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* ===== 功能卡片 ===== */
.section-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin: 48px 0 12px;
}
.section-sub {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 32px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin: 32px 0;
}
.feature-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 28px 24px;
    transition: 0.3s;
}
.feature-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(88, 169, 255, 0.2);
    transform: translateY(-4px);
}
.feature-card .icon {
    font-size: 32px;
    margin-bottom: 12px;
}
.feature-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 6px;
}
.feature-card p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* ===== 定价卡片 ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 32px 0 48px;
}
.pricing-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    transition: 0.3s;
    position: relative;
}
.pricing-card:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-4px);
}
.pricing-card .badge {
    position: absolute;
    top: -10px;
    right: 16px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    padding: 2px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
}
.pricing-card .name {
    font-size: 18px;
    font-weight: 600;
}
.pricing-card .price {
    font-size: 32px;
    font-weight: 800;
    margin: 8px 0 4px;
    color: #58a9ff;
}
.pricing-card .price span {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.4);
}
.pricing-card .desc {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    margin-bottom: 16px;
}
.pricing-card .btn-plan {
    padding: 10px 28px;
    border-radius: 24px;
    border: none;
    background: rgba(88, 169, 255, 0.15);
    color: #58a9ff;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-size: 14px;
}
.pricing-card .btn-plan:hover {
    background: rgba(88, 169, 255, 0.25);
}
.pricing-card.popular {
    border-color: #58a9ff;
    box-shadow: 0 0 40px rgba(88, 169, 255, 0.06);
}

/* ===== 页脚 ===== */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 32px 0 24px;
    margin-top: 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.25);
    font-size: 14px;
}

/* ===== 下载页 ===== */
.download-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 48px;
    text-align: center;
    max-width: 560px;
    margin: 40px auto;
}
.download-box .version {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}
.download-box .file-name {
    font-size: 20px;
    font-weight: 600;
    margin: 12px 0 8px;
}
.download-box .file-size {
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
}
.download-box .btn-download {
    margin-top: 24px;
    padding: 16px 56px;
    border-radius: 30px;
    border: none;
    background: linear-gradient(135deg, #58a9ff, #7c5cfc);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 8px 28px rgba(88, 169, 255, 0.2);
}
.download-box .btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(88, 169, 255, 0.3);
}
.download-box .changelog {
    margin-top: 24px;
    text-align: left;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}
.download-box .changelog li {
    list-style: none;
    padding: 4px 0;
}

/* ===== 激活区 ===== */
.activate-container {
    max-width: 680px;
    margin: 40px auto;
}
.activate-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 40px 36px;
}
.activate-box .form-group {
    margin-bottom: 24px;
}
.activate-box label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 15px;
}
.activate-box .hint {
    color: rgba(255, 255, 255, 0.35);
    font-size: 13px;
    margin-top: 4px;
}
.activate-box input[type="text"] {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: 0.3s;
    font-family: monospace;
    letter-spacing: 1px;
}
.activate-box input[type="text"]:focus {
    border-color: rgba(88, 169, 255, 0.4);
    background: rgba(255, 255, 255, 0.06);
}
.activate-box .plan-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin: 12px 0 8px;
}
.activate-box .plan-option {
    padding: 16px 12px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
}
.activate-box .plan-option:hover {
    border-color: rgba(88, 169, 255, 0.2);
}
.activate-box .plan-option.selected {
    border-color: #58a9ff;
    background: rgba(88, 169, 255, 0.06);
}
.activate-box .plan-option .plan-name {
    font-weight: 600;
    font-size: 15px;
}
.activate-box .plan-option .plan-price {
    font-size: 20px;
    font-weight: 800;
    color: #58a9ff;
}
.activate-box .plan-option .plan-price span {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.3);
}
.activate-box .plan-option .plan-days {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
}
.activate-box .btn-generate {
    width: 100%;
    padding: 16px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, #58a9ff, #7c5cfc);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 8px;
}
.activate-box .btn-generate:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(88, 169, 255, 0.25);
}
.activate-box .btn-generate:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
}
.activate-box .status-msg {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 10px;
    display: none;
}
.activate-box .status-msg.error {
    display: block;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.15);
    color: #f87171;
}
.activate-box .status-msg.success {
    display: block;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.15);
    color: #4ade80;
}
.activate-box .status-msg.info {
    display: block;
    background: rgba(88, 169, 255, 0.12);
    border: 1px solid rgba(88, 169, 255, 0.15);
    color: #58a9ff;
}
.activate-box .free-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.activate-box .free-section .btn-free {
    padding: 12px 32px;
    border-radius: 24px;
    border: 1px solid rgba(88, 169, 255, 0.2);
    background: rgba(88, 169, 255, 0.04);
    color: #58a9ff;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-size: 15px;
}
.activate-box .free-section .btn-free:hover {
    background: rgba(88, 169, 255, 0.1);
}
.activate-box .free-section .free-hint {
    color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
    margin-top: 6px;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }
    .navbar .nav-links {
        gap: 16px;
        flex-wrap: wrap;
    }
    .pricing-grid {
        grid-template-columns: 1fr 1fr;
    }
    .activate-box .plan-selector {
        grid-template-columns: 1fr 1fr;
    }
    .download-box {
        padding: 28px 20px;
    }
}
@media (max-width: 480px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .activate-box .plan-selector {
        grid-template-columns: 1fr 1fr;
    }
    .activate-box {
        padding: 24px 16px;
    }
    .hero h1 {
        font-size: 26px;
    }
}