/* Page-specific styles for applications */
.mobile-industry-pills,
.desktop-industry-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.mobile-industry-pills {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
}

/* 自定义滚动条样式 */
.mobile-industry-pills::-webkit-scrollbar {
    height: 6px;
}

.mobile-industry-pills::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.mobile-industry-pills::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 3px;
}

.mobile-industry-pills::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.7);
}

.desktop-industry-pills {
    display: none;
}

@media (min-width: 640px) {
    .desktop-industry-pills {
        display: flex;
    }
    .mobile-industry-pills {
        display: none;
    }
}

.industry-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 9999px;
    transition: all 0.2s;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.industry-pill:hover {
    background: rgba(255, 255, 255, 0.3);
}

.industry-pill.active {
    background: white;
    color: var(--color-navy-light);
    border-color: white;
}

.industry-pill svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.industry-cards-section {
    padding: 4rem 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-emerald);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
}

.section-description {
    font-size: 0.9375rem;
    color: var(--color-slate-500);
    line-height: 1.6;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.industry-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .industry-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .industry-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .industry-cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.industry-card {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s;
    border: 3px solid transparent;
    background: none;
    padding: 0;
}

.industry-card:hover {
    border-color: rgba(21, 101, 160, 0.3);
}

.industry-card.active {
    border-color: var(--color-navy-light);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.industry-card-image {
    position: absolute;
    inset: 0;
}

.industry-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.industry-card:hover .industry-card-image img {
    transform: scale(1.1);
}

.industry-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    transition: all 0.3s;
}

.industry-card.active .industry-card-overlay {
    background: linear-gradient(to top, rgba(21, 101, 160, 0.9) 0%, rgba(21, 101, 160, 0.4) 50%, transparent 100%);
}

.industry-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    z-index: 1;
}

.industry-card-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.industry-card-icon svg {
    width: 16px;
    height: 16px;
    color: white;
}

.industry-card-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    line-height: 1.3;
}

.industry-card-count {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.25rem;
}

.active-indicator {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.active-indicator svg {
    width: 14px;
    height: 14px;
    color: var(--color-navy-light);
}

.industry-detail-section {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .industry-detail-section {
        padding: 5rem 0;
    }
}

.detail-content-wrapper {
    display: none;
}

.detail-content-wrapper.active {
    display: block;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .detail-layout {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
    }
}

.detail-left {
    order: 1;
}

.detail-right {
    order: 2;
}

@media (min-width: 1024px) {
    .detail-left {
        order: 1;
    }
    .detail-right {
        order: 2;
    }
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 640px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.product-card {
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.product-card-image-wrapper {
    position: relative;
    background: #f8fafc;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-image {
    width: 100%;
    height: 16rem;
    object-fit: contain;
}

.product-card-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.375rem 0.75rem;
    background: #3b82f6;
    color: white;
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: 0.375rem;
}

.product-card-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.product-card-description {
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.product-card-specs {
    background: #f8fafc;
    padding: 0.75rem;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.product-card-specs-title {
    font-size: 0.625rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.product-card-spec {
    display: flex;
    justify-content: space-between;
    font-size: 0.6875rem;
    color: #64748b;
    margin-bottom: 0.375rem;
}

.product-card-spec:last-child {
    margin-bottom: 0;
}

.product-card-spec-label {
    font-weight: 500;
}

.product-card-spec-value {
    font-weight: 600;
    color: #334155;
    text-align: right;
}

.product-card-applications {
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.product-card-applications-title {
    font-size: 0.625rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.product-card-apps-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.product-card-app {
    padding: 0.25rem 0.5rem;
    background: #eff6ff;
    color: #3b82f6;
    font-size: 0.6875rem;
    border-radius: 0.25rem;
    font-weight: 500;
}

.product-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-bottom: auto;
}

.product-card-feature {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: #ecfdf5;
    color: #10b981;
    font-size: 0.6875rem;
    font-weight: 500;
    border-radius: 0.25rem;
}

.product-card-feature svg {
    width: 14px;
    height: 14px;
}

.product-card-footer {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.product-card-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #64748b;
}

.product-card-info div {
    margin: 0;
}

.product-card-info strong {
    color: #1e293b;
    font-weight: 600;
}

.product-card-actions {
    display: flex;
    gap: 0.75rem;
}

.product-card-btn {
    flex: 1;
    padding: 0.625rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 0.375rem;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.product-card-btn-primary {
    background: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.product-card-btn-primary:hover {
    background: #eff6ff;
}

.product-card-btn-secondary {
    background: #10b981;
    color: white;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

.product-card-btn-secondary:hover {
    background: #059669;
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
}

.recommended-products-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--color-slate-200);
}

.products-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 2rem;
    text-align: center;
}

.explore-other-industries {
    background: white;
    border-radius: 0.75rem;
    padding: 2rem;
    margin-top: 3rem;
    border: 1px solid #e2e8f0;
}

.explore-other-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 1.5rem;
}

.explore-industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.75rem;
}

.explore-industry-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    transition: all 0.2s;
    cursor: pointer;
    border: 1px solid transparent;
}

.explore-industry-item:hover {
    background: white;
    border-color: #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.explore-industry-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.explore-industry-icon {
    width: 18px;
    height: 18px;
    color: #64748b;
}

.explore-industry-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-navy);
}

.explore-industry-count {
    font-size: 0.75rem;
    color: #94a3b8;
}

.explore-industry-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.explore-industry-arrow {
    width: 16px;
    height: 16px;
    color: #64748b;
}

.detail-header {
    margin-bottom: 1.5rem;
}

.detail-category {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: #eff6ff;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-navy-light);
    margin-bottom: 0.875rem;
}

.detail-category svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.detail-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #eff6ff;
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
}

.detail-icon svg {
    width: 16px;
    height: 16px;
    color: var(--color-navy-light);
}

.detail-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.3;
}

@media (min-width: 768px) {
    .detail-title {
        font-size: 1.75rem;
    }
}

.detail-description {
    font-size: 0.9375rem;
    color: var(--color-slate-600);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.key-benefits {
    margin-bottom: 2rem;
}

.benefits-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-slate-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.benefits-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .benefits-list {
        grid-template-columns: 1fr 1fr;
    }
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-slate-600);
}

.benefits-list svg {
    width: 16px;
    height: 16px;
    color: var(--color-emerald);
    flex-shrink: 0;
    margin-top: 2px;
}

.detail-image-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 16/9;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.detail-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-image-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 0.75rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.detail-image-badge .badge-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-image-badge .badge-label {
    font-size: 0.6875rem;
    color: var(--color-slate-500);
    font-weight: 500;
}

.detail-image-badge .badge-count {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-navy-light);
}

.detail-image-badge .badge-icon {
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-navy-light);
}

.recommended-products {
    margin-top: 1rem;
}

.products-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-slate-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.products-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.product-item {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #eff6ff;
    color: var(--color-navy-light);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.5rem;
}

.matrix-section {
    padding: 4rem 0;
    background: white;
}

@media (min-width: 768px) {
    .matrix-section {
        padding: 5rem 0;
    }
}

.matrix-table-wrapper {
    overflow-x: auto;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.matrix-table {
    width: 100%;
    font-size: 0.875rem;
    min-width: 900px;
    border-collapse: collapse;
}

.matrix-table thead {
    background: #1565a0;
}

.matrix-table th {
    padding: 1rem 0.75rem;
    text-align: center;
    color: white;
    font-weight: 600;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.matrix-table th:first-child {
    text-align: left;
    min-width: 280px;
}

.matrix-table th:last-child {
    border-right: none;
}

.matrix-table th .icon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.matrix-table th .icon-box {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.matrix-table th .icon-box svg {
    width: 16px;
    height: 16px;
    color: white;
}

.matrix-table th .th-label {
    font-size: 0.625rem;
    line-height: 1.3;
}

.matrix-table tbody tr {
    border-bottom: 1px solid #e2e8f0;
    transition: background-color 0.2s;
}

.matrix-table tbody tr:hover {
    background: #f8fafc;
}

.matrix-table tbody tr:nth-child(even) {
    background: #f8fafc;
}

.matrix-table tbody tr:nth-child(even):hover {
    background: #f1f5f9;
}

.matrix-table td {
    padding: 1rem 0.75rem;
    text-align: center;
    border-right: 1px solid #e2e8f0;
}

.matrix-table td:first-child {
    text-align: left;
    border-right: none;
}

.matrix-table td:last-child {
    border-right: none;
}

.matrix-table .product-cell {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.matrix-table .product-name {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.8125rem;
    line-height: 1.4;
}

.matrix-table .product-category {
    font-size: 0.6875rem;
    color: #64748b;
    font-weight: 400;
}

.matrix-table .status-cell {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: bold;
}

.matrix-table .status-check {
    background: #10b981;
    color: white;
}

.matrix-table .status-check svg {
    width: 14px;
    height: 14px;
}

.matrix-table .status-cross {
    background: #f1f5f9;
    color: #cbd5e1;
}

.matrix-table .status-cross svg {
    width: 14px;
    height: 14px;
}

.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1565a0 0%, #1e88e5 100%);
}

@media (min-width: 768px) {
    .cta-section {
        padding: 5rem 0;
    }
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 2rem!important;
    }
}

.cta-description {
    font-size: 1rem!important;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.cta-btn svg {
    width: 18px;
    height: 18px;
}

.cta-btn-primary {
    background: #10b981;
    color: white;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.cta-btn-primary:hover {
    background: #059669;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}

.cta-btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}
