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

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
            background-color: #f5f5f5;
            line-height: 1.6;
        }

        .container {
            max-width: 800px;
            margin: 0 auto;
            padding: 20px;
        }

        .header {
            background: white;
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .query-carousel {
            flex: 1;
            height: 60px;
            overflow: hidden;
            position: relative;
            min-width: 200px;
            background: transparent;
        }

        .carousel-container {
            height: 100%;
            position: relative;
        }

        .carousel-item {
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            font-size: 14px;
            color: #666;
            position: absolute;
            width: 100%;
            top: 0;
            left: 0;
            transition: transform 0.5s ease, opacity 0.5s ease;
            text-align: left;
            padding-left: 15px;
            box-sizing: border-box;
        }

        .carousel-item.active {
            transform: translateY(0);
            opacity: 1;
        }

        .carousel-item.prev {
            transform: translateY(-60px);
            opacity: 0;
        }

        .carousel-item.next {
            transform: translateY(60px);
            opacity: 0;
        }

        .header-buttons {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }

        .top-btn {
            background: #1677ff;
            color: white;
            padding: 6px 12px;
            border-radius: 15px;
            text-decoration: none;
            font-size: 13px;
            cursor: pointer;
            border: none;
            transition: all 0.3s;
            white-space: nowrap;
        }

        .top-btn:hover {
            background: #0056d6;
            transform: translateY(-1px);
        }

        .help-btn {
            background: #52c41a;
        }

        .help-btn:hover {
            background: #389e0d;
        }

        .service-btn {
            background: #fa8c16;
        }

        .service-btn:hover {
            background: #d46b08;
        }

        .share-btn {
            background: #722ed1;
        }
        
        .share-btn:hover {
            background: #531dab;
        }
        .search-section {
            background: white;
            border-radius: 15px;
            padding: 40px;
            text-align: center;
            box-shadow: 0 2px 20px rgba(0,0,0,0.1);
            margin-bottom: 30px;
        }

        .logo {
            font-size: 32px;
            font-weight: bold;
            color: #333;
            margin-bottom: 20px;
        }

        .desc {
            color: #666;
            margin-bottom: 20px;
        }

        .help-link {
            color: #ff8800;
            text-decoration: none;
            font-size: 12px;
            padding: 4px 8px;
            background: #fff4e6;
            border-radius: 10px;
            display: inline-block;
            margin-top: 5px;
        }

        .help-link:hover {
            background: #ffe4cc;
        }

        .brand-selection {
            margin: 20px 0;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .brand-row {
            display: flex;
            flex-wrap: nowrap;
            gap: 8px;
            justify-content: center;
            overflow: hidden;
            margin-bottom: 10px;
        }

        .brand-expandable {
            display: none;
            flex-wrap: wrap;
            gap: 8px;
            justify-content: center;
            animation: slideDown 0.3s ease;
        }

        .brand-expandable.show {
            display: flex;
        }

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

        .expand-btn {
            padding: 8px 12px;
            border: 2px solid #e0e0e0;
            border-radius: 6px;
            background: white;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 12px;
            color: #666;
            min-width: auto;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .expand-btn:hover {
            border-color: #1677ff;
            background: #f0f8ff;
            color: #1677ff;
        }

        .expand-icon {
            transition: transform 0.3s;
        }

        .expand-btn.expanded .expand-icon {
            transform: rotate(180deg);
        }

        .brand-btn {
            padding: 12px 16px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            background: white;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 14px;
            color: #333;
            flex-shrink: 0;
            min-width: 80px;
            text-align: center;
            white-space: nowrap;
        }

        .brand-btn.active {
            background: #1677ff;
            color: white;
            border-color: #1677ff;
        }

        .brand-btn:hover {
            border-color: #1677ff;
            background: #f0f8ff;
        }

        .brand-btn.active:hover {
            background: #0056d6;
        }

        .other-brands {
            position: relative;
        }

        .dropdown-icon {
            margin-left: 5px;
            font-size: 12px;
            transition: transform 0.3s;
        }

        /* Modal Styles */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .modal-overlay.show {
            opacity: 1;
            visibility: visible;
        }

        .modal-content {
            background: white;
            border-radius: 15px;
            padding: 25px;
            max-width: 400px;
            width: 90%;
            max-height: 70vh;
            overflow-y: auto;
            transform: scale(0.8);
            transition: transform 0.3s ease;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
        }

        .modal-overlay.show .modal-content {
            transform: scale(1);
        }

        .modal-header {
            text-align: center;
            margin-bottom: 20px;
            border-bottom: 1px solid #f0f0f0;
            padding-bottom: 15px;
        }

        .modal-title {
            font-size: 20px;
            font-weight: bold;
            color: #333;
            margin-bottom: 5px;
        }

        .modal-subtitle {
            color: #666;
            font-size: 14px;
        }

        .brand-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
            margin-bottom: 20px;
        }

        .brand-option {
            padding: 12px 16px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            background: white;
            cursor: pointer;
            transition: all 0.3s;
            text-align: center;
            font-size: 14px;
            color: #333;
        }

        .brand-option:hover {
            border-color: #1677ff;
            background: #f0f8ff;
            transform: translateY(-2px);
        }

        .close-btn {
            width: 100%;
            padding: 12px;
            background: #f5f5f5;
            color: #666;
            border: 1px solid #d9d9d9;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .close-btn:hover {
            background: #e6f7ff;
            border-color: #91d5ff;
            color: #1677ff;
        }

        .input-section {
            margin: 30px 0;
        }

        .input-field {
            width: 100%;
            max-width: 400px;
            height: 50px;
            border: 2px solid #e0e0e0;
            border-radius: 25px;
            padding: 0 20px;
            text-align: center;
            font-size: 16px;
            outline: none;
            transition: border-color 0.3s;
        }

        .input-field:focus {
            border-color: #1677ff;
        }

        .agreement {
            margin: 20px 0;
            font-size: 14px;
            color: #666;
        }

        .agreement input[type="checkbox"] {
            margin-right: 8px;
        }

        .agreement a {
            color: #1677ff;
            text-decoration: none;
        }

        .agreement a:hover {
            text-decoration: underline;
        }

        .help-text {
            color: #ff6b35;
            font-size: 14px;
            margin: 10px 0;
        }

        .help-text a {
            color: #ff6b35;
            text-decoration: none;
        }

        .help-text a:hover {
            text-decoration: underline;
        }

        .search-btn {
            background: #1677ff;
            color: white;
            border: none;
            padding: 15px 40px;
            border-radius: 25px;
            font-size: 18px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 4px 15px rgba(22, 119, 255, 0.3);
        }

        .search-btn:hover {
            background: #0056d6;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(22, 119, 255, 0.4);
        }

        .search-btn:disabled {
            background: #ccc;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }

        .info-section {
            background: white;
            border-radius: 15px;
            padding: 30px;
            margin-bottom: 20px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .section-title {
            font-size: 20px;
            font-weight: bold;
            color: #333;
            margin-bottom: 20px;
            text-align: center;
        }

        .info-item {
            margin-bottom: 15px;
        }

        .info-title {
            font-weight: bold;
            color: #333;
            margin-bottom: 5px;
        }

        .info-desc {
            color: #666;
            font-size: 14px;
            line-height: 1.6;
        }

        .faq-section {
            background: white;
            border-radius: 15px;
            padding: 30px;
            margin-bottom: 20px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .faq-item {
            border-bottom: 1px solid #f0f0f0;
            padding: 15px 0;
            cursor: pointer;
        }

        .faq-item:last-child {
            border-bottom: none;
        }

        .faq-question {
            font-weight: 500;
            color: #333;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .faq-answer {
            color: #666;
            font-size: 14px;
            margin-top: 10px;
            display: none;
            line-height: 1.6;
        }

        .faq-item.active .faq-answer {
            display: block;
        }

        .arrow-icon {
            transition: transform 0.3s;
        }

        .faq-item.active .arrow-icon {
            transform: rotate(90deg);
        }

        .more-btn {
            text-align: center;
            margin-top: 20px;
        }

        .more-link {
            background: #fff4e6;
            color: #ff8800;
            border: 1px solid #ffcc99;
            padding: 10px 20px;
            border-radius: 8px;
            text-decoration: none;
            display: inline-block;
            transition: background 0.3s;
        }

        .more-link:hover {
            background: #ffe4cc;
        }

        .testimonials {
            background: white;
            border-radius: 15px;
            padding: 30px;
            margin-bottom: 20px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .testimonials-container {
            height: 300px;
            overflow: hidden;
            position: relative;
            margin-top: 20px;
        }

        .testimonials-scroll {
            display: flex;
            flex-direction: column;
            animation: scrollTestimonials 350s linear infinite;
        }

        @keyframes scrollTestimonials {
            0% {
                transform: translateY(0);
            }
            100% {
                transform: translateY(-50%);
            }
        }

        .testimonials-scroll:hover {
            animation-play-state: paused;
        }

        .testimonial-item {
            display: flex;
            align-items: flex-start;
            padding: 15px 0;
            border-bottom: 1px solid #f0f0f0;
        }

        .testimonial-item:last-child {
            border-bottom: none;
        }

        .avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: #e0e0e0;
            margin-right: 15px;
            flex-shrink: 0;
        }

        .user-info {
            flex: 1;
        }

        .username {
            font-weight: 500;
            color: #333;
            margin-bottom: 5px;
        }

        .comment {
            color: #666;
            font-size: 14px;
            line-height: 1.5;
        }

        .footer {
            background: white;
            border-radius: 15px;
            padding: 20px;
            text-align: center;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            color: #666;
            font-size: 12px;
            line-height: 1.6;
        }

        .footer div {
            margin-bottom: 5px;
        }

        .footer div:last-child {
            margin-bottom: 0;
        }

        .query-history {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: #1677ff;
            color: white;
            padding: 12px 20px;
            border-radius: 25px;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(22, 119, 255, 0.3);
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s;
        }

        .query-history:hover {
            background: #0056d6;
            transform: translateY(-2px);
        }

        @media (max-width: 768px) {
            .container {
                padding: 10px;
            }

            .header {
                flex-direction: column;
                gap: 15px;
            }

            .query-carousel {
                width: 100%;
                height: 40px;
                font-size: 12px;
                flex: none;
                display: block;
                visibility: visible;
                background: #f0f8ff;
            }

            .carousel-item {
                height: 40px;
                font-size: 12px;
                line-height: 40px;
                justify-content: center;
                display: flex;
                align-items: center;
                position: absolute;
                width: 100%;
                top: 0;
                left: 0;
                text-align: center;
                padding: 0 5px;
                box-sizing: border-box;
            }

            .brand-row {
                gap: 6px;
            }

            .brand-btn {
                padding: 10px 12px;
                font-size: 13px;
                min-width: 65px;
            }

            .expand-btn {
                padding: 10px 12px;
                font-size: 12px;
                min-width: 65px;
            }

            .brand-expandable {
                gap: 6px;
                margin-top: 8px;
            }
        }

        @media (max-width: 480px) {
            .header {
                padding: 15px;
                flex-direction: column;
                gap: 10px;
            }

            .query-carousel {
                width: 100%;
                height: 35px;
                font-size: 11px;
                order: 1;
                background: #e6f7ff;
                border-radius: 8px;
                padding: 0 5px;
                display: block;
                visibility: visible;
                flex: none;
            }

            .carousel-item {
                height: 35px;
                font-size: 11px;
                line-height: 35px;
                justify-content: center;
                text-align: center;
                display: flex;
                align-items: center;
                position: absolute;
                width: 100%;
                top: 0;
                left: 0;
                padding: 0 5px;
                box-sizing: border-box;
            }

            .top-btn {
                order: 2;
                padding: 6px 12px;
                font-size: 12px;
                align-self: center;
            }

            .brand-btn {
                padding: 8px 10px;
                font-size: 12px;
                min-width: 55px;
            }

            .expand-btn {
                padding: 8px 10px;
                font-size: 11px;
                min-width: 55px;
            }

            .brand-row {
                gap: 6px;
            }

            .brand-expandable {
                gap: 6px;
            }

            .search-section {
                padding: 20px;
            }

            .logo {
                font-size: 24px;
            }
        }

        /* 协议模态框样式 */
        .agreement-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            padding: 20px;
            box-sizing: border-box;
        }

        .agreement-modal-overlay.show {
            opacity: 1;
            visibility: visible;
        }

        .agreement-modal-content {
            background: white;
            border-radius: 15px;
            padding: 30px;
            max-width: 800px;
            width: 90%;
            max-height: 80vh;
            overflow: hidden;
            transform: scale(0.8);
            transition: transform 0.3s ease;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
            display: flex;
            flex-direction: column;
        }

        .agreement-modal-overlay.show .agreement-modal-content {
            transform: scale(1);
        }

        .agreement-modal-header {
            text-align: center;
            margin-bottom: 25px;
            border-bottom: 1px solid #f0f0f0;
            padding-bottom: 20px;
            flex-shrink: 0;
        }

        .agreement-modal-title {
            font-size: 24px;
            font-weight: bold;
            color: #333;
            margin-bottom: 10px;
        }

        .agreement-modal-subtitle {
            color: #666;
            font-size: 16px;
        }

        .agreement-modal-body {
            line-height: 1.8;
            color: #333;
            margin-bottom: 30px;
            overflow-y: auto;
            flex-grow: 1;
            padding-right: 10px;
        }

        /* 自定义滚动条样式 */
        .agreement-modal-body::-webkit-scrollbar {
            width: 6px;
        }

        .agreement-modal-body::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 3px;
        }

        .agreement-modal-body::-webkit-scrollbar-thumb {
            background: #c1c1c1;
            border-radius: 3px;
        }

        .agreement-modal-body::-webkit-scrollbar-thumb:hover {
            background: #a8a8a8;
        }

        .agreement-modal-section {
            margin-bottom: 25px;
        }

        .agreement-modal-section-title {
            font-size: 18px;
            font-weight: bold;
            color: #1677ff;
            margin-bottom: 15px;
            padding-bottom: 8px;
            border-bottom: 1px solid #f0f0f0;
        }

        .agreement-modal-text {
            margin-bottom: 15px;
            font-size: 14px;
            color: #666;
        }

        .agreement-modal-list {
            padding-left: 20px;
            margin-bottom: 15px;
        }

        .agreement-modal-list li {
            margin-bottom: 8px;
            color: #666;
        }

        .agreement-modal-close-btn {
            width: 100%;
            padding: 12px;
            background: #1677ff;
            color: white;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 16px;
            font-weight: bold;
            flex-shrink: 0;
        }

        .agreement-modal-close-btn:hover {
            background: #0056d6;
            transform: translateY(-1px);
        }


        .agreement-links {
            margin: 20px 0;
            padding: 15px;
            background: #f8f9fa;
            border-radius: 8px;
        }

        .agreement-link {
            color: #1677ff;
            text-decoration: none;
            margin-right: 20px;
            cursor: pointer;
        }

        .agreement-link:hover {
            text-decoration: underline;
        }