/* ============================================================
   Applications 汇总页样式（/applications）
   Fixed 5-section template: Hero / Key Benefits /
   Related Products / Related Cases / News
   ============================================================ */

.applications-page {
    --app-acc: #0066cc;
    --app-acc-2: #0066ff;
    background: #0a0e1a;
    color: #fff;
}

.applications-page * {
    box-sizing: border-box;
}

.applications-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ---------- 通用区块头 ---------- */
.applications-section-head {
    margin-bottom: 40px;
}

.applications-section-head-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.applications-section-title {
    font-size: 34px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
    margin: 0;
    line-height: 1.2;
}

.applications-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--app-acc-2);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.applications-view-all svg {
    transition: transform 0.3s ease;
}

.applications-view-all:hover {
    color: var(--app-acc);
}

.applications-view-all:hover svg {
    transform: translateX(4px);
}

/* ---------- 1. Hero ---------- */
.applications-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    text-align: center;
    overflow: hidden;
    padding: 100px 0;
}

.applications-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.applications-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 14, 26, 0.72) 0%, rgba(10, 14, 26, 0.86) 100%);
}

.applications-hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    padding: 0 24px;
}

.applications-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 13px;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 22px;
    text-transform: uppercase;
}

.applications-breadcrumb a {
    color: var(--app-acc-2);
    text-decoration: none;
    transition: color 0.3s ease;
}

.applications-breadcrumb a:hover {
    color: #fff;
}

.applications-breadcrumb-sep {
    color: rgba(255, 255, 255, 0.4);
}

.applications-hero-title {
    font-size: 58px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-shadow: 0 0 30px rgba(0, 102, 255, 0.35);
}

.applications-hero-desc {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
    margin: 0 auto;
    max-width: 640px;
}

/* ---------- 2. Key Benefits ---------- */
.applications-benefits {
    padding: 90px 0 70px;
    background: #0a0e1a;
}

.applications-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.applications-benefit {
    background: linear-gradient(180deg, #0f1730 0%, #0d1220 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 40px 28px 36px;
    text-align: center;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.applications-benefit:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 102, 255, 0.22);
    border-color: rgba(0, 102, 255, 0.4);
}

.applications-benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--app-acc) 0%, var(--app-acc-2) 100%);
    color: #fff;
    box-shadow: 0 0 22px rgba(0, 102, 255, 0.45);
    margin-bottom: 22px;
}

.applications-benefit-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
}

.applications-benefit-desc {
    font-size: 14px;
    line-height: 1.7;
    color: #8b96b5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- 3. Related Products (2x2, img 60% / text 40%) ---------- */
.applications-products {
    padding: 70px 0;
    background: #0d1220;
}

.applications-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.applications-product-card {
    display: flex;
    background: #0f1730;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    height: 220px;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.applications-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 102, 255, 0.22);
    border-color: rgba(0, 102, 255, 0.4);
}

.applications-product-image {
    width: 60%;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 9;
}

.applications-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.applications-product-card:hover .applications-product-image img {
    transform: scale(1.05);
}

.applications-product-body {
    width: 40%;
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(180deg, #0f1730 0%, #0d1220 100%);
}

.applications-product-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.applications-product-features {
    font-size: 13px;
    line-height: 1.6;
    color: #7c88a8;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---------- 4. Related Cases (3 / row, img 80% / text 20%) ---------- */
.applications-cases {
    padding: 70px 0;
    background: #0a0e1a;
}

.applications-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.applications-case-card {
    display: flex;
    flex-direction: column;
    background: #0f1730;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.applications-case-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 102, 255, 0.22);
    border-color: rgba(0, 102, 255, 0.4);
}

.applications-case-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
}

.applications-case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.applications-case-card:hover .applications-case-image img {
    transform: scale(1.05);
}

.applications-case-body {
    padding: 18px 20px;
}

.applications-case-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.applications-case-desc {
    font-size: 13px;
    line-height: 1.6;
    color: #8b96b5;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---------- 5. News (3 / row, img 80% / text 20%) ---------- */
.applications-news {
    padding: 70px 0 90px;
    background: #0d1220;
}

.applications-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.applications-news-card {
    display: flex;
    flex-direction: column;
    background: #0f1730;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.applications-news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 102, 255, 0.22);
    border-color: rgba(0, 102, 255, 0.4);
}

.applications-news-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.applications-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.applications-news-card:hover .applications-news-image img {
    transform: scale(1.05);
}

.applications-news-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.applications-news-body {
    padding: 18px 20px;
}

.applications-news-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.applications-news-date {
    font-size: 13px;
    color: #6a76a0;
}

/* ---------- Application Detail: Overview ---------- */
.applications-overview {
    padding: 88px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.applications-overview-body {
    max-width: 900px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
    line-height: 1.8;
}

.applications-overview-body p {
    margin: 0 0 20px;
}

.applications-overview-body p:last-child {
    margin-bottom: 0;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
    .applications-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .applications-container {
        padding: 0 22px;
    }
    .applications-hero-title {
        font-size: 40px;
    }
    .applications-section-title {
        font-size: 26px;
    }
    .applications-products-grid,
    .applications-cases-grid,
    .applications-news-grid {
        grid-template-columns: 1fr;
    }
    .applications-product-card {
        flex-direction: column;
        height: auto;
    }
    .applications-product-image {
        width: 100%;
    }
    .applications-product-body {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .applications-benefits-grid {
        grid-template-columns: 1fr;
    }
}