/* ===== 首页 Banner 轮播 ===== */
.hero-slider { position: relative; height: calc(80vh - var(--nav-h)); min-height: 420px; max-height: 620px; overflow: hidden; background: #0f172a; }
.hero-slides { height: 100%; }
.hero-slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; transition: opacity .6s; background: linear-gradient(135deg, #0f172a 0%, #1a3a6e 60%, #0f172a 100%); }
.hero-slide.active { opacity: 1; }
.hero-slide:nth-child(2) { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); }
.hero-content { max-width: 1200px; margin: 0 auto; padding: 0 24px; color: #fff; }
.hero-tag { display: inline-block; background: rgba(26,110,245,.3); border: 1px solid rgba(26,110,245,.5); color: #93c5fd; padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; margin-bottom: 20px; letter-spacing: .5px; }
.hero-content h1 { font-size: 52px; font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.hero-content p { font-size: 20px; opacity: .8; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.slider-dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; transition: all .2s; }
.dot.active { background: #fff; width: 24px; border-radius: 4px; }

/* ===== AI入口 ===== */
.ai-entry { background: linear-gradient(90deg, #f0f5ff 0%, #e8f0fe 100%); }
.ai-entry .container { max-width: 1320px; padding: 0 16px; }
.ai-entry-card { display: flex; align-items: center; gap: 36px; background: #fff; border-radius: 16px; padding: 38px 48px; box-shadow: 0 4px 32px rgba(26,110,245,.1); border: 1px solid #dbeafe; flex-wrap: wrap; width: 100%; }
.ai-entry-left { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.ai-badge { width: 48px; height: 48px; background: linear-gradient(135deg, #1a6ef5, #7c3aed); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 16px; flex-shrink: 0; }
.ai-entry-left h2 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.ai-entry-left p { font-size: 14px; color: var(--text-muted); }
.ai-entry-input { flex: 1; display: flex; gap: 12px; min-width: 280px; }
.ai-entry-input input { flex: 1; padding: 12px 18px; border: 1.5px solid var(--border); border-radius: 10px; font-size: 15px; outline: none; transition: border-color .2s; }
.ai-entry-input input:focus { border-color: var(--primary); }

/* ===== 核心服务 ===== */
.service-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 36px 24px; background: #fff; border-radius: var(--radius); border: 1px solid var(--border); transition: all .25s; cursor: pointer; }
.service-card:hover { border-color: var(--primary); box-shadow: 0 8px 32px rgba(26,110,245,.12); transform: translateY(-4px); }
.service-icon { font-size: 40px; margin-bottom: 16px; }
.service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ===== 案例/文章卡片 ===== */
.skeleton { min-height: 280px; background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; }
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }
.case-card-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--bg-soft); }
.case-meta { display: flex; gap: 12px; font-size: 12px; color: var(--text-muted); margin-top: 8px; }
.article-cover { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--bg-soft); }
.article-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }

/* ===== 合作伙伴 ===== */
.partners-logos { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: center; }
.partner-placeholder { width: 140px; height: 64px; background: #fff; border: 1px solid var(--border); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 600; color: var(--text-muted); transition: all .2s; }
.partner-placeholder:hover { border-color: var(--primary); box-shadow: 0 2px 8px rgba(26,110,245,.1); }
.partner-logo { width: 140px; height: 64px; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 12px; display: flex; align-items: center; justify-content: center; transition: all .2s; }
.partner-logo:hover { border-color: var(--primary); box-shadow: 0 2px 8px rgba(26,110,245,.1); }
.partner-logo img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1); transition: filter .2s; }
.partner-logo:hover img { filter: grayscale(0); }
a.partner-logo, a.partner-placeholder { text-decoration: none; color: inherit; cursor: pointer; }
a.partner-logo:hover, a.partner-placeholder:hover { transform: translateY(-2px); }

/* ===== 联系区域 ===== */
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.contact-info-block h2 { font-size: 36px; font-weight: 700; margin-bottom: 16px; }
.contact-info-block > p { font-size: 16px; color: var(--text-muted); margin-bottom: 32px; line-height: 1.7; }
.contact-items { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.contact-item span:first-child { font-size: 22px; }
.index-contact-qr { width: 100px; height: 100px; border-radius: 12px; background: #fff; padding: 4px; border: 1px solid rgba(29,78,216,.15); }

@media (max-width: 900px) {
    .hero-content h1 { font-size: 36px; }
    .contact-layout { grid-template-columns: 1fr; }
    .ai-entry-card { flex-direction: column; align-items: stretch; padding: 28px 24px; }
    .ai-entry-input { min-width: 0; }
}
@media (max-width: 640px) {
    .hero-content h1 { font-size: 26px; }
    .hero-content p { font-size: 16px; }
    .hero-btns { flex-direction: column; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .ai-entry-input { min-width: 0; }
}
