/*productDetails.css*/
/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background-color: #000;
    color: white;
    border-radius: 30px;
    font-weight: 600;
    font-size: 18px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(44, 106, 229, 0.25);
}

.btn:hover {
    background-color: #1c5ad6;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(44, 106, 229, 0.35);
}

/* 顶部导航样式 */
header {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    /*position: sticky;*/
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 8px;
    font-size: 26px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 40px;
    position: relative;
}

nav ul li a {
    font-weight: 600;
    font-size: 16px;
    color: #444;
    padding: 8px 0;
}

nav ul li a:hover {
    color: #000;
}

nav ul li.active a {
    color: #000;
}

nav ul li.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #000;
    border-radius: 2px;
}

/* 右上角功能区样式 */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* 用户相关按钮样式 */
.user-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.auth-buttons{
    display: flex;

}

.auth-btn {
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-shu{
    padding: 8px 0;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.language-container {
    position: relative;
}

.language-switch {
    display: flex;
    align-items: center;
    background-color: #f5f7ff;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid #e1e6f9;
}

/* 用户信息展示样式 */
.user-info {
    display: flex;
    align-items: center;
    position: relative;
}

.username {
    font-weight: 600;
    color: #444;
    cursor: pointer;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 140px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    margin-top: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-item {
    padding: 12px 20px;
}

.user-dropdown-item:hover {
    background-color: #f5f7ff;
}

.user-dropdown-item i {
    margin-right: 10px;
    width: 10px;
    color: #666;
}
.language-switch i {
    margin-right: 8px;
    color: #000;
}

.language-switch:hover {
    background-color: #eef1ff;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 160px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.language-option:hover {
    background-color: #f5f7ff;
}

.language-option.active {
    background-color: #eef1ff;
    color: #000;
    font-weight: 600;
}


/* 底部样式 */
footer {
    background-color: #1a2332;
    color: #b0b7c3;
    padding: 60px 0 30px;
    /*position: fixed;*/
    /*bottom: 0;*/
    width: 100%;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 60px;
}

.footer-section {
    flex: 0 0 auto;
    min-width: 200px;
}
.footer-section:last-child {
    margin-left: 0;
}

.footer-section h3 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #000;
    display: inline-block;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a:hover {
    color: #000;
    padding-left: 5px;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    color: #000;
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #2a3445;
    font-size: 14px;
    color: #8a94a6;
}

.site-id {
    margin-top: 10px;
    font-family: monospace;
    color: #5a8df0;
    font-size: 13px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .header-container {
        flex-direction: column;
        padding: 15px 0;
    }

    nav ul {
        margin: 20px 0;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 0 15px 10px;
    }

    .slogan h1 {
        font-size: 38px;
    }

    .slogan p {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 70px 0 90px;
    }

    .main-logo {
        width: 140px;
        height: 140px;
        margin-bottom: 40px;
    }

    .main-logo i {
        font-size: 60px;
    }

    .slogan h1 {
        font-size: 32px;
    }

    .slogan p {
        font-size: 16px;
    }

    .btn {
        padding: 12px 28px;
        font-size: 16px;
    }

    .footer-content {
        flex-direction: column;
    }
}

/* ===== 海外平台 & WhatsApp 专用区块 ===== */
.social-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 30px;
    align-items: flex-start;
}
@media (max-width: 980px) {
    .social-platforms {
        flex-direction: column;
        gap: 8px;
    }
    .platform-item {
        min-width: unset;
        width: 100%;
    }
}
.platform-item {
    flex: 0 0 auto;
    width: auto;
    min-width: 180px;
    border-bottom: none;
    padding: 4px 0;
    background: transparent;
}
.platform-item:last-child {
    border-bottom: none;
}
.platform-item:hover {
    background: transparent;
}
/* 图标圆形背景 */
.platform-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    font-size: 16px;
    background: #2a3445; /* fallback */
}
/* 品牌色 */
.icon-x { background: #000000; }
.icon-facebook { background: #1877f2; }
.icon-instagram { background: radial-gradient(circle at 30% 30%, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.icon-tiktok { background: #010101; }
.icon-whatsapp { background: #25d366; }
.icon-whatsapp-dark { background: #128C7E; }

.platform-detail {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    flex: 1;
}
.platform-name {
    font-weight: 600;
    font-size: 14px;
    color: #e2e8f0;
}
.platform-account {
    font-size: 13px;
    color: #94a3b8;
    word-break: break-all;
}
.platform-account .light {
    color: #64748b;
    font-style: italic;
}

/* 响应式 */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    .footer-section {
        flex: 1 1 auto;
    }
    .platform-item {
        padding: 6px 0;
    }
}


/*当前页面独立样式*/


.about-container {
    max-width: 900px;
    margin: 0 auto;
    margin-top: 20px;
    width: 100%;
    flex: 1;
    margin-bottom: 180px;
}

/* 公司名称大标题 */
.company-title {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    border-bottom: 3px solid #000;
    padding-bottom: 0.75rem;
    margin-bottom: 2.5rem;
    display: inline-block;
}

/* 完整文字段落容器（不拆分，整体保留原句） */
.about-text-block {
    font-size: 1.15rem;
    font-weight: 400;
    color: #000000;
    padding: 0.5rem 0;
    margin-bottom: 1rem;
    word-spacing: 0.05em;
}

.about-text-block p {
    margin-bottom: 1.5rem;
}

/* 保持原文所有标点和换行结构，不额外装饰 */
.about-text-block p:last-child {
    margin-bottom: 0;
}