/* ============================================
   阶段1+2新增样式 - Metrics, Trusted By, Testimonials, Enhancements
   ============================================ */

/* Metrics Banner */
.metrics-banner {
    background: linear-gradient(135deg, #f8fafc, #e0f2fe);
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.section-padding-sm {
    padding: 3rem 0;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.metric-item {
    text-align: center;
}

.metric-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #2563eb, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.metric-item p {
    font-size: 0.875rem;
    color: #475569;
}

/* Trusted By */
.trusted-by {
    text-align: center;
}

.trusted-by .section-title {
    color: #0f172a;
    font-weight: 700;
}

.trusted-by .section-subtitle {
    color: #1e293b;
    font-size: 1.125rem;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    align-items: center;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transition: var(--transition-fast);
}

.logo-item img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%) opacity(0.6);
    transition: var(--transition-fast);
}

.logo-item:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* Testimonials */
.testimonials-section {
    background: var(--light-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--text-white);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.quote-icon {
    font-size: 4rem;
    line-height: 1;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
    margin-bottom: 1rem;
}

.quote-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

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

.author-info strong {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.author-info span {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .metric-number {
        font-size: 2.5rem;
    }
    
    .timeline {
        padding-left: 0;
    }
    
    .timeline-item {
        padding-left: 2rem;
    }
    
    .timeline-marker {
        left: 0;
    }
    
    .awards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .logos-grid {
        grid-template-columns: 1fr;
    }
    
    .section-padding-sm {
        padding: 2rem 0;
    }
    
    .timeline-item {
        padding-left: 1.5rem;
    }
}

/* ============================================
   Timeline Section (About Page)
   ============================================ */

.timeline-section {
    position: relative;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 3rem auto 0;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #2563eb, #8b5cf6);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 3rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 11px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #2563eb;
    border: 4px solid #f8fafc;
    box-shadow: 0 0 0 4px #2563eb;
    z-index: 1;
}

.timeline-item-future .timeline-marker {
    background: #8b5cf6;
    box-shadow: 0 0 0 4px #8b5cf6;
}

.timeline-content {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #2563eb;
    transition: all 0.3s ease;
}

.timeline-item-future .timeline-content {
    border-left-color: #8b5cf6;
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
}

.timeline-content:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.15);
}

.timeline-date {
    font-size: 0.875rem;
    font-weight: 600;
    color: #2563eb;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.timeline-item-future .timeline-date {
    color: #8b5cf6;
}

.timeline-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.timeline-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #475569;
    margin: 0;
}

/* ============================================
   Awards Section (About Page)
   ============================================ */

.awards-section {
    background: white;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.award-card {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.award-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.15);
    border-color: #2563eb;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.award-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #8b5cf6);
    padding: 12px;
}

.award-badge svg {
    stroke: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.award-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.award-year {
    font-size: 0.875rem;
    font-weight: 600;
    color: #2563eb;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.award-card p:last-child {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #475569;
    margin: 0;
}

/* ============================================
   Performance Benchmarks (Platform Page)
   ============================================ */

.benchmarks-section {
    background: #f8fafc;
}

.benchmark-intro {
    max-width: 900px;
    margin: 2rem auto 3rem;
    text-align: center;
}

.benchmark-intro .lead {
    color: #475569;
    font-size: 1.125rem;
    line-height: 1.7;
}

.benchmark-table-wrapper {
    overflow-x: auto;
    margin: 3rem 0;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.benchmark-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 0.9375rem;
}

.benchmark-table thead {
    background: linear-gradient(135deg, #2563eb, #1e40af);
}

.benchmark-table thead th {
    padding: 1.25rem 1rem;
    text-align: left;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    border-bottom: 3px solid #1e40af;
}

.benchmark-table thead th:first-child {
    border-top-left-radius: 16px;
}

.benchmark-table thead th:last-child {
    border-top-right-radius: 16px;
}

.benchmark-table thead th.highlight-col {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    border-bottom-color: #7c3aed;
}

.benchmark-table tbody tr {
    border-bottom: 1px solid #e2e8f0;
    transition: background 0.2s ease;
}

.benchmark-table tbody tr:hover {
    background: #f8fafc;
}

.benchmark-table tbody tr:last-child {
    border-bottom: none;
}

.benchmark-table tbody td {
    padding: 1.25rem 1rem;
    color: #475569;
    vertical-align: middle;
}

.benchmark-table tbody td:first-child {
    color: #0f172a;
    font-weight: 500;
}

.benchmark-table tbody td.highlight-col {
    background: linear-gradient(135deg, #faf5ff, #f3e8ff);
    font-weight: 600;
    color: #7c3aed;
    position: relative;
}

.benchmark-table tbody tr:hover td.highlight-col {
    background: linear-gradient(135deg, #f3e8ff, #ede9fe);
}

.benchmark-table tbody td.best {
    border-left: 4px solid #8b5cf6;
    border-right: 4px solid #8b5cf6;
}

.metric-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    display: inline-block;
    margin-right: 0.25rem;
}

.highlight-col .metric-value {
    color: #7c3aed;
}

.metric-unit {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: 0.5rem;
}

.badge-best {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.benchmark-notes {
    margin-top: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    border-left: 4px solid #2563eb;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.benchmark-notes h4 {
    color: #0f172a;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.benchmark-notes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benchmark-notes li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
    line-height: 1.6;
}

.benchmark-notes li:last-child {
    border-bottom: none;
}

.benchmark-notes strong {
    color: #2563eb;
    font-weight: 600;
}

/* Responsive for Benchmarks */
@media (max-width: 1024px) {
    .benchmark-table {
        font-size: 0.875rem;
    }
    
    .benchmark-table thead th,
    .benchmark-table tbody td {
        padding: 1rem 0.75rem;
    }
    
    .metric-value {
        font-size: 1.125rem;
    }
}

@media (max-width: 768px) {
    .benchmark-table-wrapper {
        margin: 2rem -1rem;
        border-radius: 0;
    }
    
    .benchmark-table {
        font-size: 0.8125rem;
    }
    
    .benchmark-table thead th,
    .benchmark-table tbody td {
        padding: 0.875rem 0.5rem;
    }
    
    .metric-value {
        font-size: 1rem;
    }
    
    .badge {
        display: block;
        margin: 0.25rem 0 0 0;
        width: fit-content;
    }
    
    .benchmark-notes {
        padding: 1.5rem;
        margin: 2rem -1rem 0;
        border-radius: 0;
    }
}

/* ============================================
   Case Studies Section (Solutions Page)
   ============================================ */

/* Fix white text on white background in Solutions page */
#financial .solution-content,
#retail .solution-content,
#healthcare .solution-content,
#manufacturing .solution-content {
    color: #0f172a;
}

#financial h2, #financial h3,
#retail h2, #retail h3,
#healthcare h2, #healthcare h3,
#manufacturing h2, #manufacturing h3 {
    color: #0f172a;
}

#financial p, #financial .lead,
#retail p, #retail .lead,
#healthcare p, #healthcare .lead,
#manufacturing p, #manufacturing .lead {
    color: #475569;
}

#financial .feature-list li,
#retail .feature-list li,
#healthcare .feature-list li,
#manufacturing .feature-list li {
    color: #475569 !important;
}

#financial .result-stats div,
#retail .result-stats div,
#healthcare .result-stats div,
#manufacturing .result-stats div {
    color: #0f172a;
}

.case-studies-section {
    background: white;
}

.case-studies-section .section-header h2,
.case-studies-section h2,
.case-studies-section h3,
.case-studies-section h4 {
    color: #0f172a;
}

.case-studies-section .section-subtitle,
.case-studies-section p {
    color: #475569;
}

.case-study {
    margin: 4rem auto 0;
    max-width: 1100px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.case-study:first-of-type {
    margin-top: 3rem;
}

.case-study-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    border-bottom: 3px solid #2563eb;
}

.case-study-company h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.company-info {
    font-size: 1rem;
    color: #475569;
    margin: 0;
}

.industry-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.case-study-body {
    padding: 2.5rem;
}

.case-study-challenge,
.case-study-solution,
.case-study-results {
    margin-bottom: 2.5rem;
}

.case-study-results {
    margin-bottom: 0;
}

.case-study-body h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e2e8f0;
}

.case-study-challenge h4 {
    color: #dc2626;
    border-bottom-color: #fecaca;
}

.case-study-solution h4 {
    color: #2563eb;
    border-bottom-color: #bfdbfe;
}

.case-study-results h4 {
    color: #059669;
    border-bottom-color: #a7f3d0;
}

.case-study-body p {
    font-size: 1rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 1.25rem;
}

.case-study-body h3,
.case-study-body h4 {
    color: #0f172a;
}

.challenge-list,
.solution-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
}

.challenge-list li,
.solution-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.875rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #475569;
}

.challenge-list li::before {
    content: '⚠️';
    position: absolute;
    left: 0;
    font-size: 1rem;
}

.solution-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-size: 1rem;
    color: #2563eb;
    font-weight: 700;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.result-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 12px;
    border: 2px solid #a7f3d0;
}

.result-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #059669, #047857);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.result-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #047857;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.result-desc {
    font-size: 0.8125rem;
    color: #059669;
    margin: 0;
}

.case-study-quote {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    padding: 2.5rem;
    border-top: 3px solid #8b5cf6;
}

.case-study-quote blockquote {
    margin: 0;
    padding: 0;
    border: none;
}

.case-study-quote p {
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.8;
    color: #1e293b;
    margin-bottom: 1.5rem;
    position: relative;
}

.case-study-quote p::before {
    content: '"';
    font-size: 4rem;
    color: #8b5cf6;
    opacity: 0.3;
    position: absolute;
    left: -1.5rem;
    top: -1rem;
    font-family: Georgia, serif;
}

.case-study-quote cite {
    display: flex;
    flex-direction: column;
    font-style: normal;
}

.case-study-quote cite strong {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.case-study-quote cite span {
    font-size: 1rem;
    color: #8b5cf6;
    font-weight: 500;
}

/* Responsive for Case Studies */
@media (max-width: 1024px) {
    .case-study {
        margin-left: 1rem;
        margin-right: 1rem;
    }
}

/* ============================================
   Value Icons Enhancement (About Page)
   ============================================ */

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb, #8b5cf6);
    border-radius: 50%;
    padding: 16px;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.value-icon svg {
    stroke: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

@media (max-width: 768px) {
    .case-study {
        margin-left: 0;
        margin-right: 0;
        border-radius: 0;
    }
    
    .case-study-header {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .case-study-company h3 {
        font-size: 1.5rem;
    }
    
    .case-study-body {
        padding: 1.5rem;
    }
    
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .result-card {
        padding: 1.5rem 1rem;
    }
    
    .result-number {
        font-size: 2rem;
    }
    
    .case-study-quote {
        padding: 1.5rem;
    }
    
    .case-study-quote p {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .results-grid {
        grid-template-columns: 1fr;
    }
}


