/**
 * 开小店SaaS官网 - 主样式表
 * 风格参考：有赞官网 - 简洁大气、科技感
 */

/* ==================== 基础变量 ==================== */
:root {
    --primary-color: #f97316;
    --primary-dark: #ea580c;
    --primary-light: #fb923c;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-dark: #111827;
    
    --border-color: #e5e7eb;
    --border-light: #f3f4f6;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    --transition: all 0.3s ease;
    --font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ==================== 重置样式 ==================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    outline: none;
}

/* ==================== 容器 ==================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== 按钮样式 ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

/* ==================== 头部导航 ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow);
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 导航菜单 */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-link:hover,
.nav-item.active .nav-link {
    color: var(--primary-color);
    background: rgba(249, 115, 22, 0.05);
}

.nav-item.has-dropdown .nav-link i {
    font-size: 12px;
    transition: var(--transition);
}

.nav-item.has-dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

/* 下拉菜单 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.nav-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 14px;
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

.dropdown-menu li a i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: var(--radius-sm);
    font-size: 12px;
}

/* 下拉菜单自定义图标 - 使用 Font Awesome 伪元素 */
.dropdown-menu li a i.icon-shop::before {
    content: '\f54e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.dropdown-menu li a i.icon-share::before {
    content: '\f1e0';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.dropdown-menu li a i.icon-partnership::before {
    content: '\f0c0';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

/* 头部右侧 */
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-trial {
    padding: 10px 20px;
    font-size: 14px;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* 移动端遮罩 */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
    visibility: visible;
}

/* ==================== Banner轮播 ==================== */
.banner-section {
    position: relative;
    height: 400px;
    overflow: hidden;
    margin-top: 70px;
}

.banner-slider {
    position: relative;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s ease;
}

.banner-slide.active {
    opacity: 1;
    visibility: visible;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #c2410c 0%, #f97316 50%, #fb923c 100%);
}

.banner-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.banner-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 70px 20px 0;
}

.banner-text h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.banner-text p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.banner-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Banner指示器 */
.banner-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.banner-dot.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

/* ==================== 产品总览 ==================== */
.products-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.product-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-lg);
    color: white;
    font-size: 32px;
}

.product-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.product-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.product-card .btn {
    width: 100%;
}

/* 产品自定义图标 - 使用 Font Awesome 伪元素 */
.product-icon .icon-shop::before {
    content: '\f54e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.product-icon .icon-share::before {
    content: '\f1e0';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.product-icon .icon-partnership::before {
    content: '\f0c0';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

/* ==================== 核心优势 ==================== */
.advantages-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 30px 20px;
}

.advantage-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    box-shadow: var(--shadow);
    color: var(--primary-color);
    font-size: 28px;
}

.advantage-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.advantage-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==================== 产品详情页 ==================== */
.product-detail-section {
    padding: 120px 0 80px;
    background: var(--bg-primary);
}

.product-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.product-hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.product-hero-content .subtitle {
    font-size: 20px;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 20px;
}

.product-hero-content .description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}

.product-hero-content .banner-buttons {
    justify-content: flex-start;
}

.product-hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-hero-image img {
    max-width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.product-hero-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--bg-secondary), var(--border-light));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 80px;
}

/* 产品价格表 */
.product-pricing-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

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

.pricing-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.recommended {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.recommended:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.pricing-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.pricing-card .price {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.pricing-card .price span {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-secondary);
}

.pricing-card .original-price {
    font-size: 16px;
    color: var(--text-light);
    text-decoration: line-through;
    margin-bottom: 24px;
}

.pricing-features {
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 14px;
    color: var(--text-secondary);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: var(--secondary-color);
    margin-right: 8px;
}

/* ==================== 价格汇总页 ==================== */
.price-section {
    padding: 120px 0 80px;
    background: var(--bg-primary);
}

.price-comparison {
    margin-top: 60px;
}

.price-product-block {
    margin-bottom: 60px;
}

.price-product-block h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    padding-left: 16px;
    border-left: 4px solid var(--primary-color);
}

/* ==================== 关于我们页 ==================== */
.about-section {
    padding: 120px 0 80px;
    background: var(--bg-primary);
    min-height: 600px;
}

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

.about-content h2 {
    font-size: 28px;
    font-weight: 600;
    margin: 40px 0 20px;
    color: var(--text-primary);
}

.about-content h2:first-child {
    margin-top: 0;
}

.about-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 30px 0 15px;
    color: var(--text-primary);
}

.about-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-content ul {
    margin: 16px 0;
    padding-left: 24px;
}

.about-content ul li {
    list-style: disc;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 8px;
}

/* ==================== 联系我们页 ==================== */
.contact-section {
    padding: 120px 0 80px;
    background: var(--bg-primary);
    min-height: 600px;
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
}

.contact-content h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.contact-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.contact-info-box {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-top: 40px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-item i {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: var(--radius);
    color: var(--primary-color);
    font-size: 18px;
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.contact-info-item p {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 500;
    margin: 0;
}

/* ==================== 文章资讯页 ==================== */
.news-section {
    padding: 120px 0 80px;
    background: var(--bg-primary);
    min-height: 600px;
}

.news-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

/* 文章列表 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.news-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 24px;
    padding: 24px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.news-item:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.news-thumb {
    width: 100%;
    height: 140px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    overflow: hidden;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-info {
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.news-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(249, 115, 22, 0.1);
    color: var(--primary-color);
    font-size: 12px;
    border-radius: 20px;
}

.news-date {
    font-size: 13px;
    color: var(--text-light);
}

.news-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
    line-height: 1.4;
}

.news-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
}

.news-views {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 10px;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--text-primary);
    transition: var(--transition);
}

.pagination a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination .current {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* 侧边栏 */
.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-widget {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.sidebar-widget h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-light);
}

.category-list li {
    margin-bottom: 10px;
}

.category-list li:last-child {
    margin-bottom: 0;
}

.category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.category-list a:hover,
.category-list a.active {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

.category-list .count {
    font-size: 12px;
    color: var(--text-light);
}

/* 文章详情 */
.article-detail {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.article-header {
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.article-header h1 {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-primary);
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h2,
.article-content h3 {
    margin: 30px 0 16px;
    color: var(--text-primary);
}

.article-content ul,
.article-content ol {
    margin: 16px 0;
    padding-left: 24px;
}

.article-content ul li {
    list-style: disc;
    margin-bottom: 8px;
}

.article-content ol li {
    list-style: decimal;
    margin-bottom: 8px;
}

/* ==================== 底部区域 ==================== */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 80px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 24px;
    color: white;
}

.footer-qrcode {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-about-title {
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-contact p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.footer-contact i {
    width: 20px;
    color: var(--primary-light);
}

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

.footer-links ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-qrcode .qrcode-box,
.footer-qrcode .qrcode-placeholder {
    width: 140px;
    background: white;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    padding: 12px;
    text-align: center;
}

.footer-qrcode .qrcode-box img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    display: block;
}

.footer-qrcode .qrcode-placeholder i {
    font-size: 48px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.footer-qrcode .qrcode-box p,
.footer-qrcode .qrcode-placeholder p {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 8px;
    line-height: 1.4;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
    color: white;
}

/* ==================== 侧边悬浮客服 ==================== */
.sidebar-service {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-service a {
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    color: var(--primary-color);
    font-size: 18px;
    transition: var(--transition);
}

.sidebar-service a span {
    font-size: 10px;
    margin-top: 2px;
}

.sidebar-service a:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.sidebar-service .back-top-btn {
    background: var(--text-secondary);
    color: white;
}

.sidebar-service .back-top-btn:hover {
    background: var(--text-primary);
}

/* ==================== 全局弹窗 ==================== */
.global-popup {
    position: fixed;
    bottom: 100px;
    left: 20px;
    z-index: 998;
    animation: popupSlideIn 0.5s ease;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.popup-content {
    position: relative;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    max-width: 200px;
}

.popup-content img {
    width: 100%;
    display: block;
}

.popup-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 50%;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.popup-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* 客服弹窗 */
.service-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.service-popup.active {
    display: flex;
}

.service-popup .popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.service-popup .popup-content {
    position: relative;
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    max-width: 320px;
    width: 90%;
    z-index: 1;
}

.service-popup .popup-body {
    padding: 40px 30px;
    text-align: center;
}

.service-popup .popup-body h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.service-popup .popup-body p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.service-popup .popup-body img {
    width: 180px;
    height: 180px;
    border-radius: var(--radius);
    margin: 0 auto 20px;
    display: block;
    object-fit: contain;
}

.service-popup .popup-body .phone {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0;
}

/* 产品试用弹窗 */
.product-trial-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.product-trial-popup.active {
    display: flex;
}

.product-trial-popup .popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.product-trial-popup .popup-content {
    position: relative;
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    max-width: 320px;
    width: 90%;
    z-index: 1;
}

.product-trial-popup .popup-body {
    padding: 40px 30px;
    text-align: center;
}

.product-trial-popup .popup-body h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.product-trial-popup .popup-body p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.product-trial-popup .popup-body img {
    width: 180px;
    height: 180px;
    border-radius: var(--radius);
    margin: 0 auto 20px;
    display: block;
    object-fit: contain;
}

.product-trial-popup .popup-body .phone {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0;
}

/* 试用地址样式 */
.product-trial-popup .trial-link-section {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed var(--border-color);
}

.product-trial-popup .trial-link-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.product-trial-popup .trial-link-url {
    display: inline-block;
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    word-break: break-all;
    padding: 8px 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    transition: var(--transition);
}

.product-trial-popup .trial-link-url:hover {
    background: var(--primary-color);
    color: white;
}

/* 立即试用弹窗 */
.trial-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.trial-popup.active {
    display: flex;
}

.trial-popup .popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.trial-popup .popup-content {
    position: relative;
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    max-width: 320px;
    width: 90%;
    z-index: 1;
}

.trial-popup .popup-body {
    padding: 40px 30px;
    text-align: center;
}

.trial-popup .popup-body h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.trial-popup .popup-body p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.trial-popup .popup-body img {
    width: 180px;
    height: 180px;
    border-radius: var(--radius);
    margin: 0 auto 20px;
    display: block;
    object-fit: contain;
}

.trial-popup .popup-body .phone {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0;
}
