
.software-purchase-container {
    width: 100%;
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 35px 35px;
    box-sizing: border-box;
    background: #ffffff;
    position: relative;
    overflow: visible;
}

.software-purchase-grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.35;
    z-index: 0;
    pointer-events: none;
}
.software-purchase-content {
    width: 100%;
    max-width: 2000px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.software-purchase-search-box {
    max-width: 560px;
    margin: 0 auto 35px;
    position: relative;
}
.software-purchase-search-result {
    text-align: center;
    margin-bottom: 18px;
    padding: 12px;
    background: #f8f8f8;
    border-radius: 2px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #e5e5e5;
}
.software-purchase-search-result-title {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
    font-weight: 500;
}
.software-purchase-search-result-text {
    font-size: 12px;
    color: #666;
}
.software-purchase-search-input {
    width: 100%;
    padding: 10px 46px 10px 18px;
    border: 1px solid #d0d0d0;
    border-radius: 2px;
    font-size: 13px;
    transition: border-color 0.2s;
    background: #ffffff;
    box-sizing: border-box;
    color: #333;
}
.software-purchase-search-input::placeholder {
    color: #999;
}
.software-purchase-search-input:focus {
    outline: none;
    border-color: #2196F3;
    background: #ffffff;
    box-shadow: none;
}
.software-purchase-search-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: #2196F3;
    border: none;
    border-radius: 2px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.software-purchase-search-btn:hover {
    background: #1976D2;
    box-shadow: none;
}

.software-purchase-main-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    padding: 0;
    max-width: 2000px;
    margin-left: auto;
    margin-right: auto;
}
.software-purchase-main-nav-btn {
    padding: 10px 24px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 400;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: none;
}
.software-purchase-main-nav-btn:hover {
    border-color: #2196F3;
    color: #2196F3;
    box-shadow: none;
}
.software-purchase-main-nav-btn.active {
    background: #2196F3;
    border-color: #2196F3;
    color: white;
    box-shadow: none;
}

.software-purchase-sub-nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 10px 14px;
    flex-wrap: wrap;
    background: #f8f8f8;
    border-radius: 2px;
    border: 1px solid #e5e5e5;
    min-height: 54px;
    max-width: 2000px;
    margin-left: auto;
    margin-right: auto;
}
.software-purchase-sub-nav-btn {
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 2px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    font-weight: 400;
    transition: all 0.2s;
    box-shadow: none;
}
.software-purchase-sub-nav-btn:hover {
    background: #f0f7ff;
    border-color: #2196F3;
    color: #2196F3;
    box-shadow: none;
}
.software-purchase-sub-nav-btn.active {
    background: #2196F3;
    border-color: #2196F3;
    color: white;
    box-shadow: none;
}
.software-purchase-content-area {
    max-width: 2000px;
    margin: 0 auto;
}
.software-purchase-display {
    display: none;
}
.software-purchase-display.active {
    display: block;
}
.software-purchase-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.software-purchase-card {
    background: #ffffff;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border: 1px solid #e5e5e5;
    transition: box-shadow 0.2s;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: stretch;
}
.software-purchase-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    border-color: #2196F3;
}
.software-purchase-card-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    margin: 12px;
    flex-shrink: 0;
    border: 1px solid #e5e5e5;
}
.software-purchase-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 2px;
}
.software-purchase-card-icon-placeholder {
    font-size: 32px;
    color: #999;
}
.software-purchase-card-body {
    padding: 12px 12px 12px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}
.software-purchase-card-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
    line-height: 1.3;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.software-purchase-card-description {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 10px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.software-purchase-card-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: auto;
}
.software-purchase-card-download-btn {
    padding: 6px 14px;
    background: #ffffff;
    color: #2196F3;
    border: 1px solid #2196F3;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
}
.software-purchase-card-download-btn:hover {
    background: #2196F3;
    color: #ffffff;
}
.software-purchase-card-download-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.software-purchase-loading-state,
.software-purchase-error-state,
.software-purchase-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #999;
}
.software-purchase-loading-state div,
.software-purchase-loading-state p,
.software-purchase-error-state p,
.software-purchase-empty-state p {
    margin: 0;
    font-size: 16px;
}
.software-purchase-error-state {
    color: #f44336;
}
.software-purchase-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}
.software-purchase-empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.6;
}
.software-purchase-empty-text {
    font-size: 15px;
}

#softwarePurchasePagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 35px;
    gap: 8px;
    flex-wrap: wrap;
}
#softwarePurchasePagination button {
    padding: 8px 14px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 2px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 13px;
    font-weight: 400;
}
#softwarePurchasePagination button:hover:not(:disabled) {
    background: #f0f7ff;
    border-color: #2196F3;
    color: #2196F3;
}
#softwarePurchasePagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f8f8f8;
}
#softwarePurchasePagination span {
    padding: 6px 10px;
    color: #999;
    font-size: 12px;
    white-space: nowrap;
}

.software-detail-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}
.software-detail-modal.active {
    display: flex;
}
.software-detail-modal-wrapper {
    position: relative;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
}
.software-detail-content {
    background: #ffffff;
    border-radius: 2px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid #e5e5e5;
}
.software-detail-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: #f5f5f5;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #666;
    transition: all 0.2s;
    z-index: 10;
    line-height: 1;
}
.software-detail-close:hover {
    background: #eeeeee;
    color: #333;
}
.software-detail-header {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    border-bottom: 1px solid #e5e5e5;
    gap: 16px;
}
.software-detail-icon {
    width: 80px;
    height: 80px;
    background: #f5f5f5;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #e5e5e5;
}
.software-detail-icon-placeholder {
    font-size: 40px;
    color: #d0d0d0;
}
.software-detail-header-info {
    flex: 1;
    text-align: left;
}
.software-detail-title {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin-bottom: 10px;
}
.software-detail-description {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
}
.software-detail-body {
    padding: 20px;
}

.software-download-notice {
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    border-radius: 2px;
    padding: 12px 14px;
    margin-bottom: 18px;
    font-size: 13px;
    color: #666;
    line-height: 1.8;
}
.software-download-notice strong {
    color: #333;
    font-weight: 600;
}
.software-download-notice p {
    margin: 6px 0;
}

.software-platform-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    border-bottom: 1px solid #e5e5e5;
    flex-wrap: wrap;
}
.software-platform-tab {
    padding: 8px 14px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: -1px;
}
.software-platform-tab.active {
    color: #2196F3;
    border-bottom-color: #2196F3;
}
.software-platform-tab:hover {
    color: #2196F3;
}
.software-version-list {
    display: none;
}
.software-version-list.active {
    display: block;
}

.software-version-item {
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    border-radius: 2px;
    padding: 16px;
    margin-bottom: 12px;
}
.software-version-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 10px;
}
.software-version-tags {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.software-version-tag {
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 4px;
}
.software-version-tag::after {
    content: '丨';
    margin-left: 4px;
    color: #ccc;
}
.software-version-tag:last-child::after {
    display: none;
}
.software-version-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.software-download-btn {
    padding: 8px 14px;
    border: 1px solid #2196F3;
    background: #ffffff;
    color: #2196F3;
    border-radius: 2px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}
.software-download-btn:hover {
    background: #2196F3;
    color: #ffffff;
}
.software-download-btn.vip {
    border-color: #4CAF50;
    color: #4CAF50;
}
.software-download-btn.vip:hover {
    background: #4CAF50;
    color: #ffffff;
}
.software-download-btn.vip .price-text {
    font-weight: 600;
    margin-left: 4px;
}
.software-download-btn.install-guide {
    border-color: #2196F3;
    color: #2196F3;
}
.software-download-btn.install-guide:hover {
    background: #2196F3;
    color: #ffffff;
}

.free-download-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10001;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}
.free-download-modal.active {
    display: flex;
}
.free-download-content {
    background: #ffffff;
    border-radius: 2px;
    max-width: 500px;
    width: 100%;
    padding: 20px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid #e5e5e5;
}
.free-download-title {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin-bottom: 14px;
    text-align: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e5e5;
}
.free-download-text {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 18px;
    white-space: pre-wrap;
    word-break: break-word;
}
.free-download-text a {
    color: #2196F3;
    text-decoration: underline;
}
.free-download-text a:hover {
    color: #1976D2;
}
.free-download-text ul,
.free-download-text ol {
    margin: 10px 0;
    padding-left: 24px;
}
.free-download-text li {
    margin: 5px 0;
}
.free-download-text img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
}
.free-download-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: #f5f5f5;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #666;
    transition: all 0.2s;
    line-height: 1;
}
.free-download-close:hover {
    background: #eeeeee;
    color: #333;
}

.install-guide-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10002;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}
.install-guide-modal.active {
    display: flex;
}
.install-guide-modal-wrapper {
    position: relative;
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
}
.install-guide-content {
    background: #ffffff;
    border-radius: 2px;
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    padding: 20px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #e5e5e5;
}
.install-guide-title {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin-bottom: 14px;
    text-align: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e5e5;
}
.install-guide-text {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 18px;
    white-space: pre-wrap;
    word-break: break-word;
    text-align: left;
}
.install-guide-text a {
    color: #2196F3;
    text-decoration: underline;
}
.install-guide-text a:hover {
    color: #1976D2;
}
.install-guide-text ul,
.install-guide-text ol {
    margin: 10px 0;
    padding-left: 24px;
}
.install-guide-text li {
    margin: 5px 0;
}
.install-guide-text img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
}
.install-guide-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: #f5f5f5;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #666;
    transition: all 0.2s;
    z-index: 10;
    line-height: 1;
}
.install-guide-close:hover {
    background: #eeeeee;
    color: #333;
}

.payment-method-modal,
.payment-qrcode-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10003;
    background: rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}
.payment-method-modal.show,
.payment-qrcode-modal.show {
    display: flex;
}
.payment-method-content,
.payment-qrcode-content {
    background: #ffffff;
    border-radius: 2px;
    padding: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid #e5e5e5;
}
.payment-qrcode-content {
    max-width: 400px;
    text-align: center;
}
.payment-method-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e5e5;
}
.payment-method-title,
.payment-qrcode-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}
.payment-method-close {
    width: 32px;
    height: 32px;
    border: none;
    background: #f5f5f5;
    border-radius: 2px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.2s;
}
.payment-method-close:hover {
    background: #eeeeee;
    color: #333;
}
.payment-method-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
}
.payment-method-item {
    display: flex;
    align-items: center;
    padding: 14px;
    border: 1px solid #e5e5e5;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.2s;
    background: #ffffff;
}
.payment-method-item:hover {
    border-color: #2196F3;
    background: #f0f7ff;
    transform: none;
    box-shadow: none;
}
.payment-method-item.active {
    border-color: #2196F3;
    background: #f0f7ff;
}
.payment-method-icon {
    margin-right: 12px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #ffffff;
    border-radius: 2px;
    box-shadow: none;
    border: 1px solid #e5e5e5;
}
.payment-method-info {
    flex: 1;
}
.payment-method-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
}
.payment-method-desc,
.payment-qrcode-subtitle {
    font-size: 12px;
    color: #666;
}
.payment-method-radio {
    width: 18px;
    height: 18px;
    border: 1px solid #d1d5db;
    border-radius: 50%;
    position: relative;
    margin-left: 12px;
}
.payment-method-item.active .payment-method-radio {
    border-color: #2196F3;
}
.payment-method-item.active .payment-method-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #2196F3;
    border-radius: 50%;
}
.payment-method-price {
    text-align: center;
    margin-bottom: 18px;
    padding: 12px;
    background: #f8f8f8;
    border-radius: 2px;
    border: 1px solid #e5e5e5;
}
.payment-method-price-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}
.payment-method-price-value {
    font-size: 24px;
    font-weight: 700;
    color: #2196F3;
}
.payment-method-submit {
    width: 100%;
    padding: 12px;
    background: #2196F3;
    color: white;
    border: none;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: none;
}
.payment-method-submit:hover {
    background: #1976D2;
}
.payment-method-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.payment-qrcode-header {
    margin-bottom: 18px;
}
.payment-qrcode-box {
    background: #f8f8f8;
    border-radius: 2px;
    padding: 16px;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #e5e5e5;
}
.payment-qrcode-img,
.payment-qrcode-loading {
    width: 200px;
    height: 200px;
    background: #ffffff;
    border-radius: 2px;
    padding: 12px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
    border: 1px solid #e5e5e5;
}
.payment-qrcode-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.payment-qrcode-loading {
    display: flex;
    align-items: center;
    justify-content: center;
}
.payment-qrcode-loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 4px solid #e5e7eb;
    border-top-color: #2196F3;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.payment-qrcode-tips {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}
.payment-qrcode-status {
    margin-top: 16px;
    padding: 12px;
    border-radius: 2px;
    font-size: 13px;
    font-weight: 500;
}
.payment-qrcode-status.success {
    background: #d1fae5;
    color: #065f46;
}
.payment-qrcode-status.error {
    background: #fee2e2;
    color: #991b1b;
}
.payment-qrcode-close {
    width: 100%;
    padding: 12px;
    background: #f3f4f6;
    color: #666;
    border: none;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}
.payment-qrcode-close:hover {
    background: #e5e5eb;
    color: #333;
}

.software-vip-countdown {
    display: inline-block;
    margin-left: 8px;
    font-size: 12px;
    color: #f44336;
    font-weight: 600;
}
.software-vip-download-notice {
    margin-top: 8px;
    font-size: 12px;
    color: #f44336;
    font-weight: 500;
    text-align: center;
}

.toast-notification {
    position: fixed;
    top: 60px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    padding: 12px 20px;
    border-radius: 2px;
    font-size: 14px;
    z-index: 10000;
    opacity: 0;
    transition: all 0.2s;
    display: none;
    min-width: 280px;
    max-width: 520px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
    word-wrap: break-word;
    line-height: 1.5;
    border: 1px solid #e5e5e5;
    background: #ffffff;
    color: #333;
}
.toast-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    display: block;
}
.toast-notification.error {
    background: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}
.toast-notification.success {
    background: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}
.toast-notification.warning {
    background: #fff3cd;
    color: #856404;
    border-color: #ffeaa7;
}
.toast-notification.info {
    background: #d1ecf1;
    color: #0c5460;
    border-color: #bee5eb;
}

@media (max-width: 1400px) {
    .software-purchase-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 1024px) {
    .software-purchase-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .software-purchase-container {
        padding: 18px 18px;
    }
    .software-purchase-search-box {
        margin-bottom: 25px;
    }
    .software-purchase-search-input {
        padding: 8px 42px 8px 14px;
        font-size: 13px;
    }
    .software-purchase-search-btn {
        width: 28px;
        height: 28px;
        right: 3px;
    }
    .software-purchase-main-nav {
        gap: 6px;
        margin-bottom: 18px;
    }
    .software-purchase-main-nav-btn {
        padding: 6px 14px;
        font-size: 11px;
    }
    .software-purchase-sub-nav-container {
        gap: 6px;
        padding: 10px;
        margin-bottom: 22px;
        min-height: auto;
    }
    .software-purchase-sub-nav-btn {
        padding: 6px 12px;
        font-size: 11px;
        white-space: nowrap;
    }
    .software-purchase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .software-purchase-card {
        flex-direction: column;
    }
    .software-purchase-card-icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
        margin: 12px auto;
    }
    .software-purchase-card-body {
        padding: 12px;
    }
    .software-purchase-card-title {
        font-size: 12px;
        margin-bottom: 4px;
    }
    .software-detail-modal-wrapper {
        max-width: 95%;
    }
    .software-detail-content {
        max-width: 95%;
        max-height: 95vh;
    }
    .software-detail-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 18px;
    }
    .software-detail-header-info {
        text-align: center;
    }
    .software-version-actions {
        flex-direction: column;
        gap: 8px;
    }
    .software-download-btn {
        width: 100%;
        text-align: center;
    }
    .free-download-content,
    .install-guide-content {
        max-width: 95%;
        padding: 18px;
    }
    #softwarePurchasePagination {
        margin-top: 25px;
        gap: 5px;
    }
    #softwarePurchasePagination button {
        padding: 6px 10px;
        font-size: 11px;
        min-width: 32px;
    }
    #softwarePurchasePagination span {
        padding: 6px 10px;
        font-size: 11px;
    }
}
