/* ========== Home Page – 天眼查风格 (无圆角/无阴影) ========== */

/* --- Hero 搜索区 --- */
.home-hero {
    background: var(--color-primary);
    padding: 48px 20px 40px;
}
.hero-inner {
    max-width: var(--page-max-width);
    margin: 0 auto;
    text-align: center;
}
.home-hero h1 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}
.hero-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 28px;
}
.hero-search {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.hero-search-input {
    flex: 1;
    height: 44px;
    padding: 0 16px;
    border: none;
    font-size: 15px;
    color: #333;
    background: #fff;
    outline: none;
}
.hero-search-input::placeholder {
    color: #999;
}
.hero-search-btn {
    height: 44px;
    padding: 0 36px;
    background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-800) 100%);
    color: #fff;
    border: none;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity .15s;
    white-space: nowrap;
    letter-spacing: 1px;
}
.hero-search-btn .iconfont {
    margin-right: 4px;
    font-size: 14px;
}
.hero-search-btn:hover {
    opacity: 0.88;
}
.hero-hot {
    margin-top: 14px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}
.hero-hot a {
    color: rgba(255, 255, 255, 0.75);
    margin: 0 8px;
}
.hero-hot a:hover {
    color: #fff;
}

/* --- Stats Bar --- */
.stats-bar {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
}
.stats-bar-inner {
    max-width: var(--page-max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    gap: 48px;
}
.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 0;
}
.stat-item strong {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-primary);
}
.stat-item span {
    font-size: 13px;
    color: #999;
}

/* --- Body --- */
.home-body {
    max-width: var(--page-max-width);
    margin: 0 auto;
    padding: 0 20px 40px;
}

/* --- Section --- */
.home-section {
    margin-top: 24px;
}
.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}
.section-header h2 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #333;
}
.section-header p {
    font-size: 13px;
    color: #999;
    margin: 2px 0 0;
}
.section-more {
    font-size: 13px;
    color: var(--color-primary);
    white-space: nowrap;
}

/* --- Steps --- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}
.step-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 20px 16px;
    text-align: center;
    margin-right: -1px;
}
.step-card:first-child { border-right: none; }
.step-card:last-child { margin-right: 0; }
.step-num {
    width: 32px;
    height: 32px;
    margin: 0 auto 10px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}
.step-card h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #333;
}
.step-card p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* --- Featured Grid --- */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}
.featured-card {
    display: block;
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 16px;
    color: inherit;
    transition: background .12s;
    margin-right: -1px;
    margin-bottom: -1px;
}
.featured-card:hover {
    background: #fafafa;
    color: inherit;
}
.featured-card-head {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 10px;
}
.featured-logo {
    width: 40px;
    height: 40px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}
.featured-info {
    flex: 1;
    min-width: 0;
}
.featured-info h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 3px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.featured-tags {
    display: flex;
    gap: 4px;
}
.tag-industry {
    display: inline-block;
    padding: 0 4px;
    background: #f5f5f5;
    color: #666;
    font-size: 12px;
    border: 1px solid #e8e8e8;
}
.tag-claim {
    display: inline-block;
    padding: 0 4px;
    background: #e8f3ff;
    color: var(--color-primary);
    font-size: 12px;
    border: 1px solid #d0e8ff;
}
.featured-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.featured-meta {
    display: flex;
    gap: 10px;
}
.featured-meta span {
    font-size: 12px;
    color: #999;
}

/* --- Quick Entry --- */
.quick-entry-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: -1px;
}
.quick-entry {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 14px 16px;
    color: inherit;
    transition: background .12s;
}
.quick-entry:first-child { border-right: none; }
.quick-entry:hover {
    background: #fafafa;
    color: inherit;
}
.quick-entry .iconfont {
    font-size: 24px;
    color: var(--color-primary);
}
.quick-entry strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 1px;
    color: #333;
}
.quick-entry span {
    font-size: 12px;
    color: #999;
}

/* --- Enterprise Table (Latest) --- */
.enterprise-table-wrap {
    background: #fff;
    border: 1px solid #e8e8e8;
    overflow: hidden;
}
.enterprise-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 14px;
}
.enterprise-table th,
.enterprise-table td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.enterprise-table th {
    text-align: left;
    padding: 14px 14px;
    background: #fafafa;
    color: #666;
    font-weight: 500;
    font-size: 13px;
    border-bottom: 1px solid #e8e8e8;
}
.enterprise-table td {
    padding: 14px 14px;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
}
.enterprise-table tbody tr:last-child td {
    border-bottom: none;
}
.enterprise-table tbody tr:hover {
    background: #fafafa;
}
.enterprise-table td a {
    color: var(--color-primary);
    font-weight: 500;
}
.enterprise-table td a:hover {
    text-decoration: underline;
}
.claim-badge {
    display: inline-block;
    padding: 0 6px;
    font-size: 12px;
    line-height: 20px;
    border-radius: 2px;
}
.claim-done {
    color: #52c41a;
    border: 1px solid #b7eb8f;
    background: #f6ffed;
}
.claim-open {
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    background: #f0f5ff;
}
.website-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 0 5px;
    font-size: 11px;
    line-height: 18px;
    color: #52c41a;
    border: 1px solid #b7eb8f;
    background: #f6ffed;
    border-radius: 2px;
    vertical-align: middle;
    cursor: default;
}
.text-muted {
    color: #999;
}

/* --- Empty Block --- */
.empty-block {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border: 1px solid #e8e8e8;
}
.empty-block p {
    margin-bottom: 14px;
    color: #999;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .steps-grid,
    .featured-grid {
        grid-template-columns: 1fr;
    }
    .steps-grid .step-card { margin-right: 0; border-right: 1px solid #e8e8e8; margin-bottom: -1px; }
    .featured-card { margin-right: 0; }
    .quick-entry-row { grid-template-columns: 1fr; }
    .quick-entry:first-child { border-right: 1px solid #e8e8e8; border-bottom: none; }
}

@media (max-width: 768px) {
    .home-hero { padding: 28px 12px 28px; }
    .home-hero h1 { font-size: 22px; }
    .hero-desc { font-size: 13px; margin-bottom: 20px; }
    .hero-search-input { height: 40px; font-size: 14px; padding: 0 12px; }
    .hero-search-btn { height: 40px; padding: 0 18px; font-size: 14px; }
    .stats-bar-inner { gap: 12px; flex-wrap: wrap; justify-content: center; padding: 0 12px; }
    .stat-item { padding: 10px 0; }
    .stat-item strong { font-size: 16px; }
    .home-body { padding: 0 12px 32px; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 6px; }
    .step-card { padding: 16px 12px; }
    .featured-card { padding: 14px 12px; }
    .quick-entry { padding: 12px; }
}

@media (max-width: 480px) {
    .home-hero h1 { font-size: 18px; }
    .hero-desc { font-size: 12px; }
    .hero-hot { font-size: 12px; }
    .hero-hot a { margin: 0 4px; }
    .stats-bar-inner { gap: 8px; }
    .stat-item strong { font-size: 14px; }
    .stat-item span { font-size: 12px; }
}
