/* ============================================================
   index.css — 首页专属样式
   ------------------------------------------------------------
   包含：
     1. 英雄区
     2. 解决方案卡片
     3. 行业应用
     4. 热门产品
     5. 关于区块
     6. 首页响应式
   ============================================================ */

/* ============================================================
   1. 英雄区
   ============================================================ */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0 100px;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(225, 0, 15, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}
.hero-section .uk-container-full {
    position: relative;
    z-index: 1;
}
.hero-badge {
    display: inline-block;
    background: rgba(225, 0, 15, 0.10);
    color: var(--brand-red);
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.hero-title {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--brand-dark);
    margin-top: 16px;
}
.hero-title .highlight { color: var(--brand-red); }
.hero-sub {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 520px;
    margin-top: 20px;
    line-height: 1.7;
}
.hero-section .uk-text-center .hero-sub {
    margin-left: auto;
    margin-right: auto;
}
.hero-cta .uk-button-primary {
    background: var(--brand-red);
    border-color: var(--brand-red);
    border-radius: 50px;
    padding: 0 40px;
    font-weight: 600;
}
.hero-cta .uk-button-primary:hover {
    background: var(--brand-red-hover);
    border-color: var(--brand-red-hover);
}
.hero-cta .uk-button-default {
    border-radius: 50px;
    padding: 0 32px;
    border-color: #d0d0d0;
    color: var(--brand-gray);
}
.hero-cta .uk-button-default:hover {
    border-color: var(--brand-gray);
    background: transparent;
}
.hero-image img {
    border-radius: 20px;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.25);
    width: 100%;
}

/* ============================================================
   2. 解决方案卡片
   ============================================================ */
.solution-card {
    border: none;
    border-radius: 16px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background: #fff;
}
.solution-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}
.solution-card .uk-card-body { padding: 32px 28px; }
.solution-card .uk-card-title { font-weight: 700; font-size: 1.2rem; }
.solution-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(225, 0, 15, 0.08);
    color: var(--brand-red);
    margin-bottom: 16px;
}
.solution-icon svg { width: 28px; height: 28px; }

/* ============================================================
   3. 行业应用
   ============================================================ */
.industry-grid .uk-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background: #fff;
}
.industry-grid .uk-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07);
}
.industry-grid .uk-card-media-top { height: 280px; overflow: hidden; }
.industry-grid .uk-card-media-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.industry-grid .uk-card:hover .uk-card-media-top img { transform: scale(1.04); }
.industry-grid .uk-card-body { padding: 20px 24px 24px; }
.industry-grid .uk-card-title { font-weight: 700; font-size: 1.1rem; }
.industry-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--brand-red);
    background: rgba(225, 0, 15, 0.08);
    padding: 2px 12px;
    border-radius: 50px;
}

/* ============================================================
   4. 热门产品
   ============================================================ */
.product-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.product-card:hover {
    border-color: var(--brand-red);
    box-shadow: 0 8px 24px rgba(225, 0, 15, 0.06);
}
.product-card .product-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--brand-dark);
    margin-top: 8px;
}
.product-card .product-desc {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 4px;
}
.product-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
}
.product-dot.purple { background: #7b4b9a; }
.product-dot.blue { background: #2b6c9e; }
.product-dot.red { background: #c1272d; }

/* ============================================================
   5. 关于区块
   ============================================================ */
.about-section { background: var(--brand-light-bg); }
.about-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--brand-red);
    line-height: 1;
}
.about-label { font-size: 0.95rem; color: #6c757d; margin-top: 4px; }

/* ============================================================
   6. 首页响应式
   ============================================================ */
@media (max-width: 960px) {
    .hero-title { font-size: 2.4rem; }
    .hero-section { padding: 48px 0 60px; }
    .hero-image { margin-top: 32px; }
    .about-number { font-size: 2.2rem; }
}
@media (max-width: 640px) {
    .hero-title { font-size: 1.8rem; }
    .hero-sub { font-size: 1rem; }
    .section-heading { font-size: 1.6rem; }
}