/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式更新 */
.nav {
    background-color: #ffffff;
    padding: 0;
    /* 移除内边距使导航更扁平 */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    height: 64px;
    /* 固定导航栏高度 */
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 50px;
    width: 50px;
    width: auto;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 0rem;
    margin: 0;
    padding: 0;
    height: 100%;
    /* 使菜单项充满导航栏高度 */
}

.nav li {
    margin: 0;
    height: 100%;
    /* 使每个菜单项充满高度 */
}

.nav a {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    padding: 0 1.5rem;
    border-radius: 0;
    /* 移除圆角 */
    transition: all 0.2s ease;
    font-size: 1rem;
    height: 64px;
    /* 与导航栏同高 */
    display: flex;
    align-items: center;
}

.nav a:hover {
    color: #2a7fff;
    background-color: #fff5eb;
}

.nav a.active {
    background-color: #2a7fff;
    color: white;
}

/* 特性卡片样式更新 */
.features {
    padding: 3rem 2rem;
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 改为3列布局 */
    gap: 1.5rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid #3182ce;
}

.feature-card h3 {
    color: #2d3748;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #e2e8f0;
}

.feature-card p {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.6;
}

/* 让最后一个卡片在大屏幕下居中显示 */
.feature-card:last-child {
    grid-column: 2;
    /* 最后一个卡片居中 */
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .features-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card:last-child {
        grid-column: auto;
        /* 移动端取消居中 */
    }
}

@media (max-width: 768px) {
    .features-container {
        grid-template-columns: 1fr;
    }
}

/* 视频教程列表样式 */
.tutorials {
    padding: 3rem 1rem;
    background-color: #fff;
    border-top: 1px solid #eee;
}

.tutorials h2 {
    margin-bottom: 2rem;
    text-align: center;
    color: #2d3748;
    font-size: 1.8rem;
}

.tutorial-list {
    max-width: 1200px;
    margin: 0 auto;
}

.tutorial-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.tutorial-item:hover {
    background-color: #f8f9fa;
}

.tutorial-title {
    color: #3182ce;
    text-decoration: none;
    flex: 1;
    margin-right: 1rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.tutorial-title:hover {
    color: #2c5282;
}

.tutorial-date {
    color: #718096;
    font-size: 0.9rem;
}

/* 页脚样式 */
/* 页脚 */
footer {
    background-color: #333;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #ccc;
}

.footer-logo p {
    color: #8b8b8b;
    font-size: 14px;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #ccc;

}

.footer-links ul li {
    margin-bottom: 10px;
    list-style: none;
}

.footer-links ul li a {
    color: #8b8b8b;
    transition: color 0.3s;
    font-size: 14px;
    text-decoration: none;

}

.footer-links ul li a:hover {
    color: #fff;
}

.footer-contact h3 {
    text-align: right;
}

.footer-contact p {
    margin-bottom: 10px;
    color: #8b8b8b;
    font-size: 14px;
    text-align: right;
}

.footer-contact p a {
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
}



/* 响应式导航栏调整 */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .tutorial-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .tutorial-title {
        margin-bottom: 0.5rem;
    }

    .nav {
        padding: 0.5rem 0;
    }

    .nav ul {
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .nav li {
        margin: 0.5rem;
    }

    .nav a {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }

    .tutorial-item {
        padding: 1rem;
    }

    .tutorial-title {
        font-size: 0.95rem;
    }

    .tutorial-date {
        font-size: 0.85rem;
    }
}

/* 更新hero区域样式 */
.hero {
    /* background: linear-gradient(135deg, #2381fce5 0%, #0358f7d8 100%); */

    background:
        radial-gradient(circle at 50% 30%,
            #0011ff 0%,
            #000833 80%),
        repeating-linear-gradient(60deg,
            transparent 0px,
            transparent 4px,
            rgba(0, 102, 255, 0.1) 4px,
            rgba(0, 102, 255, 0.1) 6px);

    padding: 2.5rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* 添加背景装饰 */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(158, 192, 255, 0.6) 0%, rgba(255, 255, 255, 0) 60%);
    animation: rotate 30s linear infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="%23718096" opacity="0.1"/></svg>') repeat;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Hero标题样式优化 */
.hero-container h1 {
    font-size: 2.6rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #f4f6f8;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 品牌名称渐变动画效果 */
.brand-text {
    font-size: 3.2rem;
    /* 增大字体 */
    background: linear-gradient(45deg,
            #ffffff 0%,
            #f6f7f8 50%,
            #ffffff 100%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shine 3s ease-in-out infinite;
    font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.1);
    font-weight: 700;
    /* 加粗 */
    letter-spacing: 1px;
    /* 增加字间距 */
}

@keyframes shine {
    0% {
        background-position: 200% center;
    }

    100% {
        background-position: -200% center;
    }
}

/* 版本号样式优化 */
.version-text {
    font-size: 0.6em;
    position: relative;
    margin-left: 1rem;
    padding: 0.4rem 1.2rem;
    font-weight: 500;
    color: #fa0000;
    background: linear-gradient(135deg, #ffffff, #ffffff);
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
    transform: translateY(2px);
}

.version-text::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: linear-gradient(135deg, #ffffff, #ffffff);
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.version-text:hover::before {
    opacity: 1;
}

.version-text span {
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: 0.3px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #2b6cb0 0%, #3182ce 100%);
    color: white;
    padding: 0.9rem 2.5rem;
    border-radius: 0;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(49, 130, 206, 0.3);
    position: relative;
    overflow: hidden;
}

.hero-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3182ce 0%, #2b6cb0 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(49, 130, 206, 0.4);

}

.hero-button:hover::before {
    opacity: 0.5;
}

.hero-button span,
.hero-button i {
    position: relative;
    z-index: 1;
}

.hero-button i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.hero-button:hover i {
    transform: translateX(4px);

}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero {
        padding: 2rem 1rem;
    }

    .hero-container h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .hero-button {
        padding: 0.8rem 1.8rem;
        font-size: 1rem;
    }

    .version-text {
        font-size: 0.55em;
        padding: 0.3rem 1rem;
        margin-left: 0.8rem;
    }

    .brand-text {
        font-size: 2.4rem;
        /* 移动端字体大小 */
    }
}

/* 版本对比表格样式优化 */
.versions {
    margin-top: 20px;
    /* 添加上边距 */
    padding: 3rem 1rem;
    background-color: #fff;
    border-top: 1px solid #eee;
}

.versions h2 {
    text-align: center;
    color: #2d3748;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.version-table-container {
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
    padding: 1rem;
    background: linear-gradient(to right, #fff 30%, rgba(255, 255, 255, 0)), linear-gradient(to right, rgba(255, 255, 255, 0), #fff 70%) 100% 0, radial-gradient(farthest-side at 0 50%, rgba(0, 0, 0, .2), rgba(0, 0, 0, 0)), radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, .2), rgba(0, 0, 0, 0)) 100% 0;
    background-repeat: no-repeat;
    background-size: 40px 100%, 40px 100%, 14px 100%, 14px 100%;
    background-position: 0 0, 100%, 0 0, 100% 0;
    background-attachment: local, local, scroll, scroll;
}

.version-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.version-table th {
    background: linear-gradient(to bottom, #f8fafc 0%, #f1f5f9 100%);
    color: #1e293b;
    font-weight: 600;
    padding: 1.2rem 1.5rem;
    text-align: left;
    border-bottom: 2px solid #e2e8f0;
}

.version-table td {
    padding: 1rem 1.5rem;
    color: #475569;
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.category-header td {
    background: linear-gradient(to right, #f0f9ff 0%, #e0f2fe 100%);
    font-weight: 600;
    color: #0369a1;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border-bottom: 2px solid #e2e8f0;
    border-top: 1px solid #e2e8f0;
}

.version-table tr:not(.category-header):hover td {
    background-color: #f8fafc;
}

.version-table .check-mark {
    color: #059669;
    font-size: 1.4rem;
    transition: transform 0.2s ease;
    display: inline-block;
}

.version-table tr:hover .check-mark {
    transform: scale(1.2);
}

/* 响应式调整 */
@media (max-width: 768px) {

    .version-table th,
    .version-table td {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }

    .category-header td {
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }

    .versions h2 {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }
}

/* 购买页面样式 */
.price-section,
.payment-section,
.process-section {
    padding: 2rem 1rem;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    background: linear-gradient(to bottom, #f8fafc, #fff);
}

.price-container,
.payment-container,
.process-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* 价格部分样式 */
.price-section {
    padding: 2rem 1rem;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.price-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.price-box {
    flex: 1;
    min-width: 400px;
    max-width: 600px;
    padding: 2rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.price-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.price-container h2 {
    font-size: 1.8rem;
    color: #2d3748;
    margin-bottom: 1.5rem;
}

.price-info {
    margin: 1.5rem 0;
}

.current-price {
    margin-bottom: 0.8rem;
}

.price-label {
    font-size: 1.1rem;
    color: #2d3748;
}

.price-value {
    font-size: 2.2rem;
    color: #ff6b00;
    font-weight: 600;
    margin: 0 0.3rem;
}

.price-unit {
    color: #4a5568;
}

.price-note {
    color: #4a5568;
    margin-left: 0.5rem;
}

.original-price {
    color: #718096;
}

.price-through {
    text-decoration: line-through;
    margin-left: 0.3rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .price-section {
        padding: 1.5rem 1rem;
    }

    .price-container h2 {
        font-size: 1.6rem;
    }

    .price-value {
        font-size: 2rem;
    }

    .price-box {
        min-width: 360px;
        padding: 1.5rem;
    }
}

/* 付款方式样式优化 */
.payment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.bank-transfer,
.qr-payment {
    padding: 2rem;
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
}

.qr-payment:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.bank-transfer h3,
.qr-payment h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #2d3748;
    font-size: 1.2rem;
}

.bank-transfer:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.bank-info {
    text-align: left;
    /* 银行信息左对齐 */
}

.bank-info p {
    margin: 1rem 0;
    color: #4a5568;
    line-height: 1.6;
}

.bank-info span {
    font-weight: 500;
    color: #2d3748;
    display: inline-block;
    width: 70px;
    /* 固定标签宽度，使内容对齐 */
}

.qr-code {
    text-align: center;
    margin-top: 1rem;
}

.qr-code img {
    max-width: 200px;
    height: auto;
}

/* 购买流程样式 */
.process-content {
    margin-top: 2rem;
    padding: 2rem;
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
}

.process-steps {
    color: #2d3748;
    font-weight: 500;
    margin-bottom: 1rem;
}

.process-notice {
    color: #718096;
    line-height: 1.6;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .payment-methods {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .bank-transfer,
    .qr-payment {
        padding: 1.5rem;
    }

    .price-value {
        font-size: 2.2rem;
    }

    .process-content {
        padding: 1.5rem;
    }

    .price-info {
        padding: 1rem;
        min-width: 280px;
    }

    .version-label {
        font-size: 1.2rem;
    }
}

/* 活动模块样式优化 */
.promotion {
    padding: 1.5rem 1rem;
    background: linear-gradient(135deg, #fff5eb 0%, #fff8f0 100%);
    border-bottom: 1px solid #ffe4cc;
}

.promotion-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 1.5rem 2rem;
    background: #fff;
    border: 2px solid #1365fd;
    box-shadow: 0 2px 12px rgba(255, 107, 0, 0.1);
}

.promotion-badge {
    position: absolute;
    top: 0;
    left: 2rem;
    transform: translateY(-50%);
    background: #1365fd;
    color: white;
    padding: 0.4rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    /* box-shadow: 0 2px 4px rgba(255, 107, 0, 0.2); */
}

.promotion-badge::before,
.promotion-badge::after {
    content: '';
    position: absolute;
    top: 0;
    width: 8px;
    height: 100%;
    background: #1365fd;
}

.promotion-badge::before {
    left: -8px;
    clip-path: polygon(100% 0, 100% 100%, 0 50%);
}

.promotion-badge::after {
    right: -8px;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.promotion h2 {
    color: #ff6b00;
    font-size: 1.4rem;
    margin: 0.5rem 0 1rem;
    text-align: left;
    font-weight: 600;
    padding-left: 0.5rem;
    border-left: 4px solid #ff6b00;
}

.promotion p {
    color: #4a5568;
    text-align: left;
    line-height: 1.7;
    margin: 0;
    padding-left: calc(0.5rem + 4px);
    font-size: 1.05rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .promotion {
        padding: 1.2rem 1rem;
    }

    .promotion-container {
        padding: 1.2rem 1.5rem;
    }

    .promotion-badge {
        left: 1.5rem;
        padding: 0.3rem 1.2rem;
        font-size: 0.9rem;
    }

    .promotion h2 {
        font-size: 1.2rem;
        margin: 0.5rem 0 0.8rem;
    }

    .promotion p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* 移动端导航菜单样式 */
@media (max-width: 768px) {
  
    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0;
        width: 100%;
    }

    .nav li {
        width: 100%;
        margin: 0;
    }

    .nav a {
        width: 100%;
        padding: 1rem;
        justify-content: center;
    }
}

/* 导航栏响应式样式 */
@media (max-width: 768px) {
    .nav {
        padding: 0.1rem 0;
    }

    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 0rem;
    }

    .nav-brand {
        /* margin-bottom: 1rem; */
        display: none;
    }

    .nav ul {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav li {
        width: 100%;
        height: 35px;
    }

    .nav a {
        width: 100%;
        height: 35px;
        justify-content: center;
        padding: 0.8rem;
        border-bottom: 1px solid #eee;
    }

    .nav a:last-child {
        border-bottom: none;
    }

    .nav a.active {
        border-radius: 0;
    }

    .nav-logo {
        height: 40px;
    }
}

/* 平板设备的导航栏样式 */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-container {
        padding: 0 1rem;
    }

    .nav a {
        padding: 0 1rem;
    }

    .nav ul {
        gap: 1rem;
    }
}

/* Hero按钮组样式 */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}




.hero-button-service {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%);
}

.hero-button-service::before {
    background: linear-gradient(135deg, #ff8533 0%, #ff6b00 100%);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
        padding: 0 1rem;
    }

    .hero-button {
        width: 100%;
        justify-content: center;
    }
}

/* 购买页面样式 */
.purchase-hero {
    height: 150px;
    padding: 0;
    background:
        radial-gradient(circle at 50% 30%,
            #0011ff 0%,
            #000833 80%),
        repeating-linear-gradient(60deg,
            transparent 0px,
            transparent 4px,
            rgba(0, 102, 255, 0.1) 4px,
            rgba(0, 102, 255, 0.1) 6px);
}

.purchase-hero .hero-content {
    padding: 35px 0;
    color: #fff;
}

.version-hero {
    height: 150px;
    padding: 0;
    background:
        radial-gradient(circle,
            #00ccff 0%,
            #0011ff 70%),
        linear-gradient(45deg,
            transparent 40%,
            rgba(0, 255, 255, 0.1) 50%,
            transparent 60%);
}

.version-hero .hero-content {
    padding: 35px 0;
    color: #fff;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
    }

    /* 调整移动端内容区域的宽度 */
    .hero-container,
    .features-container,
    .tutorial-list,
    .footer-content {
        width: 100%;
        padding: 0;
    }

    /* 调整移动端特性卡片 */
    .feature-card {
        width: 100%;
        margin: 0;
    }

    /* 调整移动端按钮组 */
    .hero-buttons {
        width: 100%;
        padding: 0;
    }

    /* 调整移动端导航容器 */
    .nav-container {
        padding: 0 10px;
    }
}