* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Noto Sans SC', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
}

/* 页头样式 */
.header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    box-shadow: 0 4px 20px rgba(30, 60, 114, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 150px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.company-name {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 2px;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-line {
    width: 100%;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* 移动端响应式导航 */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 280px;
        height: 100vh;
        background: linear-gradient(180deg, #1e3c72 0%, #2a5298 100%);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 25px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
        z-index: 1000;
    }

    .nav.active {
        right: 0;
    }

    .nav-link {
        font-size: 18px;
        padding: 10px 20px;
    }

    /* 遮罩层 */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}
    display: flex;
    gap: 30px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* 主体内容 */
.main-content {
    padding: 60px 20px;
    flex: 1;
}

/* Hero区域 */
.hero-section {
    position: relative;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
}

.hero-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 4px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 16px;
    font-weight: 300;
    opacity: 0.9;
}

/* 查询容器 */
.query-container {
    max-width: 600px;
    margin: 0 auto;
}

/* 查询卡片 */
.query-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.query-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    background-size: 200% 100%;
    animation: shimmer 3s ease infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.card-header {
    text-align: center;
    margin-bottom: 35px;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.query-icon {
    width: 40px;
    height: 40px;
    color: #ffffff;
}

.card-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.card-desc {
    font-size: 14px;
    color: #666666;
}

/* 查询表单 */
.query-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    position: relative;
}

.code-input {
    width: 100%;
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 500;
    color: #333333;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 14px;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Noto Sans SC', sans-serif;
    letter-spacing: 2px;
}

.code-input:focus {
    border-color: #667eea;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.code-input::placeholder {
    color: #999999;
    letter-spacing: normal;
}

/* 查询按钮 */
.query-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 30px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.query-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.5);
}

.query-btn:active {
    transform: translateY(-1px);
}

.btn-text {
    letter-spacing: 2px;
}

.btn-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.query-btn:hover .btn-icon {
    transform: translateX(3px);
}

/* 温馨提示 */
.tips {
    margin-top: 25px;
    padding: 15px 20px;
    background: #fff3cd;
    border-radius: 10px;
    border-left: 4px solid #ffc107;
}

.tip-text {
    font-size: 13px;
    color: #856404;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tip-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* 错误消息 */
.error-message {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: #f8d7da;
    border-radius: 10px;
    border-left: 4px solid #eb3349;
    font-size: 14px;
    color: #721c24;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.error-message svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* 安全认证标识 */
.security-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
}

.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.badge svg {
    width: 32px;
    height: 32px;
    color: #667eea;
}

.badge span {
    font-size: 13px;
    font-weight: 500;
    color: #555555;
}

/* 页尾样式 */
.footer {
    margin-top: 80px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 50px 20px 25px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-section {
    min-width: 200px;
}

.footer-section h3 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.footer-section p:hover {
    color: #ffffff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 30px auto 0;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

/* 成功页面样式 */
.result-container {
    max-width: 800px;
    margin: 60px auto;
    padding: 20px;
}

.result-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 50px 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.result-icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.result-icon-wrapper.error {
    background: linear-gradient(135deg, #eb3349 0%, #f45c43 100%);
}

.result-icon {
    width: 50px;
    height: 50px;
    color: #ffffff;
}

.result-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.result-desc {
    font-size: 15px;
    color: #666666;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* 结果内容区域 */
.result-content {
    text-align: left;
}

/* 产品头部 */
.product-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 30px 35px;
    margin-bottom: 30px;
    color: #ffffff;
    text-align: center;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
}

.product-badge svg {
    width: 18px;
    height: 18px;
}

.product-model {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.product-code {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 25px;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 600;
    font-family: 'Courier New', monospace;
    letter-spacing: 3px;
}

.product-code svg {
    width: 22px;
    height: 22px;
    opacity: 0.8;
}

/* 信息网格 */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.info-section {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s ease;
}

.info-section:hover {
    background: #f0f2f5;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e9ecef;
}

.section-title svg {
    width: 20px;
    height: 20px;
    color: #667eea;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-label {
    font-size: 14px;
    color: #666666;
    font-weight: 400;
}

.info-value {
    font-size: 15px;
    color: #1a1a2e;
    font-weight: 600;
}

.info-value.highlight {
    color: #e74c3c;
    font-size: 18px;
}

/* 查询信息统计 */
.query-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.query-stat {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s ease;
}

.query-stat:hover {
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.15);
}

.stat-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stat-icon svg {
    width: 18px;
    height: 18px;
    color: #ffffff;
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.stat-label {
    font-size: 12px;
    color: #999999;
}

.stat-value {
    font-size: 13px;
    color: #1a1a2e;
    font-weight: 600;
    word-break: break-all;
    line-height: 1.3;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 50px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    margin-top: 20px;
}

.back-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.back-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.5);
}

.back-btn:hover svg {
    transform: translateX(-3px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .nav {
        gap: 20px;
    }

    .hero-title {
        font-size: 28px;
    }

    .query-card {
        padding: 30px 20px;
    }

    .card-title {
        font-size: 20px;
    }

    .security-badges {
        gap: 20px;
        flex-wrap: wrap;
    }

    .badge {
        padding: 15px 25px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-section {
        margin-bottom: 30px;
    }

    /* 成功页面响应式 */
    .result-card {
        padding: 25px 15px;
    }

    .result-title {
        font-size: 24px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .query-info {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-header {
        padding: 20px 15px;
    }

    .product-model {
        font-size: 18px;
    }

    .product-code {
        font-size: 14px;
        letter-spacing: 1px;
        padding: 10px 15px;
    }

    .back-btn {
        width: 100%;
        padding: 15px 30px;
    }
}

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

    .product-header {
        padding: 15px;
    }

    .info-section {
        padding: 18px;
    }
}