/* Font Face Declarations - Using Variable Fonts */
@font-face {
    font-family: 'Lexend Deca';
    src: url('../shared-assets/fonts/LexendDeca-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: 'Public Sans';
    src: url('../shared-assets/fonts/PublicSans-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-display: swap;
}

/* CSS Custom Properties - 与Sales nail完全一致 */
:root {
    --primary-color: #4A90E2;
    --secondary-color: #6C757D;
    --accent-color: #007BFF;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #999999;
    --white: #FFFFFF;
    --black: #000000;
    --light-gray: #F8F9FA;
    --border-color: #E9ECEF;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.2);
    --gradient-blue: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-teal: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --font-family-heading: 'Lexend Deca', sans-serif;
    --font-family-body: 'Public Sans', sans-serif;
}

/* 全局样式重置和基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Public Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
}

html {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部导航栏 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 70px;
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    position: absolute;
    left: 35px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
}

.nav-logo .logo-img {
    height: 40px;
    width: auto;
    display: block;
    opacity: 1 !important;
    position: relative;
    z-index: 1002;
    transform: scale(0.95);
    transform-origin: center;
}

.nav-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    font-family: 'Lexend Deca', sans-serif;
}

.nav-logo .logo-text:hover {
    color: #014CC4;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
    margin-left: auto;
}

.nav-link {
    font-weight: 500;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 0;
    text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
    color: #014CC4;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #014CC4;
}

.dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 12px;
    margin-left: 5px;
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #014CC4;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* 首屏Banner区 */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 70px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 100vw;
    min-height: 100vh;
    object-fit: cover;
    object-position: center center;
    transform: none;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 1;
    max-width: 1200px;
    width: 100%;
    padding: 0 60px;
    gap: 20px;
    margin-left: 0;
}

.hero-left {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.hero-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo img {
    width: clamp(150px, 12.5vw, 200px);
    height: auto;
}

.hero-right {
    flex: 0 0 auto;
    text-align: left;
    margin-left: 0;
}

.hero-title {
    color: #FFF;
    font-family: "Lexend Deca";
    font-style: normal;
    font-weight: 600;
    line-height: 83%; /* 53.12px */
    letter-spacing: 1.28px;
    font-size: clamp(36px, 5vw, 64px);
    margin-bottom: 24px;
}

.hero-subtitle {
    color: #FFF;
    font-family: "Lexend Deca";
    font-style: normal;
    font-weight: 300;
    line-height: 94%; /* 33.84px */
    letter-spacing: 1.08px;
    font-size: clamp(18px, 2vw, 24px);
    opacity: 0.9;
}

/* 通用板块样式 */
.section-title {
    font-size: 24px;
    font-weight: 600;
    color: #014CC4;
    text-align: center;
    margin-bottom: 48px;
    font-family: 'Public Sans', sans-serif;
}

.section-subtitle {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin-top: -32px;
    margin-bottom: 48px;
}

.section-disclaimer {
    font-size: 14px;
    color: #999;
    text-align: center;
    margin-top: -32px;
    margin-bottom: 32px;
    font-style: normal;
    font-weight: 400;
    font-family: 'Public Sans', sans-serif;
}

/* Our Product 板块 */
.products {
    padding: 120px 0 160px 0;
    background: #fff;
    position: relative;
}

/* 标题区 */
.product-title-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
    margin-top: -50px;
}

.product-title-section .section-title {
    color: #014CC4;
    text-align: center;
    font-family: "Lexend Deca";
    font-size: 48px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: capitalize;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
}

/* 产品切换区 */
.product-slider-container {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
}

.product-slider {
    display: flex;
    width: 200%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.product-slide {
    width: 50%;
    height: 100%;
    flex-shrink: 0;
}

.product-slide.active {
    /* 当前激活的产品 */
}

.product-banner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.product-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* SalesNail 背景 - 主KV背景 */
.salesnail-bg {
    background-image: url('https://sojourn.oss-cn-shanghai.aliyuncs.com/www-en/home/salesnailbackground.jpg');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Providence 背景 - 使用真实的Providence主KV背景 */
.providence-bg {
    background-image: url('https://sojourn.oss-cn-shanghai.aliyuncs.com/www-en/providence/providence-kv.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.product-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.product-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.logo-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* SalesNail Logo - 蓝色六边形握手 */
.salesnail-icon {
    background: #014CC4;
}

.salesnail-icon::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: white;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* Providence Logo - 黄色几何图形 */
.providence-icon {
    background: #ffc107;
}

.providence-icon::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: white;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.logo-text {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: white;
    font-family: 'Public Sans', sans-serif;
}

.product-tagline {
    font-size: clamp(14px, 1.5vw, 18px);
    color: white;
    opacity: 0.9;
    margin: 0;
    font-weight: 400;
    max-width: 400px;
}

/* 翻页按钮 - 简洁版本 */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(1, 76, 196, 0.2);
    border-radius: 50%;
    color: #014CC4;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 4;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    /* 确保按钮位置固定居中 */
    margin-top: 0;
    margin-bottom: 0;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 1);
    border-color: #014CC4;
    /* 保持垂直居中，只进行水平缩放 */
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 12px 35px rgba(1, 76, 196, 0.25);
}

.slider-btn:active {
    /* 保持垂直居中，只进行水平缩放 */
    transform: translateY(-50%) scale(0.95);
}

.slider-btn-prev {
    left: 20px;
    /* 左按钮位置回到边缘 */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.slider-btn-next {
    right: 20px;
    /* 右按钮位置回到边缘 */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.slider-btn-prev:hover {
    /* 左按钮悬停时保持垂直居中 */
    transform: translateY(-50%) scale(1.15);
}

.slider-btn-next:hover {
    /* 右按钮悬停时保持垂直居中 */
    transform: translateY(-50%) scale(1.15);
}

.slider-btn-prev:active {
    /* 左按钮点击时保持垂直居中 */
    transform: translateY(-50%) scale(0.95);
}

.slider-btn-next:active {
    /* 右按钮点击时保持垂直居中 */
    transform: translateY(-50%) scale(0.95);
}

.slider-btn svg {
    transition: transform 0.2s ease;
    width: 32px;
    height: 32px;
}

.slider-btn:hover svg {
    transform: scale(1.1);
}

/* 产品覆盖按钮 - 固定在背景图片上 */
.product-overlay-buttons {
    position: absolute;
    bottom: 15%; /* 调整到红框位置 - 更靠下 */
    right: 15%; /* 调整到红框位置 - 更靠右 */
    display: flex;
    gap: 45px;
    justify-content: center;
    align-items: center;
    z-index: 3;
    width: auto;
}

/* 确保按钮在不同产品间正确显示/隐藏 */
.salesnail-overlay-buttons {
    display: flex;
}

.providence-overlay-buttons {
    display: flex;
}

/* 当产品不是当前激活状态时隐藏按钮 */
.product-slide:not(.active) .product-overlay-buttons {
    display: none;
}

/* SVG按钮样式 */
.btn-svg {
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
    width: 120px;
    height: 40px;
}

.btn-svg:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.btn-svg-outline:hover {
    filter: brightness(1.1) drop-shadow(0 4px 8px rgba(1, 76, 196, 0.3));
}

/* 移除Get Started按钮的蓝色填充，改为边框样式 */

/* 禁用按钮样式 */
.btn-svg.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-svg.disabled:hover {
    transform: none;
    filter: none;
}

/* PNG Button Image Scaling - Scale up to double the original size */
.btn-svg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1.334);
    transform-origin: center;
}

/* 产品Banner SVG样式 */
.product-banner-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* SalesNail Logo 样式 */
.salesnail-logo-img {
    max-width: 4320px;
    max-height: 2880px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(100%);
}

/* Providence Logo 样式 - 居中对齐并再缩小10% */
.providence-logo-img {
    max-width: 4320px; /* 恢复原始最大宽度限制 */
    max-height: 2880px; /* 恢复原始最大高度限制 */
    width: auto; /* 恢复自动宽度 */
    height: auto;
    object-fit: contain;
    opacity: 1 !important;
    transform: scale(1.296); /* 从1.44再缩小10%到1.296倍 */
    transform-origin: center; /* 确保从中心缩放 */
}

/* Providence Banner 样式 */
.providence-banner-svg {
    max-width: 4320px;
    max-height: 2880px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
}

/* 进度条区 */
.product-progress {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
}

.progress-bar {
    display: flex;
    width: 100%;
    height: 5px;
    background: #E5E5E5;
    border-radius: 0;
    overflow: hidden;
}

.progress-segment {
    flex: 1;
    height: 100%;
    background: #E5E5E5;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.progress-segment.active {
    background: #014CC4;
}

.progress-segment:first-child {
    border-radius: 1px 0 0 1px;
}

.progress-segment:last-child {
    border-radius: 0 1px 1px 0;
}

.btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Public Sans', sans-serif;
}

.btn-outline {
    background: white;
    color: #014CC4;
    border: 2px solid #014CC4;
}

.btn-outline:hover {
    background: #014CC4;
    color: white;
}

.btn-primary {
    background: #014CC4;
    color: white;
    border: 2px solid #014CC4;
}

.btn-primary:hover {
    background: #0138a3;
    border-color: #0138a3;
}

/* News Section */
.news-section {
    padding: 80px 0;
    background: #fff;
}

.news-section .section-title {
    color: #014CC4;
    text-align: center;
    font-family: "Lexend Deca";
    font-size: 48px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: capitalize;
    margin-bottom: 48px;
}

.news-header {
    text-align: left;
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-top: 10px;
    font-weight: 400;
}

.news-cases {
    max-width: 100%;
    margin: 0 auto 60px;
}

.case-item {
    display: flex;
    align-items: flex-start;
    padding: 25px 0;
    border-bottom: 2px solid #E9ECEF;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    flex-wrap: wrap;
}

.case-item:last-child {
    border-bottom: none;
}

.case-item:hover {
    background: rgba(74, 144, 226, 0.02);
}

.case-number {
    font-size: 2rem;
    font-weight: 700;
    color: #4A90E2;
    min-width: 80px;
    text-align: left;
    flex-shrink: 0;
    align-self: flex-start;
    position: sticky;
    top: 0;
}

.case-content {
    flex: 1;
    margin-left: 30px;
    position: relative;
    padding-right: 60px;
}

.case-header {
    display: block;
    margin-bottom: 0;
    min-height: 48px;
    display: flex;
    align-items: center;
}

.case-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
    margin-bottom: 0;
    display: block;
    text-align: left;
}

.case-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
    display: block;
    text-align: left;
}

.case-expand-btn {
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: absolute;
    right: 0;
    top: 12px;
    transform: none;
}

.case-expand-btn:hover {
    background: rgba(74, 144, 226, 0.1);
}

.expand-arrow {
    width: 24px;
    height: 24px;
    color: #4A90E2;
    transition: all 0.3s ease;
}

.case-item.expanded .expand-arrow {
    transform: rotate(180deg);
}

.case-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    width: 100%;
    margin-left: 30px;
    margin-right: 54px;
}

.case-item.expanded .case-details {
    max-height: 1200px;
    padding: 20px 0 0 0;
}

/* Case study images styling */
.case-image {
    width: 90%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 720px;
}

.case-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    margin-top: 20px;
    text-align: left;
}

.case-details h4:first-child {
    margin-top: 0;
}

.case-details p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0 0 15px 0;
    text-align: left;
}

.case-details p:last-child {
    margin-bottom: 0;
}

.news-image {
    text-align: center;
    width: 100%;
    margin: 0 auto;
}

.news-training-image {
    width: 75%;
    height: auto;
    display: block;
    margin: 0 auto;
    opacity: 1 !important;
}

.news-training-video {
    width: 75%;
    height: auto;
    display: block;
    margin: 0 auto;
    opacity: 1 !important;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.image-caption {
    font-size: 0.9rem;
    color: #999;
    margin-top: 15px;
    font-style: italic;
}

/* News section animations */
.case-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.case-item:nth-child(1) {
    animation-delay: 0.1s;
}

.case-item:nth-child(2) {
    animation-delay: 0.2s;
}

.case-item:nth-child(3) {
    animation-delay: 0.3s;
}

/* Our Clients & Partners Section */
.clients-partners-section {
    padding: 80px 0;
    background: #fff;
}

.clients-partners-section .section-title {
    color: #014CC4;
    text-align: center;
    font-family: "Lexend Deca";
    font-size: 48px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: capitalize;
    margin-bottom: 48px;
}

.clients-image-wrapper {
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

.clients-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: block;
    margin: 0 auto;
    opacity: 1 !important;
    object-fit: contain;
}

/* Responsive design for clients section */
@media (max-width: 768px) {
    .clients-image {
        width: 95%;
        max-width: 800px;
    }
}

@media (max-width: 480px) {
    .clients-image {
        width: 100%;
        max-width: 600px;
    }
}

/* Footer */
.footer {
    background: #000;
    color: white;
    padding: 60px 0 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-left {
    flex: 1;
    max-width: 600px;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 24px;
    opacity: 1 !important;
}

.footer-mission {
    font-family: 'Public Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: white;
    max-width: 500px;
    margin-bottom: 32px;
    margin-top: 0;
    text-transform: none;
}

/* Footer Contact Styles */
.footer-contact {
    margin-top: 0;
}

.contact-title {
    font-family: 'Lexend Deca', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: white;
    margin-bottom: 16px;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.contact-email {
    color: white;
    font-family: 'Public Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-email:hover {
    color: #ccc;
    transform: translateY(-1px);
}

.contact-icon {
    width: 16px;
    height: 16px;
    filter: brightness(0) saturate(100%) invert(100%);
    opacity: 1 !important;
}

.linkedin-link {
    color: white;
    font-family: 'Public Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.linkedin-link:hover {
    color: #ccc;
    transform: translateY(-1px);
}

.linkedin-icon {
    width: 16px;
    height: 16px;
    border-radius: 2px;
    background: #0077B5;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    font-family: Arial, sans-serif;
}

.linkedin-icon::before {
    content: 'in';
}

.footer-right {
    flex: 0 0 auto;
    align-self: flex-start;
    margin-top: 74px;
}

.footer-nav {
    display: flex;
    justify-content: flex-end;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-menu-item {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-link {
    color: white;
    font-family: 'Lexend Deca', sans-serif;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 8px;
}

.footer-link:hover {
    color: #ccc;
    transform: translateY(-2px);
}

.footer-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
    align-items: flex-start;
    margin-left: 0;
    margin-top: -4px;
}

.footer-sublink {
    color: #ccc;
    font-family: 'Lexend Deca', sans-serif;
    text-decoration: none;
    font-size: 14px;
    font-weight: 300;
    transition: all 0.3s ease;
    display: block;
}

.footer-sublink:hover {
    color: white;
    transform: translateY(-2px);
}

/* Footer Responsive Design */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .footer-nav {
        justify-content: center;
    }
    
    .footer-menu {
        align-items: center;
    }
    
    .footer-menu-item {
        align-items: center;
    }
    
    .footer-submenu {
        align-items: center;
    }
    
    .contact-info {
        justify-content: center;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 16px;
        height: 60px;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .hero {
        height: 100vh;
        min-height: 500px;
        padding-top: 60px;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 0 20px;
        margin-left: 0;
    }
    
    .hero-left {
        order: 1;
    }
    
    .hero-right {
        order: 2;
        text-align: center;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .product-slider-container {
        height: 50vh;
        min-height: 350px;
    }
    
    .salesnail-logo {
        flex-direction: column;
        gap: 12px;
    }
    
    .logo-text {
        font-size: 36px;
    }
    
    .product-tagline {
        font-size: 16px;
    }
    
    .product-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .product-buttons .btn {
        width: 200px;
    }
    
    .news-item {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .news-number {
        min-width: auto;
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-nav {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .product-name {
        font-size: 24px;
    }
    
    .clients-grid {
        grid-template-columns: 1fr;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 页面加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 初始状态 - 隐藏元素 */
.hero-logo,
.hero-title,
.hero-subtitle {
    opacity: 0;
    transform: translateY(30px);
}

/* 加载完成后的动画 */
.loaded .hero-logo {
    animation: fadeInUp 0.8s ease 0.3s both;
}

.loaded .hero-title {
    animation: fadeInUp 0.8s ease 0.5s both;
}

.loaded .hero-subtitle {
    animation: fadeInUp 0.8s ease 0.7s both;
}

.section-title {
    animation: fadeInUp 0.8s ease-out;
}

/* 导航栏滚动效果 - 与Sales nail完全一致 */
.header.scrolled {
    background: var(--white);
    box-shadow: var(--shadow-light);
}

.header.scrolled .nav-link {
    color: var(--text-primary);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    color: var(--primary-color);
}

.header.scrolled .nav-link.active::after {
    background: var(--primary-color);
}

.header.scrolled .nav-logo {
    left: 20px; /* 白色背景状态下恢复到原位置 */
}

.header.scrolled .logo-img {
    height: 50px;
    transform: scale(0.84);
    transform-origin: center;
}

.header.scrolled .dropdown-menu {
    background: var(--white);
    box-shadow: var(--shadow-medium);
}

.header.scrolled .dropdown-menu a {
    color: var(--text-primary);
}

.header.scrolled .dropdown-menu a:hover {
    background: var(--light-gray);
    color: var(--primary-color);
}

.header.scrolled .nav-toggle .bar {
    background: var(--text-primary);
}
