/**
 * 首页专属样式
 */

/* ---------- Hero 区域 ---------- */
.hero {
    height: 100vh;
    min-height: 650px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,31,92,0.8) 0%, rgba(5,12,40,0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
}

.hero h1 {
    font-size: 60px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: 2px;
    animation: fadeInUp 1s 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.hero h1 span {
    background: linear-gradient(135deg, #4A90FF, #1A5FDC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .hero-desc {
    font-size: 20px;
    color: rgba(255,255,255,0.8);
    font-weight: 300;
    margin-bottom: 36px;
    letter-spacing: 1px;
    animation: fadeInUp 1s 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.hero .hero-btns {
    display: flex;
    gap: 16px;
    animation: fadeInUp 1s 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.hero .scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    animation: bounce 2s infinite;
}

.hero .scroll-indicator span {
    display: block;
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.5);
    margin: 0 auto 8px;
}

.hero .scroll-indicator small {
    color: rgba(255,255,255,0.5);
    font-size: 11px;
    letter-spacing: 2px;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ---------- 荣誉区 ---------- */
.honor-section-home {
    padding: 80px 0 40px;
}

.honor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.honor-list-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
}

.honor-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-accent);
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(26,95,220,0.4);
}

.honor-list-item span {
    font-size: 16px;
    color: var(--color-text);
    font-weight: 500;
}

.honor-image img {
    max-width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

/* ---------- 数字统计区 ---------- */
.stats-section {
    background: var(--color-bg);
    padding: 60px 0;
}

.stats-row {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-item .num {
    font-size: 52px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.stat-item .label {
    font-size: 16px;
    color: var(--color-text-light);
    margin-top: 8px;
    font-weight: 500;
}

/* ---------- 主营业务首页 ---------- */
.business-grid-home {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.biz-card-home {
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: var(--radius-md);
    padding: 36px 24px;
    color: var(--color-white);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.biz-card-home::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
}

.biz-card-home:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(10,31,92,0.3);
}

.biz-card-home:hover::before {
    opacity: 1;
}

.biz-card-home .biz-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.biz-card-home h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.biz-card-home ul {
    text-align: left;
    font-size: 13px;
    opacity: 0.85;
    line-height: 2;
    margin-bottom: 20px;
}

.biz-card-home ul li::before {
    content: '· ';
}

/* ---------- 合作伙伴 ---------- */
.partner-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 40px 0;
    gap: 30px;
    flex-wrap: wrap;
}

.partner-row a {
    opacity: 0.6;
    transition: var(--transition);
    display: block;
}

.partner-row a:hover {
    opacity: 1;
    transform: scale(1.05);
}

.partner-row img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

/* ---------- 联系我们（首页） ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--color-bg);
    border-radius: var(--radius-sm);
}

.contact-card .c-icon {
    width: 44px;
    height: 44px;
    background: var(--color-accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card .c-icon img {
    width: 22px;
    height: 22px;
}

.contact-card h4 {
    font-size: 15px;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 13px;
    color: var(--color-text-light);
}

.map-frame {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: var(--radius-md);
}

@media (max-width: 768px) {
    .hero h1 { font-size: 36px; }
    .hero .hero-desc { font-size: 16px; }
    .honor-grid { grid-template-columns: 1fr; }
    .business-grid-home { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}
