/* ImageTwin 图片查重系统 - 全局样式表 */
/* 主色调：浅蓝色系 */

:root {
    --primary-color: #4A90E2;
    --primary-light: #6BA3E5;
    --primary-dark: #3A7BC8;
    --secondary-color: #E3F2FD;
    --accent-color: #1976D2;
    --success-color: #4CAF50;
    --warning-color: #FF9800;
    --danger-color: #F44336;
    --text-dark: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --bg-light: #F8FBFF;
    --bg-white: #FFFFFF;
    --border-color: #E0E0E0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.16);
}

/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 容器布局 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部导航样式 */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* CTA按钮样式 */
.cta-button {
    display: inline-block;
    padding: 16px 40px;
    margin: 10px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.cta-button-small {
    padding: 10px 24px;
    font-size: 15px;
    border-radius: 20px;
}

.cta-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

.cta-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Hero Banner样式 */
.hero-banner {
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(25, 118, 210, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--text-light);
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.stat-item {
    font-size: 18px;
    color: var(--text-light);
}

.stat-item strong {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 700;
}

.hero-actions {
    position: relative;
    z-index: 1;
}

/* 通用板块样式 */
.section {
    padding: 80px 0;
}

.section:nth-child(even) {
    background: var(--bg-light);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* 痛点展示样式 */
.points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.point-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.point-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.point-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.point-card h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.point-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 10px;
}

/* 产品功能样式 */
.features-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
}

.feature-item {
    text-align: center;
}

.feature-item img {
    width: 100%;
    max-width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    margin-bottom: 25px;
}

.feature-item h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 检测流程样式 */
.process-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
}

.step-item {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.step-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    opacity: 0.3;
}

.step-item h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.step-arrow {
    font-size: 36px;
    color: var(--primary-color);
}

.process-cta {
    text-align: center;
}

/* 价格方案样式 */
.pricing-card {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.price-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 40px;
    text-align: center;
}

.price-header h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.price-tag {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
}

.price-number {
    font-size: 64px;
    font-weight: 700;
}

.price-unit {
    font-size: 24px;
}

.price-features {
    padding: 40px;
    list-style: none;
}

.price-features li {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 18px;
    color: var(--text-dark);
}

.price-features li:last-child {
    border-bottom: none;
}

.price-comparison {
    padding: 30px 40px;
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

/* 信任背书样式 */
.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.trust-logos img {
    height: 60px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.trust-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-box {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.stat-box h4 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-box p {
    color: var(--text-light);
    font-size: 18px;
}

/* 使用场景样式 */
.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.scenario-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.3s ease;
}

.scenario-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.scenario-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.scenario-card h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.scenario-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 8px;
}

.scenario-benefit {
    margin-top: 20px;
    padding: 10px 20px;
    background: var(--secondary-color);
    color: var(--primary-dark);
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
}

/* 用户评价样式 */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.review-card {
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.reviewer-icon {
    font-size: 36px;
    background: var(--secondary-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviewer-info h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.reviewer-info p {
    color: var(--text-muted);
    font-size: 14px;
}

.review-content {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 8px;
}

.review-rating {
    color: #FFB400;
    font-size: 20px;
    margin-top: 15px;
}

/* FAQ样式 */
.faq-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.faq-category h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--secondary-color);
}

.faq-list dt {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.faq-list dd {
    color: var(--text-light);
    margin-bottom: 25px;
    padding-left: 20px;
    line-height: 1.8;
}

.faq-more {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.faq-more h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 30px;
}

/* 底部CTA样式 */
.final-cta {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: white;
    text-align: center;
    padding: 100px 0;
}

.cta-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-subtitle strong {
    font-size: 28px;
}

.cta-actions {
    margin-bottom: 30px;
}

.final-cta .cta-button {
    background: white;
    color: var(--primary-color);
}

.final-cta .cta-button:hover {
    background: var(--bg-light);
}

.final-cta .cta-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.final-cta .cta-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.cta-guarantee {
    font-size: 18px;
    opacity: 0.9;
}

/* 页脚样式 */
.footer {
    background: #2C3E50;
    color: #ECF0F1;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-about img {
    height: 40px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-about p {
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: 10px;
}

.footer h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: white;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ECF0F1;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-contact p {
    margin-bottom: 12px;
    opacity: 0.8;
}

.footer-contact a {
    color: #ECF0F1;
    text-decoration: none;
}

.footer-cert p {
    margin-bottom: 12px;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    margin-bottom: 10px;
    opacity: 0.7;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .process-steps {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .trust-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 移动端菜单样式 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    width: 40px;
    height: 40px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 5px 0;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 1001;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-content {
    padding: 80px 30px 30px;
}

.mobile-menu-content a {
    display: block;
    padding: 15px 0;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-menu-content a:hover {
    color: var(--primary-color);
}

.mobile-menu-content hr {
    margin: 20px 0;
    border: none;
    border-top: 1px solid var(--border-color);
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* 移动端优化样式 */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-cta {
        display: none;
    }
    
    .cta-button {
        padding: 14px 30px;
        font-size: 16px;
        margin: 5px;
    }
    
    .hero-banner {
        padding: 60px 0;
    }
    
    .process-steps {
        gap: 30px;
    }
    
    .step-item {
        padding: 30px 20px;
    }
    
    .trust-logos {
        gap: 30px;
    }
    
    .trust-logos img {
        height: 40px;
    }
    
    .pricing-card {
        margin: 0 10px;
    }
    
    .price-number {
        font-size: 48px;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-categories {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 40px;
    }
    
    .point-card,
    .scenario-card,
    .review-card {
        padding: 25px;
    }
    
    .stat-box {
        padding: 20px;
    }
    
    .stat-box h4 {
        font-size: 28px;
    }
}

/* 打印样式 */
@media print {
    .header,
    .hero-actions,
    .back-to-top,
    .mobile-menu-btn,
    .nav-cta {
        display: none !important;
    }
    
    .section {
        page-break-inside: avoid;
    }
}

/* 高对比度模式 */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0056b3;
        --text-dark: #000;
        --text-light: #333;
    }
}

/* 暗色模式支持 */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-white: #1a1a1a;
        --bg-light: #2a2a2a;
        --text-dark: #f0f0f0;
        --text-light: #d0d0d0;
        --border-color: #444;
    }
    
    .header,
    .point-card,
    .step-item,
    .pricing-card,
        .scenario-card,
    .review-card,
    .faq-more {
        background: #2a2a2a;
    }
    
    .hero-banner {
        background: linear-gradient(135deg, #1a3a5a 0%, #2a4a6a 100%);
    }
}
