/* 基础样式复刻 Nuki 风格 */
:root {
    --primary-black: #1a1a1a;
    --accent-blue: #007aff;
    --text-gray: #666;
    --bg-light: #f5f5f7;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: "SF Pro Display", "Helvetica Neue", "Arial", "PingFang SC", sans-serif;
    color: var(--primary-black);
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* 联系信息卡片 */
.contact-section {
    padding: 80px 10%;
    background: var(--bg-light);
}

.contact-container {
    margin: 0 auto;
}

.contact-card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.contact-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.contact-card .contact-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
}

.contact-card i {
    font-size: 32px;
    color: var(--primary-black);
}

.contact-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.contact-card p {
    color: var(--text-gray);
    margin-bottom: 10px;
}

.contact-card a {
    color: var(--primary-black);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-card a:hover {
    color: var(--accent-blue);
}

/* 导航栏 */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: fixed;
    width: 90%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    top: 0;
}

/* 确保菜单按钮在移动端可见 */
@media (max-width: 768px) {
    nav {
        padding: 15px 5%;
        flex-wrap: nowrap;
    }
    
    .nav-links {
        flex: 1;
        justify-content: flex-start;
    }
    
    .contact-section {
        padding: 60px 5%;
    }
    
    .contact-card-container {
        gap: 20px;
    }
    
    .contact-card {
        padding: 30px;
    }
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links a {
    margin-left: 30px;
    text-decoration: none;
    color: var(--primary-black);
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s, transform 0.3s;
    position: relative;
    padding: 8px 0;
}

.nav-links a:hover {
    color: var(--accent-blue);
    transform: translateY(-2px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* 首屏 Hero 区域 */
.hero {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 20px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.hero img {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    max-width: 800px;
    width: 90%;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 10px;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-bottom: 30px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button {
    background: var(--accent-blue);
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.cta-button:hover {
    background: #0066cc;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}


/* 特性展示区 */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 80px 10%;
    background: white;
}

.feature-card {
    text-align: center;
    padding: 20px;
}

.feature-card i {
    font-size: 40px;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

/* 产品特性展示区（新） */
.product-features {
    padding: 80px 10%;
    background: white;
}

.feature-section {
    display: flex;
    align-items: center;
    padding: 60px 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 40px;
}

.feature-section:last-child {
    border-bottom: none;
}

.feature-content {
    flex: 1;
    min-width: 0;
}

.feature-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.feature-icon {
    font-size: 32px;
    margin-right: 20px;
    color: var(--primary-black);
}

.feature-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.feature-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-gray);
    margin: 0;
}

.feature-image {
    flex: 1;
    min-width: 0;
    max-width: 50%;
    background: #f5f5f7;
    height: 300px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* 产品详情交错排版 */
.product-detail {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 60px 10%;
}

.product-detail:nth-child(even) {
    flex-direction: row-reverse;
}

.detail-image {
    flex: 1;
    min-width: 300px;
    background: #eee;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-style: italic;
    color: #999;
    overflow: hidden;
}

.detail-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 15px;
}

.detail-text {
    flex: 1;
    padding: 40px;
    min-width: 300px;
}

/* 页脚 */
footer {
    background: var(--primary-black);
    color: white;
    padding: 40px 10%;
    text-align: center;
}

.footer-links {
    margin-bottom: 40px;
}

.footer-links a {
    color: white;
    margin: 0 25px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    padding: 5px 0;
}

.footer-links a:hover {
    color: var(--accent-blue);
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width 0.3s;
}

.footer-links a:hover::after {
    width: 80%;
}

/* 多语言切换 */
.language-selector {
    position: relative;
    display: inline-block;
    margin-left: 30px;
}

.current-language {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.current-language:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.lang-icon {
    width: 20px;
    height: 14px;
    margin-right: 8px;
    border-radius: 2px;
}

.current-language i {
    margin-left: 8px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.language-selector:hover .current-language i {
    transform: rotate(180deg);
}

.language-list {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0;
    padding: 8px 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    list-style: none;
    min-width: 120px;
    display: none;
    z-index: 1000;
}

.language-selector:hover .language-list {
    display: block;
}

.language-list li {
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.language-list li:hover {
    background: #f5f5f5;
}

.language-list li img {
    width: 20px;
    height: 14px;
    margin-right: 8px;
    border-radius: 2px;
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .hero {
        width: 100%;
        height: auto;
        padding: 70px 15px 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: relative;
    }
    
    .hero img {
        position: relative;
        width: 100%;
        height: auto;
        display: block;
        z-index: 0;
    }
    
    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 1;
    }
    
    .hero-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 2;
        max-width: 90%;
        text-align: center;
        width: 90%;
    }
    
    .hero h1 {
        font-size: 28px;
        margin-bottom: 15px;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 16px;
        display: block;
        margin-bottom: 20px;
        line-height: 1.5;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    /* product-features 移动端样式 */
    .product-features {
        padding: 40px 5%;
    }
    
    .feature-section {
        flex-direction: column;
        padding: 30px 0;
        gap: 20px;
    }
    
    .feature-content {
        width: 100%;
    }
    
    .feature-header {
        margin-bottom: 15px;
    }
    
    .feature-icon {
        font-size: 28px;
        margin-right: 15px;
    }
    
    .feature-title {
        font-size: 20px;
    }
    
    .feature-description {
        font-size: 14px;
    }
    
    .feature-image {
        width: 100%;
        max-width: 100%;
        height: 200px;
    }
    
    .menu-toggle {
        display: block !important;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        display: none;
        flex-direction: column;
        align-items: flex-start;
        z-index: 999;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        margin: 10px 0;
    }
    
    .language-selector {
        margin: 10px 0;
        width: 100%;
    }
    
    .current-language {
        width: 100%;
        justify-content: space-between;
    }
    
    .language-list {
        left: 0;
        right: 0;
        width: 100%;
        min-width: unset;
    }
}

/* 更小屏幕的适配 */
@media (max-width: 480px) {
    .hero {
        width: 100%;
        height: auto;
        padding: 65px 10px 35px;
    }
    
    .hero img {
        position: relative;
        width: 100%;
        height: auto;
        display: block;
        z-index: 0;
    }
    
    .hero h1 {
        font-size: 22px;
        margin-bottom: 12px;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 14px;
        margin-bottom: 15px;
        line-height: 1.5;
    }
    
    .cta-button {
        padding: 10px 25px;
        font-size: 13px;
    }
}

/* 内联样式提取 */
.hero-image-placeholder {
    margin-top: 50px;
    color: #ccc;
}

.footer-copyright {
    font-size: 14px;
    color: #888;
    margin-top: 20px;
    letter-spacing: 1px;
    line-height: 1.6;
}

/* 关于内容区域 */
.about-section {
    padding: 60px 10%;
    margin-bottom: 40px;
}



.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.about-content.reverse {
    flex-direction: row-reverse;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 600;
}

.about-text p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: var(--text-gray);
}

.about-text ul {
    list-style: none;
    padding: 0;
}

.about-text ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.about-text ul li i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--accent-blue);
}

/* 关于图片区域样式 */
.about-img {
    flex: 1;
    min-width: 300px;
}

.about-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    object-fit: contain;
}

/* 视频区域样式 */
.about-video {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.video-container {
    position: relative;
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
    z-index: 10;
}

.play-btn:hover {
    background: rgba(0, 122, 255, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-btn i {
    margin-left: 5px;
}

/* 时间线样式 */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent-blue);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-date {
    position: absolute;
    left: -30px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.timeline-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.timeline-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.timeline-content p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
}

/* 使命部分 */
.mission-text {
    font-size: 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    color: var(--text-gray);
}

/* 联系信息 */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-item i {
    font-size: 24px;
    color: var(--accent-blue);
    margin-top: 5px;
}

.contact-item h3 {
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-item p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
}

/* 文本居中 */
.text-center {
    text-align: center;
    width: 100%;
    margin-bottom: 40px;
}

/* 响应式适配 - 关于部分 */
@media (max-width: 768px) {
    .about-section {
        padding: 40px 5%;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-content.reverse {
        flex-direction: column;
    }
    
    .about-video {
        width: 100%;
    }
    
    .video-container {
        height: auto;
        padding-bottom: 56.25%; /* 16:9 宽高比 */
    }
    
    .video-container video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    .timeline {
        padding-left: 25px;
    }
    
    .timeline-date {
        left: -25px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .about-text h2 {
        font-size: 24px;
    }
    
    .about-video {
        width: 100%;
    }
    
    .video-container {
        height: auto;
        padding-bottom: 56.25%; /* 16:9 宽高比 */
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

/* 隐私政策弹窗样式 */
.privacy-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    padding: 24px;
    max-width: 400px;
    z-index: 9999;
    display: none;
    animation: slideInLeft 0.4s ease-out;
}

.privacy-banner.show {
    display: block;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.privacy-banner-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.privacy-banner-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.privacy-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.3s;
}

.privacy-close-btn:hover {
    color: #1a1a1a;
}

.privacy-banner-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.privacy-banner-actions {
    display: flex;
    gap: 12px;
}

.privacy-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    flex: 1;
}

.privacy-btn-details {
    background: white;
    color: #1a1a1a;
    border: 2px solid #e0e0e0;
}

.privacy-btn-details:hover {
    border-color: #007aff;
    color: #007aff;
}

.privacy-btn-accept {
    background: #1a365d;
    color: white;
}

.privacy-btn-accept:hover {
    background: #007aff;
}

/* 隐私政策详情弹窗 */
.privacy-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.privacy-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.privacy-modal-content {
    background: #f5f7fb;
    max-width: 900px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideUp 0.4s ease-out;
}

@keyframes modalSlideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.privacy-modal-header {
    background: white;
    padding: 20px 30px;
    border-radius: 24px 24px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.privacy-modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #0a2540;
    margin: 0;
}

.privacy-modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #999;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.3s;
}

.privacy-modal-close:hover {
    color: #1a1a1a;
}

.privacy-modal-body {
    padding: 30px;
}

/* 隐私政策内容样式 */
.privacy-modal-body h2 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
    color: #1e3a5f;
    border-left: 4px solid #3b82f6;
    padding-left: 12px;
}

.privacy-modal-body h3 {
    font-size: 16px;
    font-weight: 600;
    margin-top: 16px;
    margin-bottom: 8px;
    color: #2c3e50;
}

.privacy-modal-body p {
    margin-bottom: 12px;
    font-size: 14px;
    color: #2d3e50;
    line-height: 1.6;
}

.privacy-modal-body a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.privacy-modal-body a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.privacy-modal-body a[href^="mailto"] {
    background-color: #eff6ff;
    padding: 2px 6px;
    border-radius: 8px;
    white-space: nowrap;
}

.privacy-modal-body a[href^="mailto"]:hover {
    background-color: #dbeafe;
    text-decoration: none;
}

/* 动画延迟类 */
.animation-delay-200 {
    animation-delay: 0.2s;
}

.animation-delay-400 {
    animation-delay: 0.4s;
}

.animation-delay-600 {
    animation-delay: 0.6s;
}

.animation-delay-800 {
    animation-delay: 0.8s;
}

/* 动画初始状态 - 用于滚动触发 */
.feature-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.contact-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.feature-section.animate__animated,
.contact-card.animate__animated {
    opacity: 1;
    transform: translateY(0);
}

/* 公司简介文本样式 */
.about-description {
    font-size: medium;
    line-height: 1.6;
    margin-bottom: 15px;
    color: rgb(102, 102, 102);
    font-family: "SF Pro Display", "Helvetica Neue", Arial, "PingFang SC", sans-serif;
}

.about-description-text {
    color: rgb(17, 17, 17);
    font-family: system-ui, "Microsoft YaHei", 微软雅黑, arial, tahoma, MicrosoftJhengHei, sans-serif;
    font-size: 15px;
    text-align: justify;
    letter-spacing: 1.5px;
    line-height: 1.8;
}

/* 移动端适配 - 隐私弹窗 */
@media (max-width: 768px) {
    .privacy-banner {
        left: 10px;
        right: 10px;
        max-width: none;
        bottom: 10px;
        padding: 20px;
    }

    .privacy-modal-content {
        width: 95%;
        max-height: 90vh;
    }

    .privacy-modal-header {
        padding: 16px 20px;
    }

    .privacy-modal-body {
        padding: 20px;
    }

    .privacy-banner-actions {
        flex-direction: column;
    }

    .privacy-btn {
        width: 100%;
    }
}