* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* body {
    position: relative;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    color: #e0e0e0;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
} */

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* 背景层 */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    /* background: radial-gradient(circle at 20% 30%, #ff00ff 0%, #4b0082 60%),
        linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%); */
    background-blend-mode: overlay, overlay;
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    color: #e0e0e0;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(45deg,
            rgba(255, 0, 255, 0.05),
            rgba(255, 0, 255, 0.05) 2px,
            transparent 2px,
            transparent 4px);
    pointer-events: none;
    z-index: 0;
    animation: cybergrid 20s linear infinite;
}

@keyframes cybergrid {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100px, -100px);
    }
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* 头部区域 */
.header {
    text-align: center;
    padding: 60px 0 50px;
}

.header h1 {
    color: #00ffff;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    /* text-shadow: 0 0 10px #ff00ff, 0 0 20px #00ffff, 0 0 30px #ff00ff, 0 0 40px #00ffff; */
    letter-spacing: -0.5px;
}

.header .subtitle {
    color: #ff6aff;
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 2px;
    /* text-shadow: 0 0 5px #ff6aff, 0 0 10px #00ffff; */
}

/* 主要内容区域 */
.main-content {
    background: rgba(12, 12, 28, 0.8);
    border-radius: 24px;
    /* box-shadow: 0 0 40px rgba(0, 255, 255, 0.3); */
    overflow: hidden;
    margin-bottom: 50px;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

/* 产品展示区 */
.product-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 100%);
    color: white;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.product-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 0, 255, 0.3);
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
    letter-spacing: 1px;
    color: #ff00ff;
}

.product-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    /* text-shadow: 0 0 10px #ff00ff, 0 0 20px #00ffff; */
    letter-spacing: -1px;
}

.product-price {
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 15px;
    flex-wrap: wrap;
}

.price-prefix {
    font-size: 1.6rem;
    font-weight: 500;
    opacity: 0.9;
}

.price-amount {
    font-size: 5rem;
    font-weight: 800;
    text-shadow: 0 0 10px #ff00ff, 0 0 20px #00ffff;
    background: linear-gradient(45deg, #ff00ff, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.price-suffix {
    font-size: 1.3rem;
    font-weight: 500;
    opacity: 0.9;
}

/* 帮助按钮样式 */
.help-btn {
    display: inline-block;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #ff00ff 0%, #00ffff 100%);
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 25px auto 0;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.5), 0 0 25px rgba(0, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.help-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 25px rgba(255, 0, 255, 0.7), 0 0 35px rgba(0, 255, 255, 0.7);
}

.product-period {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-top: 25px;
    position: relative;
    z-index: 2;
    font-weight: 500;
}

.product-period .qr-code {
    width: 300px;
    height: 300px;
    margin: 20px auto;
    display: block;
    border-radius: 16px;
    border: 4px solid rgba(255, 0, 255, 0.3);
}

/* 购买选项 */
.purchase-section {
    padding: 50px 40px;
    background: #0f0f1a;
}

.purchase-title {
    font-size: 2rem;
    color: #00ffff;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.purchase-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 35px;
}

.purchase-btn {
    display: block;
    padding: 30px 25px;
    text-decoration: none;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.5);
}

.purchase-btn.primary {
    background: linear-gradient(135deg, #00ffff 0%, #ff00ff 100%);
    color: white;
}

.purchase-btn.secondary {
    background: linear-gradient(135deg, #ff00ff 0%, #00ffff 100%);
    color: white;
}

.purchase-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(255, 0, 255, 0.7), 0 0 35px rgba(0, 255, 255, 0.7);
}

.purchase-btn h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
    letter-spacing: -0.3px;
}

.purchase-btn p {
    opacity: 0.9;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
    font-weight: 500;
}

/* 保障信息 */
.guarantee-section {
    padding: 50px 40px;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 100%);
}

.guarantee-title {
    font-size: 2rem;
    color: #00ffff;
    margin-bottom: 35px;
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.guarantee-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.guarantee-item {
    display: flex;
    align-items: flex-start;
    padding: 25px;
    background: rgba(12, 12, 28, 0.8);
    border-radius: 16px;
    /* box-shadow: 0 0 20px rgba(255, 0, 255, 0.2); */
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 0, 255, 0.2);
}

.guarantee-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.4);
    border-color: #00ffff;
}

.guarantee-icon {
    font-size: 2rem;
    margin-right: 18px;
    margin-top: 3px;
}

.guarantee-text h4 {
    color: #00ffff;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1.2rem;
    letter-spacing: -0.3px;
}

.guarantee-text p {
    color: #bdc3c7;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
}

/* 视频教程区域 */
.video-section {
    padding: 50px 40px;
    background: #0f0f1a;
    text-align: center;
}

.video-title {
    font-size: 2rem;
    color: #ff00ff;
    margin-bottom: 25px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
}

.video-player {
    width: 100%;
    height: auto;
    border-radius: 16px;
    /* box-shadow: 0 0 25px rgba(255, 0, 255, 0.5), 0 0 35px rgba(0, 255, 255, 0.5); */
}

/* 底部特色 */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    padding: 50px 40px;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 100%);
}

.feature-card {
    background: rgba(12, 12, 28, 0.8);
    padding: 35px 25px;
    border-radius: 18px;
    text-align: center;
    /* box-shadow: 0 0 20px rgba(255, 0, 255, 0.3); */
    backdrop-filter: blur(15px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 0, 255, 0.3);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.5);
    border-color: #00ffff;
}

.feature-icon {
    font-size: 2.8rem;
    margin-bottom: 18px;
    display: block;
}

.feature-card h4 {
    color: #00ffff;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.3rem;
    letter-spacing: -0.3px;
}

.feature-card p {
    color: #bdc3c7;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .header h1 {
        font-size: 2.5rem;
    }

    .header .subtitle {
        font-size: 1.2rem;
    }

    .purchase-options {
        grid-template-columns: 1fr;
    }

    .product-section,
    .purchase-section,
    .guarantee-section,
    .video-section,
    .features {
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 2rem;
    }

    .header .subtitle {
        font-size: 1rem;
    }

    .product-title {
        font-size: 2rem;
    }

    .price-amount {
        font-size: 3.5rem;
    }

    .purchase-btn h3 {
        font-size: 1.2rem;
    }

    .purchase-btn p {
        font-size: 1rem;
    }
}

/* 弹窗样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 12, 28, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #1a1a2e;
    color: #ecf0f1;
    padding: 30px 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.5), 0 0 40px rgba(0, 255, 255, 0.5);
    max-width: 90%;
    width: 450px;
    transform: scale(0.95);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 0, 255, 0.3);
}

.modal-overlay.visible .modal-content {
    transform: scale(1);
}

.modal-content .message {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.modal-content .timer-text {
    color: #bdc3c7;
    font-size: 1rem;
    margin-top: 20px;
}

#modal-timer {
    color: #ff00ff;
}