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

/* 基础变量 - 优化版 */
:root {
    --primary-color: #2563EB;
    --primary-light: #3B82F6;
    --primary-dark: #1D4ED8;
    --secondary-color: #F8FAFC;
    --accent-color: #10B981;
    --text-color: #1F2937;
    --text-light: #6B7280;
    --text-muted: #9CA3AF;
    --border-color: #E5E7EB;
    --white: #FFFFFF;
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --error-color: #EF4444;
    --hover-color: #1D4ED8;
    --background-gradient: linear-gradient(135deg, #616263 0%, #635f67 100%);
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --card-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 0; /* 保持无圆角设计 */
}

/* 基础样式 - 优化版 */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
    font-weight: 400;
    letter-spacing: 0.02em;
    scroll-behavior: smooth;
}

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

/* 按钮样式 - 优化版 */
button, .btn {
    padding: 14px 28px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

button::before, .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

button:hover::before, .btn:hover::before {
    left: 100%;
}

.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    box-shadow: var(--card-shadow);
}

.primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: var(--card-shadow-hover);
}

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

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

/* 头部样式 - 优化版 */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--card-shadow);
    background: rgba(255, 255, 255, 0.98);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

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

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

.logo span {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 0;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-color);
}

/* 主要内容区域 */
.main-content {
    min-height: calc(100vh - 200px);
}

/* 首页轮播图区域 - 优化版 */
.hero-section {
    background: var(--background-gradient);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,0 1000,0 800,1000 0,1000"/></svg>');
    background-size: cover;
    z-index: 1;
}

.hero-wrapper {
    position: relative;
    z-index: 2;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.carousel-container {
    position: relative;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.carousel-item {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-item.active {
    display: block;
    opacity: 1;
}

.carousel-item img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: var(--card-shadow-hover);
    transition: var(--transition);
}

.carousel-item img:hover {
    transform: scale(1.02);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #CCCCCC;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 0; /* 移除圆角，改为方形 */
}

.dot.active,
.dot:hover {
    background-color: var(--primary-color);
}

/* 产品信息展示 */
.product-info {
    position: relative;
}

.product-content {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.product-content.active {
    display: block;
    opacity: 1;
}

.product-content h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.02em;
}

.product-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.8;
    font-weight: 300;
}

.action-buttons {
    display: flex;
    gap: 16px;
}

.download-btn, .trial-btn {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
}

.download-btn {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: var(--card-shadow);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-shadow-hover);
    background: var(--secondary-color);
}

.trial-btn {
    background: transparent;
    color: var(--black);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.trial-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}



/* 产品网格 - 优化版 */
.products-grid-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--white) 0%, var(--secondary-color) 100%);
    position: relative;
}

.products-grid-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
}

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

.product-item {
    text-align: center;
    padding: 32px 24px;
    transition: var(--transition);
    background: var(--white);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.product-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    transition: var(--transition);
}

.product-item:hover::before {
    left: 100%;
}

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

.product-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    /* background: linear-gradient(135deg, var(--primary-light), var(--primary-color)); */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    position: relative;
    transition: var(--transition);
}

.product-icon::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    /* background: var(--white); */
    z-index: 1;
}

.product-item:hover .product-icon {
    transform: scale(1.1) rotate(5deg);
}

.product-icon img {
    width: 50px;
    height: 50px;
    position: relative;
    z-index: 2;
    /* filter: brightness(0) saturate(100%) invert(27%) sepia(99%) saturate(1749%) hue-rotate(216deg) brightness(96%) contrast(99%); */
}

.product-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    transition: var(--transition);
}

.product-item:hover h3 {
    color: var(--primary-color);
}

/* 产品选中状态 */
.product-item.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(59, 130, 246, 0.1));
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

.product-item.selected .product-icon {
    transform: scale(1.05);
    /* background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)); */
}

/* .product-item.selected .product-icon::before {
    background: rgba(255, 255, 255, 0.95);
} */

.product-item.selected h3 {
    color: var(--primary-color);
    font-weight: 700;
}

.product-item.selected .product-brief {
    color: var(--primary-color);
    font-weight: 500;
}

/* 区域标题样式 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin: 0;
    font-weight: 300;
}

.product-brief {
    font-size: 14px;
    color: var(--text-muted);
    margin: 8px 0 0;
    transition: var(--transition);
}

.product-item:hover .product-brief {
    color: var(--text-light);
}

/* 机器人介绍区域 - 优化版 */
.robot-intro-section, .wechat-protocol-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.support-section {
    padding: 80px 0;
    background-color: var(--white);
    transition: var(--transition);
}

/* 可切换内容的动画效果 */
.section-switchable-title {
    transition: var(--transition);
}

.section-switchable-subtitle {
    transition: var(--transition);
}

.section-switchable-content {
    transition: var(--transition);
}

/* 产品详情切换容器 */
.product-details-container {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--secondary-color) 0%, var(--white) 100%);
    position: relative;
}

.product-details-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
}

.product-detail-item {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.product-detail-item.active {
    display: block;
    opacity: 1;
    animation: fadeInUp 0.6s ease-out;
}

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

.product-detail-wrapper.reverse {
    grid-template-columns: 1fr 1fr;
}

.product-detail-wrapper.reverse .product-detail-content {
    order: 2;
}

.product-detail-wrapper.reverse .product-detail-media {
    order: 1;
}

.product-detail-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.product-detail-content h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 24px;
    font-weight: 500;
}

.product-detail-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 24px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 8px 0;
    font-size: 16px;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.feature-list li:hover {
    color: var(--primary-color);
    transform: translateX(8px);
}

.product-detail-media img {
    width: 100%;
    height: auto;
    box-shadow: var(--card-shadow-hover);
    transition: var(--transition);
}

.product-detail-media img:hover {
    transform: scale(1.02);
}

.robot-intro-wrapper, .protocol-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.robot-info, .protocol-info {
    padding: 0 20px;
}

.robot-info h2, .protocol-info h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-color);
}

.robot-info h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.robot-info p, .protocol-info p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
}

.robot-screenshot img, .protocol-screenshots img {
    width: 100%;
    height: auto;
    box-shadow: var(--shadow);
}

.protocol-screenshots {
    display: flex;
    gap: 20px;
}

.protocol-screenshots img {
    flex: 1;
}

/* 支持测试区域 */
.support-section {
    padding: 80px 0;
    background-color: var(--white);
}

.support-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.support-info h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-color);
}

.support-info p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
}

.support-illustration img {
    width: 100%;
    height: auto;
}

/* 下载页面样式 - 优化版 */
.page-header {
    background: var(--background-gradient);
    padding: 80px 0;
    text-align: center;
    position: relative;
    color: var(--white);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,0 1000,0 700,1000 0,1000"/></svg>');
    background-size: cover;
}

.page-header > .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.download-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

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

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.downloads-section {
    padding: 80px 0;
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.download-stats{
    display: none;
}

.download-info {
    display: none;
}

.download-item {
    padding: 32px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
    background-color: var(--white);
    border-radius: 0; /* 移除圆角 */
}

.download-item:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.download-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0; /* 移除圆角 */
}

.download-icon img {
    width: 50px;
    height: 50px;
}

.download-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-color);
}

.system-req {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.6;
}

.download-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* 新闻页面样式 */
.breadcrumb {
    background-color: var(--secondary-color);
    padding: 20px 0;
}

.breadcrumb-nav {
    font-size: 14px;
    color: var(--text-light);
}

.breadcrumb-nav a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-nav .separator {
    margin: 0 8px;
}

.breadcrumb-nav .current {
    color: var(--text-color);
}

.news-section {
    padding: 40px 0;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.news-item {
    display: flex;
    gap: 24px;
    padding: 24px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    background-color: var(--white);
    border-radius: 0; /* 移除圆角 */
}

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

.news-image {
    width: 200px;
    flex-shrink: 0;
}

.news-image img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.news-content {
    flex: 1;
}

.news-content h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.news-content h2 a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.news-content h2 a:hover {
    color: var(--primary-color);
}

.news-excerpt {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.news-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--text-muted);
}

.news-meta span:not(:last-child)::after {
    content: '|';
    margin-left: 16px;
}

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

.page-link {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    background-color: var(--white);
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    border-radius: 0; /* 移除圆角 */
}

.page-link:hover:not(.disabled) {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.page-link.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.page-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 文章详情页 */
.article-section {
    padding: 40px 0;
}

.article-detail {
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

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

.article-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 14px;
    color: var(--text-muted);
}

.article-content {
    line-height: 1.8;
    font-size: 16px;
}

.article-content .lead {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 24px;
}

.article-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 32px 0 16px;
    color: var(--text-color);
}

.article-content p {
    margin-bottom: 16px;
    color: var(--text-light);
}

.article-image {
    text-align: center;
    margin: 32px 0;
}

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

.article-list {
    margin: 24px 0;
    padding-left: 20px;
}

.article-list li {
    margin-bottom: 16px;
}

.related-articles {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.related-articles h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.related-item {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.related-item:hover {
    color: var(--hover-color);
}

/* 代理加盟页面 */
.agency-hero {
    background-color: var(--secondary-color);
    padding: 80px 0;
}

.agency-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.agency-info h1 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-color);
}

.agency-info .subtitle {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 32px;
}

.contact-btn {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
}

.agency-illustration img {
    width: 100%;
    height: auto;
}

.product-agency-section, .exchange-section, .cloud-service-section {
    padding: 80px 0;
}

.product-agency-section {
    background-color: var(--white);
}

.exchange-section {
    background-color: var(--secondary-color);
}

.cloud-service-section {
    background-color: var(--white);
}

.agency-wrapper, .exchange-wrapper, .cloud-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.agency-content, .exchange-content, .cloud-content {
    padding: 0 20px;
}

.agency-content h2, .exchange-content h2, .cloud-content h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-color);
}

.agency-content p, .exchange-content p, .cloud-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
}

.agency-illustration-left img,
.exchange-illustration img,
.cloud-illustration img {
    width: 100%;
    height: auto;
}

.contact-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

.contact-info {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

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

.contact-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.contact-item {
    padding: 24px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 0; /* 移除圆角 */
}

.contact-item h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.contact-item p {
    font-size: 18px;
    font-weight: 500;
    color: var(--primary-color);
}

/* 产品介绍页面 */
.product-hero {
    background-color: var(--secondary-color);
    padding: 80px 0;
}

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

.product-wrapper.reverse {
    grid-template-columns: 1fr 1fr;
}

.product-wrapper.reverse .product-info {
    order: 1;
}

.product-wrapper.reverse .product-screenshots {
    order: 2;
}

.wechat-order-section, .wechat-private-section {
    padding: 80px 0;
}

.wechat-order-section {
    background-color: var(--white);
}

.wechat-private-section {
    background-color: var(--secondary-color);
}

.product-screenshots {
    display: flex;
    gap: 20px;
}

.product-screenshots img {
    flex: 1;
    box-shadow: var(--shadow);
}

.flower-robot-section {
    background: linear-gradient(135deg, var(--primary-color), var(--hover-color));
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.robot-cta h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 16px;
}

.robot-cta p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

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

.cta-buttons .download-btn {
    background-color: var(--white);
    color: var(--primary-color);
}

.cta-buttons .download-btn:hover {
    background-color: var(--secondary-color);
}

.cta-buttons .trial-btn {
    border-color: var(--white);
    color: var(--white);
}

.cta-buttons .trial-btn:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.features-section {
    padding: 80px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 60px;
    color: var(--text-color);
}

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

.feature-item {
    text-align: center;
    padding: 24px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0; /* 移除圆角 */
}

.feature-icon img {
    width: 50px;
    height: 50px;
}

.feature-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-color);
}

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

/* 页脚样式 - 优化版 */
.footer {
    background: linear-gradient(135deg, var(--text-color), #111827);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.footer p {
    font-size: 14px;
    opacity: 0.8;
    margin: 0;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 页面加载动画 */
.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.6s ease-out;
}

.animate-fade-in-right {
    animation: fadeInRight 0.6s ease-out;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* 模态框样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 1;
    transition: var(--transition);
}

.modal-content {
    background: var(--white);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--card-shadow-hover);
    animation: fadeInUp 0.3s ease-out;
}

.modal-header {
    padding: 24px 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
    margin-bottom: 24px;
}

.modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-muted);
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--text-color);
    background: var(--secondary-color);
}

.modal-body {
    padding: 0 24px;
}

.modal-footer {
    padding: 24px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    border-top: 1px solid var(--border-color);
    margin-top: 24px;
    padding-top: 16px;
}

/* Toast 提示样式 */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--text-color);
    color: var(--white);
    padding: 16px 24px;
    border-radius: 0;
    z-index: 1001;
    font-weight: 500;
    box-shadow: var(--card-shadow-hover);
    animation: fadeInRight 0.3s ease-out;
}

/* 返回顶部按钮优化 */
.back-to-top {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 50px !important;
    height: 50px !important;
    background: var(--primary-color) !important;
    color: white !important;
    border: none !important;
    cursor: pointer !important;
    font-size: 20px !important;
    z-index: 999 !important;
    transition: var(--transition) !important;
    border-radius: 0 !important;
    box-shadow: var(--card-shadow) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.back-to-top:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-3px) !important;
    box-shadow: var(--card-shadow-hover) !important;
}

/* 加载状态优化 */
body.loaded .animate-on-load {
    animation: fadeInUp 0.8s ease-out;
}

/* 滚动条优化 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    transition: var(--transition);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* 选中文本样式 */
::selection {
    background: var(--primary-color);
    color: var(--white);
}

::-moz-selection {
    background: var(--primary-color);
    color: var(--white);
}

.carousel-play-pause{
    display: none;
}

/* 产品详情区域样式 */
.product-detail-section {
    transition: opacity 0.3s ease-in-out;
}

.product-features {
    margin-top: 1.5rem;
}

.feature-item {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.feature-item:before {
    content: "✓ ";
    color: var(--success);
    font-weight: bold;
    margin-right: 0.5rem;
}

.product-stats {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item strong {
    color: var(--white);
    margin-right: 0.5rem;
}

.product-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.info-btn {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.info-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* 浮动联系按钮 */
.floating-contacts {
    position: fixed;
    top: 80%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-contacts.right {
    right: 20px;
}

.floating-contacts.left {
    left: 20px;
}

.floating-item {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: visible;
}

.floating-item:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.floating-item.qq {
    background-color: #fff;
}

.floating-item.telegram {
    background-color: #fff;
}

.floating-item.skype {
    background-color: #fff;
}

.floating-item.wechat {
    background-color: #fff;
}

.floating-item.customer-service {
    background-color: #fff;
}

.floating-item.back-to-top {
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5A52 100%);
}

.floating-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

/* 提示框样式 */
.floating-tooltip {
    position: absolute;
    /* right: calc(100% + 3px); */
    top: 50%;
    transform: translateX(-100%) translateY(-50%) scale(0.8);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 0;
    border-radius: 8px;
    font-size: 14px;
    white-space: normal;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 180px;
    max-width: 240px;
    z-index: 1001;
}

.floating-contacts.left .floating-tooltip {
    right: auto;
    /* left: calc(100% + 3px); */
    transform: translateX(0) translateY(-50%) scale(0.8);
}

.floating-tooltip::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -8px;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: rgba(0, 0, 0, 0.9);
}

.floating-contacts.left .floating-tooltip::before {
    right: auto;
    left: -8px;
    border-left-color: transparent;
    border-right-color: rgba(0, 0, 0, 0.9);
}

.tooltip-content {
    padding: 10px 12px;
}

.tooltip-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.tooltip-title {
    font-weight: 500;
    color: #fff;
    font-size: 12px;
    flex-shrink: 0;
}

.tooltip-value {
    font-weight: 600;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
    font-size: 13px;
    flex: 1;
    text-align: right;
}

.tooltip-copy {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    width: 100%;
    display: block;
    margin: 0 auto;
}

.tooltip-copy:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* 动画效果 */
.floating-item {
    animation: floatIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.floating-item:nth-child(1) { animation-delay: 0.1s; }
.floating-item:nth-child(2) { animation-delay: 0.2s; }
.floating-item:nth-child(3) { animation-delay: 0.3s; }
.floating-item:nth-child(4) { animation-delay: 0.4s; }
.floating-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateX(100px) scale(0.5);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* 点击保持弹窗显示 */
.floating-item.active .floating-tooltip {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-100%) translateY(-50%) scale(1) !important;
}

.floating-contacts.left .floating-item.active .floating-tooltip {
    transform: translateX(0) translateY(-50%) scale(1) !important;
}

/* PC端悬停效果 */
@media (hover: hover) and (pointer: fine) {
    .floating-item:hover .floating-tooltip,
    .floating-tooltip:hover {
        opacity: 1;
        visibility: visible;
        transform: translateX(-100%) translateY(-50%) scale(1);
    }
    
    .floating-contacts.left .floating-item:hover .floating-tooltip,
    .floating-contacts.left .floating-tooltip:hover {
        transform: translateX(0) translateY(-50%) scale(1);
    }
    
    /* PC端禁用点击保持功能 */
    .floating-item.active .floating-tooltip {
        opacity: 0 !important;
        visibility: hidden !important;
    }
}

/* 触摸设备支持 */
@media (hover: none) and (pointer: coarse) {
    .floating-tooltip {
        display: block;
    }
    
    /* 移动端弹窗默认隐藏，点击后显示 */
    .floating-item:not(.active) .floating-tooltip {
        display: none;
    }
    
    .floating-item {
        position: relative;
    }
    
    .floating-item::after {
        content: attr(data-tooltip);
        position: absolute;
        bottom: calc(100% + 10px);
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0, 0, 0, 0.9);
        color: white;
        padding: 6px 12px;
        border-radius: 4px;
        font-size: 12px;
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: 1002;
    }
    
    .floating-item:active::after {
        opacity: 1;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .floating-contacts {
        right: 15px;
        gap: 10px;
    }
    
    .floating-contacts.left {
        left: 15px;
    }
    
    .floating-item {
        width: 45px;
        height: 45px;
    }
    
    .floating-icon {
        width: 20px;
        height: 20px;
    }
    
    .floating-tooltip {
        font-size: 12px;
        min-width: 160px;
        max-width: 200px;
        /* right: calc(100% + 3px); */
    }
    
    .floating-contacts.left .floating-tooltip {
        left: calc(100% + 3px);
    }
    
    .tooltip-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .tooltip-title {
        font-size: 11px;
    }
    
    .tooltip-value {
        font-size: 12px;
        text-align: left;
    }
    
    .tooltip-content {
        padding: 10px 12px;
    }
    
}

@media (max-width: 480px) {
    .floating-contacts {
        right: 10px;
    }
    
    .floating-contacts.left {
        left: 10px;
    }
    
    .floating-item {
        width: 40px;
        height: 40px;
    }
    
    .floating-icon {
        width: 18px;
        height: 18px;
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .product-stats {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .download-btn,
    .info-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}