/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.btn-primary {
    background-color: #ff6a00;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #e55e00;
}

/* 头部样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.logo:hover {
    color: #3498db;
}

.logo img {
    height: 40px;
    width: 140px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ff6a00;
}

nav ul li a.active {
    color: #ff6a00;
    font-weight: bold;
}

/* 轮播图样式 */
.carousel {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 50px;
    left: 50px;
    right: 50px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 20px;
    border-radius: 5px;
    max-width: 500px;
}

.carousel-caption h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.carousel-caption p {
    font-size: 1.1rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    transition: background-color 0.3s;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.indicator.active {
    background-color: white;
}

/* 页面头部样式 */
.page-header {
    padding: 3rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.page-header p {
    font-size: 1.2rem;
    color: #666;
}

/* 主体内容样式 */
main {
    min-height: calc(100vh - 120px);
}

/* 特性部分样式 */
.features {
    padding: 4rem 0;
    background-color: #fff;
}

.features h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #333;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ff6a00;
}

/* 商品部分样式 */
.products {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.products h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #333;
}

.product-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category {
    text-align: center;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.category img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.category h3 {
    font-size: 1.3rem;
}

/* 价格页面样式 */
.pricing-table {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem 0;
}

.pricing-plan {
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 2rem;
    text-align: center;
    width: 300px;
    transition: transform 0.3s;
}

.pricing-plan:hover {
    transform: scale(1.05);
}

.pricing-plan.featured {
    border: 2px solid #ff6a00;
    transform: scale(1.05);
}

.pricing-plan.featured:hover {
    transform: scale(1.1);
}

.pricing-plan h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ff6a00;
    margin-bottom: 1rem;
}

.price span {
    font-size: 1rem;
    color: #666;
}

.pricing-plan ul {
    list-style: none;
    margin: 1.5rem 0;
}

.pricing-plan ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.pricing-plan ul li:last-child {
    border-bottom: none;
}

.faq {
    padding: 3rem 0;
    background-color: #f8f9fa;
}

.faq h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.faq-item {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-item h3 {
    margin-bottom: 0.5rem;
    color: #ff6a00;
}

/* 功能特性页面样式 */
.features-detailed {
    padding: 2rem 0;
}

.feature-row {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    gap: 2rem;
}

.feature-row:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature-text ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.feature-text ul li {
    margin-bottom: 0.5rem;
}

.feature-image {
    flex: 1;
    text-align: center;
}

.feature-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.cta-section {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, #ff6a00, #ff8c00);
    color: white;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 联系我们页面样式 */
.contact-container {
    display: flex;
    gap: 3rem;
    padding: 2rem 0;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    flex: auto;
}

.contact-form h2 {
    margin-bottom: 1.5rem;
    color: #333;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6a00;
}

.map-placeholder {
    background-color: #f0f0f0;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

/* 隐私条款页面样式 */
.privacy-content {
    padding: 2rem 0;
    margin: 0 auto;
}

.privacy-section {
    margin-bottom: 2rem;
}

.privacy-section h2 {
    color: #ff6a00;
    margin-bottom: 1rem;
}

.privacy-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.privacy-section ul li {
    margin-bottom: 0.5rem;
}

.privacy-section p {
    margin-bottom: 1rem;
}

/* 底部样式 */
footer {
    background-color: #333;
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    padding: 2rem 0;
}

.footer-section {
    flex: 1;
    padding: 0 1rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #ff6a00;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid #555;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0.5rem;
    }
    
    .carousel {
        height: 300px;
    }
    
    .carousel-caption {
        bottom: 20px;
        left: 20px;
        right: 20px;
        padding: 10px;
    }
    
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
        padding: 10px;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
    
    .feature-row {
        flex-direction: column !important;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 2rem;
    }
    
    .footer-section ul {
        padding: 0;
    }
}


.banner {
  text-align: center;
  padding: 10px 0px;
}

.box {
  margin: 40px 0;
  padding: 40px;
  box-shadow: 0 0 32px rgba(0,0,0,.1);
  border-color: #232f3e;
  border-radius: 10px;
  background-color: #fff;
}

.content p {
  line-height: 2;
  margin-bottom: 5px;
}

.qr .qrcodes {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 150px;
}

/* 功能页面新布局样式 */
.features-layout {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.features-menu {
    flex: 0 0 250px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 20px 0;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.features-menu ul {
    list-style: none;
}

.feature-menu-item {
    padding: 15px 25px;
    cursor: pointer;
    transition: all 0.3s;
    border-left: 3px solid transparent;
    color: #333;
}

.feature-menu-item:hover {
    background: #f8f9fa;
    color: #3498db;
}

.feature-menu-item.active {
    background: #e3f2fd;
    border-left: 3px solid #3498db;
    color: #3498db;
    font-weight: 500;
}

.features-detail {
    flex: 1;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 30px;
    min-height: 500px;
}

.feature-detail-content {
    display: none;
}

.feature-detail-content.active {
    display: block;
}

.feature-detail-header h2 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.feature-detail-header p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.feature-detail-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-detail-list ul {
    list-style: none;
    padding: 0;
}

.feature-detail-list li {
    margin-top: 5px;
    line-height: 1.5;
}

.feature-detail-list li i {
    color: #3498db;
    position: absolute;
    left: 0;
    top: 5px;
}

/* 左右布局样式 */
.content-section {
    padding: 4rem 0;
    background-color: #fff;
}

.content-layout {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.content-text {
    flex: 1;
}

.content-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.content-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.features-list {
    margin-top: 2rem;
}

.feature-item {
    margin-bottom: 1.5rem;
}

.feature-item h3 {
    color: #ff6a00;
    margin-bottom: 0.5rem;
}

.content-image {
    flex: 1;
    text-align: center;
}

.content-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 图文展示区域 - 鼠标悬停显示文本 */
.hover-gallery {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #333;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.image-container {
    position: relative;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.image-container:hover img {
    transform: scale(1.05);
}

.hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-container:hover .hover-overlay {
    opacity: 1;
}

.hover-text {
    color: white;
    text-align: center;
    padding: 20px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.image-container:hover .hover-text {
    transform: translateY(0);
}

.hover-text h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.hover-text p {
    font-size: 1rem;
    line-height: 1.5;
}