/* ==========================================================================
   ABOUT PAGE SPECIFIC STYLES 
   (Inherits resets and global components from global.css)
========================================================================== */
:root {
    --primary-orange: #f97316;
    --orange-hover: #ea580c;
    --accent-cyan: #22d3ee;
    --bg-navy: #050a16;
    --text-main: #0b1220;
    --text-muted: #64748b;
    --line: #e2e8f0;
    --section-bg-light: #f8fafc;
}

.about-page-wrapper {
    background: #ffffff;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 2rem; }

/* ==========================================================================
   1. HERO SECTION
========================================================================== */
.about-hero {
    background: linear-gradient(180deg, var(--bg-navy) 0%, #030612 100%);
    color: #ffffff;
    padding: 8rem 0 6rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.hero-kicker { 
    display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; 
    font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; 
    color: var(--text-muted); margin-bottom: 1.5rem; 
    background: rgba(255,255,255,0.03); padding: 6px 16px; 
    border-radius: 99px; border: 1px solid rgba(255,255,255,0.08); 
}
.hero-kicker .dot { width: 6px; height: 6px; background: var(--primary-orange); border-radius: 50%; }
.about-hero h1 { font-size: 4rem; font-weight: 900; line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 1.5rem; color: #f8fafc; max-width: 900px; margin-inline: auto; }
.about-hero .lead { font-size: 1.25rem; color: rgba(148, 163, 184, 0.9); max-width: 800px; margin: 0 auto 3rem; line-height: 1.6; font-weight: 400; }
.hero-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.hero-actions .btn--ghost:hover { background: rgba(255, 255, 255, 0.1) !important; border-color: rgba(255, 255, 255, 0.3) !important; transform: translateY(-2px); }

/* ==========================================================================
   2. OUR STORY (2-Column SaaS Layout)
========================================================================== */
.story-section { padding: 8rem 0; background: #ffffff; }

/* 顶部大标题样式 */
.story-header { margin-bottom: 3.5rem; }
.section-title { font-size: 2.8rem; font-weight: 900; letter-spacing: -1px; color: var(--text-main); margin-bottom: 1rem; line-height: 1.2; }

/* 完美的双栏比例：左侧文字宽，右侧卡片窄 */
.story-grid { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 4.5rem; align-items: start; }

.story-content-col p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 1.8rem; line-height: 1.8; }
.story-content-col p strong { color: var(--text-main); font-weight: 750; }
.story-closure { color: var(--text-main) !important; font-weight: 900; font-size: 1.3rem !important; margin-top: 3rem;}

/* 痛点引用块 (带一点点缩进，更有引用感) */
.pain-points { 
    background: var(--section-bg-light); 
    border-left: 4px solid var(--primary-orange); 
    padding: 1.5rem 2rem; 
    margin: 2.5rem 0 2.5rem 1rem; /* 左侧留出 1rem 缩进 */
    border-radius: 0 16px 16px 0; 
}
.pain-points p { margin: 0 0 0.5rem 0 !important; font-size: 1.1rem !important; color: var(--text-main) !important; font-weight: 600; font-style: italic; }
.pain-points p:last-child { margin-bottom: 0 !important; }

/* 右侧悬浮总结卡片 */
.story-card-col { position: sticky; top: 120px; }
.story-card { padding: 2.5rem 2rem; background: #ffffff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08);}
.story-card-kicker { font-size: .8rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1rem; }
.story-card-title { margin: 0 0 1.5rem; font-size: 1.45rem; font-weight: 950; letter-spacing: -0.5px; color: var(--text-main); line-height: 1.3;}
.story-list { list-style: none; padding: 0; margin: 0 0 2rem 0; display: grid; gap: 16px; }
.story-list li { display: flex; gap: 12px; align-items: flex-start; color: #334155; font-weight: 650; font-size: 1.05rem; line-height: 1.4;}
.story-list i { width: 22px; height: 22px; color: var(--accent-cyan); flex-shrink: 0; margin-top: 1px;} 
.story-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 0.95rem; color: #0b1220; text-decoration: none; transition: color 0.2s; }
.story-link i { width: 18px; transition: transform 0.2s; }
.story-link:hover { color: var(--primary-orange); }
.story-link:hover i { transform: translateX(4px); }

/* ==========================================================================
   RESPONSIVE DESIGN (响应式调整)
========================================================================== */
@media (max-width: 992px) {
    .story-grid { grid-template-columns: 1fr; gap: 3rem; }
    .story-card-col { position: static; }
    .pain-points { margin-left: 0; } /* 手机端取消缩进 */
}

/* ==========================================================================
   3. PROOF OF SCALE (强制显示白底和边框)
========================================================================== */
.metrics-section { background: var(--section-bg-light); padding: 6rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metrics-header { margin-bottom: 4rem; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.metric-card { 
    background: #ffffff !important; 
    border: 1px solid var(--line) !important; 
    padding: 2.5rem 1.5rem; 
    border-radius: 20px; 
    text-align: center;
}
.metric-number { font-size: 3.5rem; font-weight: 900; color: var(--bg-navy); line-height: 1; margin-bottom: 0.5rem; letter-spacing: -1.5px; }
.metric-label { font-size: 1rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.extended-proof { text-align: center; margin-top: 4rem; font-size: 0.9rem; color: #94a3b8; font-weight: 500; }

/* ==========================================================================
   4 & 5. VISION & PRINCIPLES (强制浅灰底和边框)
========================================================================== */
.principles-section { padding: 8rem 0; background: #ffffff; }

.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 4rem; }
.vm-card { background: var(--bg-navy); color: #fff; padding: 3.5rem; border-radius: 24px; box-shadow: 0 20px 40px rgba(5, 10, 22, 0.08); }
.vm-card h3 { font-size: 0.95rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--primary-orange); margin-bottom: 1.2rem; }
.vm-card p { font-size: 1.4rem; font-weight: 500; line-height: 1.6; color: rgba(255,255,255,0.9); margin: 0; }

.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.principle-card { 
    background: var(--section-bg-light) !important; 
    border: 1px solid var(--line) !important; 
    padding: 2.5rem; 
    border-radius: 20px;
}
.p-number { font-size: 0.85rem; font-weight: 800; color: var(--text-muted); margin-bottom: 1rem; display: block; }
.principle-card h3 { font-size: 1.3rem; font-weight: 850; color: var(--text-main); margin-bottom: 1rem; line-height: 1.3; letter-spacing: -0.3px;}
.principle-card p { font-size: 1.05rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* ==========================================================================
   6. THE ECOSYSTEM
========================================================================== */
.ecosystem-section { padding: 6rem 0; background: var(--section-bg-light); border-top: 1px solid var(--line);}
.section-subtitle { color: var(--text-muted); font-size: 1.1rem; line-height: 1.7; margin: 0.8rem auto 3rem; max-width: 700px; text-align: center; }

.ecosystem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.eco { 
    background: #ffffff !important; 
    border: 1px solid var(--line) !important; 
    padding: 2.2rem 1.8rem; 
    border-radius: 20px;
    text-decoration: none; 
    color: inherit; 
}
.eco-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: rgba(34, 211, 238, 0.1); color: #0ea5e9; margin-bottom: 1.2rem; }
.eco-icon i { width: 24px; height: 24px; }
.eco-name { font-weight: 900; font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--text-main); letter-spacing:-0.3px;}
.eco-desc { color: var(--text-muted); line-height: 1.65; font-weight: 500; margin-bottom: 1.2rem; font-size: 0.95rem; }
.eco-link { color: var(--text-main); font-weight: 800; display: inline-flex; gap: 8px; align-items: center; transition: color 0.2s; font-size: 0.95rem;}
.eco-link i { width: 18px; height: 18px; transition: transform 0.2s; }
.eco:hover .eco-link { color: var(--primary-orange); }
.eco:hover .eco-link i { transform: translateX(4px); }

/* ==========================================================================
   7. SOCIAL PROOF (Static Enterprise Grid Edition)
========================================================================== */
.proof-section { background: #ffffff; padding: 8rem 0; border-top: 1px solid var(--line); overflow: hidden;}

/* 顶部布局：左边文字，右边按钮 */
.proof-header-flex { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 4rem; gap: 2rem;}
.proof-header-flex .section-title { margin: 0 0 0.5rem; text-align: left; }
.proof-header-flex .section-subtitle { text-align: left; max-width: 600px; }
.explore-btn { flex-shrink: 0; }

/* 🔥 静态双行 Logo 网格 (严格锁定 5x2 完美对称) */
.client-logo-grid { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; /* 绝对水平居中 */
    align-items: center; 
    gap: 3rem 4.5rem; /* 上下间距 3rem，左右间距 4.5rem (拉开呼吸感) */
    max-width: 960px; /* 限制总宽度，防止散得太开 */
    margin: 0 auto 5.5rem; 
}

/* Logo 图片处理：强制平分宽度 */
.client-logo { 
    flex: 0 0 calc(20% - 4.5rem); /* 🚨 核心魔法：强制每个占 1/5 宽度，永远保持一行 5 个 */
    max-width: 140px; 
    height: 42px; /* 统一高度骨架 */
    object-fit: contain; 
    filter: grayscale(100%) opacity(45%); 
    transition: all 0.3s ease; 
    cursor: default; 
}

.client-logo:hover { 
    filter: grayscale(0%) opacity(100%); 
    transform: scale(1.08); 
}

/* 响应式：平板端变成 4+4+2 (居中)，手机端变成 3+3+3+1 */
@media (max-width: 992px) {
    .client-logo-grid { gap: 2.5rem 3rem; max-width: 700px; }
    .client-logo { flex: 0 0 calc(25% - 3rem); height: 38px; } /* 平板一行 4 个 */
}
@media (max-width: 576px) {
    .client-logo-grid { gap: 2rem 1.5rem; }
    .client-logo { flex: 0 0 calc(33.333% - 1.5rem); height: 32px; } /* 手机一行 3 个 */
}
/* ... 下面继续保留你原有的 testimonial-slider 等代码 ... */

/* 轮播图外壳 */
.testimonial-slider-wrapper { position: relative; max-width: 1080px; margin: 0 auto; display: flex; align-items: center; }

/* 隐藏原生滚动条的横向滑动容器 */
.testimonial-slider { 
    display: flex; gap: 2rem; overflow-x: auto; scroll-snap-type: x mandatory; 
    scroll-behavior: smooth; padding: 1rem 0.5rem 2rem 0.5rem; 
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
}
.testimonial-slider::-webkit-scrollbar { display: none; /* Chrome, Safari */ }

/* 卡片排版：电脑端一排显示 2 个半（露出一点点提示可滑动） */
.testimonial-slider .testi-card { 
    flex: 0 0 calc(50% - 1rem); 
    scroll-snap-align: start; 
    background: var(--section-bg-light) !important; 
    border: 1px solid var(--line) !important; 
    padding: 3rem; 
    border-radius: 20px;
}

.testi-quote { font-size: 1.15rem; font-weight: 500; color: var(--text-main); line-height: 1.7; margin-bottom: 2.5rem; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 1.2rem; margin-top: auto;}
.testi-avatar { width: 48px; height: 48px; border-radius: 50%; background: #e2e8f0; display: flex; align-items: center; justify-content: center; color: var(--text-muted); flex-shrink: 0;}
.testi-info h4 { font-size: 0.95rem; font-weight: 800; color: var(--bg-navy); margin: 0 0 2px; }
.testi-info p { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; margin: 0; }

/* 左右控制箭头 */
.slider-arrow {
    position: absolute; z-index: 10;
    width: 54px; height: 54px; border-radius: 50%;
    background: #ffffff; border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-main); cursor: pointer;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.1);
    transition: all 0.2s ease;
}
.slider-arrow:hover { color: var(--primary-orange); border-color: var(--primary-orange); transform: scale(1.05); }
.slider-arrow i { width: 24px; height: 24px; }
.prev-arrow { left: -27px; }
.next-arrow { right: -27px; }

/* 响应式：手机端变成单排滑动，标题居中上下排版 */
@media (max-width: 992px) {
    .proof-header-flex { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    .testimonial-slider .testi-card { flex: 0 0 85%; } /* 手机端露出右边卡片的一个角 */
    .slider-arrow { display: none; } /* 手机端靠手指滑动，隐藏箭头 */
}
@media (max-width: 768px) {
    .testimonial-slider .testi-card { flex: 0 0 100%; padding: 2rem; }
}

/* ==========================================================================
   8. FINAL CTA
========================================================================== */
.about-final-cta {
  background: linear-gradient(180deg, var(--bg-navy) 0%, #030612 100%);
  color: #fff;
  padding: 8rem 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.final-title { margin: 0 auto 1.2rem; font-size: 2.8rem; font-weight: 900; letter-spacing: -1px; max-width: 800px; }
.final-desc { margin: 0 auto 3rem; color: rgba(148, 163, 184, 0.92); font-size: 1.15rem; line-height: 1.7; max-width: 700px; }
.final-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   RESPONSIVE DESIGN
========================================================================== */
@media (max-width: 1024px) {
    /* 平板端将卡片移到下方，并排显示标题和文字 */
    .story-grid { grid-template-columns: 1fr 1.5fr; }
    .story-card-col { grid-column: span 2; position: static; margin-top: 1rem; }
}

@media (max-width: 768px) {
    .about-hero h1 { font-size: 2.8rem; }
    .story-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .story-title-col, .story-content-col, .story-card-col { grid-column: span 1; position: static; }
    
    .metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .vm-grid { grid-template-columns: 1fr; }
    .principles-grid { grid-template-columns: 1fr; }
    .ecosystem-grid { grid-template-columns: 1fr; }
    .testimonial-grid { grid-template-columns: 1fr; }
    
    .final-title { font-size: 2.2rem; }
    .final-actions { flex-direction: column; }
    .final-actions .btn { width: 100%; }
}