/* =========================================
   Fractal Boundless - Landing Page Styles
   Version: 6.0 (Refactored & Modularized)
   ========================================= */

/* =========================================
   1. 基础布局 (Layout & Spacing)
   ========================================= */
.landing-section {
    position: relative;
    background-color: var(--ft-bg-body);
    padding: 100px 0;
}
.landing-section.bg-light { background-color: #f9f9f9; }

.landing-container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================================
   2. 通用排版 (Typography)
   ========================================= */
.section-header { 
    margin-bottom: 4rem;       
    text-align: center;        
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
} 
.section-label { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    display: inline-flex; align-items: center; font-size: 0.85rem; font-weight: 800; 
    text-transform: uppercase; color: var(--ft-primary); letter-spacing: 0.1em; margin-bottom: 1rem; 
} 
.section-title { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 2.5rem; font-weight: 500;          
    color: var(--ft-ink-900); line-height: 1.2; margin-bottom: 1.25rem; margin-top: 0;
}
.section-desc { 
    font-size: 1.2rem; color: var(--ft-gray-600); font-weight: 500;          
    line-height: 1.6; max-width: 900px; margin: 0 auto;            
}

/* =========================================
   3. 通用组件 (Common Components)
   ========================================= */
.landing-btn-solid, .landing-btn-outline {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 34px; border-radius: 50px; font-weight: 700; font-size: 1rem;
    text-decoration: none; transition: all 0.3s ease; cursor: pointer;
}
/* ... existing buttons ... */
.landing-btn-solid {
    background-color: var(--ft-primary); color: #ffffff; border: 2px solid var(--ft-primary);
}
.landing-btn-solid:hover {
    background-color: var(--ft-primary-active); border-color: var(--ft-primary-active);
    color: #ffffff; transform: translateY(-2px);
}
.landing-btn-solid.btn-dark {
    background-color: var(--landing-dark-blue); border-color: var(--landing-dark-blue);
}
.landing-btn-solid.btn-dark:hover {
    background-color: #004060; border-color: #004060;
}
.landing-btn-outline {
    background-color: transparent; color: var(--ft-primary); border: 2px solid var(--ft-primary);
}
.landing-btn-outline:hover {
    background-color: var(--ft-primary); color: #ffffff; transform: translateY(-2px);
}
.landing-btn-outline.btn-dark {
    color: var(--landing-dark-blue); border-color: var(--landing-dark-blue);
}
.landing-btn-outline.btn-dark:hover {
    background-color: var(--landing-dark-blue); color: #ffffff;
}
.landing-btn-outline.btn-white {
    color: var(--ft-primary); background-color: #fff; border-color: #fff;
}
.landing-btn-outline.btn-white:hover {
    background-color: var(--ft-primary); color: #fff; border-color: var(--ft-primary);
}
.btn-arrow-link {
    color: var(--ft-primary); font-weight: 700; font-size: 1.1rem; 
    text-decoration: none; display: inline-flex; align-items: center; margin-top: 20px;
}
.btn-arrow-link i { margin-left: 10px; transition: 0.3s; }
.btn-arrow-link:hover i { transform: translateX(5px); }

.landing-card {
    background: #fff; border: 1px solid var(--ft-border-color); border-radius: 12px;
    transition: all 0.3s ease; overflow: hidden; height: 100%; display: flex; flex-direction: column;
}
.landing-card:hover {
    transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); border-color: transparent;
}

/* Value Proposition (VP) */
.vp-wrapper { display: flex; align-items: center; gap: 80px; width: 100%; }
.vp-text { flex: 1; }
.vp-visual { flex: 1; position: relative; }
.vp-img { width: 100%; border-radius: 16px; animation: floatImage 6s ease-in-out infinite; }
@keyframes floatImage {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.vp-float-card {
    position: absolute; bottom: -40px; left: -40px; 
    background: #fff; padding: 40px; border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1); max-width: 300px;
    border-left: 5px solid var(--ft-gold);
}

/* Modal Backdrop */
.modal-backdrop-custom { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.5); z-index: 1040; display: none; }
.modal-backdrop-custom.active { display: block; }


/* =========================================
   4. 首页轮播 (Hero Slider)
   ========================================= */
.hero-banner {
    position: relative; width: 100%; height: var(--landing-hero-height); 
    overflow: hidden; background-color: var(--landing-hero-bg);
}
.hero-slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    transform: translateX(100%); transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1; visibility: hidden;
}
.hero-slide.active { transform: translateX(0); z-index: 10; visibility: visible; }
.hero-slide.slide-out-left { transform: translateX(-100%); z-index: 5; visibility: visible; }
.hero-slide::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.5); z-index: 2; pointer-events: none;
}
.hero-video {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: 1;
}
.hero-content {
    position: absolute; top: 48%; left: 8%; transform: translateY(-50%);
    max-width: 90%; z-index: 10; margin-top: 40px;
}
.hero-title {
    color: #ffffff; font-size: 4rem; font-weight: 400; line-height: 1.1;
    margin-bottom: 20px; text-shadow: 0 4px 15px rgba(0,0,0,0.5); letter-spacing: -0.02em;
}
.hero-subtitle {
    color: rgba(255,255,255,0.95); font-size: 1.2rem; line-height: 2;
    margin-bottom: 36px; max-width: 1200px; font-weight: 400; text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.slider-nav {
    position: absolute; bottom: 40px; left: 0; width: 100%;
    display: flex; justify-content: center; gap: 30px; z-index: 20; padding: 0 20px;
}
.nav-item { cursor: pointer; width: 180px; opacity: 0.6; }
.nav-item.active { opacity: 1; }
.progress-bar-bg { width: 40px; height: 4px; background: rgba(255,255,255,0.4); border-radius: 2px; }
.nav-item.active .progress-bar-bg { width: 100%; background: rgba(0,0,0,0.5); }
.progress-bar-fill { height: 100%; width: 0%; background: var(--ft-primary); }
.nav-text { font-size: 0.85rem; font-weight: 600; color: #fff; margin-top: 10px; }
.pause-btn {
    position: absolute; bottom: 40px; right: 40px; z-index: 30; cursor: pointer; fill: #fff; opacity: 0.7; width: 24px; height: 24px;
}
.pause-btn:hover { opacity: 1; }

/* =========================================
   5. 通用网格系统 (Industry / News / Stories)
   ========================================= */
.landing-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.landing-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }

.news-container-wide { 
    width: 96%; max-width: 1800px; margin: 0 auto; padding: 0 20px;
}
.industry-grid-wide {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
}

.demo-card {
    background-color: #f7f7f7; border: 1px solid var(--ft-border-color); border-radius: 12px; padding: 20px;
    position: relative; transition: box-shadow 0.3s ease; width: 100%;
    overflow: visible; 
}
.demo-card:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.08); }

.demo-card-img-wrapper { 
    position: relative; width: 100%; padding-top: 66.66%; overflow: hidden; border-radius: 8px; 
}
.demo-card-img { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease;
}
.demo-card:hover .demo-card-img { transform: scale(1.05); }

.demo-card-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(0,0,0,0.6);
    display: flex !important; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s ease; z-index: 5; border-radius: 8px;
}
.demo-card:hover .demo-card-overlay { opacity: 1; }

.demo-btn-wrapper { position: relative; }

.demo-btn {
    background-color: #ffffff; color: var(--ft-ink-800); padding: 12px 30px; 
    border-radius: 50px; font-weight: 500; text-decoration: none; 
    display: inline-block; border: none; cursor: pointer;
    transform: translateY(20px); transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.demo-card:hover .demo-btn { transform: translateY(0); opacity: 1; }
.demo-btn:hover { background-color: var(--ft-primary); color: #ffffff !important; box-shadow: 0 8px 25px rgba(0, 158, 247, 0.4); }

.industry-meta-row { display: flex; align-items: center; margin-top: 1rem; padding-left: 0.25rem; }
.industry-demo-id { font-weight: 700; color: var(--ft-ink-800); font-size: 1.25rem; margin-right: 0.5rem; }
.industry-demo-text { color: var(--ft-gray-600); font-size: 1rem; }

/* Popover */
.demo-popover {
    position: absolute; 
    bottom: 140%; left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 320px; background: #ffffff; padding: 25px;
    border-radius: 12px; box-shadow: 0 15px 50px rgba(0,0,0,0.2);
    border: 1px solid rgba(0,0,0,0.05);
    opacity: 0; visibility: hidden; transition: all 0.3s;
    z-index: 1000;
    text-align: left; pointer-events: none;
}
.demo-popover::after {
    content: ''; position: absolute; bottom: -8px; left: 50%; margin-left: -8px;
    border-width: 8px 8px 0; border-style: solid; border-color: #ffffff transparent transparent transparent;
}
.demo-btn-wrapper:hover .demo-popover { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.demo-popover.active { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto; }

.popover-title { font-size: 1.1rem; font-weight: 700; color: var(--ft-ink-900); margin-bottom: 10px; border-bottom: 1px solid var(--ft-border-color); padding-bottom: 10px; }
.popover-desc { font-size: 0.9rem; color: var(--ft-gray-600); line-height: 1.5; margin-bottom: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.popover-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: var(--ft-gray-500); margin-bottom: 5px; }
.tech-badge { display: inline-flex; align-items: center; font-size: 0.8rem; background: #f1faff; color: var(--ft-primary); padding: 4px 10px; border-radius: 6px; font-weight: 500; }

/* Industry Cards */
.ds-industry-card {
    position: relative; height: 240px; background-size: cover; background-position: center;
    overflow: hidden; cursor: pointer; transition: all 0.4s ease;
}
.ds-industry-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.8) 100%);
    z-index: 1; transition: all 0.4s ease;
}
.ds-industry-card:hover { transform: translateY(-5px); box-shadow: var(--ft-shadow-sm); }
.ds-industry-card:hover::before {
    background: linear-gradient(to bottom, transparent 20%, rgba(0, 158, 247, 0.8) 100%);
}
.ds-industry-title {
    position: absolute; bottom: 25px; left: 25px; right: 25px;
    color: #fff; z-index: 2; font-size: 1.2rem; font-weight: 500; line-height: 1.3;
}

/* =========================================
   6. 特性介绍板块 (Common Wrapper)
   ========================================= */
.ds-feature-wrapper { display: flex; align-items: center; gap: 80px; }
.ds-feature-content { flex: 1; }
.ds-feature-img {
    flex: 1; height: 400px; background-size: cover; background-position: center;
    box-shadow: var(--ft-shadow-sm); border-radius: 8px;
}

/* =========================================
   7. 平台展示板块 (Index)
   ========================================= */
/* Flagship Section */
.fs-section {
    background-color: #000; color: #fff; position: relative;
    background-image: url(../images/index_6.jpg);
    background-size: cover; background-position: center; background-attachment: fixed;
    padding: 100px 0;
}
.fs-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: linear-gradient(to right, #000 20%, rgba(0,0,0,0.4) 100%); z-index: 1; }
.fs-content { position: relative; z-index: 2; max-width: 1200px; padding: 40px 0; }

.fs-badge { border: 1px solid var(--ft-gold); color: var(--ft-gold); padding: 6px 20px; border-radius: 50px; font-size: 0.9rem; font-weight: 600; margin-bottom: 30px; display: inline-block; }
.fs-h2 { font-size: 3.5rem; font-weight: 900; margin-bottom: 10px; line-height: 1.1; color: #fff; }
.fs-sub { font-size: 1.5rem; font-weight: 300; margin-bottom: 40px; color: rgba(255,255,255,0.8); }
.fs-quote { font-size: 1.5rem; line-height: 1.8; color: #ccc; margin-bottom: 30px;  border-left: 4px solid var(--ft-primary); padding-left: 25px; }
.fs-desc-text { font-size: 1.05rem; color: rgba(255,255,255,0.7); margin-bottom: 50px; line-height: 1.8; }
.fs-btn { background: var(--ft-primary); color: #fff; padding: 18px 50px; border-radius: 50px; text-decoration: none; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; transition: 0.3s; }
.fs-btn:hover { background: #fff; color: var(--ft-primary); }
.fs-section .section-title { color: #fff; }

/* Tech Base */
.tech-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 40px; 
    margin-top: 60px;
    width: 100%;
}
.tech-card { text-align: center; padding: 50px 30px; border: 1px solid #eee; border-radius: 16px; transition: 0.3s; width: 100%; }
.tech-card:hover { border-color: var(--ft-primary); box-shadow: 0 10px 40px rgba(0, 158, 247, 0.1); }
.tech-icon { width: 90px; height: 90px; background: #f0f9ff; color: var(--ft-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; margin: 0 auto 30px; }
.tech-h4 { font-size: 1.5rem; font-weight: 700; margin-bottom: 15px; color: var(--ft-ink-800); }
.tech-p { color: var(--ft-gray-600); font-size: 1rem; line-height: 1.6; }

.ds-platform-section { background: #fff; text-align: center; padding-bottom: 60px; }
.platform-nav {
    display: flex; justify-content: center; gap: 40px; margin: 40px auto;
    border-bottom: 1px solid var(--ft-border-color); max-width: 600px;
}
.platform-nav-item {
    font-size: 1rem; font-weight: 600; color: var(--ft-gray-600);
    padding-bottom: 15px; cursor: pointer; transition: color 0.3s; position: relative;
}
.platform-nav-item.active { color: var(--landing-dark-blue); }
.platform-nav-item.active::after {
    content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 3px; background-color: var(--landing-dark-blue);
}
.platform-hero-card {
    position: relative; min-height: 480px; height: auto; border-radius: 12px; overflow: hidden;
    background-color: #00143a; display: flex; align-items: center; justify-content: space-between;
    text-align: left; color: #fff; padding: 0;
}
.platform-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, #00143a 0%, #002b4d 100%); z-index: 1;
}
.platform-content { position: relative; z-index: 2; width: 55%; padding: 60px; padding-right: 20px; }
.platform-title { font-size: 2rem; font-weight: 700; margin-bottom: 20px; color: #fff; }
.platform-btn {
    display: inline-flex; align-items: center; padding: 12px 30px;
    border: 2px solid #fff; border-radius: 50px; color: #fff;
    font-weight: 700; text-decoration: none; transition: 0.3s;
    background: transparent; font-size: 0.95rem; margin-top: 20px;
}
.platform-btn:hover { background: #fff; color: var(--landing-dark-blue); }
.platform-visual {
    position: relative; z-index: 2; width: 45%; height: 480px;
    display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 20px;
}
.platform-visual img {
    width: 100%; height: 100%; object-fit: cover; border-radius: 8px;
    box-shadow: -10px 10px 30px rgba(0,0,0,0.3); transition: transform 0.5s ease;
}
.platform-visual img:hover { transform: scale(1.02); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }

/* =========================================
   8. 故事/新闻/信息卡片 (Index Common)
   ========================================= */
.ds-story-card { 
    border: 1px solid #eee; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 5px 20px rgba(0,0,0,0.03); display: flex; flex-direction: column; 
    transition: all 0.3s ease; height: 100%;
}
.ds-story-card:hover { border-color: var(--ft-primary); }
.ds-story-img { height: 260px; background-size: cover; background-position: center; margin-bottom: 25px; }
.ds-story-title {
    font-size: 1.2rem; font-weight: 700; margin-bottom: 20px; line-height: 1.4; color: var(--ft-ink-800); flex-grow: 1;
}
.link-arrow {
    font-size: 0.95rem; font-weight: 700; color: var(--ft-primary); display: inline-flex; align-items: center; text-decoration: none;
}
.link-arrow i { margin-left: 8px; font-size: 0.8rem; transition: transform 0.2s; }
.ds-story-card:hover .link-arrow i { transform: translateX(5px); }

/* News Section V2 (from index.php) */
.news-section-white { background-color: #fff; padding: 100px 0; }
.news-grid-wide { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.news-card-v2 { background: #fff; border: 1px solid var(--ft-border-color); border-radius: 0; padding: 40px 30px; min-height: 360px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.news-card-v2::before { content: ''; position: absolute; top:0; left:0; width:100%; height:4px; background: var(--ft-primary); transform: scaleX(0); transition: transform 0.4s ease; transform-origin: left; }
.news-card-v2:hover::before { transform: scaleX(1); }
.news-header { margin-bottom: 20px; }
.news-logo-row { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; color: var(--ft-ink-800); font-weight: 800; font-size: 1.1rem; }
.news-logo-row i { color: var(--ft-primary); font-size: 1.4rem; }
.news-badge { display: inline-block; font-size: 0.75rem; font-weight: 700; color: var(--ft-gold); border: 1px solid var(--ft-gold); padding: 4px 10px; border-radius: 4px; text-transform: uppercase; }
.news-body { flex-grow: 1; }
.news-title-v2 { font-size: 1.25rem; font-weight: 700; color: var(--ft-ink-800); line-height: 1.5; margin-bottom: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-desc { font-size: 1rem; color: var(--ft-gray-600); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.news-footer { margin-top: 10px; padding-top: 20px; border-top: 1px solid #f5f5f5; display: flex; justify-content: space-between; align-items: center; }
.news-date-v2 { font-size: 0.9rem; color: #999; font-weight: 400; }
.news-arrow { width: 36px; height: 36px; border-radius: 50%; background: #f5f5f5; display: flex; align-items: center; justify-content: center; color: var(--ft-primary); transition: 0.3s; }
.news-arrow:hover { background: var(--ft-primary); color: #fff; }
.btn-news-more { display: inline-block; border: 2px solid var(--ft-primary); color: var(--ft-primary); padding: 12px 40px; border-radius: 50px; font-weight: 700; text-decoration: none; font-size: 0.95rem; transition: 0.3s; }
.btn-news-more:hover { background: var(--ft-primary); color: #fff; }

.ds-info-section { background: #f4f6f8; padding: 100px 0; }
.ds-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.ds-info-card { background: #fff; border: 1px solid #eee; padding: 50px 40px; border-radius: 16px; position: relative; overflow: hidden; display: flex; flex-direction: column; height: 100%; min-height: 300px; transition: transform 0.3s ease; }
.ds-info-card:hover { border-color: var(--ft-primary); box-shadow: 0 20px 50px rgba(0,0,0,0.05); transform: translateY(-5px); }
.ds-info-title { font-size: 1.5rem; margin-bottom: 20px; font-weight: 600; color: var(--ft-ink-800); z-index: 2; }
.ds-info-desc { font-size: 1rem; color: var(--ft-gray-600); line-height: 1.7; font-weight: 400; z-index: 2; flex-grow: 1; margin-bottom: 0; }
.ds-card-bg-icon { position: absolute; bottom: -20px; right: -20px; font-size: 8rem; color: rgba(0,0,0,0.03); z-index: 1; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), color 0.4s ease; }
.ds-info-card:hover .ds-card-bg-icon { color: rgba(0, 158, 247, 0.08); transform: translateX(-40px); }
.ds-btn-group { display: flex; gap: 15px; margin-top: auto; }

/* FAQ Section */
.faq-section { background: #fff; padding: 80px 0; }
.faq-wrapper { max-width: 1200px; margin: 0 auto; }
.faq-item { margin-bottom: 12px; background-color: #f6f6f6; border-radius: 0; overflow: hidden; transition: background-color 0.3s ease; }
.faq-header { padding: 22px 30px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; background-color: inherit; }
.faq-question { font-size: 1.1rem; font-weight: 400; color: #333; margin: 0; font-family: 'Inter', sans-serif; }
.faq-icon-wrapper { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; }
.faq-icon { color: #333; font-size: 0.9rem; transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-body-wrapper { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1); background-color: #ffffff; }
.faq-body-inner { overflow: hidden; }
.faq-answer-content { padding: 20px 30px 20px 30px; font-size: 1rem; line-height: 1.8; color: #555; }
.faq-item.active { background-color: #e2e2e2; }
.faq-item.active .faq-body-wrapper { grid-template-rows: 1fr; background-color: #ffffff; }
.faq-item.active .faq-icon { transform: rotate(90deg); }


/* =========================================
   9. 子页面通用 Banner (DS Style)
   ========================================= */
.ds-hero-wrapper {
    position: relative; width: 100%; height: 480px;
    background-color: #1a1a1a; background-size: cover; background-position: center 30%;
    margin-top: 0 !important; display: flex; align-items: center; justify-content: center;
    transition: background-image 0.3s ease-in-out;
}
.ds-hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4); z-index: 1;
}
.ds-hero-content {
    position: relative; z-index: 2; width: 100%; max-width: 1200px;
    margin: 0 auto; padding: 0 20px; text-align: center; color: #fff;
    transform: translateY(40px);
}
.ds-hero-content .hero-title {
    color: #ffffff; font-size: 3.5rem; font-weight: 400; line-height: 1.1;
    margin-bottom: 20px; text-shadow: 0 4px 15px rgba(0,0,0,0.5); letter-spacing: -0.02em;
}
.ds-hero-content .hero-subtitle { 
    color: rgba(255,255,255,0.95); font-size: 1.2rem; line-height: 2;
    max-width: 100%; display: block; font-weight: 500; text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* Banner Backgrounds */
.hero-bg-about { background-image: url('../images/bannar2.jpg'); }
.hero-bg-team  { background-image: url('../images/bannar3.jpg'); }
.hero-bg-products { background-image: url('../images/bannar4.jpg'); }
.hero-bg-cases { background-image: url('../images/bannar5.jpg'); }
.hero-bg-tasks { background-image: url('../images/bannar6.jpg'); }
.hero-bg-tools { background-image: url('../images/bannar7.jpg'); }
.hero-bg-file { background-image: url('../images/bannar8.jpg'); }

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 12px;
    line-height: 1.4;
}
.card-desc {
    font-size: 1rem;
    color: var(--ft-gray-600);
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =========================================
   10. 响应式适配 (Common Responsive)
   ========================================= */
@media (max-width: 1200px) {
    .landing-grid-4, .news-grid { grid-template-columns: repeat(2, 1fr); }
    .landing-grid-3, .ds-info-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .landing-grid-4, .ds-industry-grid { grid-template-columns: repeat(2, 1fr); }
    .ds-feature-wrapper { flex-direction: column; gap: 40px; }
    .ds-feature-img { width: 100%; height: 300px; }
    .section-title { font-size: 2.2rem; }
    
    /* Platform Section Mobile */
    .platform-hero-card { flex-direction: column; text-align: center; }
    .platform-content { width: 100%; padding: 40px 20px; }
    .platform-visual { width: 100%; height: 300px; padding: 0 20px 40px; }
}

@media (max-width: 768px) {
    /* 1. Mobile Margins & Spacing */
    .landing-section { padding: 50px 0; }
    .landing-container { padding: 0 20px; }
    
    /* 2. Section Title & Desc */
    .section-header { margin-bottom: 2rem; }
    .section-title { font-size: 1.75rem; margin-bottom: 0.75rem; }
    .section-desc { font-size: 0.95rem; line-height: 1.6; }

    /* 3. Banner Title & Desc */
    .hero-title, .ds-hero-content .hero-title { font-size: 2rem; margin-bottom: 20px; }
    .hero-subtitle, .ds-hero-content .hero-subtitle { font-size: 0.95rem; line-height: 1.6; margin-bottom: 20px; }

    .landing-grid-4, .landing-grid-3, .news-grid, .ds-industry-grid, .ds-stories-grid, .ds-info-grid { grid-template-columns: 1fr; }
    
    .platform-hero-card { height: auto; }
    .platform-content { padding-left: 20px; padding-right: 20px; }
    .platform-nav { width: 100%; gap: 20px; }
}
/* =========================================
   11. 合作伙伴板块 (全屏滚动大气版)
   ========================================= */
.partner-section { background: #050a14; padding: 100px 0; border-top: 1px solid rgba(255,255,255,0.05); overflow: hidden; }
.partner-section .section-title { color: #fff !important; }
.partner-section .section-desc { color: rgba(255,255,255,0.6) !important; }

/* --- Marquee (滚动) 容器 --- */
.partner-marquee-wrapper { position: relative; overflow: hidden; padding: 20px 0; margin-top: 40px; }

/* 左右两侧的渐变遮罩 (让 Logo 看起来是从远处浮现的) */
.marquee-fade { position: absolute; top: 0; bottom: 0; width: 120px; z-index: 10; pointer-events: none; }
.fade-left { left: 0; background: linear-gradient(to right, #050a14, transparent); }
.fade-right { right: 0; background: linear-gradient(to left, #050a14, transparent); }

/* 滚动轨道 */
.partner-track { display: flex; gap: 40px; width: fit-content; animation: scrollLeft 40s linear infinite; }
.partner-group { display: flex; gap: 40px; }

/* --- 卡片样式 (更大气、玻璃质感) --- */
.partner-logo-card { border: 1px solid rgba(255,255,255,0.1); background: rgba(255, 255, 255, 0.02); width: 220px; height: 110px; display: flex; align-items: center; justify-content: center; border-radius: 12px; transition: 0.3s; backdrop-filter: blur(4px); flex-shrink: 0; }
.partner-logo-card img { filter: brightness(0) invert(1) opacity(0.7); max-width: 70%; max-height: 70%; transition: 0.3s; }

/* 悬停高亮 */
.partner-logo-card:hover { border-color: var(--ft-primary); background: rgba(255, 255, 255, 0.08); box-shadow: 0 0 20px rgba(0, 158, 247, 0.2); transform: translateY(-2px); }
.partner-logo-card:hover img { filter: brightness(0) invert(1) opacity(1); transform: scale(1.05); }

/* --- 动画关键帧 --- */
@keyframes scrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* =========================================
   12. 响应式适配 (Mobile)
   ========================================= */
@media (max-width: 992px) {
    .landing-container, 
    .news-container-wide,
    .faq-wrapper {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
    .vp-wrapper, 
    .industry-grid-wide, 
    .landing-grid-3, 
    .news-grid-wide, 
    .ds-info-grid { 
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    .tech-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        margin-top: 30px !important;
        width: 100% !important;
    }
    .tech-card { width: 100% !important; margin: 0 !important; }
    .partner-track { display: flex !important; gap: 20px !important; width: max-content !important; }
    .partner-section { padding: 50px 0; }
    .partner-logo-card { width: 160px; height: 80px; }
    .news-card-v2, .ds-info-card { min-height: auto !important; height: auto !important; }
    .hero-title { font-size: 1.8rem; line-height: 1.3; }
    .hero-subtitle { font-size: 1rem; margin-top: 10px; }
    .slider-nav { display: none; } 
    .hero-content { padding: 0 20px; width: 100%; text-align: center; }
    .vp-text { text-align: left; }
    .vp-img { width: 100%; height: auto; }
    .vp-float-card { 
        position: relative; bottom: auto; left: auto; margin: -20px auto 0; 
        max-width: 90%; border-left: none; border-top: 5px solid var(--ft-gold);
    }
    .fs-h2 { font-size: 2.2rem; }
    .fs-quote { font-size: 1.4rem; border-left: none; border-top: 4px solid var(--ft-primary); padding-top: 20px; padding-left: 0; }
    .fs-section { padding: 60px 0; }
    .demo-card { margin-bottom: 0; }
    .demo-popover {
        position: fixed !important; top: 50% !important; left: 50% !important;
        transform: translate(-50%, -50%) !important; width: 85% !important; max-width: 350px;
        z-index: 1050 !important; display: none; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25) !important;
        border: none !important; max-height: 80vh; overflow-y: auto;
    }
    .demo-popover.active { display: block !important; opacity: 1 !important; visibility: visible !important; }
    .faq-header { padding: 15px; }
    .faq-answer-content { padding: 15px; text-align: justify; }
    .faq-question { font-size: 1rem; }
    .landing-section { padding: 50px 0; }
    .section-title { font-size: 1.8rem; }
    .news-section-white { padding: 50px 0; }
}
.index-big-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -2px;
    background: var(--ft-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
@media (max-width: 992px) {
    .index-big-title {
        font-size: 2.4rem !important; /* 强制缩小字体 */
        line-height: 1.4 !important;  /* 优化行距 */
        letter-spacing: 0 !important; /* 重置字间距 */
    }
}

/* =========================================
   13. 用户评价板块 (Reviews)
   ========================================= */
.reviews-column-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.reviews-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.review-card {
    background-color: #ffffff;
    border: 1px solid var(--ft-border-color);
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: var(--ft-shadow-sm);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.review-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
}

.review-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.review-author {
    display: flex;
    flex-direction: column;
}

.review-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ft-ink-900);
    line-height: 1.2;
}

.review-role {
    font-size: 0.75rem;
    font-weight: 500;
    color: #99A1B7;
    margin-top: 0.2rem;
}

.review-content {
    font-size: 0.9rem;
    color: var(--ft-gray-600);
    line-height: 1.75;
    text-align: justify;
    margin: 0;
}

.btn-reviews-more {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--ft-border-color);
    border-radius: 0.25rem;
    color: var(--ft-gray-600);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    background-color: #ffffff;
}

.btn-reviews-more:hover {
    background-color: #f9f9f9;
    color: var(--ft-ink-900);
}

@media (max-width: 992px) {
    .reviews-column-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .reviews-column-wrapper {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   14. 统计与Logo展示板块
   ========================================= */
.stats-section-wrapper {
    position: relative;
    background-image: radial-gradient(#E5E7EB 1px, transparent 1px);
    padding-top: 50px;
    overflow: hidden;
}

.stats-section {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.stats-wrapper {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

/* 卡片顶部的层叠效果 */
.stats-wrapper::before,
.stats-wrapper::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 20px 20px 0 0;
    z-index: 1; /* Above background, below card */
}

.stats-wrapper::before {
    top: -12px;
    width: 96%;
    height: 20px;
    opacity: 0.6;
}

.stats-wrapper::after {
    top: -6px;
    width: 98%;
    height: 20px;
    opacity: 0.8;
}

.stats-card {
    position: relative;
    background: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 36px 40px; /* 上下20，左右50 */
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 2;
}

.stats-card .card-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--ft-ink-900);
    min-width: 200px;
    margin-bottom: 0;
}

.stats-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    width: 100%;
}

.stat-item {
    display: flex;
    flex-direction: column;
    padding-left: 40px;
    border-right: 1px solid #e0e0e0;
}

.stat-item:last-child {
    border-right: none;
}

.stat-value {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--ft-ink-900);
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--ft-gray-600);
    font-weight: 500;
}

/* 全屏宽度的 Logo 区域 (Seamless Scrolling) - Renamed to Brand Section */
.brand-scroll-section {
    width: 100%;
    /* height: 120px; Removed fixed height to allow content + padding */
    padding-top: 30px;
    padding-bottom: 30px;
    background-color: transparent;
    border-bottom: 2px solid var(--ft-border-color);
}

.brand-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    /* Fade masks for smooth edges */
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.brand-track {
    display: flex;
    height: 80px; /* Standard partner logo height */
    align-items: center;
    gap: 40px; /* Space between logos */
    width: max-content;
    animation: brandScroll 40s linear infinite;
    padding: 10px 0;
}

.brand-track:hover {
    animation-play-state: paused;
}

@keyframes brandScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Moves Right to Left */
}

.brand-logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.brand-logo-img:hover {
    /* filter: grayscale(0%);  Removed to enforce always grayscale */
    opacity: 1;
    transform: scale(1.1);
}

/* 移动端适配 */
@media (max-width: 1024px) {
    .stats-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
    }
    .stats-card .card-title {
        margin-right: 0;
        margin-bottom: 24px;
        width: 100%;
        border-bottom: 1px solid var(--ft-border-color);
        padding-bottom: 16px;
    }
    .stats-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .stat-item {
        border-left: none;
        padding-left: 0;
        width: auto;
    }
    
    /* Adjust spacing for mobile */
    .brand-track {
        gap: 40px;
    }
}
