* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo h1 {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 700;
}

.logo img {
    max-height: 50px;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav a {
    text-decoration: none;
    color: #555;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    background: #3498db;
    color: white;
}

.header-actions .contact-btn {
    background: #27ae60;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.header-actions .contact-btn:hover {
    background: #219a52;
}

.contact-panel {
    position: fixed;
    right: -300px;
    top: 0;
    width: 300px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 1001;
}

.contact-panel.active {
    right: 0;
}

.contact-header {
    background: #2c3e50;
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.contact-content {
    padding: 1rem;
    overflow-y: auto;
    height: calc(100% - 60px);
}

.contact-item {
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 4px;
}

.contact-platform {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.contact-platform i {
    font-size: 1.2rem;
    margin-right: 0.5rem;
    color: #3498db;
}

.qr-code img {
    max-width: 100px;
    margin-top: 0.5rem;
}

.main-content {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

.banner-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

.banner-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.banner-section p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.features-section {
    padding: 3rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.products-section {
    padding: 3rem 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    height: 200px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    line-height: 1.3;
}

.product-description {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.4;
    flex: 1;
}

.product-prices {
    margin-bottom: 1rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.price-label {
    color: #666;
}

.price-value {
    font-weight: bold;
    color: #e74c3c;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
}

.article-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.article-card:hover {
    transform: translateY(-3px);
}

.article-card .card-body {
    padding: 1.5rem;
}

.article-title {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #2c3e50;
    line-height: 1.4;
}

.article-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: #3498db;
}

.article-meta {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.article-meta i {
    margin-right: 0.3rem;
}

.article-content {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.article-content p {
    margin-bottom: 0.5rem;
}

.breadcrumb {
    background-color: #f8f9fa;
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #6c757d;
}

.breadcrumb-item.active {
    color: #6c757d;
}

.sidebar-card {
    margin-bottom: 1.5rem;
}

.sidebar-card .card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
}

.list-group-item {
    border: 1px solid #dee2e6;
    border-top: none;
    padding: 0.75rem 1.25rem;
}

.list-group-item:first-child {
    border-top: 1px solid #dee2e6;
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
}

.list-group-item:last-child {
    border-bottom-left-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}

.list-group-item.active {
    background-color: #3498db;
    border-color: #3498db;
}

.list-group-item-action:hover {
    background-color: #f8f9fa;
}

.btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
}

.btn-success {
    background: #27ae60;
    color: white;
}

.btn-success:hover {
    background: #219a52;
}

.btn-block {
    display: block;
    width: 100%;
}

.software-status {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.status-running {
    background: #d4edda;
    color: #155724;
}

.status-maintenance {
    background: #fff3cd;
    color: #856404;
}

.status-offline {
    background: #f8d7da;
    color: #721c24;
}

.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #3498db;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #3498db;
}

.footer-contact {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.footer-contact i {
    margin-right: 0.5rem;
    color: #3498db;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    text-align: center;
    color: #bdc3c7;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        padding: 1rem;
    }
    
    .main-nav ul {
        flex-direction: column;
        text-align: center;
        margin: 1rem 0;
    }
    
    .main-nav a {
        display: block;
        margin: 0.2rem 0;
    }
    
    .banner-section h1 {
        font-size: 2rem;
    }
    
    .contact-panel {
        width: 100%;
        right: -100%;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .product-card {
        margin-bottom: 1rem;
    }
    
    .article-card {
        margin-bottom: 1rem;
    }
    
    .price-card {
        margin-bottom: 1rem;
    }
}

.product-image img {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.product-title {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.price-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.price-card.bg-warning {
    border-color: #ffc107;
}

.article-content {
    line-height: 1.8;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-body h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #3498db;
    position: relative;
}

.article-body h1:after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100px;
    height: 3px;
    background: #e74c3c;
}

.article-body h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #2c3e50;
    margin-top: 1.8rem;
    margin-bottom: 1rem;
    padding-left: 15px;
    border-left: 4px solid #3498db;
}

.article-body h3 {
    font-size: 1.875rem;
    font-weight: 600;
    color: #2c3e50;
    margin-top: 1.6rem;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 20px;
}

.article-body h3:before {
    content: "▶";
    position: absolute;
    left: 0;
    color: #3498db;
}

.article-body h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-top: 1.4rem;
    margin-bottom: 1rem;
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 4px;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body h1,
.article-body h1 > span {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #3498db;
    position: relative;
}

.article-body h1:after,
.article-body h1 > span:after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100px;
    height: 3px;
    background: #e74c3c;
}

.article-body h2,
.article-body h2 > span {
    font-size: 2.25rem;
    font-weight: 700;
    color: #2c3e50;
    margin-top: 1.8rem;
    margin-bottom: 1rem;
    padding-left: 0;
    border-left: none;
}

.article-body h3,
.article-body h3 > span {
    font-size: 1.875rem;
    font-weight: 600;
    color: #2c3e50;
    margin-top: 1.6rem;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 0;
}

.article-body h3:before,
.article-body h3 > span:before {
    content: "";
    position: absolute;
    left: 0;
    color: #3498db;
}

.article-body h4,
.article-body h4 > span {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-top: 1.4rem;
    margin-bottom: 1rem;
    background: none;
    padding: 0;
    border-radius: 0;
}

/* Tailwind prose overrides for article content */
.prose.article-body h1,
.prose.article-body h1 > span {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #2c3e50 !important;
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
    padding-bottom: 0.5rem !important;
    border-bottom: 3px solid #3498db !important;
    position: relative !important;
}

.prose.article-body h1:after,
.prose.article-body h1 > span:after {
    content: "" !important;
    position: absolute !important;
    bottom: -3px !important;
    left: 0 !important;
    width: 100px !important;
    height: 3px !important;
    background: #e74c3c !important;
}

.prose.article-body h2,
.prose.article-body h2 > span {
    font-size: 2.25rem !important;
    font-weight: 700 !important;
    color: #2c3e50 !important;
    margin-top: 1.8rem !important;
    margin-bottom: 1rem !important;
    padding-left: 0 !important;
    border-left: none !important;
}

.prose.article-body h3,
.prose.article-body h3 > span {
    font-size: 1.875rem !important;
    font-weight: 600 !important;
    color: #2c3e50 !important;
    margin-top: 1.6rem !important;
    margin-bottom: 1rem !important;
    position: relative !important;
    padding-left: 0 !important;
}

.prose.article-body h3:before,
.prose.article-body h3 > span:before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    color: #3498db !important;
}

.prose.article-body h4,
.prose.article-body h4 > span {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: #2c3e50 !important;
    margin-top: 1.4rem !important;
    margin-bottom: 1rem !important;
    background: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

/* Neon text styles for headers */
.neon-text {
    color: #00ff41;
    text-shadow: 0 0 5px #00ff41, 0 0 10px #00ff41, 0 0 15px #00ff41;
    animation: neon-pulse 2s ease-in-out infinite alternate;
}

@keyframes neon-pulse {
    from {
        text-shadow: 0 0 5px #00ff41, 0 0 10px #00ff41, 0 0 15px #00ff41;
    }
    to {
        text-shadow: 0 0 10px #00ff41, 0 0 20px #00ff41, 0 0 30px #00ff41, 0 0 40px #00ff41;
    }
}

/* Ensure neon-text styles apply to H2 elements */
.article-body h2.neon-text,
.article-body h2 > span.neon-text {
    font-size: 1.5rem !important; /* text-2xl equivalent */
    font-weight: 700 !important; /* font-bold equivalent */
    margin-bottom: 1.5rem !important; /* mb-6 equivalent */
    color: #00ff41 !important;
    text-shadow: 0 0 5px #00ff41, 0 0 10px #00ff41, 0 0 15px #00ff41 !important;
    animation: neon-pulse 2s ease-in-out infinite alternate !important;
    border-left: none !important;
    padding-left: 0 !important;
}

/* 产品详情内容中的标题样式 */
.prose.article-body h2,
.prose.article-body h2 > span {
    font-size: 1.5rem !important; /* text-2xl equivalent */
    font-weight: 700 !important; /* font-bold equivalent */
    color: #00ff41 !important;
    margin-bottom: 1.5rem !important; /* mb-6 equivalent */
    text-shadow: 0 0 5px #00ff41, 0 0 10px #00ff41, 0 0 15px #00ff41 !important;
    animation: neon-pulse 2s ease-in-out infinite alternate !important;
    border-left: none !important;
    padding-left: 0 !important;
    margin-top: 1rem !important;
}

.prose.article-body h3,
.prose.article-body h3 > span {
    font-size: 1.5rem !important; /* text-2xl equivalent */
    font-weight: 700 !important; /* font-bold equivalent */
    color: #00ff41 !important;
    margin-bottom: 1.5rem !important; /* mb-6 equivalent */
    text-shadow: 0 0 5px #00ff41, 0 0 10px #00ff41, 0 0 15px #00ff41 !important;
    animation: neon-pulse 2s ease-in-out infinite alternate !important;
    border-left: none !important;
    padding-left: 0 !important;
    margin-top: 1rem !important;
}

.breadcrumb {
    background-color: #f8f9fa;
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
    margin-bottom: 2rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #6c757d;
}

.breadcrumb-item.active {
    color: #6c757d;
}

.card {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.125);
}

.card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.btn {
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.btn-outline-primary {
    border-width: 2px;
}

.btn-outline-primary:hover {
    transform: translateY(-1px);
}

.mt-4 {
    margin-top: 2rem !important;
}

.mb-4 {
    margin-bottom: 2rem !important;
}

.g-4 {
    gap: 2rem !important;
}

.text-muted {
    color: #6c757d !important;
}

.text-dark {
    color: #343a40 !important;
}

.bg-light {
    background-color: #f8f9fa !important;
}

.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mb-1 { margin-bottom: 1rem; }
.p-1 { padding: 1rem; }
.hidden { display: none; }

.product-detail-tabs .nav-tabs {
    border-bottom: 2px solid #ff5000;
}

.product-detail-tabs .nav-link {
    color: #666;
    border: none;
    padding: 12px 20px;
    font-weight: 500;
}

.product-detail-tabs .nav-link.active {
    color: #ff5000;
    background: #fff;
    border: none;
    border-bottom: 2px solid #ff5000;
}

.product-detail-tabs .nav-link:hover {
    color: #ff5000;
}

.product-detail-tabs .tab-content {
    border: 1px solid #e8e8e8;
    border-top: none;
    background: #fff;
}

.price-card {
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.price-card:hover {
    border-color: #ff5000;
    transform: translateY(-2px);
}

.price-card.bg-warning {
    background: linear-gradient(135deg, #ffd700, #ffa500) !important;
    border-color: #ffa500;
}

.price-card .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff5000;
}

.product-image-slider {
    position: relative;
}

.product-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    overflow-x: auto;
}

.product-thumbnails img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid transparent;
    cursor: pointer;
    border-radius: 4px;
}

.product-thumbnails img.active {
    border-color: #ff5000;
}

.review-stats {
    background: #f8f9fa;
    border-radius: 8px;
}

.rating-bars .progress {
    background: #e9ecef;
}

.rating-bar-item {
    font-size: 0.9rem;
}

.accordion-button:not(.collapsed) {
    background-color: #fff3cd;
    color: #856404;
    border-color: #ffeaa7;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #ff5000;
}

.related-products .product-card {
    transition: all 0.3s ease;
}

.related-products .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.btn-taobao {
    background: linear-gradient(135deg, #ff5000, #ff6a00);
    border: none;
    color: white;
    font-weight: 500;
    padding: 10px 20px;
}

.btn-taobao:hover {
    background: linear-gradient(135deg, #ff6a00, #ff5000);
    color: white;
    transform: translateY(-1px);
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: fit-content;
}

.quantity-btn {
    background: #f8f9fa;
    border: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 1.2rem;
}

.quantity-btn:hover {
    background: #e9ecef;
}

.quantity-input {
    border: none;
    text-align: center;
    width: 50px;
    height: 30px;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .product-detail-tabs .nav-link {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .price-card {
        margin-bottom: 15px;
    }
    
    .product-thumbnails {
        justify-content: center;
    }
    
    .quantity-selector {
        width: 100%;
        justify-content: center;
    }
}