/* ============================================
   AI视觉识别食堂结算方案样式表 - aijiesuan.css
   独立样式，不影响其他页面
   ============================================ */

/* === 全局重置与基础 === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* === 通用版块 === */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #1a2a4a;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: #888;
    margin-bottom: 55px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* === 板块1：Banner首屏 === */
.banner {
    height: 50vh;
    min-height: 550px;
    background: linear-gradient(135deg, rgba(26,42,74,0.85) 0%, rgba(15,26,48,0.88) 50%, rgba(26,42,74,0.85) 100%), url('../images/aibanner.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 100px; /* 为固定导航栏预留空间 */
}

.banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(245,166,35,0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.banner .container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.banner-content {
    max-width: 800px;
}

.banner h1 {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.banner p {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 25px;
    max-width: 650px;
}

.banner-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.banner-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 10px 18px;
    border-radius: 8px;
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    font-weight: 500;
}

.banner-tag .icon {
    font-size: 18px;
}

.banner-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    padding: 15px 36px;
    background: linear-gradient(135deg, #f5a623, #e8941a);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(245,166,35,0.35);
}

.btn-secondary {
    display: inline-block;
    padding: 15px 36px;
    background: transparent;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.3s;
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: #f5a623;
    color: #f5a623;
    background: rgba(245,166,35,0.08);
}

/* === 板块2：方案概述 === */
.overview {
    background: #fff;
}

.overview-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.overview-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a2a4a;
    margin-bottom: 24px;
}

.overview-content p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* === 板块3：技术实力 === */
.advantages {
    background: #f8f9fc;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.advantage-card {
    background: #fff;
    border-radius: 12px;
    padding: 36px 32px;
    transition: all 0.3s;
    border-left: 4px solid #f5a623;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.advantage-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.advantage-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a2a4a;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.advantage-card h3 .icon {
    font-size: 24px;
    color: #f5a623;
}

.advantage-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
}

/* === 板块4：核心功能 === */
.features {
    background: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-item {
    background: #f8f9fc;
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    border-color: #f5a623;
    background: #fff;
}

.feature-item .icon {
    font-size: 36px;
    margin-bottom: 12px;
    display: block;
}

.feature-item h3 {
    font-size: 15px;
    font-weight: 700;
    color: #1a2a4a;
    margin-bottom: 8px;
    line-height: 1.4;
}

.feature-item p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

/* === 板块5：方案优势 === */
.advantages-section {
    background: #f8f9fc;
}

.advantages-list {
    max-width: 1000px;
    margin: 0 auto;
}

.advantage-item {
    background: #fff;
    border-radius: 12px;
    padding: 28px 32px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: all 0.3s;
    border-left: 4px solid #f5a623;
}

.advantage-item:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.advantage-item h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a2a4a;
    margin-bottom: 12px;
}

.advantage-item p {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
}

/* === 板块6：适配产品 === */
.products {
    background: #f8f9fc;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid #eee;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    border-color: #f5a623;
}

.product-image {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a2a4a;
    margin: 16px 16px 8px;
}

.product-card p {
    font-size: 13px;
    color: #666;
    margin: 0 16px 16px;
    line-height: 1.6;
}

/* === 板块7：应用案例 === */
.cases {
    background: #f8f9fc;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.case-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: all 0.3s;
    position: relative;
}

.case-card::before {
    content: attr(data-num);
    position: absolute;
    top: -15px;
    left: 30px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f5a623, #e8941a);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(245,166,35,0.3);
}

.case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.case-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a2a4a;
    margin-bottom: 12px;
}

.case-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

/* === 板块8：相关解决方案 === */
.solutions {
    background: #fff;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.solution-card {
    background: linear-gradient(135deg, #1a2a4a, #2a3a5a);
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    color: #fff;
    transition: all 0.3s;
    cursor: pointer;
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(26,42,74,0.2);
    background: linear-gradient(135deg, #2a3a5a, #3a4a6a);
}

.solution-card .icon {
    font-size: 36px;
    margin-bottom: 12px;
    display: block;
}

.solution-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.solution-card p {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

/* === 板块9：行动召唤（底部转化） === */
.cta {
    background: #f8f9fc;
    padding: 80px 0;
    text-align: center;
}

.cta-wrap {
    max-width: 700px;
    margin: 0 auto;
}

.cta-wrap h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a2a4a;
    margin-bottom: 10px;
}

.cta .cta-sub {
    font-size: 16px;
    color: #888;
    margin-bottom: 40px;
}

.cta-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    text-align: left;
    margin-bottom: 30px;
}

.cta-form .full-width {
    grid-column: 1 / -1;
}

.cta-form label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    display: block;
}

.cta-form input,
.cta-form select,
.cta-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
    background: #fff;
}

.cta-form input:focus,
.cta-form select:focus,
.cta-form textarea:focus {
    outline: none;
    border-color: #f5a623;
    box-shadow: 0 0 0 3px rgba(245,166,35,0.1);
}

.cta-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.cta-form select option {
    background: #fff;
    color: #333;
}

.cta-form .checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cta-form .checkbox-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 400;
    font-size: 13px;
    cursor: pointer;
    color: #555;
}

.cta-form .checkbox-group input[type="checkbox"] {
    width: auto;
    accent-color: #f5a623;
}

.cta-form textarea {
    resize: vertical;
    min-height: 80px;
}

.cta-form .btn-primary {
    width: 100%;
    text-align: center;
    font-size: 17px;
    padding: 16px;
}

.cta-promise {
    margin-top: 20px;
    font-size: 13px;
    color: #999;
    line-height: 1.8;
}

.cta-channels {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-channels .channel-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.cta-channels .channel-item strong {
    color: #f5a623;
}

/* === 响应式 === */
@media (max-width: 1200px) {
    .features-grid,
    .products-grid,
    .solutions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .cases-grid {
        grid-template-columns: 1fr;
    }
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .features-grid,
    .products-grid,
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    .section-title {
        font-size: 28px;
    }
    .banner {
        height: auto;
        min-height: auto;
        padding: 120px 0 60px;
    }
    .banner h1 {
        font-size: 30px;
    }
    .banner p {
        font-size: 15px;
    }
    .banner-tags {
        flex-direction: column;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .products-grid,
    .solutions-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    .cta-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .banner-tags {
        gap: 8px;
    }
    .banner-tag {
        font-size: 12px;
        padding: 6px 12px;
    }
}