/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: #0066cc;
    transition: all 0.3s ease;
}

a:hover {
    color: #0044aa;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* 顶部联系信息栏 */
.top-bar {
    background-color: #f2f2f2;
    padding: 8px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid #e5e5e5;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
    color: #666;
}

.contact-info i, 
.top-links i {
    margin-right: 5px;
    color: #0066cc;
}

.top-links a {
    margin-left: 15px;
    color: #666;
}

.top-links a:hover {
    color: #0066cc;
}

/* 头部样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 76px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 76px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.8rem;
    color: #0066cc;
}

/* 导航菜单 */
nav {
    display: flex;
    align-items: stretch;
    height: 100%;
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    height: 100%;
    margin-top: 0;
}

nav ul li {
    height: 100%;
    display: flex;
    align-items: stretch;
    margin: 0 5px;
    position: relative;
}

nav ul li a {
    color: #333;
    font-weight: 400;
    padding: 0 12px;
    display: flex;
    align-items: center;
    position: relative;
    height: 100%;
    font-size: 18px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: #0066cc;
}

nav ul li a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    top: 0;
    left: 0;
    background-color: #0066cc;
    transition: all 0.3s ease;
}

nav ul li a.active {
    color: #0066cc;
}

nav ul li a.active::before {
    width: 100%;
}

nav ul li a:hover::before {
    width: 100%;
}

/* Hero Banner区域 */
.hero-banner {
    background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)), url('../images/bannerbg.jpg');
    background-size: cover;
    background-position: center;
    height: 500px;
    color: white;
    display: flex;
    align-items: center;
    text-align: left;
}

.hero-content {
    max-width: 1100px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* 按钮样式 */
.btn {
    display: inline-block;
    background-color: #0066cc;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: #0066cc;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #fff;
    margin-left: 15px;
}

/* 标题区域 */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* 产品区域 */
.product-section {
    padding: 50px 0;
    background-color: #fff;
    position: relative;
    padding-top: 20px;
    overflow: hidden;
     
}

.product-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d4d6d6, transparent);
    
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
}

.product-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding-top: 20px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0066cc, #00aaff);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 102, 204, 0.15);
    border-color: rgba(0, 102, 204, 0.2);
}

.product-card:hover::before {
    opacity: 1;
}

.product-image {
    height: 120px;
    width: 120px;
    overflow: hidden;
    margin: 0 auto;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(45deg, #ffffff, #88898a);
    transition: all 0.4s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 102, 204, 0.2);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.5s;
}

.product-content {
    padding: 25px;
    position: relative;
    text-align: center;
}

.product-content h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: #0066cc;
    text-align: center;
    position: relative;
    display: inline-block;
    padding: 0 15px;
}

.product-content h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #0066cc, #00aaff);
    transition: width 0.3s ease;
}

.product-card:hover .product-content h3::after {
    width: 60px;
}

.product-subtitle {
    color: #666;
    margin-bottom: 20px;
    font-weight: 500;
    text-align: center;
    font-size: 1.1rem;
}

.product-features {
    list-style: none;
    margin: 0 0 25px 0;
    padding: 0;
    text-align: center;
}

.product-features li {
    margin-bottom: 12px;
    color: #555;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.product-features li:hover {
    transform: translateX(5px);
    color: #0066cc;
}

.product-features li i {
    color: #0066cc;
    margin-right: 8px;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.product-features li:hover i {
    transform: scale(1.2);
}

.btn-small {
    padding: 15px 35px;
    font-size: 1.1rem;
    margin: 20px auto 0;
    background: linear-gradient(45deg, #0066cc, #00aaff);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
    display: inline-block;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
}

.btn-small:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
    background: linear-gradient(45deg, #0052a3, #0099ff);
}

.btn-small:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.product-card:hover .btn-small {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
}



.btn-small_download {
    padding: 5px 20px;
    font-size: 16px;
    margin: 3px auto 0;
    background: linear-gradient(45deg, #00aaff, #0066cc );
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.1);
    display: inline-block;
    border-radius: 30px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
}

.btn-small_download:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.2);
    background: linear-gradient(45deg, #0099ff, #0052a3);
}

.btn-small_download:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.product-card:hover .btn-small_download {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
}


.product-steps {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #eee;
}

.product-steps h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

.product-steps ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block;
}

.product-steps li {
    color: #666;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.product-steps li:hover {
    color: #0066cc;
}

.product-steps li i {
    color: #0066cc;
    font-size: 1.1rem;
    background: rgba(0, 102, 204, 0.1);
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.product-steps li:hover i {
    background: #0066cc;
    color: white;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .product-card {
        padding-top: 15px;
    }
    
    .product-content {
        padding: 20px;
    }
    
    .product-steps {
        padding-top: 15px;
        margin-top: 15px;
    }
}

/* 特性区域 */
.features-section {
    padding: 40px 0;
    background-color: #f5f8ff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: #0066cc;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.feature-item p {
    color: #666;
}

/* CTA区域 */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #333;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0px;
    background: linear-gradient(90deg, #0066cc, #00aaff);
}

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

.cta-column {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.cta-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.cta-column h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #0066cc;
}

.cta-column p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #666;
}

.cta-column .btn {
    display: inline-block;
    padding: 12px 30px;
    margin-bottom: 25px;
    font-size: 1.1rem;
    background: #0066cc;
    color: white;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.2);
}

.cta-column .btn:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
}

.cta-steps {
    text-align: left;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.cta-steps h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
}

.cta-steps ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cta-steps li {
    color: #666;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.cta-steps li:hover {
    color: #0066cc;
}

.cta-steps li i {
    color: #0066cc;
    font-size: 1.1rem;
    background: rgba(0, 102, 204, 0.1);
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.cta-steps li:hover i {
    background: #0066cc;
    color: white;
    transform: scale(1.1);
}

@media (max-width: 992px) {
    .cta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cta-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-column {
        padding: 20px;
    }
    
    .cta-column h3 {
        font-size: 1.6rem;
    }
    
    .cta-column p {
        font-size: 1rem;
    }
}

/* 页脚区域 */
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 {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #8b8b8b;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
}

.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-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
}

/* 主页链接样式 */
.home-link {
    font-weight: 400;
    display: flex;
    align-items: center;
}

.home-link i {
    margin-right: 5px;
    font-size: 16px;
}

.home-link:hover {
    background: rgba(0, 102, 204, 0.1);
}

/* --- pay.html 专用样式 --- */
.buy-banner {
    /* background: linear-gradient(40deg, #a11111 0%, #ff4949 100%); */
    color: #fff;
    text-align: center;
    padding: 40px 0 30px 0;
    font-size: 2.2rem;
    letter-spacing: 2px;
    font-weight: 600;

    background: 
    radial-gradient(circle at center, 
      #FF0055 0%, 
      #550000 100%),
    repeating-radial-gradient(
      circle at 30% 70%,
      rgba(255,0,85,0.1) 0px,
      rgba(255,0,85,0.1) 4px,
      transparent 4px,
      transparent 8px
    );
}


.buy-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    margin: 30px auto 0 auto;
    max-width: 1160px;
    min-height: 370px;
}
.buy-left, .buy-right {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 32px 32px 24px 32px;
    min-width: 320px;
    flex: 1 1 360px;
    display: flex;
    flex-direction: column;
}

.buy-left:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);

}
.buy-right:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);

}

.buy-left h3, .buy-right h3 {
    font-size: 1.2rem;
    margin-bottom: 18px;
    color: #d32b2b;
    font-weight: bold;
}
.buy-bankinfo {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.buy-bankinfo p {
    margin: 10px 0;
    font-size: 16px;
    line-height: 1.6;
}

.buy-right {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 响应式样式 */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        height: auto;
        padding: 2px 0;
    }
    
    .logo {
        display: none; /* 在手机端隐藏logo */
    }
    nav {
        width: 100%;
        height: 60px;
    }
    
    nav ul {
        justify-content: center;
        width: 100%;
        height: 35px;
    }
    
    nav ul li {
        margin: 0px 5px;
    }
    
    nav ul li a {
        padding: 2px 15px;
        font-size: 16px;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .products-grid {
        gap: 20px;
    }
    
    .product-card {
        padding-top: 15px;
    }
    
    .product-content {
        padding: 20px;
    }

    .hero-banner{
        display: none;
    }
    .buy-banner{
        /* display: none; */
        height: 100px;
        font-size: 28px;
        padding-top: 30px;
    }

    .buy-right{
        flex: 1 1 150px;

    }

 
}


.qr-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 10px;
    height: 250px;
    align-items: center;
}
.qr-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 250px;
    justify-content: center;
}
.qr-img {
    width: 200px;
    height: 250px;
    object-fit: contain;
    border-radius: 8px;
    border: 0px solid #eee;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.buy-notice {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    gap: 40px;
    max-width: 1160px;
    margin: 30px auto 0 auto;
    line-height: 33px;
    font-size: 15px;
    color: #222;
    padding: 12px 32px 24px 32px;
    margin-bottom: 30px;
}

.buy-notice:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);

}

.buy-notice a { color: #0066cc; text-decoration: underline; }
.buy-notice .red { color: #c00; }
@media (max-width: 900px) {
    .buy-main { flex-direction: column; gap: 24px; }
    .buy-left, .buy-right { min-width: 0; }
    .qr-row { gap: 20px; }
} 


/* 联系客服部分 */
.contact-section {
    padding: 20px 0;
    background: #fff;
    text-align: center;
    margin-top: 30px;
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #f31313;
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.contact-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 142, 12, 0.966);
    color: #fff;
}

.contact-button i {
    font-size: 24px;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
    }

    /* 调整移动端内容区域的宽度 */
    .products-grid,
    .features-grid,
    .footer-content {
        width: 100%;
        padding: 0;
    }

    /* 调整移动端产品卡片 */
    .product-card {
        width: 100%;
        margin: 0;
    }

    /* 调整移动端按钮组 */
    .buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}