/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
    line-height: 1.8;
    color: #444;
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 配色方案 - CSS 变量 */
:root {
    --color-primary: #0066cc;
    --color-primary-light: #00aaff;
    --color-accent: #f59e0b;
    --color-text: #444;
    --color-text-light: #888;
    --color-bg-alt: #f8f9fa;
    --color-bg-dark: #1a1a1a;
    --color-shadow: rgba(0, 0, 0, 0.08);
    --color-shadow-hover: rgba(0, 0, 0, 0.12);
    --card-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --card-shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.section {
    padding: 80px 0;
}

/* Hero 后间距 100px */
#home + .section {
    padding-top: 100px;
}

.section-alt {
    background-color: var(--color-bg-alt);
}

.section-dark {
    background-color: var(--color-bg-dark);
    color: #fff;
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    line-height: 1.25;
}

h1, h2 {
    line-height: 1.25;
}

h3, h4 {
    line-height: 1.35;
}

h1 { font-weight: 800; }
h2 { font-weight: 700; }
h3 { font-weight: 600; }
h4 { font-weight: 600; }

.section-title.light {
    color: #fff;
}

.section-desc {
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--card-shadow);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.5rem;
    color: #1a1a1a;
}

.logo-img {
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.4rem;
    background: linear-gradient(90deg, #0066cc, #00aaff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: #555;
    font-weight: 400;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-link:hover {
    color: #0066cc;
    background-color: rgba(0, 102, 204, 0.08);
}

.nav-link.active {
    background: linear-gradient(90deg, #0066cc, #00aaff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-color: transparent;
    font-weight: 600;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    border-radius: 2px;
    transition: 0.3s;
}

/* Hero 区 */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a1f44 0%, #1a3a7a 100%);
    color: #fff;
    text-align: center;
    overflow: hidden;
    margin-top: 60px;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('../assets/logo.png') center/contain no-repeat;
    opacity: 0.03;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-content > *:nth-child(1) { animation: fadeInUp 0.6s ease-out 0ms both; }
.hero-content > *:nth-child(2) { animation: fadeInUp 0.6s ease-out 150ms both; }
.hero-content > *:nth-child(3) { animation: fadeInUp 0.6s ease-out 300ms both; }
.hero-content > *:nth-child(4) { animation: fadeInUp 0.6s ease-out 450ms both; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.25;
}

.hero-subtitle {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #00aaff;
}

.stat-number + .stat-label {
    font-size: 1.8rem;
    font-weight: 400;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(90deg, #f59e0b, #f59e0b);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
    background: linear-gradient(90deg, #d97706, #f59e0b);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

/* 关于我们 */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
}

.about-lead {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.about-cert {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.cert-badge {
    background-color: #e6f2ff;
    color: #0066cc;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 400;
}

.team-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.team-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #0066cc;
}

.team-table {
    width: 100%;
    border-collapse: collapse;
}

.team-table tr {
    border-bottom: 1px solid #eee;
}

.team-table td {
    padding: 0.8rem 0;
}

.team-table td:last-child {
    text-align: right;
    font-weight: 600;
    color: #0066cc;
}

/* 主营业务 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-shadow-hover);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    color: #0066cc;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

/* 合作客户 */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.client-item {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 1.8rem;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1.8rem;
    min-height: 120px;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.client-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
    border-color: #e0e0e0;
}

.client-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #0066cc, #00aaff);
    opacity: 0;
    transition: opacity 0.3s;
}

.client-item:hover::before {
    opacity: 1;
}

.client-logo-wrap {
    flex-shrink: 0;
    width: 100px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 0.5rem;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-item:hover .client-logo-wrap {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* 统一logo容器背景，但为不同logo类型提供优化 */
.client-logo-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: filter 0.3s;
}

.client-item:hover .client-logo-wrap img {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

/* 无锡普盈 - 文字logo */
.client-item.wuxipuy .client-logo-wrap {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: white;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border: none;
    width: 100px;
    height: 50px;
    padding: 0.5rem;
}

/* 为透明logo添加轻微内阴影增强对比 */
.client-item.pudu .client-logo-wrap img,
.client-item.zhiyuan .client-logo-wrap img,
.client-item.keenon .client-logo-wrap img,
.client-item.ninebot .client-logo-wrap img,
.client-item.utchef .client-logo-wrap img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* 云迹科技：浅蓝logo加深增饱和，提升对比度 */
.client-item.yunji .client-logo-wrap img {
    filter: brightness(0.65) saturate(1.3);
}

/* 猎户星空：黑底白字logo，添加深色背景容器使其在浅底上清晰可见 */
.client-item.orionstar .client-logo-wrap {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-color: transparent;
}
.client-item.orionstar .client-logo-wrap img {
    filter: none;
}

/* 优特智厨：黑底红白logo，添加深色背景容器 */
.client-item.utchef .client-logo-wrap {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-color: transparent;
}
.client-item.utchef .client-logo-wrap img {
    filter: none;
}

/* 美团收银：白底logo，添加深色背景容器使其清晰可见 */
.client-item.meituan .client-logo-wrap {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    border-color: transparent;
}
.client-item.meituan .client-logo-wrap img {
    filter: none;
}

/* 立达科技文字logo */
.client-item-text .client-logo-wrap {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border: none;
    width: 100px;
    height: 50px;
    padding: 0.5rem;
}

.client-info {
    flex: 1;
    text-align: left;
}

.client-name {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.4rem;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    letter-spacing: 0.5px;
}

.client-desc {
    display: block;
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.5;
    font-weight: 400;
}

/* 服务优势 */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.advantage-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

/* 核心优势卡片 - 品牌标记 */
.advantage-card:nth-child(1),
.advantage-card:nth-child(2) {
    border-left: 4px solid transparent;
}

.advantage-card:nth-child(1)::before,
.advantage-card:nth-child(2)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #0066cc, #00aaff);
}

.advantage-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #0066cc;
}

/* 服务流程 */
.process-subtitle {
    font-size: 1.8rem;
    margin: 3rem 0 2rem;
    color: #1a1a1a;
    text-align: center;
}

.second-process {
    margin-top: 4rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.step {
    background-color: #fff;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

/* 品牌标记 - 流程步骤卡片 */
.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #0066cc, #00aaff);
}

.step-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0066cc, #00aaff);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.step h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.step ul {
    list-style: none;
    text-align: left;
}

.step li {
    padding: 0.3rem 0;
    color: #555;
}

.process-flow {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
}

.flow-step {
    background-color: #0066cc;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flow-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
}

.flow-arrow {
    font-size: 1.5rem;
    color: #0066cc;
    font-weight: 700;
}

.process-desc {
    text-align: center;
    color: var(--color-text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* 联系我们 */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-addr {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.contact-tel {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00aaff;
    margin-bottom: 1.5rem;
}

.contact-hint {
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.8;
}

.contact-cta {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

/* 品牌标记 - 联系CTA卡片 */
.contact-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #0066cc, #00aaff);
}

.contact-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-cta p {
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.8;
}

/* 页脚 */
.footer {
    background-color: #0a1f44;
    color: #aaa;
    text-align: center;
    padding: 2rem 0;
    font-size: 0.9rem;
}

/* 响应式 */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hero-stats {
        gap: 2rem;
    }
    .stat-number {
        font-size: 2.5rem;
    }
    .stat-number + .stat-label {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background-color: #fff;
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        transition: left 0.3s;
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-toggle {
        display: flex;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .process-flow {
        flex-direction: column;
    }
    .flow-arrow {
        transform: rotate(90deg);
    }
    .clients-grid {
        grid-template-columns: 1fr;
    }
    .client-item {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        min-height: auto;
        padding: 1.5rem;
    }
    .client-item::before {
        width: 100%;
        height: 4px;
        top: 0;
        left: 0;
        background: linear-gradient(to right, #0066cc, #00aaff);
    }
    .client-logo-wrap {
        width: 120px;
        height: 60px;
    }
    .client-info {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.6rem;
    }
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    .stat-number {
        font-size: 2rem;
    }
    .stat-number + .stat-label {
        font-size: 1.2rem;
    }
    .btn-primary {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}
