/* 优势页样式 */

/* 技术优势展示 */
.tech-advantages {
    padding: 100px 0;
    background: var(--secondary-color);
}

.tech-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.timeline-section {
    position: relative;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-color), var(--primary-color));
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-dot {
    position: absolute;
    left: -36px;
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-color);
}

.timeline-content {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 25px;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-normal);
}

.timeline-content:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-medium);
}

.timeline-date {
    display: inline-block;
    padding: 5px 15px;
    background: var(--accent-color);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 14px;
}


/* 服务保障体系 */
.service-guarantee {
    padding: 100px 0;
    background: var(--bg-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
    transition: all var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.circle-progress {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 25px;
}

.circle-progress svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.circle-progress circle {
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
}

.circle-progress .bg {
    stroke: var(--secondary-color);
}

.circle-progress .progress {
    stroke: var(--accent-color);
    stroke-dasharray: 440;
    stroke-dashoffset: 440;
    transition: stroke-dashoffset 1.5s ease;
}

.stat-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.stat-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* 客户评价墙 */
.reviews-section {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-light);
}

.reviews-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) var(--secondary-color);
}

.reviews-carousel::-webkit-scrollbar {
    height: 6px;
}

.reviews-carousel::-webkit-scrollbar-track {
    background: var(--secondary-color);
    border-radius: 3px;
}

.reviews-carousel::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 3px;
}

.review-bubble {
    flex: 0 0 auto;
    width: 350px;
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-light);
    position: relative;
}

.review-bubble::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50px;
    width: 20px;
    height: 20px;
    background: white;
    transform: rotate(45deg);
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
}

.review-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-style: italic;
}

.review-author {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.author-name {
    font-weight: 600;
    color: var(--primary-color);
}

.author-company {
    font-size: 14px;
    color: var(--text-secondary);
}

/* 对比表格 */
.comparison-section {
    padding: 100px 0;
    background: var(--secondary-color);
}

.comparison-table {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.comparison-column {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.column-header {
    padding: 30px;
    text-align: center;
    background: var(--primary-color);
    color: white;
}

.column-header h3 {
    font-size: 24px;
    margin: 0;
    color: white;
}

.recommend-badge {
    display: inline-block;
    padding: 5px 15px;
    background: var(--accent-color);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    margin-top: 10px;
}

.comparison-list {
    list-style: none;
    padding: 30px;
}

.comparison-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--secondary-color);
}

.comparison-list li:last-child {
    border-bottom: none;
}

.comparison-list i {
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.comparison-list .fa-times {
    color: #FF5252;
}

.comparison-list .fa-check {
    color: var(--accent-color);
}

.glow-icon {
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.comparison-column.traditional .comparison-list i {
    color: #FF5252;
}

.comparison-column.our-solution .comparison-list i {
    color: var(--accent-color);
}

.vs-divider {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vs-divider span {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .tech-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .comparison-table {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .vs-divider {
        display: none;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .review-bubble {
        width: 300px;
    }
    
    .reviews-section {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .timeline {
        padding-left: 20px;
    }
    
    .timeline-dot {
        left: -26px;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .circle-progress {
        width: 120px;
        height: 120px;
    }
    
    .stat-value {
        font-size: 24px;
    }
    
    .review-bubble {
        width: 280px;
        padding: 20px;
    }
}

/* 动画效果 */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-item {
    animation: slideInUp 0.6s ease both;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }

.stat-card {
    animation: slideInUp 0.6s ease both;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }

/* 悬停效果增强 */
.comparison-column.our-solution {
    position: relative;
    overflow: hidden;
}

.comparison-column.our-solution::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(212, 175, 55, 0.1) 50%, 
        transparent 70%);
    animation: shine 3s infinite linear;
    pointer-events: none;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}


/* 技术图片展示区样式 */
.tech-gallery {
    padding: 100px 0;
    background: var(--bg-light);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.tech-images-container {
    display: flex;
    flex-direction: column;
    gap: 36px;
    max-width: 1000px;
    margin: 0 auto;
}

.tech-image-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    width: 100%;
    height: 0;
    padding-bottom: 50%;
    box-shadow: 0 6px 32px rgba(26, 59, 93, 0.12);
    transition: all var(--transition-normal);
    border: 1px solid rgba(212, 175, 55, 0.08);
}

.tech-image-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 56px rgba(26, 59, 93, 0.22);
    border-color: rgba(212, 175, 55, 0.25);
}

.tech-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.6s ease;
}

.tech-image-item:hover .tech-image-wrapper {
    transform: scale(1.03);
}

/* 标题区始终显示在底部 */
.tech-image-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
    padding: 48px 32px 28px;
    color: white;
}

.tech-image-content h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: white;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.tech-image-content p {
    font-size: 15px;
    opacity: 0.88;
    margin: 0;
    line-height: 1.5;
    max-width: 700px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tech-images-container {
        gap: 24px;
    }

    .tech-image-item {
        padding-bottom: 52%;
    }

    .tech-image-content {
        padding: 36px 20px 20px;
    }

    .tech-image-content h3 {
        font-size: 18px;
    }

    .tech-image-content p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .tech-images-container {
        gap: 20px;
    }

    .tech-gallery {
        padding: 60px 0;
    }

    .tech-image-content {
        padding: 28px 14px 16px;
    }

    .tech-image-content h3 {
        font-size: 16px;
    }

    .tech-image-content p {
        font-size: 12px;
    }
}

/* 滚动动画 */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── AI+数值仿真 专业页内容 ── */
.adv-section {
    padding: 70px 0 90px;
    background: var(--bg-light);
}

.adv-topic-title {
    text-align: center;
    margin-bottom: 48px;
}

.adv-topic-accent {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent-color);
    letter-spacing: 0.04em;
}

.adv-group {
    margin-bottom: 40px;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(212,175,55,0.12);
    box-shadow: 0 2px 16px rgba(26,59,93,0.07);
    overflow: hidden;
}

.adv-group-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.adv-header-primary {
    background: linear-gradient(90deg, rgba(212,175,55,0.18), rgba(212,175,55,0.06));
    color: var(--accent-color);
    border-bottom: 1px solid rgba(212,175,55,0.18);
}

.adv-header-secondary {
    background: linear-gradient(90deg, rgba(26,59,93,0.18), rgba(26,59,93,0.06));
    color: var(--primary-color);
    border-bottom: 1px solid rgba(26,59,93,0.12);
}

.adv-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.adv-card {
    padding: 24px 28px;
    border-right: 1px solid rgba(212,175,55,0.10);
}

.adv-card:last-child {
    border-right: none;
}

.adv-card-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(212,175,55,0.15);
}

.adv-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.adv-card ul li {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    padding-left: 14px;
    position: relative;
}

.adv-card ul li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 18px;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .adv-cards { grid-template-columns: 1fr; }
    .adv-card { border-right: none; border-bottom: 1px solid rgba(212,175,55,0.10); }
    .adv-card:last-child { border-bottom: none; }
    .adv-topic-accent { font-size: 24px; }
}

/* ── 截图展示区 ── */
.adv-screenshots {
    padding: 0 0 90px;
    background: var(--bg-light);
}

.adv-screenshots-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.adv-screenshots-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.adv-screenshots-col-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(212,175,55,0.2);
    margin-bottom: 4px;
}

.adv-screenshot-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(212,175,55,0.15);
    box-shadow: 0 4px 20px rgba(26,59,93,0.10);
    transition: box-shadow 0.2s, transform 0.2s;
}

.adv-screenshot-item:hover {
    box-shadow: 0 10px 36px rgba(26,59,93,0.18);
    transform: translateY(-3px);
}

.adv-screenshot-item img {
    width: 100%;
    display: block;
}

.adv-screenshot-main {
    position: sticky;
    top: 80px;
}

@media (max-width: 768px) {
    .adv-screenshots-grid {
        grid-template-columns: 1fr;
    }
    .adv-screenshot-main {
        position: static;
    }
}

/* 左侧AI截图小网格 */
.adv-ai-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.adv-ai-wide {
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .adv-ai-grid { grid-template-columns: 1fr; }
    .adv-ai-wide { grid-column: auto; }
}

/* 左右两列等高对齐 */
.adv-screenshots-grid {
    align-items: stretch;
}

.adv-screenshots-col {
    display: flex;
    flex-direction: column;
}

.adv-screenshot-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.adv-screenshot-main img {
    flex: 1;
    object-fit: cover;
    height: 100%;
}

.adv-ai-grid {
    flex: 1;
}

/* ── 专业页字体放大 ── */
.adv-group-header { font-size: 20px; }
.adv-card-label { font-size: 16px; }
.adv-card ul li { font-size: 16px; }
.adv-screenshots-col-label { font-size: 16px; text-transform: none; }
.adv-topic-accent { font-size: 38px; }

.adv-card-label { font-size: 18px; }

.adv-screenshots-col-label { font-size: 20px; }

/* 左侧AI网格图片等高填满 */
.adv-ai-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: stretch;
}

.adv-ai-grid .adv-screenshot-item {
    display: flex;
    flex-direction: column;
}

.adv-ai-grid .adv-screenshot-item img {
    flex: 1;
    object-fit: cover;
    width: 100%;
    height: 100%;
    min-height: 200px;
}

/* ── 上下排版截图 ── */
.adv-screenshots-stack {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.adv-screenshots-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ── 专业页全局字体放大（标题除外） ── */
.adv-group-header { font-size: 22px; padding: 20px 32px; }
.adv-card-label { font-size: 20px; }
.adv-card ul li { font-size: 18px; line-height: 1.7; }
.adv-card { padding: 28px 32px; }
.adv-screenshots-col-label { font-size: 22px; }

/* ── 再放大一档 ── */
.adv-group-header { font-size: 26px; padding: 22px 36px; }
.adv-card-label { font-size: 23px; }
.adv-card ul li { font-size: 21px; line-height: 1.75; }
.adv-card { padding: 32px 36px; }
.adv-screenshots-col-label { font-size: 25px; }

/* ── 再放大 ── */
.adv-group-header { font-size: 30px; padding: 24px 40px; }
.adv-card-label { font-size: 27px; }
.adv-card ul li { font-size: 24px; line-height: 1.8; }
.adv-card { padding: 36px 40px; }
.adv-screenshots-col-label { font-size: 28px; }

/* ── 缩小板块间距 ── */
.adv-section { padding-bottom: 32px; }
.adv-screenshots { padding-top: 0; }

/* ── AI截图高度控制 ── */
.adv-ai-grid .adv-screenshot-item {
    height: 260px;
    overflow: hidden;
}

.adv-ai-grid .adv-screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* ── AI截图高度减半 ── */
.adv-ai-grid .adv-screenshot-item {
    height: auto;
    aspect-ratio: 8 / 3;
}

/* ── 数值仿真截图高度3/4 ── */
.adv-screenshots-row:last-child .adv-screenshot-item {
    aspect-ratio: 16 / 7;
    overflow: hidden;
}
.adv-screenshots-row:last-child .adv-screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* ── 板块底部图表区 ── */
.adv-chart-area {
    padding: 28px 36px 32px;
    border-top: 1px solid rgba(212,175,55,0.12);
    background: rgba(0,0,0,0.06);
}

.adv-chart-area svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

/* 折线入场动画 */
@keyframes drawLine {
    from { stroke-dashoffset: 1000; }
    to   { stroke-dashoffset: 0; }
}

/* 柱状图入场 */
@keyframes growBar {
    from { transform: scaleY(0); }
    to   { transform: scaleY(1); }
}

/* 环形进度 */
@keyframes fillRing {
    from { stroke-dashoffset: 283; }
    to   { stroke-dashoffset: var(--ring-end, 0); }
}

.adv-chart-area .bar {
    transform-origin: bottom;
    animation: growBar 0.65s cubic-bezier(.4,0,.2,1) both;
}
.adv-chart-area .bar:nth-child(1) { animation-delay: 0.05s; }
.adv-chart-area .bar:nth-child(2) { animation-delay: 0.15s; }
.adv-chart-area .bar:nth-child(3) { animation-delay: 0.25s; }
.adv-chart-area .bar:nth-child(4) { animation-delay: 0.35s; }
.adv-chart-area .bar:nth-child(5) { animation-delay: 0.45s; }
.adv-chart-area .bar:nth-child(6) { animation-delay: 0.55s; }

.adv-chart-area .line-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 1.2s cubic-bezier(.4,0,.2,1) 0.1s both;
}

.adv-chart-area .ring-track { opacity: 0.15; }

.adv-chart-area .ring-progress {
    animation: fillRing 1.1s cubic-bezier(.4,0,.2,1) 0.15s both;
}

@media (max-width: 768px) {
    .adv-chart-area { padding: 20px 16px 24px; }
}

@media (max-width: 768px) {
    .adv-group-header { font-size: 17px !important; padding: 14px 20px !important; }
    .adv-card { padding: 18px 20px !important; }
    .adv-card-label { font-size: 14px !important; }
    .adv-card ul li { font-size: 14px !important; line-height: 1.6 !important; }
    .adv-screenshots-col-label { font-size: 15px !important; }
    .adv-topic-accent { font-size: 18px !important; }
    .adv-grid { grid-template-columns: 1fr !important; }
    .adv-screenshots-grid { grid-template-columns: 1fr !important; }
}
