:root {
    --primary: #1a5cff;
    --primary-dark: #0f44c4;
    --dark: #101828;
    --muted: #5b6472;
    --background: #f5f7fb;
    --white: #ffffff;
    --border: #e7eaf0;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
    --topbar-bg: #0b2d63;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* 按钮 */
.btn {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
}
.btn-primary { background: #004A8F; color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-outline:hover { background: #fff; color: var(--primary); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: rgba(255,255,255,0.9); transform: translateY(-2px); }
.btn-sm { padding: 8px 18px; font-size: 14px; border-radius: 20px; }

/* 顶部功能条 */
.topbar {
    background: var(--topbar-bg);
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    height: 38px;
    display: flex;
    align-items: center;
}
.topbar-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.topbar-links { display: flex; align-items: center; gap: 22px; }
.topbar-links a { color: rgba(255,255,255,0.85); transition: color 0.2s; }
.topbar-links a:hover { color: #fff; }

/* 导航 */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 18px; }
.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    background: #004A8F;
    color: #fff;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 800;
}
.brand-text { color: #004A8F; letter-spacing: 1px;}
.brand-light .brand-text { color: #fff; }
.brand-group {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    margin-top: -2px;
}
.brand-sub {
    font-size: 9px;
    font-weight: 400;
    color: var(--muted);
    letter-spacing: 1.3px;
}
.brand-light .brand-sub {
    color: rgba(255,255,255,0.7);
}

.menu { display: flex; gap: 30px; font-size: 15px; align-self: stretch; }
.menu a { color: var(--dark); font-weight: 500; transition: color 0.2s; }
.menu a:hover, .menu a.active { color: var(--primary); }

/* 下拉导航 */
.nav-item { display: flex; align-items: stretch; }
.nav-link { display: flex; align-items: center; gap: 6px; }
.nav-link .caret { display: inline-block; width: 9px; height: 9px; border-right: 2px solid #98a2b3; border-bottom: 2px solid #98a2b3; transform: rotate(45deg); margin-left: 4px; vertical-align: middle; font-size: 0; line-height: 0; transition: transform 0.2s ease, border-color 0.2s ease; }
.nav-item:hover .nav-link { color: #4077AB; }
.nav-item:hover .caret { border-color: #4077AB; transform: rotate(225deg); }
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #F7F8FA;
    border-top: 1px solid var(--border);
    box-shadow: 0 24px 50px rgba(16,24,40,0.12);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease;
    z-index: 60;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; }
.dropdown-inner { max-width: 1180px; margin: 0 auto; padding: 36px 24px 40px; }
.dropdown-grid { display: grid; gap: 300px; }
.dropdown-grid.cols-3 { grid-template-columns: repeat(3, max-content); }
.dropdown-grid.cols-2 { grid-template-columns: repeat(2, max-content); }
.dropdown-col h4 { color: #5b6472; font-size: 14px; font-weight: 700; margin-bottom: 18px; }
.dropdown-col h4 + h4 { margin-top: 30px; }
.dropdown-col a { display: block; margin-bottom: 6px; font-size: 15px; color: #4077AB; font-weight: 500; }
.dropdown-col a { display: block; margin-bottom: 6px; font-size: 15px; color: #4077AB; font-weight: 500; }
.dropdown-col a:hover { color: #4077AB; text-decoration: none; }
.dropdown-col p { font-size: 15px; color: #5b6472; margin: 0 0 16px; max-width: 280px; line-height: 1.6; }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.search-box {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 6px 14px;
    height: 38px;
    min-width: 170px;
}
.search-icon { color: #5b6472; font-size: 16px; line-height: 1; }
.search-box input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    color: var(--dark);
    width: 100%;
}
.search-box input::placeholder { color: #98a2b3; }

/* 主视觉 */
.hero {
    position: relative;
    background: url("../img/hero.jpg") center / cover no-repeat;
    color: #fff;
    padding: 140px 0 150px;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8,20,44,0.78) 0%, rgba(8,20,44,0.55) 55%, rgba(8,20,44,0.25) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 720px; }
.hero-badge {
    display: inline-block;
    background: #004A8F;
    color: #fff;
    padding: 4px 8.5px;
    border-radius: 0;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 24px;
}
.hero-title { font-size: 52px; line-height: 1.25; font-weight: 800; margin-bottom: 24px; }
.hero-sub { font-size: 18px; color: rgba(255,255,255,0.9); margin-bottom: 36px; max-width: 560px; }
.hero-actions { display: flex; gap: 16px; }
.hero-pager {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 26px;
    display: flex;
    justify-content: center;
    gap: 10px;
}
.hero-dot {
    width: 9px; height: 9px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
}
.hero-dot-active { background: #fff; }

/* 通用 Section */
.section { padding: 96px 0;
background: #F7F8FA; }
.section-alt { background: var(--background); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-eyebrow {
    display: inline-block;
    color:  #004A8F;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 0px;
}
.section-title { font-size: 36px; font-weight: 800; margin-bottom: 14px; }
.section-desc { color: var(--muted); font-size: 16px; }

/* 产品头部 */
.products-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
    text-align: left;
}
.products-head .section-title { margin-top: 0; margin-bottom: 0; font-size: 32px; }
.products-all {
    color: #004A8F;
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
    padding-bottom: 8px;
}
.products-all:hover { text-decoration: underline; }

/* 产品卡片 */
.product-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.product-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.25s, box-shadow 0.25s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(16,24,40,0.12); }
.product-media {
    position: relative;
    aspect-ratio: 4 / 2.4;
    overflow: hidden;
    background: var(--background);
}
.product-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-overlay {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 20px;
    background: linear-gradient(180deg, rgba(8,14,26,0) 0%, rgba(8,14,26,0.78) 100%);
    color: #fff;
}
.product-card-title { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.product-tags { font-size: 14px; color: rgba(255,255,255,0.92); }
.product-card-foot { padding: 20px 22px; text-align: left; }
.product-link { color: #004A8F; font-weight: 600; font-size: 15px; }
.product-link:hover { text-decoration: underline; }/* 解决方案 split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-content .section-title { margin-bottom: 16px; }
.check-list { list-style: none; margin: 24px 0 32px; }
.check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    color: var(--dark);
    font-size: 16px;
}
.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}
.split-visual { display: flex; justify-content: center; }
.visual-panel {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 36px;
}
.visual-label { display: block; color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.visual-panel strong { display: block; margin: 14px 0 6px; font-size: 15px; }
.visual-bar { height: 10px; background: var(--border); border-radius: 10px; overflow: hidden; }
.visual-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), #5b8bff); border-radius: 10px; }

/* 优势 */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 30px;
    text-align: center;
    box-shadow: var(--shadow);
}
.feature-icon {
    font-size: 34px;
    color: var(--primary);
    margin-bottom: 18px;
}
.feature h3 { font-size: 20px; margin-bottom: 12px; }
.feature p { color: var(--muted); font-size: 15px; }

/* CTA */
.cta {
    background: linear-gradient(135deg, #0f44c4, #1a5cff);
    color: #fff;
    padding: 64px 0;
}
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.cta h2 { font-size: 30px; font-weight: 800; margin-bottom: 8px; }
.cta p { color: rgba(255,255,255,0.9); }

/* 页脚 */
.footer { background: #0D1B2A; color: #c3c9d4; padding: 40px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 42px; }
.footer-brand-title { color: #fff; font-size: 19px; font-weight: 700; }
.footer-brand-sub { display: block; color: #8a93a3; font-size: 12px; margin-top: 4px; margin-bottom: 18px; }
.footer-brand p { margin-top: 14px; font-size: 14px; max-width: 210px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer-col a { display: block; margin-bottom: 4.5px; font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-col p { font-size: 14px; margin-bottom: 10px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #8a93a3;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a:hover { color: #fff; }

/* 响应式 */
@media (max-width: 900px) {
    .product-cards { grid-template-columns: repeat(2, 1fr); }
    .feature-grid { grid-template-columns: 1fr; }
    .split { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .cta-inner { flex-direction: column; text-align: center; }
    .menu { display: none; }
    .hero-title { font-size: 38px; }
    .topbar-links { gap: 14px; }
}
@media (max-width: 680px) {
    .topbar { font-size: 12px; }
    .topbar-links:first-child a:nth-child(n+4) { display: none; }
    .nav-actions .search-box { min-width: 0; }
}
@media (max-width: 560px) {
    .product-cards { grid-template-columns: 1fr; }
    .nav-actions .btn-sm { display: none; }
    .topbar-links:last-child a:nth-child(n+2) { display: none; }
}
/* 111 - AI 技术平台 */
.ai-band { background: linear-gradient(135deg, rgba(10, 38, 72, 0.88), rgba(11,45,99,0.92)), url("../img/ai-band.avif") center / cover no-repeat; color: #fff; padding: 60px 0; }
.ai-badge { display: inline-block; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.35); color: #fff; padding: 6px 16px; border-radius: 6px; font-size: 13px; font-weight: 700; letter-spacing: 1px; margin-bottom: 22px; }
.ai-title { font-size: 42px; font-weight: 800; margin-bottom: 20px; max-width: 760px; }
.ai-text { font-size: 15px; color: rgba(255,255,255,0.88); max-width: 630px; margin-bottom: 14px; }
.ai-btns { display: flex; gap: 16px; margin-top: 28px; }
.ai-btns .btn-light {
    background: #fff;
    color: #123a6b;
    border-color: #fff;
}
.ai-btns .btn-light:hover {
    background: rgba(255,255,255,0.9);
    color: #0b2d63;
    transform: translateY(-2px);
}

/* 111 - 数据 */
.stats2 { background: #fff; padding: 60px 0; }
.stats2-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat2 { border-left: 4px solid #0f44c4; padding-left: 20px; }
.stat2 strong { display: block; font-size: 40px; font-weight: 800; color: #004A8F; line-height: 1.2; }
.stat2 span { display: block; margin-top: 6px; color: var(--muted); font-size: 15px; }

/* 111 - 果蔬品类 */
.fruit { background: var(--background); padding: 80px 0; }
.fruit-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.fruit-title { font-size: 34px; font-weight: 800; margin-bottom: 18px; }
.fruit-desc { color: var(--muted); font-size: 16px; margin-bottom: 26px; }
.fruit-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.fruit-tags span { background: #E8F0FB; border: 1px solid var(--border); border-radius: 20px; padding: 4px 14px; font-size: 13px; color: #004A8F; font-weight: 600;}
.fruit-link { color: #004A8F; font-weight: 600; }
.fruit-link:hover { text-decoration: underline; }
.fruit-visual img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }

/* 222 - 服务与支持 */
.services { background: #fff; padding: 52px 0; }
.svc-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.svc-title { font-size: 36px; font-weight: 800; margin-bottom: 14px; }
.svc-desc { color: var(--muted); font-size: 16px; }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.svc-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 26px; box-shadow: var(--shadow); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;}
.svc-card:hover { 
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 74, 143, 0.15);
    border-color: #004A8F;
}
.svc-icon { font-size: 30px; margin-bottom: 16px; }
.svc-card h3 { font-size: 19px; margin-bottom: 12px; }
.svc-card p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.svc-card .card-link {
    color: #004A8F;
    font-weight: 600;
}
.svc-card .card-link:hover {
    text-decoration: underline;
}

/* 222 - 最新动态 */
.news { background: var(--background); padding: 96px 0; }
.news-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.news-title { font-size: 36px; font-weight: 800; }
.news-all { color: #004A8F; font-weight: 600; white-space: nowrap; padding-bottom: 8px; }
.news-all:hover { text-decoration: underline; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); padding-bottom: 24px; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;}
.news-card:hover { 
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 74, 143, 0.15);
    border-color: #004A8F;
}
.news-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.news-meta { display: flex; gap: 12px; align-items: center; margin: 18px 22px 10px; }
.news-tag { background: #eef3ff; color: #004A8F; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 6px; }
.news-date { color: var(--muted); font-size: 13px; }
.news-card h3 { font-size: 16px; line-height: 1.5; margin: 0 22px 14px; }
.news-card .card-link { display: inline-block; margin: 0 22px; color: #004A8F; 
    font-weight: 600;}

/* 联系我们 */
.contact { background:  #004A8F; color: #fff; padding: 62px 0; }
.contact-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.contact-title { font-size: 35px; font-weight: 800; margin-bottom: 0; }
.contact-desc { color: rgba(255,255,255,0.9); max-width: 620px; }
.contact-actions { display: flex; gap: 16px; margin-top: 10px; }
.contact-actions .btn { padding: 12px 28px; font-size: 15px; border-radius: 4px;}
.contact-actions .btn-light {
    background: #fff;
    color: #004A8F;
    border-color: #fff;
}
.contact-actions .btn-light:hover {
    background: rgba(255,255,255,0.9);
    color: #004A8F;
}

/* 新增响应式 */
@media (max-width: 900px) {
    .stats2-grid { grid-template-columns: repeat(2, 1fr); }
    .svc-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
    .fruit-inner { grid-template-columns: 1fr; gap: 40px; }
    .contact-inner { flex-direction: column; text-align: center; }
    .ai-title { font-size: 34px; }
}
@media (max-width: 560px) {
    .stats2-grid, .svc-grid, .news-grid { grid-template-columns: 1fr; }
}
/* 主视觉轮播 */
.hero { padding: 0; min-height: 560px; }
.hero-slides { position: absolute; inset: 0; z-index: 1; }
.hero-slide {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: flex-start;
    padding: 140px 0 150px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0; visibility: hidden;
    transition: opacity 0.7s ease;
    pointer-events: none;
    z-index: 1;
}
.hero-slide::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(8,20,44,0.95) 0%, rgba(8,20,44,0.80) 55%, rgba(8,20,44,0.60) 100%);
    pointer-events: none;
}
.hero-slide .container { position: relative; z-index: 2; }
.hero-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.hero-title { font-size: 48px; }

/* 样式贴合 333 示例：直角圆角按钮 */
.btn { border-radius: 8px; }
.btn-sm { border-radius: 8px; }

@media (max-width: 900px) { .hero-title { font-size: 38px; } }

/* 让切换白条清晰可见且不被轮播图遮挡 */
.hero-pager {
    position: absolute;
    left: 0; right: 0;
    bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    z-index: 20;
    pointer-events: auto;
}
.hero-dot {
    display: inline-block;
    width: 10px; height: 10px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.4);
    cursor: pointer;
    transition: width 0.3s ease, border-radius 0.3s ease, background 0.3s ease;
}
.hero-dot-active { background: #fff; width: 34px; border-radius: 6px; }

/* 主视觉文字左移，与下方内容左对齐 */
.hero .container { width: 100%; max-width: 1180px; margin: 0 auto; }