:root {
    /* 颜色变量 */
    --primary-color: #FE9100;
    --primary-light: rgba(254, 145, 0, 0.1);
    --text-primary: #333;
    --text-secondary: #666;
    --bg-light: #f8f9fa;
    --bg-white: #fff;
    
    /* 间距变量 */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;
    
    /* 边框圆角 */
    --border-radius-sm: 6px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    
    /* 阴影效果 */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.05);
    
    /* 基础字体大小 */
    font-size: 16px;
}
/* 添加平滑滚动效果 */
html {
    scroll-behavior: smooth;
}

/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 通用布局类 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* 通用卡片样式 */
.card {
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
}

/* 通用过渡效果 */
.transition-base {
    transition: all 0.3s ease;
}

/* 通用悬浮效果 */
.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
}

/* 通用网格布局 */
.grid {
    display: grid;
    gap: var(--spacing-md);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

/* 通用弹性布局 */
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* 通用文本样式 */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--text-secondary);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 通用样式 */
section {
    padding: 6rem 2rem;
}

section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    color: #333;
    position: relative;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #FE9100;
}

/* 卡片通用样式 */
.card-base {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* QR码通用样式 */
.qr-base {
    width: 180px;
    height: 180px;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.header {
    background: #FE9100;
    color: white;
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(254, 145, 0, 0.3);
}

.nav {
    max-width: 75rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: white;
    font-weight: bold;
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../assets/bg.png);
    background-size: cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.products {
    padding: 4rem 2rem;
    max-width: 75rem;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: white;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-0.5rem);
}

.about {
    background: #f8f9fa;
    padding: 4rem 2rem;
}

.about-content {
    max-width: 75rem;
    margin: 0 auto;
}

.contact {
    padding: 4rem 2rem;
    max-width: 75rem;
    margin: 0 auto;
}

.qr-codes {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.qr-code {
    text-align: center;
}

.qr-code img {
    width: 10rem;
    height: 10rem;
    margin-bottom: 1rem;
}

.footer {
    background: var(--text-primary);
    color: white;
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer p {
    margin: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
}

.footer a {
    color: white;
}

/* 新增移动端菜单样式 */
.menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* 产品卡片基础样式优化 */
.product-card {
    background: #f5f5f5;
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1rem 0;
    border: none;
    transition: all 0.3s ease;
}

/* 产品头部样式 */
.product-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
    margin-bottom: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.product-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.product-tag {
    font-size: 0.8rem;
    color: #666;
    background: #fff;
    padding: 0.2rem 0.8rem;
    border-radius: 12px;
    border: 1px solid #eee;
}

/* 产品内容布局 */
.product-content {
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1rem;
}

.product-screenshot {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 1rem;
}

/* 功能列表样式 */
.feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.feature-item {
    flex: 1;
    min-width: 150px;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

/* 统计数据样式 */
.stats-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: bold;
    color: #FE9100;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

.products {
    padding: 4rem 2rem;
}

.product-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.product-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1.5rem solid #f2f2f2;
}

.product-screenshot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.product-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.qr-section {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    margin-top: auto;
}

.qr-section img {
    width: 150px;
    height: 150px;
    margin-bottom: 1rem;
}

.qr-section p {
    color: #666;
    font-size: 0.9rem;
}

.about {
    background: linear-gradient(135deg, #fff8f0 0%, #fff 100%);
    padding: 6rem 2rem;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.about-desc {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
}

.about-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.info-card h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.info-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #FE9100;
}

.info-card ul {
    list-style: none;
}

.info-card ul li {
    margin-bottom: 1rem;
    color: #666;
    display: flex;
    align-items: center;
}

.info-card ul li span {
    color: #333;
    font-weight: 500;
    margin-right: 0.5rem;
}

.business-scope li {
    position: relative;
    padding-left: 1.5rem;
}

.business-scope li::before {
    content: '•';
    color: #FE9100;
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
}

.contact {
    padding: 6rem 2rem;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
}

.info-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    text-align: left;
}

.info-item i {
    font-size: 1.5rem;
    color: #FE9100;
    background: rgba(254, 145, 0, 0.1);
    padding: 1rem;
    border-radius: 12px;
}

.info-content h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.info-content p {
    color: #666;
    line-height: 1.6;
}

.qr-codes {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.qr-code {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.qr-code:hover {
    transform: translateY(-10px);
}

.qr-code img {
    width: 180px;
    height: 180px;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.qr-code p {
    color: #666;
    font-size: 1rem;
}

.requirement {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #fff8f0 0%, #fff 100%);
}

.requirement-container {
    max-width: 800px;
    margin: 0 auto;
}

.requirement-form {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 2rem;
}

.form-tip {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.5rem;
}

.form-group input:invalid {
    border-color: #ff4d4f;
}

.form-group input:invalid:focus {
    box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.1);
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FE9100;
    box-shadow: 0 0 0 2px rgba(254, 145, 0, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: #FE9100;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #e68200;
    transform: translateY(-2px);
}

/* 产品排列方式 */
.products-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 2rem auto;
}

/* 二维码悬浮效果 */
.qr-container {
    position: relative;
    flex: 1;
}

.qr-hover {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 150px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.qr-container:hover .qr-hover {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

/* 按钮样式优化 */
.qr-btn {
    width: 100%;
    padding: 0.8rem;
    background: transparent;
    border: 2px solid #FE9100;
    color: #FE9100;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.qr-btn:hover {
    background: #FE9100;
    color: white;
}

/* 将所有媒体查询合并到文件末尾 */
@media screen and (max-width: 768px) {
    :root {
        font-size: 14px;
    }

    section {
        padding: 4rem 1rem;
    }

    /* 导航相关 */
    .nav-links {
        display: none;
        position: fixed;
        top: 4rem;
        right: -100%;
        width: 70%;
        height: auto;
        max-height: calc(100vh - 4rem);
        overflow-y: auto;
        background: rgba(254, 145, 0, 0.98);
        flex-direction: column;
        padding: 1rem;
        transition: right 0.3s ease;
        backdrop-filter: blur(5px);
    }

    .nav-links.active {
        right: 0;
        display: flex;
    }

    .nav-links a {
        padding: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        width: 100%;
        text-align: center;
    }

    .menu-btn {
        display: block;
    }

    /* 首页相关 */
    .hero-content h1 {
        font-size: 2rem;
    }

    /* 产品相关 */
    .product-card {
        padding: 1rem;
    }

    .product-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-item {
        min-width: 100%;
    }

    .products-grid {
        padding: 0 1rem;
    }

    /* 关于我们 */
    .about {
        padding: 4rem 1rem;
    }

    .about-desc {
        font-size: 1.1rem;
    }

    .info-card {
        padding: 1.5rem;
    }

    /* 联系我们 */
    .contact {
        padding: 4rem 1rem;
    }

    .info-item {
        padding: 1.5rem;
    }

    .qr-codes {
        gap: 2rem;
    }

    .qr-code img {
        width: 150px;
        height: 150px;
    }

    .qr-hover {
        width: 120px;
        height: 120px;
    }

    /* 需求咨询 */
    .requirement {
        padding: 4rem 1rem;
    }

    .requirement-form {
        padding: 1.5rem;
    }
}

/* 添加标题居中样式 */
section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    color: #333;
    position: relative;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #FE9100;
}

/* 定义呼吸动画 */
@keyframes breathe {
    0% {
        box-shadow: 0 0 0 0 rgba(254, 145, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(254, 145, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(254, 145, 0, 0);
    }
}

.cta-button {
    display: inline-block;
    margin-top: 3rem;
    padding: 1.5rem 5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius-md);
    font-weight: 500;
    transition: all 0.3s ease;
    animation: breathe 2s infinite;
    font-size: 1.2rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    animation: none; /* 悬浮时停止动画 */
}