/* 电子报价单页面专用样式 - quotation.html */

/* 页面头部特殊样式 */
.page-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.page-header-text {
    flex: 1;
    padding-right: 50px;
}

.page-header-image {
    flex: 1;
    text-align: center;
    position: relative;
}

/* 现代仪表板风格 */
.quotation-dashboard {
    width: 100%;
    max-width: 480px;
    height: 360px;
    position: relative;
    margin: 0 auto;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
}

.dashboard-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
}

.stats-card {
    background: var(--primary);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
    color: white;
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(30px, -30px);
}

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

.stat-number {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    opacity: 0.9;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
}

.mini-chart {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.chart-bars {
    display: flex;
    align-items: end;
    gap: 6px;
    height: 110px;
    margin-bottom: 12px;
}

.bar {
    flex: 1;
    background: #e2e8f0;
    border-radius: 3px 3px 0 0;
    transition: all 0.3s ease;
    position: relative;
}

.bar.active {
    background: var(--primary);
    transition: all 0.3s ease;
}

.bar:hover {
    background: #cbd5e1;
}

.bar.active:hover {
    transform: translateY(-10px);
    background: var(--primary);
}

.chart-label {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    text-align: center;
}

.dashboard-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.action-btn {
    width: 56px;
    height: 56px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    color: #64748b;
    position: relative;
    overflow: hidden;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.action-btn.primary {
    background: var(--primary);
    color: white;
    width: 120px;
    height: 48px;
    flex-direction: row;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

.action-btn.primary:hover {
    box-shadow: 0 12px 35px rgba(79, 70, 229, 0.4);
}

.action-btn i {
    font-size: 18px;
}

.action-btn.primary i {
    font-size: 16px;
}

.dashboard-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), rgba(124, 58, 237, 0.05));
    animation: bgShapeFloat 8s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    right: -50px;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    bottom: -30px;
    left: -30px;
    animation-delay: 4s;
}

/* AOS 动画完成后的展示效果 */
.page-header-image.aos-animate .quotation-dashboard {
    animation: dashboardFloat 5s ease-in-out infinite;
}

@keyframes dashboardFloat {
    0%, 100% { 
        transform: translateY(0); 
    }
    50% { 
        transform: translateY(-6px); 
    }
}

@keyframes barGrow {
    0% {
        height: 0 !important;
        transform: scaleY(0);
    }
    100% {
        transform: scaleY(1);
    }
}

@keyframes bgShapeFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    50% {
        transform: translateY(-20px) rotate(180deg) scale(1.1);
    }
}

/* 自定义 AOS 动画 */
[data-aos="slide-up"] {
    transform: translateY(100px);
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos="slide-up"].aos-animate {
    transform: translateY(0);
    opacity: 1;
}

/* 增强柱状图动画效果 */
.bar[data-aos="slide-up"] {
    transform: translateY(100%) scaleY(0);
    transform-origin: bottom;
    opacity: 1;
}

.bar[data-aos="slide-up"].aos-animate {
    transform: translateY(0) scaleY(1);
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 统计数字动画增强 */
.stat-item[data-aos="zoom-in"] {
    transform: scale(0.6);
    opacity: 0;
}

.stat-item[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
    opacity: 1;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 按钮动画增强 */
.action-btn[data-aos="fade-left"] {
    transform: translateX(50px);
    opacity: 0;
}

.action-btn[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
    opacity: 1;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 背景装饰动画 */
.bg-shape[data-aos="fade"] {
    opacity: 0;
    transform: scale(0.8);
}

.bg-shape[data-aos="fade"].aos-animate {
    opacity: 0.3;
    transform: scale(1);
    transition: all 1.2s ease-out;
}

/* 核心功能 */
.features-section {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(24, 144, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    transform: rotateY(180deg);
}

.feature-icon i {
    font-size: 2.5rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon i {
    color: white;
}

.feature-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--dark);
    font-weight: 600;
}

.feature-card p {
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* 优势展示 */
.advantages-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e6f7ff 100%);
    position: relative;
    overflow: hidden;
}

.advantages-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.advantage-item {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background: rgba(24, 144, 255, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.advantage-icon i {
    font-size: 1.8rem;
    color: var(--primary);
}

.advantage-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.advantage-item p {
    color: var(--gray);
    line-height: 1.6;
}

/* 使用场景 */
.use-cases-section {
    background: white;
}

.use-cases-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    background: white;
    border-radius: 50px;
    padding: 8px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.use-case-tab {
    padding: 12px 35px;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 50px;
}

.use-case-tab.active {
    color: white;
    background: var(--primary);
    box-shadow: 0 5px 15px rgba(24, 144, 255, 0.3);
}

.use-cases-content {
    display: none;
}

.use-cases-content.active {
    display: block;
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.use-case-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.use-case-image {
    height: 200px;
    background: linear-gradient(145deg, #f0f0f0, #e0e0e0);
    display: flex;
    align-items: center;
    justify-content: center;
}

.use-case-image i {
    font-size: 3rem;
    color: var(--primary);
}

.use-case-info {
    padding: 30px;
}

.use-case-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.use-case-info p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.use-case-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

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

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: #ffffff;
}

/* 模板展示 */
.templates-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e6f7ff 100%);
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.template-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.template-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.template-preview {
    height: 200px;
    background: linear-gradient(145deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.template-preview i {
    font-size: 3rem;
    color: var(--primary);
}

.template-info {
    padding: 25px;
}

.template-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.template-info p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.template-features {
    list-style: none;
    margin-bottom: 20px;
}

.template-features li {
    padding: 5px 0;
    color: var(--gray);
    font-size: 0.9rem;
}

.template-features li i {
    color: var(--primary);
    margin-right: 8px;
    width: 12px;
}

/* 定价部分 */
.pricing-section {
    background: white;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.pricing-card {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--primary);
    box-shadow: 0 15px 40px rgba(24, 144, 255, 0.2);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--primary);
    color: white;
    padding: 5px 30px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header {
    margin-bottom: 30px;
}

.pricing-header h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.pricing-header .price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.pricing-header .period {
    color: var(--gray);
    font-size: 0.9rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    color: var(--gray);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: var(--primary);
    margin-right: 10px;
}

.pricing-features li i.fa-times {
    color: #ccc;
}

/* 常见问题 */
.faq-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e6f7ff 100%);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .page-header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .page-header-text {
        padding-right: 0;
        margin-bottom: 60px;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .use-cases-tabs {
        flex-wrap: wrap;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .quotation-dashboard {
        max-width: 400px;
        height: 320px;
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }
    
    .dashboard-main {
        flex-direction: row;
        gap: 12px;
    }

    .stats-card {
        padding: 20px;
        gap: 16px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 12px;
    }

    .mini-chart {
        padding: 16px;
    }

    .chart-bars {
        height: 50px;
    }

    .chart-label {
        font-size: 13px;
    }

    .dashboard-sidebar {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
    }

    .action-btn {
        width: 48px;
        height: 48px;
    }

    .action-btn.primary {
        width: 100px;
        height: 42px;
        font-size: 13px;
    }

    .action-btn i {
        font-size: 16px;
    }

    .action-btn.primary i {
        font-size: 14px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .advantages-container {
        grid-template-columns: 1fr;
    }
    
    .use-case-grid {
        grid-template-columns: 1fr;
    }
    
    .templates-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .use-case-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .use-cases-tabs {
        padding: 5px;
    }
    
    .use-case-tab {
        padding: 8px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .quotation-dashboard {
        max-width: 320px;
        height: 300px;
        padding: 12px;
        gap: 10px;
    }
    
    .dashboard-main {
        gap: 10px;
    }

    .stats-card {
        padding: 16px;
        gap: 12px;
        flex-direction: column;
    }

    .stat-divider {
        width: 60%;
        height: 1px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-label {
        font-size: 11px;
    }

    .mini-chart {
        padding: 14px;
    }

    .chart-bars {
        height: 40px;
    }

    .chart-label {
        font-size: 12px;
    }

    .action-btn {
        width: 42px;
        height: 42px;
    }

    .action-btn.primary {
        width: 90px;
        height: 38px;
        font-size: 12px;
        gap: 6px;
    }

    .action-btn i {
        font-size: 14px;
    }

    .action-btn.primary i {
        font-size: 12px;
    }

    .bg-shape.shape-1 {
        width: 150px;
        height: 150px;
    }

    .bg-shape.shape-2 {
        width: 100px;
        height: 100px;
    }

    /* 移动端AOS动画优化 */
    .action-btn[data-aos="fade-left"] {
        transform: translateX(30px);
    }

    .stat-item[data-aos="zoom-in"] {
        transform: scale(0.8);
    }

    [data-aos="slide-up"] {
        transform: translateY(50px);
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .advantage-item {
        padding: 25px 20px;
    }
    
    .use-case-info {
        padding: 25px 20px;
    }
    
    .template-info {
        padding: 20px;
    }
    
    .pricing-card {
        padding: 30px 20px;
    }
}
