/* 全局样式 */
body {
    margin: 0;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif; /* 更新字体 */
    line-height: 1.6;
    color: #333; /* 默认文字颜色 */
    -webkit-font-smoothing: antialiased; /* 字体抗锯齿 */
    -moz-osx-font-smoothing: grayscale;
}

h1 {
    text-align: center;
    margin-top: 50px;
}

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

/* 页眉样式 */
.site-header {
    background-color: #fff; /* 根据截图，背景似乎是白色或浅渐变 */
    padding: 15px 0;
    border-bottom: 1px solid #eee; /* 细微的下边框 */
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px; /* 限制最大宽度 */
    margin: 0 auto; /* 居中 */
}

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

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

.logo img {
    height: 30px; /* 调整 logo 高度 */
    margin-right: 10px;
}

.logo span {
    font-size: 1.2em;
    font-weight: bold;
    color: #333; /* 深灰色 */
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.main-nav li {
    margin-left: 30px; /* 导航项间距 */
}

.main-nav a {
    text-decoration: none;
    color: #555; /* 导航链接颜色 */
    font-size: 1em;
}

.main-nav a:hover {
    color: #007bff; /* 鼠标悬停颜色，可根据原网站调整 */
}

.header-actions .btn {
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 20px; /* 圆角按钮 */
    font-size: 0.9em;
}

.header-actions .btn-outline {
    border: 1px solid #ccc;
    color: #555;
}

.header-actions .btn-outline:hover {
    background-color: #f8f8f8;
}

.header-actions { /* Hide login button container */
    display: none;
}


/* Hero Section Styles */
.hero {
    /* background: linear-gradient(to bottom, #f8f9ff, #ffffff); 浅蓝色到白色的渐变背景 */
    background-color: #f8f9ff; /* 暂时用纯色 */
    padding: 80px 0;
    position: relative; /* 为了定位浮动元素 */
    overflow: hidden; /* 防止浮动元素溢出 */
}

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

.hero-content {
    max-width: 55%; /* 左侧内容宽度 */
    z-index: 2; /* 确保内容在背景元素之上 */
}

.hero-content h1 {
    font-size: 3.5em; /* 大标题 */
    font-weight: bold;
    color: #111;
    line-height: 1.2;
    margin-bottom: 20px;
    text-align: left; /* 覆盖全局h1居中 */
    margin-top: 0; /* 覆盖全局h1 margin */
}

.hero-content p {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 15px; /* 按钮间距 */
    margin-bottom: 40px; /* 与浮动元素间距 */
}

.hero-actions .btn {
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.hero-actions .btn:hover {
    transform: translateY(-2px);
}

.btn-dark {
    background-color: #222;
    color: #fff;
}

.btn-primary {
    background-color: #5468ff; /* 蓝色按钮 */
    color: #fff;
}

/* Removed position: relative from .floating-elements as .hero-image is now the context */
.floating-elements {
    /* No specific positioning needed here now */
}

.float-el {
    position: absolute;
    background-color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-size: 0.9em;
    white-space: nowrap;
}

.el-1 {
    /* Positioning closer to the top-right using top/right */
    top: 90px;   /* Adjust vertical position (pixels from top) */
    left: auto;
    right: -10px; /* Adjust horizontal position (pixels from right) */
    transform: rotate(-7deg); /* Fine-tune rotation */
    z-index: 2;
}

.el-2 {
    /* Positioned below el-1 */
    top: 160px;  /* Adjust vertical position */
    left: auto;
    right: -40px; /* Adjust horizontal position */
    transform: rotate(7deg); /* Fine-tune rotation */
    z-index: 2;
}

.hero-image {
    max-width: 40%; /* 右侧图片宽度 */
    position: relative; /* 为了蓝色背景圆 */
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image::before { /* 用伪元素创建蓝色背景圆 */
    content: '';
    position: absolute;
    width: 400px; /* 圆的大小 */
    height: 400px;
    background-color: #cdd6ff; /* 淡蓝色背景 */
    border-radius: 50%;
    z-index: 0; /* 在图片后面 */
    opacity: 0.7;
}


.hero-image img {
    max-width: 100%;
    height: auto;
    position: relative; /* 使图片在伪元素之上 */
    z-index: 1;
    border-radius: 50%; /* 如果人物图本身是圆的，可以去掉 */
}

/* Product Showcase Section Styles */
.product-showcase {
    padding-top: 50px; /* Added top padding */
    padding-bottom: 50px; /* Bottom spacing for the section */
    /* Removed background, color, border-radius, margin-top */
    position: relative; /* Still useful */
    z-index: 1;
}

/* No longer need .showcase-container specific styles, use .container */

/* Styles for the new styled box */
.showcase-box {
    background-color: #0d0f21; /* Dark background */
    color: #fff; /* White text */
    border-radius: 30px; /* Rounded corners */
    padding: 30px 60px; /* Reset padding, remove large left padding */
    position: relative;
    overflow: visible; /* Allow image to overflow */
    min-height: 550px; /* Adjust height as needed */
}

.showcase-image { /* Image wrapper */
    position: absolute;
    left: 40px;     /* Position slightly inside from the left edge */
    top: 50%;
    transform: translateY(-50%);
    width: 42%;      /* Adjusted width */
    max-width: 460px; /* Adjusted max-width */
    /* Removed padding-left */
    z-index: 1;
    text-align: center;
}

.showcase-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.showcase-content { /* Text content */
    margin-left: 46%; /* Push content past the image (42% width + ~4% gap) */
    padding-left: 20px; /* Add some extra space */
    position: relative;
    z-index: 2;
}

.showcase-content h2 {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.3;
}

.showcase-content .highlight {
    /* 可以添加特殊样式，例如下划线或不同颜色 */
     background: linear-gradient(to right, #8a74ff, #5468ff); /* 渐变色 */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.showcase-content p {
    font-size: 1.1em;
    color: #ccc; /* 浅灰色文字 */
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Platform Marketing Section Styles */
.platform-marketing {
    padding: 80px 0;
    background-color: #fff; /* 白色背景 */
    text-align: center; /* 内部元素居中 */
}

.platform-marketing h2 {
    font-size: 2.8em;
    font-weight: bold;
    color: #111;
    margin-bottom: 15px;
}

/* Reuse highlight style if needed, or define specific one */
.platform-marketing .highlight {
    background: linear-gradient(to right, #8a74ff, #5468ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}


.platform-marketing .subtitle {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 50px;
}

.marketing-cards {
    display: flex;
    justify-content: space-between;
    gap: 30px; /* 卡片间距 */
    text-align: left; /* 卡片内部文字左对齐 */
}

.marketing-cards .card {
    background-color: #f8f9fa; /* 浅灰色背景 */
    padding: 30px;
    border-radius: 15px;
    flex: 1; /* 均分宽度 */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.marketing-cards .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}


.card-icon {
    margin-bottom: 20px;
    display: flex;
    gap: 10px; /* 图标间距 */
}

.card-icon img {
    height: 30px; /* 控制图标大小 */
    width: auto;
}

.marketing-cards .card h3 {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.marketing-cards .card p {
    font-size: 1em;
    color: #555;
    line-height: 1.7;
}

/* Results Proof Section Styles */
.results-proof {
    position: relative; /* For background positioning */
    padding: 100px 0;
    overflow: hidden; /* Ensure background doesn't leak */
    color: #fff; /* White text */
}

.results-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/index-bg.png'); /* Updated background image */
    background-size: cover;
    background-position: center;
    z-index: -2; /* Behind content and overlay */
}

.results-proof::before { /* Add dark overlay */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent black */
    z-index: -1; /* Between background and content */
}


.results-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative; /* Ensure content is above overlay */
    z-index: 1;
}

.results-content {
    flex-basis: 45%; /* Adjust width as needed */
}

.result-item {
    font-size: 2.2em;
    font-weight: bold;
    margin-bottom: 25px;
    line-height: 1.3;
}

.result-item .count {
    font-size: 1.2em; /* Make count slightly larger */
    color: #ffd700; /* Gold color for count */
    margin-left: 10px;
}

.result-item .increase {
    font-size: 1.2em;
    color: #32cd32; /* Green color for increase */
    margin-left: 10px;
}

.results-image {
    flex-basis: 50%; /* Adjust width as needed */
    text-align: right;
}

.results-image img {
    max-width: 70%; /* Adjust image size */
    height: auto;
    border-radius: 10px; /* Slight rounding if needed */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Testimonials Section Styles */
.testimonials {
    padding: 80px 0;
    background-color: #f8f9fa; /* 浅灰色背景 */
    text-align: center;
}

.testimonials h2 {
    font-size: 2.8em;
    font-weight: bold;
    color: #111;
    margin-bottom: 15px;
}

.testimonials .highlight {
    /* Can reuse or define specific highlight */
    background: linear-gradient(to right, #8a74ff, #5468ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.testimonials .subtitle {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 50px;
}

.testimonial-cards {
    display: grid; /* 使用Grid布局 */
    grid-template-columns: repeat(2, 1fr); /* 两列 */
    gap: 30px; /* 卡片间距 */
    text-align: left;
}

.testimonial-card {
    background-color: #fff; /* 白色卡片背景 */
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
    display: flex; /* 头像和内容水平排列 */
    align-items: flex-start; /* 顶部对齐 */
    gap: 20px;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
     transform: translateY(-5px);
}


.testimonial-card img {
    width: 80px; /* 头像大小 */
    height: 80px;
    border-radius: 10px; /* 轻微圆角 */
    object-fit: cover; /* 保持图片比例 */
    flex-shrink: 0; /* 防止头像被压缩 */
}

.testimonial-content h4 {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
    margin: 0 0 10px 0; /* 调整边距 */
}

.testimonial-content p {
    font-size: 0.95em;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* Trusted By Section Styles */
.trusted-by {
    padding: 60px 0;
    background-color: #fff; /* 白色背景 */
    text-align: center;
}

.trusted-by h2 {
    font-size: 2.8em;
    font-weight: bold;
    color: #111;
    margin-bottom: 40px; /* 标题和logo间距 */
}

.trusted-by .highlight {
    background: linear-gradient(to right, #8a74ff, #5468ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logos-container {
    display: flex;
    flex-wrap: wrap; /* 换行显示 */
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    gap: 40px; /* Logo 间距 */
}

.logos-container img {
    max-width: 100%; /* 允许图片使用容器的全部宽度 */
    height: auto; /* 高度自动调整以保持比例 */
    /* 移除之前的灰度、透明度和悬停效果 */
}

/* Explore More Section Styles */
.explore-more {
    padding: 80px 0;
    background-color: #f8f9fa; /* 浅灰色背景 */
}

.explore-more .container {
    max-width: 800px; /* 内容宽度较窄 */
}

.explore-more h2 {
    text-align: center;
    font-size: 2.8em;
    font-weight: bold;
    color: #111;
    margin-bottom: 40px;
}

.explore-links {
    display: flex;
    flex-direction: column; /* 垂直排列链接 */
    gap: 15px; /* 链接间距 */
}

.explore-link {
    display: flex;
    justify-content: space-between; /* 文本和箭头分开 */
    align-items: center;
    background-color: #fff;
    padding: 20px 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: #333;
    font-size: 1.1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.explore-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.explore-link .arrow {
    font-size: 1.5em;
    color: #aaa;
    transition: color 0.3s ease;
}

.explore-link:hover .arrow {
    color: #5468ff; /* 悬停时箭头变色 */
}

/* Footer Styles */
.site-footer-bottom {
    background-color: #111; /* 深灰色/黑色背景 */
    color: #ccc; /* 浅灰色文字 */
    padding-top: 60px; /* 顶部内边距 */
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* 顶部对齐 */
    padding-bottom: 40px; /* 底部内边距 */
    gap: 40px;
}

.footer-left h3 {
    font-size: 1.8em;
    font-weight: bold;
    color: #fff;
    margin: 0 0 10px 0;
}

.footer-left p {
    font-size: 1em;
    color: #aaa;
    margin: 0;
}

.footer-right {
    display: flex;
    gap: 30px; /* 二维码间距 */
}

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

.qr-code img {
    width: 120px; /* 二维码大小 */
    height: 120px;
    background-color: #fff; /* 白色背景便于扫描 */
    padding: 5px; /* 轻微内边距 */
    border-radius: 8px;
    margin-bottom: 10px;
}

.qr-code p {
    font-size: 0.9em;
    color: #aaa;
    margin: 0;
}

.footer-right .qr-code:last-child { /* 隐藏第二个二维码（加入社群） */
    display: none;
}

.footer-bottom-bar {
    border-top: 1px solid #333; /* 分隔线 */
    padding: 20px 0;
    text-align: center;
    font-size: 0.9em;
    color: #777;
}

.footer-bottom-bar p {
    margin: 0;
}

.footer-bottom-bar p {
    margin: 0;
}


/* 响应式设计 - 移动端适配 */
@media (max-width: 768px) {
    /* 全局调整 */
    .container {
        padding: 0 15px; /* 减小移动端容器内边距 */
    }

    h1, h2 {
        font-size: 2em; /* 减小标题字体大小 */
    }

    h3 {
        font-size: 1.3em;
    }

    p {
        font-size: 1em; /* 调整段落字体 */
    }

    /* 页眉 */
    .site-header .container {
        flex-direction: column; /* 垂直堆叠 */
        align-items: flex-start; /* 左对齐 */
    }

    .main-nav ul {
        flex-direction: column; /* 导航项垂直排列 */
        width: 100%;
        margin-top: 15px;
        display: none; /* 暂时隐藏，为汉堡菜单做准备 */
    }

    .main-nav li {
        margin-left: 0;
        margin-bottom: 10px; /* 导航项垂直间距 */
        text-align: center;
        width: 100%;
        background-color: #f8f8f8; /* 临时背景 */
        padding: 10px 0;
        border-radius: 5px;
    }

    .header-actions {
        margin-top: 15px;
        width: 100%;
        text-align: center;
    }

    .header-actions .btn {
        display: block; /* 按钮占满宽度 */
        width: auto; /* 适应内容，或设为100% */
        margin: 0 auto; /* 居中 */
    }

    /* Hero Section */
    .hero {
        padding: 40px 0; /* 减小内边距 */
    }

    .hero-container {
        flex-direction: column; /* 内容和图片垂直堆叠 */
        text-align: center;
    }

    .hero-content {
        max-width: 100%; /* 内容占满宽度 */
        order: 2; /* 内容在图片下方 */
        margin-top: 30px;
    }

     .hero-content h1 {
        font-size: 2.5em; /* 调整标题大小 */
        text-align: center;
    }

    .hero-content p {
        font-size: 1em;
        text-align: center;
    }

    .hero-actions {
        justify-content: center; /* 按钮居中 */
        flex-direction: column; /* 按钮垂直堆叠 */
        align-items: center;
        gap: 10px;
        margin-bottom: 20px;
    }
     .hero-actions .btn {
        width: 80%;
        max-width: 300px; /* 限制最大宽度 */
    }


    .hero-image {
        max-width: 80%; /* 调整图片宽度 */
        order: 1; /* 图片在内容上方 */
        margin-bottom: 30px; /* 图片和内容间距 */
    }

    .hero-image::before { /* 调整背景圆 */
        width: 300px;
        height: 300px;
    }

    .float-el {
        display: none; /* 移动端暂时隐藏浮动元素 */
    }

    /* Product Showcase */
    .product-showcase {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .showcase-box {
        padding: 20px; /* 调整内边距 */
        min-height: auto; /* 自适应高度 */
        display: flex; /* 使用 Flex 布局 */
        flex-direction: column; /* 垂直堆叠 */
    }

    .showcase-image {
        position: static; /* 移除绝对定位 */
        transform: none;
        width: 80%; /* 图片宽度 */
        max-width: 350px; /* 限制最大宽度 */
        margin: 0 auto 30px auto; /* 居中并添加下边距 */
        order: 1; /* 图片在前 */
    }

    .showcase-content {
        margin-left: 0; /* 移除左边距 */
        padding-left: 0; /* 移除左内边距 */
        order: 2; /* 内容在后 */
        text-align: center; /* 内容居中 */
    }

     .showcase-content h2 {
        font-size: 2em;
    }
    .showcase-content p {
        font-size: 1em;
    }


    /* Platform Marketing */
    .platform-marketing {
        padding: 40px 0;
    }

    .marketing-cards {
        flex-direction: column; /* 卡片垂直堆叠 */
        gap: 20px;
    }

    .marketing-cards .card {
        padding: 25px;
    }

    .card-icon img {
        height: 25px;
    }

    /* Results Proof */
    .results-proof {
        padding: 60px 0;
    }

    .results-container {
        flex-direction: column;
        text-align: center;
    }

    .results-content {
        flex-basis: auto; /* 自动宽度 */
        margin-bottom: 30px;
    }

    .result-item {
        font-size: 1.5em; /* 调整字体大小 */
        margin-bottom: 15px;
    }

    .results-image {
        flex-basis: auto;
        text-align: center;
    }

    .results-image img {
        max-width: 80%; /* 调整图片大小 */
    }

    /* Testimonials */
    .testimonials {
        padding: 40px 0;
    }

    .testimonial-cards {
        grid-template-columns: 1fr; /* 单列显示 */
        gap: 20px;
    }

    .testimonial-card {
        padding: 20px;
        flex-direction: column; /* 头像和内容垂直排列 */
        align-items: center; /* 居中对齐 */
        text-align: center;
    }

    .testimonial-card img {
        width: 60px; /* 缩小头像 */
        height: 60px;
        margin-bottom: 15px; /* 头像和内容间距 */
    }

    /* Trusted By */
    .trusted-by {
        padding: 40px 0;
    }
     .trusted-by h2 {
         font-size: 2em;
         margin-bottom: 30px;
     }
    .logos-container img {
        max-width: 90%; /* 调整Logo图片大小 */
    }


    /* Explore More */
    .explore-more {
        padding: 40px 0;
    }

    .explore-link {
        padding: 15px 20px;
        font-size: 1em;
    }

    .explore-link .arrow {
        font-size: 1.2em;
    }

    /* Footer */
    .site-footer-bottom {
        padding-top: 40px;
    }

    .footer-container {
        flex-direction: column; /* 垂直堆叠 */
        align-items: center; /* 居中 */
        text-align: center;
    }

    .footer-left {
        margin-bottom: 30px; /* 添加下边距 */
    }

     .footer-left h3 {
        font-size: 1.5em;
    }


    .footer-right {
        flex-direction: column; /* 二维码垂直排列 */
        gap: 20px;
        align-items: center; /* 居中 */
    }

    .qr-code img {
        width: 100px; /* 缩小二维码 */
        height: 100px;
    }

    .footer-bottom-bar {
        padding: 15px 0;
        font-size: 0.8em;
    }
}

/* 针对更小屏幕的微调 (可选) */
@media (max-width: 480px) {
    h1, h2 {
        font-size: 1.8em;
    }
    .hero-content h1 {
        font-size: 2.2em;
    }
    .hero-actions .btn {
        padding: 10px 25px;
        font-size: 0.9em;
    }
}

/* 更多样式将在此处添加 */
