* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

body {
    background: linear-gradient(135deg, #f1d7ff 0%, #ffeef8 50%, #ffe9d8 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #333;
    padding: 20px;
    animation: gradientShift 15s ease infinite alternate;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.main-container {
    max-width: 500px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    animation: containerAppear 0.5s cubic-bezier(0.26, 0.86, 0.44, 0.985) forwards;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

@keyframes containerAppear {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background-color: rgba(255, 255, 255, 0.95);
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.search-icon, .user-actions {
    display: flex;
    align-items: center;
}

.search-icon svg, .user-actions svg {
    color: #666;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}

.search-icon svg:hover, .user-actions svg:hover {
    color: #333;
    transform: scale(1.1);
}

.user-actions {
    gap: 12px;
}

/* Content */
.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    padding-bottom: 50px;
    text-align: center;
    flex-grow: 1;
}

.logo-container {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    animation: logoAppear 0.6s cubic-bezier(0.26, 0.86, 0.44, 0.985) 0.1s both;
}

@keyframes logoAppear {
    0% {
        opacity: 0;
        transform: translateY(15px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    animation: textAppear 0.5s ease 0.2s both;
}

.subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
    animation: textAppear 0.5s ease 0.3s both;
}

.domain {
    font-size: 14px;
    color: #888;
    margin-bottom: 15px;
    animation: textAppear 0.5s ease 0.4s both;
}

@keyframes textAppear {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.link-section {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    animation: textAppear 0.5s ease 0.5s both;
}

.external-link {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    margin-right: 5px;
    position: relative;
}

.external-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #666;
    transition: width 0.3s ease;
}

.external-link:hover::after {
    width: 100%;
}

.arrow-icon {
    color: #999;
    transition: transform 0.3s ease;
}

.link-section:hover .arrow-icon {
    transform: translateX(3px);
}

.contact-section {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    animation: textAppear 0.5s ease 0.6s both;
}

.contact-icon {
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}

.contact-icon:hover {
    color: #333;
    transform: scale(1.15);
}

/* Menu Items */
.menu-items {
    display: flex;
    flex-direction: column;
    margin-top: 15px;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    background-color: white;
    border-bottom: 1px solid #f5f5f5;
    transition: background-color 0.3s ease, transform 0.3s ease;
    animation: menuItemAppear 0.4s cubic-bezier(0.26, 0.86, 0.44, 0.985) backwards;
}

.menu-item:nth-child(1) {
    animation-delay: 0.8s;
}

.menu-item:nth-child(2) {
    animation-delay: 0.9s;
}

.menu-item:nth-child(4) {
    animation-delay: 1.0s;
}

.menu-item:nth-child(5) {
    animation-delay: 1.1s;
}

@keyframes menuItemAppear {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-item:hover {
    background-color: #f9f9f9;
    transform: translateX(5px);
}

.menu-icon {
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-icon {
    color: #888;
}

.wechat-green {
    color: #07c160;
}

.info {
    color: #f5a623;
}

.menu-text {
    flex: 1;
    font-size: 14px;
}

.menu-arrow {
    color: #ccc;
    transition: transform 0.3s ease;
}

.menu-item:hover .menu-arrow {
    transform: translateX(3px);
    color: #999;
}

.divider {
    height: 8px;
    background-color: #f5f5f5;
    animation: menuItemAppear 0.4s cubic-bezier(0.26, 0.86, 0.44, 0.985) 0.95s backwards;
}

/* Footer */
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 20px 20px 20px;
    background-color: white;
    text-align: center;
    animation: footerAppear 0.5s cubic-bezier(0.26, 0.86, 0.44, 0.985) 1.2s both;
    margin-top: auto;
    width: 100%;
}

@keyframes footerAppear {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #666;
    font-size: 14px;
}

.footer-logo-img {
    width: 24px;
    height: 24px;
    margin-right: 5px;
    border-radius: 4px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-logo:hover .footer-logo-img {
    transform: scale(1.1);
}

.copyright {
    color: #999;
    font-size: 12px;
    margin-bottom: 15px;
}

.create-button {
    background-color: #e9c5fa;
    color: #6e40aa;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(110, 64, 170, 0.15);
}

.create-button:hover {
    background-color: #e0b8f9;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(110, 64, 170, 0.25);
}

.create-button:active {
    transform: translateY(0);
    background-color: #d9abf8;
    box-shadow: 0 2px 8px rgba(110, 64, 170, 0.15);
}

/* iOS风格的波纹效果 */
.ripple {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

/* 触摸反馈效果 */
.touch-active {
    transform: scale(0.97) !important;
    opacity: 0.9;
}

/* 加载动画 */
body.loaded .main-container {
    opacity: 1;
    transform: translateY(0);
}

/* 菜单活跃状态 */
.menu-active {
    background-color: #f0f0f0 !important;
}

/* iOS风格的过渡效果 */
.ios-transition {
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

/* 添加微妙的阴影效果 */
.menu-item, .qr-code-box, .create-button {
    will-change: transform, box-shadow;
}

/* 性能优化 */
.logo, .menu-items, .footer-logo, svg {
    will-change: transform;
}

/* 禁用长按菜单，提升移动端体验 */
.menu-item, .logo, .qr-code-box, .contact-icon {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

/* 收藏按钮样式 */
.favorite-action, .share-action {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 15px;
    background-color: rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.favorite-action:hover {
    background-color: rgba(255, 0, 90, 0.1);
}

.favorite-action:hover svg {
    color: #ff005a;
}

.favorite-action svg, .share-action svg {
    margin-right: 4px;
}

.share-action:hover {
    background-color: rgba(0, 120, 255, 0.1);
}

.share-action:hover svg {
    color: #0078ff;
}

.action-text {
    font-size: 12px;
    color: #666;
    transition: color 0.3s ease;
}

.favorite-action:hover .action-text {
    color: #ff005a;
}

.share-action:hover .action-text {
    color: #0078ff;
}

/* 分享弹窗样式 */
.share-popup {
    animation: popup-fade-in 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes popup-fade-in {
    0% {
        opacity: 0;
        transform: translate(-50%, -45%) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* 点击复制按钮动效 */
@keyframes copy-success {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.copy-success {
    animation: copy-success 0.4s ease;
    background-color: #4CAF50 !important;
}

/* 模糊背景效果 */
.share-overlay {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* 移动设备适配 */
@media (max-width: 480px) {
    .share-popup {
        width: 90% !important;
        padding: 25px !important;
    }
    
    .share-popup .share-content {
        padding: 15px !important;
    }
}

/* 联系弹窗样式 */
.contact-popup {
    animation: contact-popup-fade-in 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@keyframes contact-popup-fade-in {
    0% {
        opacity: 0;
        transform: translate(-50%, -45%) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* 联系按钮图标样式 */
.email-icon,
.wechat-icon,
.qq-icon {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.email-icon:hover,
.wechat-icon:hover,
.qq-icon:hover {
    transform: scale(1.1);
}

/* 联系弹窗按钮动效 */
.contact-popup button:active {
    transform: scale(0.95);
}

/* 搜索功能样式 */
.search-popup {
    will-change: transform;
    animation: none;
}

.search-results {
    will-change: opacity;
    transition: opacity 0.2s ease;
}

@keyframes search-popup-slide-in {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* 搜索热门标签样式 */
.search-tag {
    display: inline-block;
    background: #f5f5f5;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    color: #666;
    margin: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-tag:hover {
    background: #eee;
    color: #333;
}

.search-tag:active {
    transform: scale(0.95);
}

/* 搜索结果项样式 */
.search-item {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.search-item:hover {
    background-color: #f9f9f9;
}

.search-item:active {
    background-color: #f0f0f0;
}

/* 移动设备适配 */
@media (max-width: 480px) {
    .search-popup input {
        font-size: 14px !important;
    }
}

/* 侧边导航菜单样式 */
.nav-menu-icon {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
    padding: 8px;
}

.nav-menu-icon:hover {
    color: #333;
    transform: scale(1.05);
}

.nav-menu-icon:active {
    transform: scale(0.98);
}

.nav-menu-icon svg {
    margin-right: 8px;
    transition: transform 0.2s ease;
}

.nav-menu-icon .menu-title {
    font-size: 15px;
    font-weight: 500;
    color: inherit;
    white-space: nowrap;
}

.nav-menu {
    position: fixed;
    /* 居中定位 */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.85); /* 初始状态：居中且更小 */
    opacity: 0; /* 初始隐藏 */
    pointer-events: none; /* 防止隐藏时交互 */

    width: 90%; /* 调整宽度 */
    max-width: 400px; /* 最大宽度 */
    max-height: 80vh; /* 最大高度 */
    background: linear-gradient(180deg, #ffffff 0%, #fdfdff 100%); 
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15); /* 阴影效果 */
    overflow-y: auto;
    z-index: 1000;
    /* 从小到大弹出的动画效果 */
    transition: opacity 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding-bottom: 15px; 
    backdrop-filter: blur(5px);
    border-radius: 12px; /* 四周都是圆角 */
    
    /* 隐藏滚动条但保留滚动功能 */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    will-change: transform, opacity; /* 提示浏览器提前准备动画 */
}

/* 隐藏WebKit浏览器的滚动条 */
.nav-menu::-webkit-scrollbar {
    display: none;
}

/* 菜单可见状态 */
.nav-menu-visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1); /* 显示状态：居中且正常大小 */
    pointer-events: auto; /* 允许交互 */
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2); /* 阴影效果 */
}

/* 遮罩层样式 - 完全重写以解决延迟问题 */
.nav-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

/* 可见状态 */
.nav-menu-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

/* 模糊效果独立实现，确保可以立即消失 */
.backdrop-blur {
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

/* 菜单分隔线 */
.nav-menu-divider {
    height: 1px;
    background-color: #eee;
    margin: 8px 25px 8px 20px;
    border: none;
    opacity: 0;
    animation: menu-item-in 0.5s forwards;
    animation-delay: 0.2s;
}

/* Badge样式 */
.nav-menu-item[badge]::after {
    content: attr(badge);
    position: absolute;
    top: 50%;
    right: 25px; /* Align with right padding */
    transform: translateY(-50%);
    background-color: #f85149;
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    line-height: 1;
    z-index: 1; /* Ensure badge is above other content */
}

/* 徽章动画效果 */
@keyframes badge-pulse {
    0% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.08);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.9;
    }
}

.nav-menu-item div[badge] {
    animation: badge-pulse 2s infinite;
    box-shadow: 0 2px 8px rgba(247, 56, 89, 0.4);
}

/* 菜单图标统一颜色和动画 */
.nav-menu-item svg {
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-menu-item:hover svg {
    color: #6c63ff;
    transform: translateX(2px);
}

/* 给标题加上渐变色 */
.nav-menu .menu-title {
    background: linear-gradient(90deg, #6c63ff, #a278ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* 菜单头部样式优化 */
.nav-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px 18px 20px;
    border-bottom: 1px solid #e8e8f0;
    background-color: #fdfdff;
}

/* 关闭按钮 */
.nav-menu-close {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    color: #888;
}

.nav-menu-close svg {
    width: 20px;
    height: 20px;
}

.nav-menu-close:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: #555;
}

.nav-menu-close:active {
    transform: scale(0.92);
    background-color: rgba(0, 0, 0, 0.08);
}

/* 分隔线 */
.nav-menu-divider {
    opacity: 0;
    animation: menu-item-in 0.5s forwards;
    animation-delay: 0.2s;
    background: linear-gradient(90deg, rgba(108, 99, 255, 0.1), rgba(108, 99, 255, 0.02)) !important;
}

/* 移除不需要的搜索样式 */
.search-popup,
.search-results,
.search-tag,
.search-item {
    display: none;
}

/* 关于我们页面样式 */
.about-section {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.about-section h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 15px;
}

.about-section h1:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: #ff6b6b;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.about-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    text-align: left;
}

.about-card:hover {
    transform: translateY(-5px);
}

.about-card h2 {
    font-size: 1.25em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #444;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.about-text p,
.faq-answer,
.contact-details p,
.mission-details p,
.advantage-details p {
    font-size: 0.9em;
    line-height: 1.7;
    color: #555;
    margin-bottom: 10px;
}

/* 公司统计 */
.company-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
}

.stat-icon {
    margin-right: 12px;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    width: 20px;
    height: 20px;
    color: #ff6b6b;
}

.stat-details {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
}

.stat-label {
    font-size: 0.8em;
    color: #777;
}

/* 使命与愿景 */
.mission-vision {
    margin-top: 25px;
}

.mission-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.mission-icon {
    margin-right: 15px;
    margin-top: 2px;
    flex-shrink: 0;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-icon svg {
    width: 20px;
    height: 20px;
    color: #ff6b6b;
}

.mission-details h3 {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
}

/* 优势列表 */
.advantage-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 25px;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 6px;
}

.advantage-icon {
    margin-right: 15px;
    margin-top: 3px;
    width: 25px;
    height: 25px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-icon svg {
    width: 18px;
    height: 18px;
    color: #ff6b6b;
}

.advantage-details h3 {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
}

/* 返回首页按钮 */
.back-to-home {
    text-align: center;
    margin-top: 15px;
}

.back-link {
    color: #ff6b6b;
    text-decoration: none;
    font-size: 0.9em;
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    border: 1px solid #ffc2c2;
    border-radius: 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.back-link:hover {
    background-color: #ffeded;
    color: #e65252;
}

.back-link svg {
    margin-right: 6px;
    width: 16px;
    height: 16px;
}

/* 响应式设计调整 */
@media (max-width: 992px) {
    .stat-item {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .mission-item {
        flex: 0 0 100%;
    }
    
    .advantage-item {
        flex: 0 0 100%;
    }
}

@media (max-width: 576px) {
    .stat-item {
        flex: 0 0 100%;
    }
    
    .about-section h1 {
        font-size: 1.8rem;
    }
    
    .about-card h2 {
        font-size: 1.5rem;
    }
}

.mission-item .mission-icon {
    flex-shrink: 0;
}

/* 极简导航样式 */
.copyright-text {
    font-size: 0.9em;
    color: #999;
}

/* Add styles for about and contact pages */
.content h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

/* About Page Styles */
.about-card,
.contact-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    text-align: left;
}

.about-card h2,
.contact-card h2 {
    font-size: 1.25em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #444;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.about-text p,
.faq-answer,
.contact-details p,
.mission-details p,
.advantage-details p {
    font-size: 0.9em;
    line-height: 1.7;
    color: #555;
    margin-bottom: 10px;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
}

.stat-icon {
    margin-right: 12px;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    width: 20px;
    height: 20px;
    color: #ff6b6b;
}

.stat-details {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
}

.stat-label {
    font-size: 0.8em;
    color: #777;
}

.mission-vision {
    margin-top: 25px;
}

.mission-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.mission-icon {
    margin-right: 15px;
    margin-top: 2px;
    flex-shrink: 0;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-icon svg {
    width: 20px;
    height: 20px;
    color: #ff6b6b;
}

.mission-details h3 {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
}

.advantage-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 25px;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 6px;
}

.advantage-icon {
    margin-right: 15px;
    margin-top: 3px;
    width: 25px;
    height: 25px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-icon svg {
    width: 18px;
    height: 18px;
    color: #ff6b6b;
}

.advantage-details h3 {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
}

.back-to-home {
    text-align: center;
    margin-top: 15px;
}

.back-link {
    color: #ff6b6b;
    text-decoration: none;
    font-size: 0.9em;
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    border: 1px solid #ffc2c2;
    border-radius: 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.back-link:hover {
    background-color: #ffeded;
    color: #e65252;
}

.back-link svg {
    margin-right: 6px;
    width: 16px;
    height: 16px;
}

/* Contact Page Styles */
.contact-methods {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    font-size: 22px;
    color: #ff6b6b;
    margin-right: 15px;
    width: 30px;
    text-align: center;
    margin-top: 5px;
}

.contact-label {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 3px;
}

.contact-value {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.faq-question {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 5px;
    cursor: pointer;
}

/* Responsive Styles for About & Contact */
@media (min-width: 768px) {
    .company-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .advantage-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .contact-methods {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 600px) {
    .content h1 {
        font-size: 1.5em;
        margin-bottom: 20px;
    }
    
    .about-card,
    .contact-card {
        padding: 15px;
        margin-bottom: 20px;
    }

    .about-card h2,
    .contact-card h2 {
        font-size: 1.15em;
    }

    .company-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat-item {
        padding: 10px;
    }
    
    .stat-value {
        font-size: 1em;
    }
    .stat-label {
        font-size: 0.75em;
    }

    .mission-details h3,
    .advantage-details h3 {
        font-size: 1.05em;
    }

    .stat-icon svg,
    .mission-icon svg,
    .advantage-icon svg,
    .contact-icon svg {
        width: 18px;
        height: 18px;
    }
    .stat-icon, .mission-icon, .advantage-icon, .contact-icon {
        margin-right: 10px;
    }

    .advantage-item {
        padding: 12px;
    }

    .back-link {
        font-size: 0.85em;
        padding: 6px 12px;
    }
}

/* Custom Share Popup Styles */
.custom-share-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.98);
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    z-index: 10001;
    text-align: center;
    max-width: 90%;
    width: 320px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translate(-50%, -40%) scale(0.95);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.custom-share-popup.popup-fade-in {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.custom-share-popup.popup-fade-out {
    opacity: 0;
    transform: translate(-50%, -45%) scale(0.95);
}

.popup-close-button {
    background-color: #ff6b6b;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: block;
    width: 100%;
    margin-top: 15px;
}

.popup-close-button:hover {
    background-color: #f05f5f;
}

.popup-close-button:active {
    transform: scale(0.96);
}

/* Share button copy success animation */
@keyframes subtle-pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

.copy-success-animation {
    animation: subtle-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 菜单项容器 */
.nav-menu-item {
    display: flex !important; /* Ensure flex display */
    align-items: center !important; /* Ensure vertical alignment */
    padding: 18px 25px 18px 20px; 
    color: #444; 
    font-size: 15px; 
    border-bottom: 1px solid #f0f0f5; 
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.2s ease, border-radius 0.25s ease; 
    position: relative; /* Added for badge positioning */
    overflow: hidden;
    text-decoration: none; /* Ensure it behaves like a link */
    border-radius: 0; /* 默认没有圆角 */
    /* Removed animation properties from here as they are handled by .nav-menu-visible */
}

/* 第一个菜单项顶部圆角 */
.nav-menu-item:first-of-type {
    border-radius: 12px 12px 0 0;
}

/* 最后一个菜单项底部圆角 */
.nav-menu-item:last-of-type {
    border-bottom: none;
    border-radius: 0 0 12px 12px !important;
}

.nav-menu-visible .nav-menu-item {
    /* Add the item animation here if desired */
    opacity: 1;
    /* animation: menu-item-in 0.5s forwards; */
    /* Consider adding animation delays back here if needed */
}

/* 确保悬停时保持圆角 */
.nav-menu-item:hover {
    background-color: #f9f9f9;
    transform: translateX(5px);
}

/* 明确指定第一个和最后一个项目在悬停时的圆角 */
.nav-menu-item:first-of-type:hover {
    border-radius: 12px 12px 0 0 !important;
}

.nav-menu-item:last-of-type:hover {
    border-radius: 0 0 12px 12px !important;
}

/* 确保最后一个菜单项的所有子元素不会影响圆角 */
.nav-menu-item:last-of-type *,
.nav-menu-item:last-of-type *:hover {
    border-radius: 0 !important;
}

/* Menu icon inside item */
.nav-menu-item .menu-icon-wrapper { 
    margin-right: 15px; /* Adjusted space */
    display: inline-flex; /* Use inline-flex for better alignment within flex */
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Prevent shrinking */
    width: 24px;
    height: 24px;
}
.nav-menu-item span { /* Style the text span */
    flex-grow: 1; /* Allow text to take remaining space */
    white-space: nowrap; /* Prevent text wrapping */
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-menu-item svg {
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-menu-item:hover svg {
    color: #6c63ff;
    transform: translateX(2px);
}

/* 专门处理最后一个菜单项 */
.nav-menu-item-last {
    border-radius: 0 0 12px 12px !important;
    overflow: hidden;
}

.nav-menu-item-last:hover {
    border-radius: 0 0 12px 12px !important;
}

.nav-menu-item-last .menu-text-wrapper {
    display: block;
    position: relative;
    z-index: 1;
}

/* 创建一个伪元素确保鼠标悬停在文字上时仍能保持圆角 */
.nav-menu-item-last:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 12px; /* 与圆角半径相同 */
    background-color: inherit;
    z-index: 0;
    pointer-events: none;
}

.nav-menu-item-last:hover:after {
    background-color: #f9f9f9;
} 