/* 首页背景 */
body { background: #eef1f5; }

/* ========== Hero 区域 ========== */
.hero {
    position: relative;
    background: #1a1a1a url('/static/images/banner.jpg') center center / cover no-repeat;
    min-height: 420px;
    overflow: hidden;
}
.hero-bg {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.1) 40%, transparent 70%);
    pointer-events: none;
}
.hero-wrap {
    position: relative; z-index: 2;
    max-width: 1300px; margin: 0 auto;
    padding: 60px 30px 50px;
}
.hero-left { max-width: 900px; }
.hero-title { font-size: 36px; font-weight: 800; color: #fff; margin-bottom: 12px; line-height: 1.3; letter-spacing: 1px; }
.hero-sub-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}
.hero-sub { font-size: 17px; color: rgba(255,255,255,0.55); line-height: 1.6; margin: 0; }

.hero-form { margin-bottom: 20px; }
.hero-search {
    display: flex; background: #fff; border-radius: 6px; overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3); max-width: 560px;
}
.hero-search input {
    flex: 1; border: none; outline: none; padding: 16px 20px; font-size: 17px; color: #333; background: transparent;
}
.hero-search input::placeholder { color: #bbb; }
.hero-search button {
    padding: 16px 32px; background: linear-gradient(135deg, #f97316, #ea580c); color: #fff;
    border: none; font-size: 17px; font-weight: 700; cursor: pointer; white-space: nowrap;
    transition: background 0.2s; display: flex; align-items: center; gap: 6px;
}
.hero-search button:hover { background: linear-gradient(135deg, #ea580c, #d4500a); }
.btn-icon { font-size: 18px; }

/* 气泡提示 */
.hero-bubble {
    position: relative;
    background: rgba(249,115,22,0.92);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(234,88,12,0.35);
    animation: bubblePulse 2.5s ease-in-out infinite;
}
.hero-bubble::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 16px;
    width: 0; height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid rgba(249,115,22,0.92);
}
@keyframes bubblePulse {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(-3px); opacity: 0.85; }
}

.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.htag { padding: 6px 16px; border-radius: 4px; font-size: 14px; font-weight: 600; cursor: default; }
.htag-red    { background: #dc2626; color: #fff; }
.htag-orange { background: #ea580c; color: #fff; }
.htag-green  { background: #16a34a; color: #fff; }
.htag-yellow { background: #d97706; color: #fff; }
.htag-grey   { background: #6b7280; color: #fff; }
.htag-dark   { background: #374151; color: #fff; }

/* ========== 内容区 ========== */
.content-area {
    max-width: 1300px;
    margin: 0 auto;
    padding: 28px 30px 0;
}
.content-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
}
.content-left,
.content-right { display: flex; }
.content-left .card,
.content-right .card { flex: 1; }

/* 通用卡片 */
.card {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.card-title {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 6px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f97316;
    display: inline-block;
}
.card-desc {
    font-size: 14px;
    color: #999;
    margin-bottom: 16px;
}

/* 平台网格 */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}
.platform-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.pi-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 15px; font-weight: 700;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.pi-name {
    font-size: 13px;
    color: #666;
    text-align: center;
    line-height: 1.3;
}

/* 标记类型网格 */
.mark-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.mark-item {
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    background: #fff7ed;
    color: #b45309;
    border: 1px solid #fed7aa;
}

/* ========== 右侧服务说明 ========== */
.svc-item {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #f5f5f5;
}
.svc-item:last-of-type { border-bottom: none; }
.svc-icon {
    flex-shrink: 0;
    width: 36px; height: 36px;
    background: #fff7ed;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
}
.svc-body { flex: 1; min-width: 0; }
.svc-name { font-size: 16px; font-weight: 700; color: #333; margin-bottom: 4px; }
.svc-body p { font-size: 15px; color: #666; line-height: 1.7; margin: 0; }
.svc-body p strong { color: #ea580c; }
.svc-body p em { font-style: normal; color: #2563eb; font-weight: 500; }

.svc-disclaimer {
    margin-top: 16px;
    padding: 14px;
    background: #fefce8;
    border: 1px solid #fde68a;
    border-radius: 6px;
}
.svc-disc-title {
    font-size: 15px;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 8px;
}
.svc-disclaimer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.svc-disclaimer li {
    position: relative;
    padding: 2px 0 2px 12px;
    font-size: 14px;
    color: #78716c;
    line-height: 1.7;
}
.svc-disclaimer li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #d97706;
}

/* ========== 服务须知独立行 ========== */
.disclaimer-row {
    margin-top: 20px;
}

/* ========== 平板端 ========== */
@media (max-width: 1024px) {
    .hero-sub-row { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 24px; }
    .hero-bubble { font-size: 14px; padding: 8px 16px; }
    .hero-bubble::after { left: 50%; transform: translateX(-50%); }
    .platform-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ========== 手机端 ========== */
@media (max-width: 768px) {
    /* Banner */
    .hero { min-height: auto; }
    .hero-wrap { padding: 30px 16px 28px; }
    .hero-left { max-width: 100%; }
    .hero-title { font-size: 22px; margin-bottom: 8px; }
    .hero-sub { font-size: 13px; }
    .hero-sub-row { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 18px; }
    .hero-bubble {
        font-size: 12px; padding: 6px 12px; border-radius: 6px;
        white-space: normal; line-height: 1.5;
    }
    .hero-bubble::after { left: 20px; }
    .hero-search { max-width: 100%; }
    .hero-search input { padding: 12px 14px; font-size: 15px; }
    .hero-search button { padding: 12px 18px; font-size: 15px; }
    .hero-tags { justify-content: flex-start; gap: 8px; margin-bottom: 10px; }
    .htag { padding: 5px 12px; font-size: 12px; }

    /* 内容区 */
    .content-area { padding: 16px 16px 0; }
    .content-row { grid-template-columns: 1fr; gap: 16px; }
    .content-left, .content-right { display: block; }
    .card { padding: 18px 16px; }
    .card-title { font-size: 16px; }
    .card-desc { font-size: 13px; margin-bottom: 12px; }

    /* 平台网格 */
    .platform-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
    .pi-icon { width: 36px; height: 36px; font-size: 13px; }
    .pi-name { font-size: 11px; }

    /* 标记类型 */
    .mark-grid { gap: 6px; }
    .mark-item { padding: 4px 10px; font-size: 12px; }

    /* 服务说明 */
    .svc-item { padding: 12px 0; gap: 10px; }
    .svc-icon { width: 32px; height: 32px; font-size: 16px; }
    .svc-name { font-size: 15px; }
    .svc-body p { font-size: 13px; }

    /* 服务须知 */
    .disclaimer-row { margin-top: 16px; }
    .svc-disclaimer { padding: 12px; }
    .svc-disc-title { font-size: 14px; }
    .svc-disclaimer li { font-size: 12px; line-height: 1.6; }
}

/* ========== 小屏手机 ========== */
@media (max-width: 480px) {
    .hero-title { font-size: 20px; }
    .platform-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-search button { padding: 12px 14px; }
    .btn-icon { display: none; }
}
