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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #edebf0;
    overflow-x: hidden; /* 防止水平溢出 */
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #0f252d;
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0 20px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    width: 100%; /* 确保导航栏不会超出屏幕宽度 */
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

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

.logo-img {
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #b8c5d1;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link.active {
    color: #ffffff;
    font-weight: 600;
}

.nav-link.dropdown {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.nav-link:hover .dropdown-arrow {
    opacity: 1;
    transform: translateY(1px);
}

.nav-link.special {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    gap: 0;
}

.nav-link.special:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    color: white !important;
}

/* 下拉菜单样式 */
.nav-item {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #1a3540;
    min-width: 200px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 8px 0;
    margin-top: 5px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: #b8c5d1;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    background: none;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding-left: 24px;
}

.dropdown-item.active {
    color: #f39c12;
    font-weight: 600;
}

/* 语言切换器样式 */
.language-switcher {
    position: relative;
}

.language-btn {
    background: none;
    border: none;
    color: #b8c5d1;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
    padding: 8px 12px;
    border-radius: 4px;
}

.language-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.current-lang {
    font-weight: 600;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #1a3540;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: block;
    padding: 10px 16px;
    text-decoration: none;
    color: #b8c5d1;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.language-option:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.language-option.active {
    background: #667eea;
    color: white;
}

.language-option.active:hover {
    background: #5a6fd8;
    color: white;
}

/* 移动端菜单按钮 */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    transition: 0.3s;
}

/* Footer Styles */
.footer {
    background-color: #0f252d;
    color: #ffffff;
    padding: 60px 0 0;
}

.footer-container {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px 0 20px;
    gap: 60px;
}

.footer-logo {
    margin-right: 0;
}

.footer-logo img {
    height: 50px; /* 根据您的logo调整 */
}

.footer-links {
    display: flex;
    gap: 50px; /* 四列布局调整间距 */
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 15px;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
    font-size: 1rem;
    transition: color 0.3s;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding: 15px 0;
    text-align: center;
    font-size: 0.9rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.clear-cache-button {
    background-color: #f44336; /* Red */
    color: white;
    border: none;
    padding: 8px 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.clear-cache-button:hover {
    background-color: #d32f2f; /* Darker Red */
}

.footer-bottom a {
    color: #000;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* 移动端菜单激活时锁定背景滚动 */
body.nav-open {
    overflow: hidden;
}

/* 移动端导航栏优化 */
@media (max-width: 768px) {
    /* 汉堡按钮 -> 关闭按钮 转换 */
    .hamburger {
        display: flex;
        /* z-index a ser movido para .nav-actions */
    }
    .hamburger span {
        transition: all 0.3s ease-in-out;
    }
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    /* 全屏菜单容器 */
    .nav-menu {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        right: 0; /* 确保宽度铺满 */
        bottom: 0; /* 确保高度铺满 */
        background-color: #0f252d;
        flex-direction: column;
        padding: 70px 30px 100vh; /* 调整顶部留白以匹配导航栏高度 */
        box-shadow: none;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        overflow-y: auto;
        gap: 0;
        z-index: 1000; /* Abaixo das ações de navegação */
    }

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

    /* 菜单项 */
    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .nav-item:last-child {
        border-bottom: none;
    }
    .nav-link {
        width: 100%;
        padding: 18px 0;
        font-size: 1.1rem;
        font-weight: 500;
        color: #b8c5d1;
        justify-content: space-between;
    }
    
    /* 移动端下拉菜单 */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        margin: 0;
        padding: 0;
        border-radius: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out, padding 0.4s ease, margin 0.4s ease;
        min-width: unset;
    }

    /* 点击激活下拉菜单 */
    .nav-link.dropdown.active + .dropdown-menu {
        max-height: 300px; /* 展开后的最大高度，可以根据内容调整 */
        padding: 10px 0;
        margin-top: 10px;
    }

    .dropdown-item {
        padding: 10px 20px;
        font-size: 1rem;
        color: #b8c5d1;
    }
    .dropdown-item:hover {
        padding-left: 25px;
    }

    .dropdown-arrow {
        transition: transform 0.3s ease; /* 确保箭头有过渡效果 */
    }

    /* 激活时旋转下拉箭头 */
    .nav-link.dropdown.active .dropdown-arrow {
        transform: rotate(180deg); /* 箭头旋转 */
    }

    /* 其他移动端样式调整 */
    .language-switcher {
        display: block;
        margin-right: 0;
    }
    .nav-actions .language-switcher {
        display: block;
    }
    .language-btn {
        padding: 6px 8px;
        font-size: 13px;
    }
    .language-dropdown {
        right: -10px;
        min-width: 100px;
    }
    .logo-img {
        height: 40px;
    }
    .nav-container {
        padding: 0 15px;
        height: 70px;
    }
    .navbar {
        padding: 0;
    }
    .nav-actions {
        margin-left: auto;
        position: relative; /* Necessário para o z-index funcionar */
        z-index: 1001; /* Garante que as ações fiquem sobre o menu */
    }

    .footer {
        padding: 60px 0 40px;
    }
    .footer-container {
        padding: 0 20px;
        max-width: 100%;
        flex-direction: column;
        align-items: center;
    }
    .footer-logo {
        margin-right: 0; /* 移除桌面端的右边距 */
    }
    .footer-links {
        gap: 40px;
        text-align: center;
    }
    .footer-bottom {
        gap: 20px;
        flex-direction: column;
    }
    .footer-link {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        height: 70px;
    }
    .logo-img {
        height: 35px;
    }
    .footer {
        padding: 50px 0 30px;
    }
    .footer-container {
        padding: 0 15px;
        gap: 25px;
    }
    .footer-bottom {
        gap: 20px;
        flex-direction: column;
    }
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    .footer-link {
        font-size: 0.9rem;
    }
}

/* 针对特别小的屏幕（例如 iPhone SE）的额外优化 */
@media (max-width: 380px) {
    .footer-links {
        gap: 40px;
        flex-direction: column;
        align-items: center;
    }

    .footer-column {
        align-items: center;
    }
}

.footer-logo-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@media (max-width: 768px) {
    .footer-logo-column {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

.strategy-title {
    font-size: 3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    word-break: break-all;
}

.strategy-title::before {
    content: 'CORPORATE STRATEGY';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4rem;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.05);
    z-index: -1;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .strategy-title::before {
        display: none; /* 在移动端隐藏背景大标题以避免溢出 */
    }
}

.strategy-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.strategy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.strategy-card h3 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.strategy-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.strategy-card .btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
}

.strategy-card .btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* 滚动优化 */
@media (prefers-reduced-motion: reduce) {
    .hero-background,
    .company-hero-background {
        background-attachment: scroll;
    }
    
    .hero-logo,
    .hero-title,
    .hero-subtitle,
    .hero-button,
    .company-hero-logo,
    .company-hero-title,
    .company-hero-subtitle,
    .company-description-card {
        animation: none;
    }
}

/* Founder Section - 公共底部组件 */
.founder-section {
    background: #fff;
    padding: 50px 0;
    text-align: center;
}

.founder-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}


.founder-logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
}

.founder-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    font-weight: 400;
    margin: 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* 响应式设计 - Founder Section */
@media (max-width: 1024px) {
    .founder-section {
        padding: 60px 0;
    }
    
    .founder-container {
        padding: 0 25px;
    }
}

@media (max-width: 768px) {
    .founder-section {
        padding: 50px 0;
    }
    
    .founder-container {
        padding: 0 20px;
    }
    
    .founder-text {
        font-size: 1rem;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    .founder-section {
        padding: 40px 0;
    }
    
    .founder-container {
        padding: 0 15px;
    }
    
    .founder-logo-img {
        height: 50px;
    }
    
    .founder-text {
        font-size: 0.95rem;
    }
}

