/* Custom Font Faces */
@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 */
: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;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   导航栏区域 - 已完成，请勿修改
   ======================================== */
/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow-light);
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    padding: 0;
}

.nav-container {
    max-width: var(--container-max-width);
    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: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
}

.nav-logo .logo-img {
    height: 64px;
    width: auto;
    display: block;
    opacity: 1 !important;
    position: relative;
    z-index: 1002;
}

.nav-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    font-family: 'Lexend Deca', sans-serif;
}

.nav-logo .logo-text:hover {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-left: auto;
}

.nav-link {
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition);
    position: relative;
    padding: 10px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

.dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 12px;
    margin-left: 5px;
    transition: var(--transition);
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-medium);
    border-radius: var(--border-radius);
    padding: 10px 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-primary);
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--light-gray);
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition);
}
/* ========================================
   导航栏区域结束
   ======================================== */

/* ========================================
   KV主视觉区域 - 已完成，请勿修改
   ======================================== */
/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-image: url('https://sojourn.oss-cn-shanghai.aliyuncs.com/www-en/sales-nail/salesnail.png');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-bg-img {
    display: none;
}

.hero-content {
    position: relative;
    width: 100%;
    height: 100%;
    color: var(--white);
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 50px;
}

.hero-main {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.hero-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-logo {
    width: 1000px;
    height: 1000px;
    object-fit: contain;
    opacity: 1 !important;
}

.hero-cta {
    position: absolute;
    bottom: calc(50% - 160px);
    right: calc(50% - 460px);
}

.get-started-btn-img {
    width: auto;
    height: 52px;
    cursor: pointer;
    transition: var(--transition);
    opacity: 1 !important;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3));
}

.get-started-btn-img:hover {
    transform: translateY(-3px) scale(1.05);
    filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.4)) brightness(1.1);
}
/* ========================================
   KV主视觉区域结束
   ======================================== */

/* What is Sales Nail Section */
.what-is-section {
    padding: 0;
    background: var(--white);
    position: relative;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    perspective: 1500px;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1.5rem;
    font-family: var(--font-family-heading);
    letter-spacing: -0.02em;
}

/* Central Title */
.central-title {
    position: absolute;
    z-index: 10;
    text-align: center;
    pointer-events: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.central-title .section-title {
    text-align: center;
}

/* Orbital Container */
.orbital-container {
    position: relative;
    width: 1100px;
    height: 700px;
    transform-style: preserve-3d;
}

/* Hover pause functionality - Only when hovering individual cards */
.card:hover {
    animation-play-state: paused;
}

.orbital-container:has(.card:hover) .card-orbit {
    animation-play-state: paused;
}

/* Tooltip pause functionality - Pause all cards when tooltip is shown */
.orbital-container.tooltip-active .card-orbit {
    animation-play-state: paused;
}

/* Orbital Track - Static background using Group-309.png (no 3D effects) */
.orbital-track {
    position: absolute;
    top: calc(50% + 100px);
    left: calc(50% + 20px);
    width: 2400px;
    height: 1600px;
    background-image: url('https://sojourn.oss-cn-shanghai.aliyuncs.com/www-en/sales-nail/Group-309.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: translate(-50%, -50%);
    z-index: -20;
    pointer-events: none;
}

/* Card orbital animation - Smooth elliptical path with flatter ellipse */
@keyframes cardOrbitEllipse {
    0% {
        transform: translateX(450px) translateY(0px) rotateY(0deg) scale(0.9);
    }
    6.25% {
        transform: translateX(424px) translateY(-90px) rotateY(0deg) scale(0.8);
    }
    12.5% {
        transform: translateX(318px) translateY(-127px) rotateY(0deg) scale(0.7);
    }
    18.75% {
        transform: translateX(159px) translateY(-155px) rotateY(0deg) scale(0.6);
    }
    25% {
        transform: translateX(0px) translateY(-180px) rotateY(0deg) scale(0.5);
    }
    31.25% {
        transform: translateX(-159px) translateY(-155px) rotateY(0deg) scale(0.6);
    }
    37.5% {
        transform: translateX(-318px) translateY(-127px) rotateY(0deg) scale(0.7);
    }
    43.75% {
        transform: translateX(-424px) translateY(-90px) rotateY(0deg) scale(0.8);
    }
    50% {
        transform: translateX(-450px) translateY(0px) rotateY(0deg) scale(0.9);
    }
    56.25% {
        transform: translateX(-424px) translateY(90px) rotateY(0deg) scale(0.95);
    }
    62.5% {
        transform: translateX(-318px) translateY(127px) rotateY(0deg) scale(0.95);
    }
    68.75% {
        transform: translateX(-159px) translateY(155px) rotateY(0deg) scale(1.0);
    }
    75% {
        transform: translateX(0px) translateY(180px) rotateY(0deg) scale(1.0);
    }
    81.25% {
        transform: translateX(159px) translateY(155px) rotateY(0deg) scale(1.0);
    }
    87.5% {
        transform: translateX(318px) translateY(127px) rotateY(0deg) scale(0.95);
    }
    93.75% {
        transform: translateX(424px) translateY(90px) rotateY(0deg) scale(0.95);
    }
    100% {
        transform: translateX(450px) translateY(0px) rotateY(0deg) scale(0.9);
    }
}

/* Card Orbits - Unified size based on card back image ratio */
.card-orbit {
    position: absolute;
    width: 140px;
    height: 210px;
    transform-style: preserve-3d;
    top: 50%;
    left: 50%;
    margin-top: -105px;
    margin-left: -70px;
    z-index: 50;
    pointer-events: auto !important;
}

.card-orbit-1 {
    animation: cardOrbitEllipse 60s linear infinite;
    animation-delay: 0s;
}

.card-orbit-2 {
    animation: cardOrbitEllipse 60s linear infinite;
    animation-delay: -20s; /* 1/3 of 60s */
}

.card-orbit-3 {
    animation: cardOrbitEllipse 60s linear infinite;
    animation-delay: -40s; /* 2/3 of 60s */
}

/* Cards */
.card {
    width: 100%;
    height: 100%;
    cursor: pointer;
    transform-style: flat;
    transition: transform 0.6s;
    pointer-events: auto !important;
    z-index: 100;
    position: relative;
}

.card:hover .card-inner {
    transform: rotateY(0deg) !important;
}

/* Keep card front when showing tooltip */
.card.showing-tooltip .card-inner {
    transform: rotateY(0deg) !important;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s;
    transform: rotateY(180deg); /* Start showing back (card image) */
    pointer-events: auto !important;
    z-index: 101;
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 3px; /* Much smaller corner radius */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    pointer-events: auto !important;
}

.card-front {
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
}

.card-front h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.3;
    text-shadow: none;
    font-family: var(--font-family-heading);
}

.card-back {
    transform: rotateY(180deg);
    background: #2c3e50;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-back-image {
    width: 100%;
    height: 100%;
    border-radius: 3px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Card back with unified image */
.card-back-1,
.card-back-2,
.card-back-3 {
    background-image: url('https://sojourn.oss-cn-shanghai.aliyuncs.com/www-en/sales-nail/18c89f29e0c9c3f61e16db97860d6060.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Card Tooltip Styles */
.card-tooltip {
    display: none;
    position: fixed;
    background-color: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 350px;
    z-index: 9999;
    animation: tooltipSlideIn 0.3s ease-out;
    pointer-events: auto;
    border: 2px solid #4A90E2;
}

.card-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid transparent;
    border-top-color: white;
}

.card-tooltip.tooltip-below::after {
    top: -20px;
    border-top-color: transparent;
    border-bottom-color: white;
}

@keyframes tooltipSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tooltip-close-btn {
    color: #aaa;
    float: right;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 15px;
    line-height: 1;
}

.tooltip-close-btn:hover {
    color: #333;
}

.tooltip-body h2 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.4rem;
    margin-right: 30px;
    font-family: var(--font-family-heading);
}

.tooltip-body p {
    color: #666;
    line-height: 1.5;
    font-size: 1rem;
    font-family: var(--font-family-body);
}

/* Responsive Design for Orbital Cards */
@media (max-width: 768px) {
    .what-is-section {
        min-height: 600px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .orbital-container {
        width: 800px;
        height: 550px;
    }
    
    .orbital-track {
        width: 650px;
        height: 380px;
    }
    
    .card-orbit {
        width: 100px;
        height: 150px;
        margin-top: -75px;
        margin-left: -50px;
    }
    
    @keyframes cardOrbitEllipse {
        0% {
            transform: translateX(325px) translateY(0px) rotateY(90deg) scale(0.9);
        }
        12.5% {
            transform: translateX(230px) translateY(-135px) rotateY(45deg) scale(0.8);
        }
        25% {
            transform: translateX(0px) translateY(-190px) rotateY(0deg) scale(0.7);
        }
        37.5% {
            transform: translateX(-230px) translateY(-135px) rotateY(-45deg) scale(0.8);
        }
        50% {
            transform: translateX(-325px) translateY(0px) rotateY(-90deg) scale(0.9);
        }
        62.5% {
            transform: translateX(-230px) translateY(135px) rotateY(-135deg) scale(0.95);
        }
        75% {
            transform: translateX(0px) translateY(190px) rotateY(180deg) scale(1.0);
        }
        87.5% {
            transform: translateX(230px) translateY(135px) rotateY(135deg) scale(0.95);
        }
        100% {
            transform: translateX(325px) translateY(0px) rotateY(90deg) scale(0.9);
        }
    }
    
    .card-front h3 {
        font-size: 1rem;
    }
    
    .card-tooltip {
        max-width: 280px;
        padding: 15px;
    }
    
    .tooltip-body h2 {
        font-size: 1.2rem;
    }
    
    .tooltip-body p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .what-is-section {
        min-height: 500px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .orbital-container {
        width: 600px;
        height: 400px;
    }
    
    .orbital-track {
        width: 480px;
        height: 280px;
    }
    
    .card-orbit {
        width: 80px;
        height: 120px;
        margin-top: -60px;
        margin-left: -40px;
    }
    
    @keyframes cardOrbitEllipse {
        0% {
            transform: translateX(240px) translateY(0px) rotateY(90deg) scale(0.9);
        }
        12.5% {
            transform: translateX(170px) translateY(-99px) rotateY(45deg) scale(0.8);
        }
        25% {
            transform: translateX(0px) translateY(-140px) rotateY(0deg) scale(0.7);
        }
        37.5% {
            transform: translateX(-170px) translateY(-99px) rotateY(-45deg) scale(0.8);
        }
        50% {
            transform: translateX(-240px) translateY(0px) rotateY(-90deg) scale(0.9);
        }
        62.5% {
            transform: translateX(-170px) translateY(99px) rotateY(-135deg) scale(0.95);
        }
        75% {
            transform: translateX(0px) translateY(140px) rotateY(180deg) scale(1.0);
        }
        87.5% {
            transform: translateX(170px) translateY(99px) rotateY(135deg) scale(0.95);
        }
        100% {
            transform: translateX(240px) translateY(0px) rotateY(90deg) scale(0.9);
        }
    }
    
    .card-front h3 {
        font-size: 0.9rem;
    }
    
    .card-tooltip {
        max-width: 250px;
        padding: 12px;
    }
    
    .tooltip-body h2 {
        font-size: 1.1rem;
    }
    
    .tooltip-body p {
        font-size: 0.85rem;
    }
}

.sales-description {
    text-align: left;
    max-width: 800px;
    margin: 0;
}

.subsection-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-align: left;
}

.description-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
}

/* 新的精确定位布局 */
.methodology-layout {
    width: 100%;
    margin: 0;
    padding: 0;
}

.methodology-section {
    margin-bottom: -120px;
    position: relative;
    width: 100%;
}

.methodology-section:last-child {
    margin-bottom: 0;
}

.diagram-container {
    position: relative;
    width: 100%;
    height: 300px;
    margin-bottom: -155px;
}

/* 主要的Group 182图标 - 全屏宽度，左右对齐网页边界 */
.main-timeline {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-90px);
    width: 100%;
    height: auto;
    object-fit: contain;
    opacity: 1 !important;
    z-index: 1;
}

/* 浮动图标样式 - 与Group 182左边对齐，上方20px */
.floating-icon {
    position: absolute;
    top: calc(50% - 80px - 30px); /* 在Group 182上方80px */
    left: 0; /* 与Group 182左边对齐 */
    width: 60px;
    height: 60px;
    object-fit: contain;
    opacity: 1 !important;
    z-index: 3;
    transform: translateY(-50%);
}

/* Group 180（人员图标）独立向上移动10px */
.floating-icon.team-icon {
    top: calc(50% - 90px - 30px); /* 在Group 182上方90px */
}

/* Group 181（公文包图标）独立向上移动10px */
.floating-icon.business-icon {
    top: calc(50% - 90px - 30px); /* 在Group 182上方90px */
}

/* 标签样式 - 与Group 182右边对齐，上方20px */
.section-label {
    position: absolute;
    top: calc(50% - 80px - 15px); /* 在Group 182上方80px */
    right: 0; /* 与Group 182右边对齐 */
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    z-index: 3;
    transform: translateY(-50%);
}

/* 文字内容块 - 位于Group 182的三个圆点正下方 */
.text-blocks {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    gap: 10px;
    position: relative;
    z-index: 3;
    transform: translateY(-40px); /* 所有文字板块向上移动40px */
}

.text-block {
    flex: 1;
    text-align: center;
    max-width: 300px;
}

.text-block h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
    line-height: 1.3;
}

.text-block p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

/* 特定文字板块的水平位置调整 */
.text-block:first-child {
    transform: translateX(55px); /* Communication 和 Complexity 向右移动55px */
}

.text-block:last-child {
    transform: translateX(-55px); /* Team Work 和 Risks 向左移动55px */
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .text-blocks {
        gap: 8px;
    }
    
    .text-block {
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    .methodology-section {
        margin-bottom: -120px;
    }
    
    .diagram-container {
        height: 200px;
        margin-bottom: -100px;
    }
    
    .floating-icon {
        width: 50px;
        height: 50px;
        top: calc(50% - 15px - 25px);
    }
    
    .section-label {
        font-size: 1.3rem;
        top: calc(50% - 15px - 12px);
    }
    
    .text-blocks {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .text-block {
        max-width: 400px;
    }
    
    .text-block h4 {
        font-size: 1.2rem;
    }
    
    .text-block p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .methodology-section {
        margin-bottom: -120px;
    }
    
    .diagram-container {
        height: 150px;
        margin-bottom: -102px;
    }
    
    .floating-icon {
        width: 40px;
        height: 40px;
        top: calc(50% - 10px - 20px);
    }
    
    .section-label {
        font-size: 1.2rem;
        top: calc(50% - 10px - 10px);
    }
    
    .text-blocks {
        gap: 25px;
    }
    
    .text-block {
        max-width: 350px;
    }
    
    .text-block h4 {
        font-size: 1.1rem;
    }
    
    .text-block p {
        font-size: 0.9rem;
    }
}

/* Group-309 Section */
.group-309-section {
    padding: 40px 0;
    background: var(--white);
    position: relative;
}

.group-309-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.group-309-image {
    width: 80%;
    max-width: 800px;
    height: auto;
    display: block;
    opacity: 1 !important;
    object-fit: contain;
}

/* Group-309 Responsive Design */
@media (max-width: 768px) {
    .group-309-section {
        padding: 30px 0;
    }
    
    .group-309-image {
        width: 90%;
        max-width: 600px;
    }
}

@media (max-width: 480px) {
    .group-309-section {
        padding: 20px 0;
    }
    
    .group-309-image {
        width: 95%;
        max-width: 400px;
    }
}

/* Video Section */
.video-section {
    padding: 10px 0 60px 0;
    background: var(--white);
    position: relative;
    z-index: 10; /* 确保视频浮在Group-309背景上方 */
}

.video-container {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 10; /* 确保视频容器浮在Group-309背景上方 */
}

.sales-nail-video {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    position: relative;
    z-index: 10; /* 确保视频元素浮在Group 309背景上方 */
}

.sales-nail-video:hover {
    box-shadow: var(--shadow-heavy);
}

.video-hint {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 10px 0 0 0;
    font-style: italic;
    text-align: left;
}

/* Video responsive design */
@media (max-width: 768px) {
    .video-section {
        padding: 10px 0 40px 0;
    }
    
    .sales-nail-video {
        border-radius: 8px;
    }
    
    .video-hint {
        font-size: 0.8rem;
        margin: 8px 0 0 0;
    }
}

@media (max-width: 480px) {
    .video-section {
        padding: 10px 0 30px 0;
    }
    
    .sales-nail-video {
        border-radius: 6px;
    }
    
    .video-hint {
        font-size: 0.75rem;
        margin: 6px 0 0 0;
    }
}

/* ========================================
   AI-Customized Sales Scenarios Section (try(1) version)
   ======================================== */

/* Sales Scenarios Section */
.sales-scenarios-section {
    width: 100vw;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Static background */
.static-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('https://sojourn.oss-cn-shanghai.aliyuncs.com/www-en/sales-nail/static_background.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #ffffff; /* 白色背景填充空白区域 */
    z-index: 1;
    opacity: 1;
}

/* Text content */
.text-content {
    position: absolute;
    top: 5vh;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 25;
    opacity: 1;
    max-height: 30vh;
    overflow: visible;
    padding: 0 20px;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    font-family: var(--font-family-heading);
}

.subtitle {
    font-size: 1.2rem;
    color: #4a5568;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    font-family: var(--font-family-body);
}

/* Blue button (from background image) - clickable area */
.blue-button-trigger {
    position: absolute;
    top: 72%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 15;
    width: 140px;
    height: 140px;
    cursor: pointer;
    border-radius: 50%;
    background: transparent;
    border: none;
    transition: all 0.3s ease;
}

/* Click hint text */
.click-hint {
    position: absolute;
    top: calc(72% + 100px); /* Position below the button */
    left: 50%;
    transform: translateX(-50%);
    z-index: 16;
    color: #374151;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.click-hint.show {
    opacity: 1;
    animation: pulseHint 2.5s ease-in-out infinite;
}

@keyframes pulseHint {
    0%, 100% { 
        opacity: 0.7; 
        transform: translateX(-50%) scale(1);
    }
    50% { 
        opacity: 1; 
        transform: translateX(-50%) scale(1.05);
    }
}

.blue-button-trigger:hover {
    transform: translate(-50%, -50%) scale(1.05);
}

.blue-button-trigger:active {
    transform: translate(-50%, -50%) scale(0.95);
}

/* Card gallery container */
.card-gallery {
    position: relative;
    z-index: 9;
    width: 100%;
    height: 100%;
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

.card-gallery.visible {
    opacity: 1;
    pointer-events: auto;
}

/* Card grid layout */
.cards-grid {
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 25px;
    width: 1200px;
    margin-top: 320px;
}

/* Default responsive behavior */
@media (max-width: 1200px) {
    .cards-grid {
        width: 100% !important;
        padding: 0 30px !important;
        gap: clamp(20px, min(2.5vw, 1.5vh), 30px) !important;
    }
}

/* Empty space for button */
.cards-grid .empty-space {
    grid-column: 3;
    grid-row: 2;
}

/* Gallery Card stack container - renamed to avoid conflicts */
.gallery-card-stack {
    position: relative;
    width: clamp(180px, min(12vw, 8vh), 220px);
    height: clamp(250px, min(16vw, 11vh), 300px);
    perspective: 1000px;
    transform-style: preserve-3d;
    transform: scale(0);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 20px;
}

.gallery-card-stack.animate-in {
    transform: scale(1);
    opacity: 1;
}

/* Individual gallery card - renamed to avoid conflicts */
.gallery-card {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    backface-visibility: hidden;
}

.gallery-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    backface-visibility: hidden;
}

.gallery-card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gallery-card-back {
    border: 2px solid var(--border-color);
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Functional gallery card backgrounds */
.gallery-card[data-card="1"] .gallery-card-back,
.gallery-card[data-card="2"] .gallery-card-back {
    background-image: url('https://sojourn.oss-cn-shanghai.aliyuncs.com/www-en/sales-nail/card_background.jpg');
}

/* Decorative gallery card backgrounds */
.gallery-card[data-card="3"] .gallery-card-back {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
}

.gallery-card[data-card="4"] .gallery-card-back {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
}

.gallery-card[data-card="5"] .gallery-card-back {
    background: linear-gradient(135deg, #71717a 0%, #52525b 100%);
}

.gallery-card-front {
    background: #f8f9fa;
    color: #1a1a1a;
    transform: rotateY(180deg);
    padding: 1.5rem;
    text-align: center;
    border: 2px solid #1e40af;
}

.gallery-card-front h2 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #2563eb;
    font-family: var(--font-family-heading);
}

.gallery-card-front p {
    font-size: 0.85rem;
    line-height: 1.5;
    opacity: 0.9;
    margin-bottom: 1rem;
    font-family: var(--font-family-body);
}

.gallery-card-front .icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

/* Gallery card hover overlay */
.gallery-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
}

.gallery-card-overlay-main-title {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 0.3rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
    font-family: var(--font-family-heading);
}

.gallery-card-overlay-title {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    opacity: 0.9;
    font-family: var(--font-family-body);
}

.gallery-card:hover .gallery-card-overlay {
    opacity: 1;
}

/* Gallery card stacking positions */
.gallery-card:nth-child(1) {
    z-index: 5;
    transform: translateY(0px) translateZ(0px) rotateZ(0deg);
}

.gallery-card:nth-child(2) {
    z-index: 4;
    transform: translateY(-6px) translateZ(-8px) rotateZ(1deg);
}

.gallery-card:nth-child(3) {
    z-index: 3;
    transform: translateY(-12px) translateZ(-16px) rotateZ(-1deg);
}

.gallery-card:nth-child(4) {
    z-index: 2;
    transform: translateY(-18px) translateZ(-24px) rotateZ(0.5deg);
}

.gallery-card:nth-child(5) {
    z-index: 1;
    transform: translateY(-24px) translateZ(-32px) rotateZ(-0.5deg);
}

/* Gallery card hover effects */
.gallery-card:nth-child(1):hover {
    transform: translateY(-8px) translateZ(16px) rotateZ(0deg);
}

.gallery-card:nth-child(1):hover .gallery-card-back {
    box-shadow: 
        0 0 15px rgba(59, 130, 246, 0.3),
        0 0 30px rgba(59, 130, 246, 0.3),
        0 0 60px rgba(59, 130, 246, 0.3);
}

/* Gallery card flip states - DISABLED */
.gallery-card.flipped {
    /* Flip effects disabled */
    pointer-events: auto;
}

.gallery-card.flipped .gallery-card-inner {
    /* No flip animation */
    transform: none;
}

.gallery-card.flipped:hover .gallery-card-back {
    /* Keep normal hover effects */
}

.gallery-card.flipped:hover .gallery-card-overlay {
    /* Keep normal hover effects */
    opacity: 1;
}

/* Gallery card animation classes - DISABLED */
.gallery-card.moving-to-bottom {
    /* Animation disabled */
    pointer-events: auto;
}

/* Remove flip animations */
@keyframes galleryMoveToBottom {
    0%, 100% {
        transform: translateY(0px) translateZ(0px) rotateZ(0deg);
        z-index: 5;
        opacity: 1;
    }
}

.gallery-card.rising-to-top {
    /* Animation disabled */
    pointer-events: auto;
}

@keyframes galleryRiseToTop {
    0%, 100% {
        transform: translateY(0px) translateZ(0px) rotateZ(0deg);
        z-index: 5;
    }
}

.gallery-card.auto-flipped {
    /* Auto-flip disabled */
    pointer-events: auto;
}

.gallery-card.auto-flipped .gallery-card-inner {
    /* No flip animation */
    transform: none;
}

.gallery-card.auto-flipped .gallery-card-back {
    /* Keep normal effects */
}

.gallery-card.auto-flipped:hover .gallery-card-overlay {
    /* Keep normal hover effects */
    opacity: 1;
}

/* Decorative gallery cards */
.gallery-card:nth-child(n+3) {
    pointer-events: none;
    opacity: 0.8;
}

.gallery-card:nth-child(n+3) .gallery-card-back {
    filter: brightness(0.7) saturate(0.8);
}

/* Loading states */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Intersection observer trigger */
.scroll-trigger {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Body state changes */
body.video-playing {
    background: #1a2332;
}

/* Responsive design for gallery cards */
@media (min-width: 1600px) {

    
    .text-content {
        top: 6vh;
    }
}

@media (max-width: 1200px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .blue-button-trigger {
        top: 60%;
        width: 120px;
        height: 120px;
    }
    
    .click-hint {
        top: calc(60% + 80px);
        font-size: 1rem;
    }
    
    .cards-grid .empty-space {
        grid-column: 3;
        grid-row: 2;
    }
    
    .gallery-card-stack {
        width: clamp(140px, min(10vw, 7vh), 180px);
        height: clamp(200px, min(14vw, 10vh), 250px);
    }
    
    .text-content {
        top: 10vh;
        max-height: 18vh;
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
        padding: 0 1rem;
        line-height: 1.4;
    }
    
    .blue-button-trigger {
        top: 45%;
        width: 80px;
        height: 80px;
    }
    
    .click-hint {
        top: calc(45% + 60px);
        font-size: 0.9rem;
    }
    
    .cards-grid {
    }
    
    .cards-grid .empty-space {
        grid-column: 2;
        grid-row: 2;
    }
    
    .gallery-card-stack {
        width: clamp(100px, 18vw, 140px);
        height: clamp(140px, 22vw, 180px);
    }
    
    .text-content {
        top: 5vh;
        max-height: 15vh;
    }
}

@media (max-width: 480px) {
    .blue-button-trigger {
        top: 40%;
        width: 60px;
        height: 60px;
    }
    
    .click-hint {
        top: calc(40% + 45px);
        font-size: 0.8rem;
    }
    
    .main-title {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }
    
    .subtitle {
        font-size: 0.8rem;
        padding: 0 1.5rem;
        line-height: 1.3;
    }
    
    .cards-grid {
        gap: 18px;
        padding: 16px;
    }
    
    .cards-grid .empty-space {
        grid-column: 1;
        grid-row: 3;
    }
    
    .gallery-card-stack {
        width: clamp(80px, 25vw, 120px);
        height: clamp(110px, 30vw, 160px);
    }
    
    .text-content {
        top: 3vh;
        max-height: 20vh;
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    .cards-grid {
        top: calc(55vh + 40px);
    }
    
    .text-content {
        top: 18vh;
        max-height: 12vh;
    }
    
    .main-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .subtitle {
        font-size: 0.8rem;
    }
}

/* Aspect ratio based responsive design */
@media (min-aspect-ratio: 21/9) {
    /* Ultra-wide screens */
    .gallery-card-stack {
        width: clamp(160px, 8vw, 200px);
        height: clamp(220px, 11vw, 280px);
    }
    
    /* .cards-grid {
        gap: clamp(20px, 2vw, 30px) calc(clamp(20px, 2vw, 30px) * 2);
        width: calc(5 * clamp(160px, 8vw, 200px) + 4 * clamp(20px, 2vw, 30px));
        height: calc(2 * clamp(220px, 11vw, 280px) + calc(clamp(20px, 2vw, 30px) * 2));
    } */
}

@media (max-aspect-ratio: 4/3) {
    /* Tall screens */
    .gallery-card-stack {
        width: clamp(140px, 18vw, 180px);
        height: clamp(200px, 25vw, 250px);
    }
    
    /* .cards-grid {
        gap: clamp(20px, 4vw, 30px) calc(clamp(20px, 4vw, 30px) * 2);
        width: calc(5 * clamp(140px, 18vw, 180px) + 4 * clamp(20px, 4vw, 30px));
        height: calc(2 * clamp(200px, 25vw, 250px) + calc(clamp(20px, 4vw, 30px) * 2));
    } */
}

@media (orientation: portrait) and (max-width: 768px) {
    /* Portrait mobile devices */
    .gallery-card-stack {
        width: clamp(120px, 25vw, 160px);
        height: clamp(170px, 35vw, 220px);
    }
    
    /* .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(5, 1fr);
        gap: clamp(15px, 3vw, 25px);
        width: calc(2 * clamp(120px, 25vw, 160px) + clamp(15px, 3vw, 25px));
        height: calc(5 * clamp(170px, 35vw, 220px) + 4 * clamp(15px, 3vw, 25px));
        top: calc(40vh + 100px);
    }
     */
    .cards-grid .empty-space {
        grid-column: 1;
        grid-row: 3;
    }
}

/* Methodology Section */
.methodology-section {
    padding: var(--section-padding);
    background: var(--white);
}

.methodology-diagram {
    max-width: 1000px;
    margin: 0 auto;
}

.methodology-row {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    gap: 40px;
}

.methodology-row:last-child {
    margin-bottom: 0;
}

.methodology-category {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
}

.category-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

.category-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.methodology-items {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 20px;
}

.methodology-item {
    flex: 1;
    background: var(--white);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.methodology-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.item-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    border-radius: 50%;
}

.method-icon {
    width: 30px;
    height: 30px;
}

.item-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.item-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.connection-line {
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    position: relative;
}

.connection-line::after {
    content: '';
    position: absolute;
    right: -5px;
    top: -3px;
    width: 0;
    height: 0;
    border-left: 8px solid var(--primary-color);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}


/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

/* Image loading and error states */
img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img.loaded,
img[src*="Group"],
img[src*="salesnail"],
img[src*="traditional"],
img[src*="gesture"],
img[src*="heartbeat"],
img[src*="book"],
img[src*="cube"] {
    opacity: 1;
}

/* Placeholder styles for missing images */
img[src*="placeholder"],
img[src=""],
img:not([src]) {
    background: var(--light-gray);
    border: 2px dashed var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 14px;
    min-height: 100px;
    opacity: 1;
}

img[src*="placeholder"]::before,
img[src=""]::before,
img:not([src])::before {
    content: "Image Placeholder";
}

/* Animation classes */
.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading state */
.loaded .hero-content {
    animation: fadeInUp 0.8s ease 0.2s both;
}

.loaded .section-title {
    animation: fadeInUp 0.6s ease 0.1s both;
}

/* Performance optimizations */
.methodology-item,
.screenshot-item {
    will-change: transform;
}

/* ========================================
   Advantages Section - 已完成，请勿修改
   使用 border-spacing 实现列间白色间隙效果
   ======================================== */
.advantages-section {
    padding: var(--section-padding);
    background: var(--white);
}

.advantages-subtitle {
    text-align: left;
    margin-bottom: 40px;
}

.subtitle-main {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.subtitle-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 表格样式 - 使用 border-spacing 创建列间隙，请勿修改 */
.simulation-table-wrapper {
    width: 100%;
    margin: 0 auto;
    overflow-x: auto;
}

.simulation-table {
    width: 100%;
    border-spacing: 8px 0; /* 关键：创建列间白色间隙 */
    background: transparent; /* 关键：透明背景显示间隙 */
}

.simulation-table thead th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    color: var(--white);
    border-bottom: 1px solid #ECECEC; /* 横线在间隙处断开 */
    position: relative;
}

/* 表头背景色 - 通过间隙实现分离效果 */
.simulation-table thead th.player-col {
    background: #333; /* 深灰色背景 */
}

.simulation-table thead th.client-col {
    background: #4A90E2; /* 蓝色背景 */
}

.simulation-table thead th.program-col {
    background: #4A90E2; /* 蓝色背景 */
}

.simulation-table tbody td {
    padding: 10px;
    border-bottom: 1px solid #ECECEC; /* 横线在间隙处断开 */
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-primary);
    text-align: left;
    background: var(--white);
}

.simulation-table tbody tr:hover td {
    background: rgba(74, 144, 226, 0.02);
    transition: var(--transition);
}

.simulation-table .table-footer-row td {
    border-top: 1px solid #ECECEC;
    border-bottom: none;
    padding: 15px;
    text-align: center;
    color: #666;
    font-style: italic;
    background: var(--white);
}
/* ========================================
   Comparison Table Section - 新增比较表格样式
   使用 border-spacing 实现列间白色间隙效果
   ======================================== */
.comparison-subtitle {
    margin-top: 60px;
    margin-bottom: 40px;
}

/* 比较表格样式 - 使用 border-spacing 创建列间隙 */
.comparison-table-wrapper {
    width: 100%;
    margin: 0 auto;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-spacing: 8px 0; /* 关键：创建列间白色间隙 */
    background: transparent; /* 关键：透明背景显示间隙 */
}

.comparison-table thead th {
    padding: 15px 12px;
    text-align: left; /* 改为左对齐 */
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--white);
    border-bottom: 1px solid #ECECEC; /* 横线在间隙处断开 */
    position: relative;
    line-height: 1.3;
    vertical-align: middle;
}

/* 表头背景色 - 通过间隙实现分离效果 */
.comparison-table thead th.competitive-dimensions-col {
    background: #666666; /* 深灰色背景 */
    width: 18%;
}

.comparison-table thead th.instructor-experience-col,
.comparison-table thead th.copyrighted-courses-col,
.comparison-table thead th.gamified-teaching-col,
.comparison-table thead th.sandbox-simulations-col {
    background: #333333; /* 黑色背景 */
    width: 16%;
}

.comparison-table thead th.sales-nail-col {
    background: #4A90E2; /* 蓝色背景 */
    width: 18%;
}

.comparison-table tbody td {
    padding: 15px 12px;
    border-bottom: 1px solid #ECECEC; /* 横线在间隙处断开 */
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--text-primary);
    text-align: center;
    vertical-align: top;
}

/* 数据行样式 */
.comparison-table tbody td.dimension-cell {
    background: var(--white); /* 左侧列改为白色背景 */
    color: var(--text-primary);
    font-weight: 600;
    text-align: left;
    padding-left: 15px;
}

.comparison-table tbody td.comparison-cell {
    background: var(--white); /* 其他列为白色背景 */
    color: var(--text-primary);
    font-size: 0.8rem;
    line-height: 1.3;
    letter-spacing: -0.6px; /* 进一步减少字间距 */
}

/* 最后一列改为白色背景 */
.comparison-table tbody td.sales-nail-cell {
    background: var(--white) !important; /* 最后一列数据行改为白色背景 */
    color: var(--text-primary);
    font-size: 0.8rem;
    line-height: 1.3;
    letter-spacing: -0.6px;
}

/* 表情符号和文字样式 - emoji放大两倍 */
.comparison-table tbody td.comparison-cell,
.comparison-table tbody td.sales-nail-cell {
    font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
}

/* emoji放大样式 */
.comparison-table tbody td.comparison-cell br + *,
.comparison-table tbody td.sales-nail-cell br + * {
    font-size: 2.4rem; /* emoji放大三倍 */
    line-height: 1;
    display: inline-block;
    margin-bottom: 4px;
}


/* 响应式设计 */
@media (max-width: 1200px) {
    .comparison-table thead th {
        padding: 12px 8px;
        font-size: 0.85rem;
    }
    
    .comparison-table tbody td {
        padding: 12px 8px;
        font-size: 0.8rem;
    }
    
    .comparison-table tbody td.comparison-cell {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .comparison-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .comparison-table {
        min-width: 800px;
        border-spacing: 6px 0;
    }
    
    .comparison-table thead th {
        padding: 10px 6px;
        font-size: 0.8rem;
    }
    
    .comparison-table tbody td {
        padding: 10px 6px;
        font-size: 0.75rem;
    }
    
    .comparison-table tbody td.comparison-cell {
        font-size: 0.7rem;
        line-height: 1.2;
    }
    
    .comparison-subtitle {
        margin-top: 40px;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .comparison-table {
        min-width: 700px;
        border-spacing: 4px 0;
    }
    
    .comparison-table thead th {
        padding: 8px 4px;
        font-size: 0.75rem;
    }
    
    .comparison-table tbody td {
        padding: 8px 4px;
        font-size: 0.7rem;
    }
    
    .comparison-table tbody td.comparison-cell {
        font-size: 0.65rem;
    }
    
    .comparison-subtitle {
        margin-top: 30px;
        margin-bottom: 25px;
    }
}
/* ========================================
   Comparison Table Section 结束
   ======================================== */

/* ========================================
   Advantages Section 结束
   ======================================== */



/* Difference Section */
.difference-section {
    padding: var(--section-padding);
    background: var(--white);
}

.difference-section .container {
    margin-bottom: 80px;
}

.difference-section .section-title {
    text-align: center;
    margin-bottom: 25px;
}

.difference-section .advantages-subtitle {
    text-align: center;
    margin-bottom: 80px;
}

.difference-section .subtitle-desc {
    font-size: 1.2rem;
    line-height: 1.7;
}

.difference-section .comparison-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.difference-subtitle {
    margin-bottom: 40px;
}

.difference-image-wrapper {
    width: 100%;
    margin: 0 auto;
}

.difference-image {
    width: 75%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.difference-comparison {
    max-width: 1000px;
    margin: 0 auto;
}

.comparison-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.comparison-header::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 80px;
    background: var(--border-color);
}

.salesnail-header,
.traditional-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.salesnail-logo {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-light);
}

.logo-hexagon {
    width: 35px;
    height: 35px;
}

.traditional-logo {
    width: 60px;
    height: 60px;
    background: var(--light-gray);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-light);
}

.laptop-icon {
    font-size: 30px;
    color: var(--text-secondary);
}

.brand-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
}

.traditional-title {
    color: var(--text-secondary);
}

.comparison-items {
    position: relative;
}

.comparison-items::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--border-color);
    z-index: 1;
}

.comparison-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

.comparison-item:last-child {
    margin-bottom: 0;
}

.salesnail-point {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 20px;
    padding-right: 40px;
}

.traditional-point {
    flex: 1;
    padding-left: 40px;
}

.point-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-light);
}

.point-circle.purple {
    background: linear-gradient(135deg, #9B59B6, #8E44AD);
}

.point-circle.blue {
    background: linear-gradient(135deg, #3498DB, #2980B9);
}

.point-circle.cyan {
    background: linear-gradient(135deg, #1ABC9C, #16A085);
}

.point-circle.green {
    background: linear-gradient(135deg, #2ECC71, #27AE60);
}

.point-circle.light-green {
    background: linear-gradient(135deg, #A8E6CF, #88D8A3);
}

.point-circle.yellow-green {
    background: linear-gradient(135deg, #F1C40F, #F39C12);
}

.point-circle .icon {
    color: var(--white);
    font-size: 20px;
    font-weight: bold;
}

.point-content {
    flex: 1;
}

.point-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.point-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.separator-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--border-color);
    z-index: 2;
}

/* Product Specifications Section */
.product-specs-section {
    padding: var(--section-padding);
    background: var(--white);
}

.product-specs-section .section-title {
    margin-bottom: 60px;
}

.product-specs-image-wrapper {
    width: 100%;
    margin: 0 auto;
}

.product-specs-image {
    width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;
    transform: scale(1.1);
    transition: var(--transition);
}

.product-specs-image:hover {
    transform: scale(1.12);
}

/* Font optimization */
.hero-title {
    font-family: 'Lexend Deca', 'Public Sans', sans-serif;
    font-weight: 700;
}

.section-title {
    font-family: 'Lexend Deca', 'Public Sans', sans-serif;
    font-weight: 600;
}

.nav-link,
.item-title {
    font-family: 'Public Sans', sans-serif;
    font-weight: 500;
}

/* Core Logic Section */
.core-logic-section {
    padding: var(--section-padding);
    background: var(--white);
}

.core-logic-section .section-title {
    text-align: center;
    margin-bottom: 30px;
}

.core-methodology {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 40px;
}

.methodology-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
    text-align: center;
    margin-left: 0;
}

.methodology-desc {
    font-size: 1.2rem;
    color: #4a5568;
    line-height: 1.6;
    margin: 0 auto;
    text-align: center;
    max-width: 800px;
    font-family: var(--font-family-body);
}

.core-logic-image-wrapper {
    width: 100%;
    margin: 0 auto;
}

.core-logic-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* How to Use Section */
.how-to-use-section {
    padding: var(--section-padding);
    background: var(--white);
}

.how-to-use-subtitle {
    margin-bottom: 40px;
    text-align: center;
}

.how-to-use-subtitle .subtitle-main {
    font-size: 1.2rem;
    color: #4a5568;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    font-family: var(--font-family-body);
}

.how-to-use-image-wrapper {
    width: 100%;
    margin: 0 auto 40px;
}

.how-to-use-image {
    width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;
    transform: scale(1.1);
    transition: var(--transition);
}

.how-to-use-image:hover {
    transform: scale(1.12);
}

.how-to-use-divider {
    width: 100%;
    height: 1px;
    background: #ECECEC;
    margin: 40px 0;
}

.how-to-use-content {
    max-width: 1200px;
    margin: 0 auto;
}

.how-to-use-point {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.how-to-use-point:last-child {
    margin-bottom: 0;
}

.point-bullet {
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    margin-top: 4px;
    flex-shrink: 0;
}

.point-text {
    font-size: 1.1rem;
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
}

.highlight-text {
    color: var(--primary-color);
    font-weight: 600;
}

/* Responsive design for How to Use section */
@media (max-width: 768px) {
    .how-to-use-image {
        width: 90%;
    }
    
    .how-to-use-point {
        gap: 15px;
        margin-bottom: 25px;
    }
    
    .point-bullet {
        width: 14px;
        height: 14px;
        margin-top: 3px;
    }
    
    .point-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .how-to-use-image {
        width: 100%;
    }
    
    .how-to-use-point {
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .point-bullet {
        width: 12px;
        height: 12px;
        margin-top: 2px;
    }
    
    .point-text {
        font-size: 0.95rem;
    }
}

/* User Feedback Section */
.user-feedback-section {
    padding: var(--section-padding);
    background: var(--white);
    overflow: hidden;
}

.feedback-container {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}

.feedback-row {
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        transparent calc((100vw - 1200px) / 2 - 10px),
        rgba(0, 0, 0, 0.3) calc((100vw - 1200px) / 2 + 10px),
        rgba(0, 0, 0, 1) calc((100vw - 1200px) / 2 + 40px),
        rgba(0, 0, 0, 1) calc(100% - (100vw - 1200px) / 2 - 40px),
        rgba(0, 0, 0, 0.3) calc(100% - (100vw - 1200px) / 2 - 10px),
        transparent calc(100% - (100vw - 1200px) / 2 + 10px),
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        transparent calc((100vw - 1200px) / 2 - 10px),
        rgba(0, 0, 0, 0.3) calc((100vw - 1200px) / 2 + 10px),
        rgba(0, 0, 0, 1) calc((100vw - 1200px) / 2 + 40px),
        rgba(0, 0, 0, 1) calc(100% - (100vw - 1200px) / 2 - 40px),
        rgba(0, 0, 0, 0.3) calc(100% - (100vw - 1200px) / 2 - 10px),
        transparent calc(100% - (100vw - 1200px) / 2 + 10px),
        transparent 100%
    );
}

.feedback-row:last-child {
    margin-bottom: 0;
}

.feedback-track {
    display: flex;
    gap: 20px;
    animation: scrollRight 30s linear infinite;
    will-change: transform;
}

.bottom-row .feedback-track {
    animation: scrollLeft 35s linear infinite;
}

@keyframes scrollRight {
    0% {
        transform: translateX(-66.67%);
    }
    100% {
        transform: translateX(0%);
    }
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-66.67%);
    }
}

.feedback-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 406px;
    height: 609px;
}

.feedback-img {
    width: 387px;
    height: 596px;
    object-fit: contain;
    opacity: 1 !important;
}

/* Accessibility: Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    .feedback-track {
        animation: none;
    }
}

/* Performance optimizations for animations */
.feedback-track,
.feedback-item {
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Image placeholders for new sections */
.approach-img,
.interface-img,
.avatar-img,
.card-img {
    background: var(--light-gray);
    border: 2px dashed var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 12px;
    position: relative;
}

.approach-img::before {
    content: "Case Study Image";
}

.game-card .approach-img::before {
    content: "Game Image";
}

.practical-card .approach-img::before {
    content: "Practical App Image";
}

.interface-img::before {
    content: "Interface";
}

.avatar-img::before {
    content: "Avatar";
}

.card-img::before {
    content: "Card";
}

/* News Section */
.news-section {
    padding: var(--section-padding);
    background: var(--white);
}

.news-header {
    text-align: left;
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    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 var(--border-color);
    transition: var(--transition);
    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: var(--primary-color);
    min-width: 80px;
    text-align: left;
    flex-shrink: 0;
    align-self: flex-start;
    position: sticky;
    top: 12px;
    z-index: 10;
}

.case-content {
    flex: 1;
    margin-left: 30px;
    position: relative;
    padding-right: 60px;
}

.case-header {
    display: block;
    margin-bottom: 0;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 8px;
    display: block;
    text-align: left;
}

.case-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    display: block;
    text-align: left;
}

.case-expand-btn {
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: absolute;
    right: 0;
    top: 12px;
    z-index: 10;
}

.case-expand-btn:hover {
    background: rgba(74, 144, 226, 0.1);
}

.expand-arrow {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    transition: var(--transition);
}

.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%;
    max-width: 720px;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    object-fit: contain;
    opacity: 1 !important;
}

.case-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    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: var(--text-secondary);
    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: var(--shadow-medium);
}

.image-caption {
    font-size: 0.9rem;
    color: var(--text-light);
    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;
}

/* Placeholder for training image */
.training-image {
    background: var(--light-gray);
    border: 2px dashed var(--border-color);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 14px;
    position: relative;
}

.training-image::before {
    content: "Training Scene Image Placeholder";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/* Workshop Schedule Section */
.workshop-schedule-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.workshop-schedule-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.9) 0%, rgba(53, 122, 189, 0.9) 100%);
    z-index: 1;
}

.workshop-schedule-section .container {
    position: relative;
    z-index: 2;
}

.workshop-header {
    text-align: center;
    margin-bottom: 40px;
}

.workshop-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.workshop-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    margin: 0;
    text-align: center;
}

.workshop-content {
    position: relative;
}

.schedule-svg-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.schedule-svg {
    width: 100%;
    height: auto;
    display: none;
    cursor: pointer;
    transition: var(--transition);
    opacity: 1 !important;
}

.schedule-svg.active {
    display: block;
}

.schedule-svg:hover {
    transform: scale(1.01);
}

.schedule-table-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.schedule-table {
    width: 100%;
    height: auto;
    display: none;
    transition: var(--transition);
    opacity: 1 !important;
}

.schedule-table.active {
    display: block;
}

/* Workshop Schedule Responsive Design */
@media (max-width: 768px) {
    .workshop-title {
        font-size: 2.2rem;
    }
    
    .workshop-subtitle {
        font-size: 1rem;
    }
    
    .schedule-svg-container {
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .workshop-title {
        font-size: 1.8rem;
    }
    
    .schedule-svg-container {
        border-radius: 6px;
    }
}

/* 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;
}

/* 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;
    }
}


/* ========================================
   Interactive Comparison Table Section (try(3))
   ======================================== */

.interactive-comparison-section {
    padding: var(--section-padding);
    background: var(--white);
}

.interactive-comparison-section .content-wrapper {
    display: flex;
    gap: 90px;
    align-items: stretch;
    min-height: 600px;
    margin-top: 60px;
    transform: translateX(-60px);
}

/* 左侧国王视频区域 */
.interactive-comparison-section .video-section {
    flex: 0 0 35%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -40px;
}

.interactive-comparison-section .video-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: auto;
    display: inline-block;
    border: 8px solid #3776E1;
    border-radius: 20px;
    padding: 0;
    background: transparent;
    box-shadow: 0 12px 40px rgba(55, 118, 225, 0.2);
    z-index: 10;
    transform: scale(0.85);
    overflow: visible;
}

/* 卡牌堆背景效果 */
.interactive-comparison-section .card-stack {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.interactive-comparison-section .background-card {
    position: absolute;
    width: 110%;
    height: 105%;
    background: linear-gradient(135deg, #596187 0%, #4a5578 100%);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    top: 50%;
    left: 50%;
    transform-origin: center center;
}

.interactive-comparison-section .background-card:nth-child(1) {
    transform: translate(-50%, -50%) rotate(-8deg) scale(0.95);
    opacity: 0.4;
    z-index: 1;
}

.interactive-comparison-section .background-card:nth-child(2) {
    transform: translate(-48%, -52%) rotate(5deg) scale(0.97);
    opacity: 0.6;
    z-index: 2;
}

.interactive-comparison-section .background-card:nth-child(3) {
    transform: translate(-52%, -48%) rotate(-3deg) scale(0.98);
    opacity: 0.8;
    z-index: 3;
}

.interactive-comparison-section .background-card:nth-child(4) {
    transform: translate(-49%, -51%) rotate(7deg) scale(0.96);
    opacity: 0.2;
    z-index: 4;
}

.interactive-comparison-section .video-element {
    width: 100%;
    max-height: 100%;
    display: block;
    transition: opacity 0.3s ease;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.interactive-comparison-section .video-element.active {
    opacity: 1;
    z-index: 10;
    position: relative;
}

.interactive-comparison-section .video-element.inactive {
    opacity: 0;
    z-index: 5;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* 国王图片样式 */
.interactive-comparison-section .king-image {
    width: 100%;
    max-height: 100%;
    display: block;
    transition: opacity 0.3s ease;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.interactive-comparison-section .king-image.active {
    opacity: 1;
    z-index: 10;
    position: relative;
}

.interactive-comparison-section .king-image.inactive {
    opacity: 0;
    z-index: 5;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* 右侧表格区域 */
.interactive-comparison-section .table-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-left: 35px;
    margin-top: 10px;
}

.interactive-comparison-section .comparison-table {
    width: 128%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 1em;
    table-layout: fixed;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.interactive-comparison-section .comparison-table th {
    color: white;
    padding: 18px 20px;
    text-align: center;
    font-weight: 700;
    font-size: 0.9em;
    line-height: 1.3;
    height: 75px;
    vertical-align: middle;
    position: relative;
    border: none;
    font-family: var(--font-family-heading);
}

.interactive-comparison-section .comparison-table th:first-child {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    text-align: left;
    padding-left: 28px;
    width: 18%;
    border-top-left-radius: 16px;
}

.interactive-comparison-section .comparison-table th:nth-child(2),
.interactive-comparison-section .comparison-table th:nth-child(3),
.interactive-comparison-section .comparison-table th:nth-child(4),
.interactive-comparison-section .comparison-table th:nth-child(5) {
    background: linear-gradient(135deg, #596187 0%, #4a5578 100%);
    width: 22%;
}

.interactive-comparison-section .comparison-table th:last-child {
    background: linear-gradient(135deg, #1e88e5 0%, #42a5f5 100%);
    width: 22%;
    border-top-right-radius: 16px;
}

.interactive-comparison-section .comparison-table td {
    padding: 20px 20px;
    text-align: center;
    border: none;
    background: #fff;
    transition: all 0.3s ease;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
    font-family: var(--font-family-body);
}

.interactive-comparison-section .comparison-table td:first-child {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: left;
    padding-left: 28px;
    font-weight: 600;
    color: #2c3e50;
    border-right: 1px solid #e9ecef;
}

.interactive-comparison-section .comparison-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 16px;
}

.interactive-comparison-section .comparison-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 16px;
}

.interactive-comparison-section .comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.interactive-comparison-section .comparison-table tr:nth-child(even) td:not(:first-child) {
    background: #fafbfc;
}

.interactive-comparison-section .comparison-table tr:hover td:not(:first-child) {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.interactive-comparison-section .comparison-table tr:hover td:first-child {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
}

/* 表情符号样式 */
.interactive-comparison-section .emoji-cell {
    font-size: 2.8em;
    cursor: pointer;
    padding: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    user-select: none;
    position: relative;
    overflow: hidden;
}

.interactive-comparison-section .emoji-cell::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30,136,229,0.1) 0%, rgba(66,165,245,0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.interactive-comparison-section .emoji-cell:hover::before {
    opacity: 1;
}

.interactive-comparison-section .emoji-cell:hover {
    transform: scale(1.15) translateY(-3px);
    box-shadow: 0 8px 25px rgba(30,136,229,0.3);
    z-index: 10;
}

.interactive-comparison-section .emoji-cell:active {
    transform: scale(1.05) translateY(-1px);
}

/* LOGO叠加层样式 */
.interactive-comparison-section .logo-overlay {
    position: absolute;
    top: 12px;
    left: -8px;
    width: 216px;
    height: 216px;
    z-index: 10;
    object-fit: contain;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.interactive-comparison-section .logo-overlay:hover {
    opacity: 1;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .interactive-comparison-section .content-wrapper {
        flex-direction: column;
        gap: 40px;
        transform: none;
    }
    
    .interactive-comparison-section .video-section,
    .interactive-comparison-section .table-section {
        flex: none;
        width: 100%;
        margin-left: 0;
    }
    
    .interactive-comparison-section .video-section {
        margin-bottom: 20px;
    }
    
    .interactive-comparison-section .comparison-table {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .interactive-comparison-section .comparison-table {
        font-size: 0.8em;
    }
    
    .interactive-comparison-section .comparison-table th,
    .interactive-comparison-section .comparison-table td {
        padding: 8px 4px;
    }
    
    .interactive-comparison-section .emoji-cell {
        font-size: 2em;
        padding: 10px;
    }
    
    .interactive-comparison-section .video-section,
    .interactive-comparison-section .table-section {
        padding: 20px;
    }
}

/* ========================================
   Interactive Comparison Section (demo-with-svg-files)
   ======================================== */

.comparison-container {
    max-width: 1000px;
    margin: 0 auto;
}

.header-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    gap: 4rem;
}

.salesnail-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #000;
    font-family: var(--font-family-heading);
    font-size: 34px;
    font-style: normal;
    font-weight: 400;
    line-height: 36px;
}

.salesnail-header img {
    opacity: 1 !important;
    display: block !important;
    visibility: visible !important;
    transform: scale(1.2);
}

.traditional-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #8F8F8F;
    font-family: var(--font-family-heading);
    font-size: 34px;
    font-style: normal;
    font-weight: 400;
    line-height: 36px;
}

.traditional-header img {
    opacity: 1 !important;
    display: block !important;
    visibility: visible !important;
    transform: scale(1.2);
}

.vs-divider {
    width: 3px;
    height: 80px;
    background: linear-gradient(180deg, transparent, #cbd5e1, transparent);
    flex-shrink: 0;
}

.comparison-content {
    padding: 1.5rem;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.comparison-row:last-child {
    margin-bottom: 0;
}

.content-card {
    padding: 1.5rem 2rem;
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 85px;
    display: flex;
    align-items: center;
    font-family: var(--font-family-heading);
    font-weight: 400;
    font-size: 1.1rem;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.8s ease-out;
}

.content-card:hover::before {
    left: 100%;
}

.salesnail-card {
    background: linear-gradient(135deg, #ddd6fe 0%, #c4b5fd 100%);
    color: #4c1d95;
}

.salesnail-card.row-1 {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
}

.salesnail-card.row-2 {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #166534;
}

.salesnail-card.row-3 {
    background: linear-gradient(135deg, #cffafe 0%, #a5f3fc 100%);
    color: #155e75;
}

.traditional-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.content-card.active {
    transform: scale(1.01);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    z-index: 10;
}

.salesnail-card.active {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
}

.traditional-card.active {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    color: white;
    border-color: #475569;
}

.icon-trigger {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    margin: 0;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 1);
}

.icon-trigger.row-0 {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
}

.icon-trigger.row-1 {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.icon-trigger.row-2 {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.icon-trigger.row-3 {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    color: white;
}

.icon-trigger:hover {
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 1), 0 4px 15px rgba(0, 0, 0, 0.15);
}

.icon-trigger.active {
    transform: translate(-50%, -50%) scale(1.08);
    animation: gentle-pulse 3s infinite;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 1);
}

.icon-trigger svg,
.icon-trigger img {
    width: 35px !important;
    height: 35px !important;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(0) saturate(100%) invert(100%) !important;
    opacity: 1 !important;
    display: block !important;
    visibility: visible !important;
}

.icon-trigger:hover svg,
.icon-trigger:hover img {
    transform: rotate(180deg);
}

@keyframes gentle-pulse {
    0%, 100% {
        box-shadow: 0 0 0 4px rgba(255, 255, 255, 1), 0 0 0 4px rgba(59, 130, 246, 0.4);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(255, 255, 255, 1), 0 0 0 14px rgba(59, 130, 246, 0);
    }
}

.percentage-highlight {
    font-family: var(--font-family-heading);
    font-weight: 400;
    font-size: 1.1em;
}

.summary-section {
    margin-top: 3rem;
    padding: 2.5rem 2rem;
    text-align: center;
    border-radius: 20px;
}

.summary-title {
    font-family: var(--font-family-heading);
    font-weight: 500;
    font-size: 1.875rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.summary-text {
    font-family: var(--font-family-body);
    font-weight: 400;
    font-size: 1rem;
    color: #475569;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design for comparison section */
@media (max-width: 768px) {
    .header-section {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .vs-divider {
        width: 60px;
        height: 2px;
    }
    
    .comparison-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    
    .icon-trigger {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        justify-self: center;
        margin: 0.5rem 0;
    }
    
    .icon-trigger:hover {
        transform: scale(1.05);
    }
    
    .icon-trigger.active {
        transform: scale(1.08);
    }
    
    .summary-section {
        margin-top: 2rem;
        padding: 2rem 1.5rem;
    }
    
    .summary-title {
        font-size: 1.875rem;
        margin-bottom: 1.25rem;
    }
    
    .summary-text {
        font-size: 1rem;
        line-height: 1.6;
    }
}
