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

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
}

a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

a:hover {
    color: #9c27b0;
}

img {
    max-width: 100%;
}

/* 顶部导航栏样式 */
header {
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: background-color 0.3s;
}

header.scrolled {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Remove the absolute positioned logo */
/* Style the logo inside navigation */
.logo-container {
    margin-right: 5px !important;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-container img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1); /* Make the logo white */
    transition: filter 0.3s;
    vertical-align: middle;
}

header.scrolled .logo-container img {
    filter: brightness(0); /* Make the logo black when scrolled */
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    padding: 0;
    margin: 0;
}

.nav-links li {
    margin: 0 15px;
    display: flex;
    align-items: center;
}

.nav-item {
    font-size: 16px;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    color: #fff;
    transition: color 0.3s;
}

header.scrolled .nav-item {
    color: #333;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s, background-color 0.3s;
}

header.scrolled .nav-item::after {
    background-color: #9c27b0;
}

.nav-item:hover::after, .nav-item.active-nav::after {
    width: 100%;
}

.active-nav {
    color: #fff;
}

header.scrolled .active-nav {
    color: #9c27b0;
}

/* 苹果风格的汉堡菜单图标 - 移到右上角 */
.menu-toggle {
    display: none;
    cursor: pointer;
    width: 24px;
    height: 24px;
    position: relative;
    z-index: 1002;
    margin-left: auto;
}

.menu-icon {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #fff;
    position: relative;
    transition: all 0.3s;
}

.menu-icon:before, .menu-icon:after {
    content: '';
    width: 24px;
    height: 2px;
    background-color: #fff;
    position: absolute;
    transition: all 0.3s;
}

.menu-icon:before {
    top: -6px;
}

.menu-icon:after {
    bottom: -6px;
}

header.scrolled .menu-icon,
header.scrolled .menu-icon:before,
header.scrolled .menu-icon:after {
    background-color: #333;
}

.menu-toggle.active .menu-icon {
    background-color: transparent;
}

.menu-toggle.active .menu-icon:before {
    transform: rotate(45deg);
    top: 0;
    background-color: #333;
}

.menu-toggle.active .menu-icon:after {
    transform: rotate(-45deg);
    bottom: 0;
    background-color: #333;
}

/* 苹果风格移动导航菜单 */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1001;
    overflow: hidden;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
}

.mobile-nav-container {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 380px;
    height: 100%;
    background-color: #fff;
    z-index: 1002;
    padding: 20px 0;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active .mobile-nav-container {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 20px;
    border-bottom: 1px solid #eee;
}

.mobile-logo {
    height: 30px;
    width: auto;
}

.mobile-close {
    width: 24px;
    height: 24px;
    position: relative;
    cursor: pointer;
}

.close-icon {
    display: block;
    width: 24px;
    height: 2px;
    background-color: transparent;
    position: relative;
}

.close-icon:before, .close-icon:after {
    content: '';
    width: 24px;
    height: 2px;
    background-color: #333;
    position: absolute;
    top: 0;
}

.close-icon:before {
    transform: rotate(45deg);
}

.close-icon:after {
    transform: rotate(-45deg);
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    color: #333;
    text-decoration: none;
    font-size: 16px;
}

.mobile-nav-icon {
    width: 30px;
    color: #9c27b0;
    font-size: 18px;
}

.mobile-nav-text {
    flex: 1;
    margin-left: 10px;
}

.mobile-nav-arrow {
    color: #999;
    font-size: 12px;
}

/* 英雄区域样式 */
.hero {
    padding: 120px 0 80px;
    background: #222;
    color: #fff;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2;
    margin-top: 20px;
    text-align: center;
}

.center-content {
    max-width: 1000px;
    width: 100%;
    text-align: center;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Logo circles in hero */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
}

.logo-circle-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #fff;
    background-color: transparent;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    z-index: 1;
}

.logo-text {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    width: 100%;
    height: 100%;
}

.plus {
    margin: 0 30px;
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    z-index: 1;
    line-height: 1;
}

.slogan {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    margin-top: 20px;
    text-align: center;
}

.subslogan {
    font-size: 18px;
    margin-bottom: 30px;
    color: #ccc;
    text-align: center;
}

/* Position phones on sides */
.left-phone, .right-phone {
    position: absolute;
    bottom: 20px;  /* 提高位置，原本是 0 */
    max-height: 500px;
    z-index: 1;
    opacity: 0.8;
}

.left-phone {
    left: 0;
}

.right-phone {
    right: 0;
}

/* Style for product boxes in hero section */
.ai-tools {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px auto;
    max-width: 800px;
    width: 90%;
    z-index: 3;
    position: relative;
}

/* 工具箱网格布局 - 统一定义 */
.ai-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 100%;
    margin: 0 auto;
    justify-items: center;
    align-items: stretch;
}

.ai-tools-grid .tool-box:nth-child(7) {
    grid-column: 1 / -1;
    aspect-ratio: 3.75/0.8;
    width: 100%;
    margin: 0;
}

/* Ensure the hero content is properly centered */
.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2;
    margin-top: 20px;
    text-align: center;
}

/* Ensure product boxes are centered in the grid */
.tool-box {
    aspect-ratio: 1/0.8;
    width: 100%;
    height: auto;
    background: rgba(42, 42, 42, 0.8);
    border: 2px solid #9c27b0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    transition: all 0.3s;
    color: white;
    position: relative;
    box-shadow: inset 0 0 10px rgba(156, 39, 176, 0.3), 0 0 5px rgba(156, 39, 176, 0.5);
    border-radius: 5px;
    margin: 0 auto;
}

.tool-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(156, 39, 176, 0.5);
}

.tool-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-size: 28px;
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.tool-box p {
    font-size: 14px;
    text-align: center;
    line-height: 1.4;
    margin: 0;
}

.qr-code {
    margin-top: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 12px;
    z-index: 3;
    position: relative;
}

.qr-code img {
    width: 150px;
    height: 150px;
    border-radius: 6px;
    margin-bottom: 4px;
}

.qr-code p {
    font-size: 11px;
    color: #ccc;
}

/* 圆形标题样式，参照图片设计 */
.circle-title {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px solid #9c27b0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #9c27b0;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(156, 39, 176, 0.3);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

/* 更新内容区域布局 */
.content-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 60px 0;
    flex-wrap: wrap;
    position: relative;
    padding-top: 50px;
}

.content-text {
    flex: 0 0 45%;
    position: relative;
    padding-top: 40px;
}

.content-image {
    flex: 0 0 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-text {
    padding-left: 110px;
}

.device-group {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.device-group.multi-screen {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.section {
    padding: 80px 0;
    background-color: #fff;
    position: relative;
}

.section-text p {
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

.section:nth-child(even) {
    background-color: #fff;
}

.dark-section {
    background-color: #ffffff;
    color: #333;
    padding: 60px 0;
}

.dark-section .circle-title {
    border-color: #fff;
    color: #fff;
    background-color: #222;
}

.dark-section .section-text p {
    color: #333;
}

.section-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-content.reverse {
    flex-direction: row-reverse;
}

.section-devices, .section-info {
    flex: 0 0 48%;
    background-color: transparent;
}

.section-text {
    margin-top: 20px;
}

.section-text p {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.section-logo {
    margin-bottom: 20px;
}

.circle-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #9c27b0;
    padding: 5px;
}

/* 文字版Logo样式 */
.text-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    color: #fff;
    font-weight: 700;
    text-align: center;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(156, 39, 176, 0.3);
}

.text-logo .main-text {
    font-size: 18px;
    margin-bottom: 5px;
}

.text-logo .sub-text {
    font-size: 14px;
}

.devices-img, .matrix-img {
    max-width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
}

/* 调整设备图片样式 */
.device-group img {
    max-width: 100%;
    height: auto;
}

/* 矩阵控制系统样式 */
.matrix-displays {
    width: 100%;
    background-color: transparent;
}

.matrix-img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    background-color: transparent;
}

/* 联系我们样式 */
.contact {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.contact h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: #333;
}

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

.contact-info {
    flex: 0 0 60%;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 24px;
    color: #9c27b0;
    margin-right: 15px;
}

.qr-code-large {
    flex: 0 0 35%;
    text-align: center;
}

.qr-code-large img {
    width: 250px !important; /* 调整为合适的尺寸 */
    height: 250px !important;
    border-radius: 15px; /* 相应调整圆角 */
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* 调整阴影 */
    border: 3px solid #9c27b0; /* 调整边框粗细 */
    transition: transform 0.3s ease;
    object-fit: contain; /* 防止变形，保持比例 */
}

.qr-code-large img:hover {
    transform: scale(1.05); /* 适当的悬停效果 */
    box-shadow: 0 15px 35px rgba(156, 39, 176, 0.3);
}

.qr-code-large p {
    font-size: 16px; /* 相应调整文字大小 */
    font-weight: 600;
    color: #333;
    margin-top: 15px;
}

/* 页脚样式 */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 0 0 25%;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-links {
    flex: 0 0 70%;
    display: flex;
    justify-content: space-between;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #9c27b0;
}

.footer-column ul {
    list-style: none;
}

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

.footer-column a {
    color: #ccc;
}

.footer-column a:hover {
    color: #9c27b0;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #ccc;
}

.footer-bottom a {
    color: #ccc;
}

.footer-bottom a:hover {
    color: #9c27b0;
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: #9c27b0;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
}

/* 响应式设计 */
/* 统一的响应式设计 */
@media (max-width: 992px) {
    .container {
        padding: 0 30px;
    }
    
    .ai-tools-grid {
        gap: 12px;
    }
}

@media screen and (max-width: 992px) {
    .hero-content {
        flex-direction: column;
    }
    
    .left-phone, .right-phone {
        display: none;
    }
    
    .center-content {
        flex: 0 0 100%;
        margin-bottom: 30px;
    }
    
    .ai-tools {
        margin: 20px auto;
        max-width: 90%;
    }
    
    .tool-box {
        width: 120px;
        height: 100px;
        margin: 8px;
    }
    
    .section-content {
        flex-direction: column;
    }
    
    .section-content.reverse {
        flex-direction: column;
    }
    
    .section-devices, .section-info {
        flex: 0 0 100%;
    }
    
    .section-devices {
        margin-bottom: 30px;
        order: 1;
    }
    
    .section-info {
        order: 2;
        text-align: center;
    }
    
    .section-logo {
        display: flex;
        justify-content: center;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .contact-info, .qr-code-large {
        flex: 0 0 100%;
    }
    
    .contact-info {
        margin-bottom: 40px;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo {
        flex: 0 0 100%;
        text-align: center;
        margin-bottom: 30px;
    }
    
    .footer-links {
        flex: 0 0 100%;
        flex-wrap: wrap;
    }
    
    .footer-column {
        flex: 0 0 48%;
        margin-bottom: 30px;
    }

    .content-layout {
        flex-direction: column;
        margin: 40px 0;
        padding-top: 100px;
    }
    
    .content-text, .content-image {
        flex: 0 0 100%;
        margin-bottom: 30px;
    }
    
    .content-text {
        order: 1;
        text-align: center;
        padding-top: 0;
    }
    
    .content-image {
        order: 2;
    }
    
    .circle-title {
        position: absolute;
        top: 30px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .section-text {
        padding-left: 0;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px; /* 确保最小20px边距 */
    }
    
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: block;
        position: absolute;
        top: 50%;
        right: 20px;
        transform: translateY(-50%);
        padding: 10px;
    }
    
    header .container {
        justify-content: center;
        position: relative;
        padding: 0 20px; /* 保持一致的边距 */
    }
    
    /* 确保logo在移动端居中 */
    .logo-container {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin-right: 0 !important;
    }
    
    .slogan {
        font-size: 24px;
    }
    
    .subslogan {
        font-size: 16px;
    }
    
    .ai-tools {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        max-width: 100%;
        width: 95%;
    }
    
    .ai-tools-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        width: calc(100% - 40px);
        max-width: calc(100% - 40px);
        justify-items: stretch; /* 确保一致的对齐方式 */
        margin: 0 auto;
        box-sizing: border-box;
    }
    
    /* 前6个工具箱 - 确保填满可用空间 */
    .ai-tools-grid .tool-box:nth-child(-n+6) {
        width: 100%;
        box-sizing: border-box;
    }
    
    /* 第三排完全重新定义 - 使用padding而不是margin */
    .ai-tools-grid .tool-box:nth-child(7) {
        grid-column: 1 / -1;
        width: 100%; /* 恢复100%宽度 */
        margin: 0; /* 清除所有margin */
        padding-left: 0; /* 清除左内边距 */
        aspect-ratio: 3/1;
        box-sizing: border-box;
        border: 2px solid #9c27b0;
        background: rgba(42, 42, 42, 0.8);
        /* 使用transform来微调位置 */
        transform: translateX(8px); /* 向右微调2px */
    }
    
    .tool-box {
        aspect-ratio: 1/1;
        padding: 8px;
        font-size: 12px;
    }
    
    .tool-icon {
        width: 30px;
        height: 30px;
        font-size: 18px;
        margin-bottom: 5px;
    }
    
    .tool-box:nth-child(7) .tool-icon {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
    
    .tool-box p {
        font-size: 10px;
        line-height: 1.2;
    }
    
    .tool-box:nth-child(7) p {
        font-size: 12px;
    }
    
    /* 二维码优化 */
    .qr-code-large img {
        width: 160px !important;
        height: 160px !important;
        border-radius: 10px;
    }
    
    .footer-links {
        flex-direction: column;
    }
    
    .footer-column {
        flex: 0 0 100%;
        margin-bottom: 30px;
    }

    .section {
        padding: 60px 0;
    }
    
    .content-layout {
        padding-top: 80px;
    }
}

/* 小屏手机优化 */
@media (max-width: 480px) {
    .container {
        padding: 0 20px; /* 小屏也保持20px边距 */
    }
    
    .ai-tools-grid {
        gap: 6px;
        width: calc(100% - 40px);
        max-width: calc(100% - 40px);
        justify-items: stretch;
        margin: 0 auto;
    }
    
    .ai-tools-grid .tool-box:nth-child(7) {
        width: 100%;
        margin: 0;
        padding-left: 0;
        aspect-ratio: 2.8/1;
        box-sizing: border-box;
        transform: translateX(8px); /* 与PC端保持一致的调整值 */
    }
    
    .ai-tools-grid .tool-box {
        padding: 6px !important;
    }
    
    .ai-tools-grid .tool-box .tool-icon {
        width: 25px !important;
        height: 25px !important;
        font-size: 16px !important;
    }
    
    .ai-tools-grid .tool-box p {
        font-size: 9px !important;
    }
    
    .ai-tools-grid .tool-box:nth-child(7) .tool-icon {
        width: 30px !important;
        height: 30px !important;
        font-size: 18px !important;
    }
    
    .ai-tools-grid .tool-box:nth-child(7) p {
        font-size: 11px !important;
    }
    
    /* 二维码进一步优化 */
    .qr-code-large img {
        width: 140px !important;
        height: 140px !important;
        border-radius: 8px;
    }
}

/* 确保所有工具箱的基础样式一致 */
.ai-tools-grid .tool-box {
    background: rgba(42, 42, 42, 0.8);
    border: 2px solid #9c27b0;
    border-radius: 5px;
    color: white;
    transition: all 0.3s;
    box-shadow: inset 0 0 10px rgba(156, 39, 176, 0.3), 0 0 5px rgba(156, 39, 176, 0.5);
    text-decoration: none;
}

.ai-tools-grid .tool-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(156, 39, 176, 0.5);
} 

/* 清除旧的样式，解决冲突 */
.content-layout, .content-text, .content-image,
.section-text, .section-content, .section-devices, 
.section-info, .device-group {
    all: unset;
}

/* 产品布局样式 - 新版本 */
.product-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 80px 0;
    position: relative;
}

.product-layout.reverse {
    flex-direction: row-reverse;
}

.product-devices {
    flex: 0 0 48%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.product-content {
    flex: 0 0 48%;
    position: relative;
}

/* 产品圆形标题样式调整 - 空心渐变边框 */
.product-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 4px solid transparent; /* 边框更粗 */
    background-image: linear-gradient(#fff, #fff), 
                      linear-gradient(45deg, #c239b3 0%, #4834d4 100%); /* 渐变效果 */
    background-origin: border-box;
    background-clip: content-box, border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 18px;
    color: #000; /* 黑色文字 */
    font-weight: 500; /* 字体更细 */
    line-height: 1.3;
    z-index: 1;
    position: relative;
    left: 0;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 0 15px rgba(156, 39, 176, 0.2);
    margin-bottom: 25px;
}

.product-row.reverse .product-circle {
    left: auto;
    right: 0;
}

.dark-section .product-circle {
    color: #fff;
    border-color: #9c27b0;
    background-color: #9c27b0;
}

/* 橙色边框内容框 */
.orange-border {
    border: 4px solid #FF9800;
    border-radius: 10px;
    padding: 40px 30px;
    background-color: #fff;
    text-align: center;
}

.product-title {
    margin-bottom: 30px;
}

.product-text {
    text-align: center;
}

.product-text p {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.dark-section .circle-title {
    border-color: #fff;
    color: #fff;
    background-color: #222;
}

.dark-section .product-text p {
    color: #ddd;
}

.devices-img, .matrix-img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    box-shadow: none;
}

.section {
    padding: 60px 0;
    background-color: #fff;
    position: relative;
}

.dark-section {
    background-color: #ffffff;
    color: #333;
}

@media screen and (max-width: 992px) {
    .product-layout, .product-layout.reverse {
        flex-direction: column;
        margin: 40px 0;
    }
    
    .product-devices, .product-content {
        flex: 0 0 100%;
        margin-bottom: 30px;
        width: 100%;
    }
    
    .orange-border {
        padding: 30px 20px;
    }
    
    .circle-title {
        width: 100px;
        height: 100px;
    }
}

@media screen and (max-width: 768px) {
    .section {
        padding: 40px 0;
    }
    
    .product-layout {
        margin: 40px 0;
    }
    
    .circle-title {
        width: 90px;
        height: 90px;
        font-size: 16px;
    }
    
    .product-text p {
        font-size: 14px;
    }
} 

/* 橙色边框盒子和箭头样式 */
.orange-box-with-arrow {
    position: relative;
    margin: 20px 0;
    width: 100%;
}

.orange-box {
    border: 3px solid #FF9800;
    padding: 25px 30px;
    background-color: #fff;
    position: relative;
    margin-right: 60px;
}

.orange-box h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.3;
}

.arrow-right {
    position: absolute;
    top: 50%;
    right: -40px;
    transform: translateY(-50%);
    width: 70px;
    height: 30px;
    background-color: #FF9800;
    clip-path: polygon(0 0, 75% 0, 100% 50%, 75% 100%, 0 100%);
}

/* 产品展示部分样式 - 左右混排布局 */
.product-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    margin-bottom: 30px;
}

.product-section:nth-child(even) {
    background-color: #f9f9f9;
}

.product-section.dark-section {
    background-color: #ffffff;
    color: #333;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
}

/* 左右布局结构 */
.product-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 40px 0;
    gap: 60px;
    position: relative;
}

/* 产品图片和内容的定位 */
.product-image-col {
    flex: 0 0 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 调整产品内容列的布局 */
.product-content-col {
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center; /* 居中对齐内容 */
    position: relative;
    padding-left: 0; /* 移除左侧内边距 */
}

/* 调整产品描述文本为居中对齐 */
.product-description {
    text-align: center; /* 文本居中对齐 */
    line-height: 1.8;
    padding-left: 0;
}

.product-description p {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.6;
}

.dark-section .product-description p {
    color: #333;
}

/* 产品图片样式 */
.product-image {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s;
    display: block;
    border-radius: 10px;
    background-color: transparent;
}

.dark-section .product-image {
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.product-image:hover {
    transform: translateY(-5px);
}

/* 响应式调整 */
@media (max-width: 992px) {
    .product-section {
        padding: 50px 0;
    }
    
    .product-row {
        flex-direction: column;
        gap: 40px;
    }
    
    .product-image-col, .product-content-col {
        flex: 0 0 100%;
        width: 100%;
    }
    
    .product-circle {
        left: 0; /* 确保在移动端也是居中的 */
        margin: 0 auto 25px;
    }
    
    .product-content-col {
        padding-left: 0;
        align-items: center;
    }

    .orange-box-with-arrow {
        width: 90%;
        margin: 20px auto;
    }
    
    .orange-box {
        margin-right: 0;
    }
    
    .arrow-right {
        display: none;
    }
}

@media (max-width: 768px) {
    .product-section {
        padding: 40px 0;
    }
    
    .product-row {
        gap: 30px;
    }
    
    .product-circle {
        width: 90px;
        height: 90px;
        font-size: 14px;
    }
    
    .product-description p {
        font-size: 14px;
    }
} 

/* 设备显示容器 */
.multi-device-display {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}

.multi-device-display img {
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
    background-color: transparent;
}

.multi-screen-display {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.multi-screen-display img {
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
    background-color: transparent;
}

/* 为AI-Agent添加橙色边框和箭头 */
#product-ai-agent .product-circle {
    border-color: #9c27b0;
    background-color: #9c27b0;
    box-shadow: 0 0 15px rgba(156, 39, 176, 0.3);
}

#product-ai-agent .product-image-col {
    position: relative;
}

#product-ai-agent .product-image-col:after {
    display: none;
}

#product-ai-agent .product-content-col:after {
    display: none;
}

/* 橙色箭头指向设备 */
#product-ai-agent .product-content-col:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 30px;
    height: 30px;
    border-top: 2px solid #ff7f00;
    border-left: 2px solid #ff7f00;
    transform: translateX(-50%) translateY(-50%) rotate(-45deg);
    z-index: 0;
    background-color: #ffffff;
}

/* 为最后一个产品部分添加深色背景 */
.dark-section {
    background-color: #ffffff;
    color: #333;
    padding: 60px 0;
}

.dark-section .product-description p {
    color: #333;
}

/* 移动端适配 */
@media (max-width: 992px) {
    #product-ai-agent .product-content-col:after {
        display: none;
    }
    
    #product-ai-agent .product-image-col:after {
        top: -10px;
        left: -10px;
        right: -10px;
        bottom: -10px;
    }
    
    .product-row {
        flex-direction: column;
        gap: 30px;
    }
    
    .product-image-col,
    .product-content-col {
        flex: 0 0 100%;
    }
    
    .product-content-col {
        order: 1;
        align-items: center;
    }
    
    .product-image-col {
        order: 2;
    }
    
    .product-description {
        text-align: center;
    }
} 

/* 产品圆圈容器 */
.circle-container {
    position: relative;
    width: 110px;
    height: 110px;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

/* 确保所有产品部分的圆圈都居中显示 */
.product-section .product-circle {
    margin-left: auto;
    margin-right: auto;
}

/* 移动端适配 */
@media (max-width: 992px) {
    .red-box, .red-arrow {
        display: none;
    }
}

/* 平板设备适配 */
@media (max-width: 992px) {
    .container {
        padding: 0 30px; /* 平板设备减少内边距 */
    }
    
    .product-section .container,
    .contact .container {
        padding: 0 30px;
    }
}

/* 手机设备适配 */
@media (max-width: 768px) {
    .container {
        padding: 0 20px; /* 手机设备进一步减少内边距 */
    }
    
    .product-section .container,
    .contact .container {
        padding: 0 20px;
    }
}

/* 超小屏设备320px以下 - 最小边距保护 */
@media (max-width: 320px) {
    .container {
        padding: 0 15px; /* 超小屏适当减少但保持边距 */
    }
    
    .ai-tools-grid {
        width: calc(100% - 30px); /* 左右各15px边距 */
        max-width: calc(100% - 30px);
        gap: 4px; /* 进一步减小间距 */
    }
}