.ocr-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    overflow: hidden;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.4em;
    color: #2c3e50;
    margin-bottom: 15px;
    animation: slideDown 0.8s ease-out;
}

.section-title p {
    color: #666;
    font-size: 1.2em;
    animation: fadeIn 1s ease-out;
}

.ocr-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    animation: cardAppear 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #f0f4ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    fill: #1e90ff;
}

.feature-card h3 {
    color: #2c3e50;
    font-size: 1.4em;
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

.ocr-demo {
    display: flex;
    gap: 50px;
    justify-content: center;
    align-items: center;
}

.demo-phone {
    flex: 1;
    max-width: 300px;
    height: 600px;
    background: #2c3e50;
    border-radius: 30px;
    padding: 20px;
    position: relative;
}

.phone-screen {
    background: white;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.scan-area {
    height: 200px;
    margin: 20px;
    border: 2px solid #1e90ff;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.scan-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: #1e90ff;
    animation: scanning 2s linear infinite;
}

.recognition-result {
    padding: 20px;
}

.result-item {
    height: 20px;
    background: #f0f4ff;
    border-radius: 4px;
    margin-bottom: 15px;
    animation: shimmer 1.5s infinite;
}

.workflow-section {
    padding: 100px 0;
}

.demo-text {
    flex: 1;
    max-width: 320px;
}

.demo-text h3 {
    font-size: 1.8em;
    color: #2c3e50;
    margin-bottom: 30px;
}

.demo-text ul {
    list-style: none;
    padding: 0;
}

.demo-text li {
    margin-bottom: 20px;
    padding-left: 30px;
    position: relative;
    color: #666;
    font-size: 1.1em;
}

.demo-text li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1e90ff;
}

@keyframes scanning {
    0% {
        top: 0;
    }

    100% {
        top: 100%;
    }
}

@keyframes shimmer {
    0% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}

@media (max-width: 768px) {
    .ocr-features {
        grid-template-columns: 1fr;
    }

    .ocr-demo {
        flex-direction: column;
    }

    .demo-phone {
        max-width: 100%;
        height: 400px;
    }
}

/* Hero 区域样式 */
.hero-section {
    background: #1e90ff;
    color: white;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -50px;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: 10%;
    animation: float 8s ease-in-out infinite;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 30%;
    right: 20%;
    animation: float 7s ease-in-out infinite;
}

.container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 4em;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: slideUp 0.8s ease-out;
}

.highlight {
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.3) 100%);
    padding: 0 10px;
    border-radius: 8px;
}

.hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: slideUp 0.8s ease-out 0.2s backwards;
}

.hero-features {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    animation: slideUp 0.8s ease-out 0.4s backwards;
}

.feature-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.tag-icon {
    font-size: 1.2em;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #1e90ff;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: slideUp 0.8s ease-out 0.6s backwards;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.button-arrow {
    transition: transform 0.3s ease;
}

.cta-button:hover .button-arrow {
    transform: translateX(5px);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8em;
    }

    .hero-subtitle {
        font-size: 1.2em;
    }

    .hero-features {
        flex-wrap: wrap;
    }

    .feature-tag {
        padding: 8px 16px;
    }
}

/* 介绍区域样式 */
.intro-section {
    padding: 100px 0;
    background: #f8f9ff;
}

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: #e3f2fd;
    color: #1e90ff;
    border-radius: 20px;
    font-size: 0.9em;
    margin-bottom: 20px;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.advantage-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 144, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.advantage-icon svg {
    width: 40px;
    height: 40px;
    fill: #1e90ff;
    stroke: #1e90ff;
}

/* 使用流程样式 */
.workflow-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 50px;
}

.step-item {
    text-align: center;
    flex: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #1e90ff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    margin: 0 auto 20px;
}

.step-arrow {
    width: 100px;
    height: 2px;
    background: #1e90ff;
    position: relative;
}

.step-arrow:after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #1e90ff;
}

/* 应用场景样式 */
.scenarios-section {
    padding: 100px 0;
    background: white;
}

.scenario-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.scenario-card {
    text-align: center;
    padding: 30px;
    border-radius: 20px;
    background: #f8f9ff;
    transition: all 0.3s ease;
}

.scenario-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.scenario-image {
    width: auto;
    height: auto;
    margin: 0 auto 20px;
}

.scenario-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .workflow-steps {
        flex-direction: column;
        gap: 30px;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: 20px 0;
    }
}

/* 极速识别图标动画 */
.icon-speed .speed-hand {
    transform-origin: center;
    animation: rotate 2s linear infinite;
}

/* 准确率图标动画 */
.icon-accuracy .accuracy-ring {
    stroke-dasharray: 56;
    stroke-dashoffset: 56;
    animation: draw 2s ease-out forwards;
}

/* 多场景图标动画 */
.icon-scenes path {
    opacity: 0;
    animation: fadeInStagger 0.3s ease-out forwards;
}

/* 智能增强图标动画 */
.icon-enhance .enhance-plus {
    stroke-width: 2;
    animation: pulse 2s ease-in-out infinite;
}

/* 卡片悬停效果 */
.advantage-card:hover .advantage-icon {
    transform: scale(1.1);
    background: rgba(30, 144, 255, 0.2);
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fadeInStagger {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* 为多场景图标添加延迟动画 */
.icon-scenes path:nth-child(1) {
    animation-delay: 0s;
}

.icon-scenes path:nth-child(2) {
    animation-delay: 0.1s;
}

.icon-scenes path:nth-child(3) {
    animation-delay: 0.2s;
}

.icon-scenes path:nth-child(4) {
    animation-delay: 0.3s;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .advantage-icon {
        width: 60px;
        height: 60px;
    }

    .advantage-icon svg {
        width: 30px;
        height: 30px;
    }
}

/* 响应式布局优化 */
:root {
    --container-padding: clamp(20px, 5vw, 40px);
    --hero-title-size: clamp(2rem, 5vw, 4rem);
    --card-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.container {
    padding: 0 var(--container-padding);
    max-width: min(1200px, 100% - var(--container-padding) * 2);
    margin: 0 auto;
}

/* 图片加载优化 */
.lazy-image {
    opacity: 0;
    transition: opacity 0.3s ease;
    background: #f0f4ff;
}

.lazy-image.loaded {
    opacity: 1;
}

/* 响应式布局调整 */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }

    .hero-content {
        text-align: center;
    }

    .hero-title {
        font-size: var(--hero-title-size);
    }

    .hero-features {
        justify-content: center;
        flex-wrap: wrap;
    }

    .feature-tag {
        width: calc(50% - 10px);
        justify-content: center;
    }

    .advantage-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .workflow-steps {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: 20px 0;
    }

    .scenario-cards {
        grid-template-columns: 1fr;
    }
}

/* 性能优化相关样式 */
.image-placeholder {
    background: linear-gradient(90deg, #f0f0f0 0%, #f8f8f8 50%, #f0f0f0 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* 优化动画性能 */
.animated-element {
    will-change: transform, opacity;
    transform: translateZ(0);
}