 :root {
            --primary-color: #0066cc;
            --secondary-color: #0099ff;
            --dark-color: #003366;
            --light-color: #f0f8ff;
            --success-color: #009900;
            --border-color: #cce5ff;
            --shadow: 0 4px 12px rgba(0, 51, 102, 0.1);
            --card-bg: rgba(255, 255, 255, 0.95);
            --tab-active: #e6f2ff;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
            line-height: 1.6;
        }

        body {
            background: linear-gradient(135deg, #e6f2ff 0%, #cce5ff 100%);
            color: var(--dark-color);
            min-height: 100vh;
            padding: 15px;
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23ffffff" fill-opacity="0.03"/><path d="M0 0L100 100M100 0L0 100M50 0L50 100M0 50L100 50" stroke="%23cce5ff" stroke-width="0.4"/></svg>');
            background-size: 100px 100px;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            height: 100vh;
            gap: 12px;
        }

        header {
            background: var(--card-bg);
            border-radius: 16px;
            padding: 12px 20px;
            box-shadow: var(--shadow);
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 3px solid var(--primary-color);
            position: relative;
        }

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

        .logo-icon {
            background: white;
            width: 220px;
            height: 65px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 8px rgba(0, 102, 204, 0.15);
        }

        .logo-icon img {
            height: 60px;
            width: auto;
            padding: 3px;
        }

        .logo-text {
            display: flex;
            flex-direction: column;
        }

        .logo-main {
            font-size: 17px;
            font-weight: 700;
            color: var(--dark-color);
            line-height: 1.2;
        }

        .logo-sub {
            font-size: 13px;
            color: var(--primary-color);
            font-weight: 500;
        }

        nav ul {
            display: flex;
            list-style: none;
            gap: 12px;
        }

        nav a {
            text-decoration: none;
            color: var(--dark-color);
            font-weight: 500;
            transition: all 0.3s ease;
            padding: 6px 10px;
            border-radius: 8px;
            position: relative;
            font-size: 14px;
        }

        nav a:hover, nav a.active {
            background: rgba(0, 102, 204, 0.1);
            color: var(--primary-color);
        }

        nav a:hover::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 12px;
            right: 12px;
            height: 2px;
            background: var(--primary-color);
        }

        .main-content {
            display: flex;
            flex: 1;
            gap: 15px;
            position: relative;
            flex-direction: column;
        }

        .chat-container {
            flex: 3;
            background: var(--card-bg);
            border-radius: 16px;
            box-shadow: var(--shadow);
            display: flex;
            flex-direction: column;
            overflow: hidden;
            border: 1px solid var(--border-color);
            min-height: 400px;
        }

        .chat-header {
            padding: 16px;
            background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
            color: white;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .chat-header-icon {
            font-size: 18px;
            background: rgba(255, 255, 255, 0.2);
            width: 34px;
            height: 34px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
        }

        .chat-header h2 {
            font-size: 25px;
            font-weight: 600;
            flex: 1;
            text-align: center;
        }

        .chat-header .online-status {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 13px;
        }

        .status-dot {
            width: 8px;
            height: 8px;
            background: #00cc66;
            border-radius: 50%;
            box-shadow: 0 0 6px #00cc66;
        }

        .chat-messages {
            flex: 1;
            padding: 12px;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 15px;
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23ffffff" fill-opacity="0.1"/><path d="M0 50L100 50M50 0L50 100" stroke="%23e6f2ff" stroke-width="1"/></svg>');
            background-size: 40px 40px;
        }

        .message {
            max-width: 90%;
            padding: 14px 16px;
            border-radius: 14px;
            position: relative;
            animation: fadeIn 0.3s ease-out;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
            font-size: 15px;
        }

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

        .user-message {
            background: white;
            color: var(--dark-color);
            align-self: flex-end;
            border-bottom-right-radius: 4px;
            border: 1px solid var(--border-color);
        }

        .ai-message {
            background: rgba(255, 255, 255, 0.9);
            align-self: flex-start;
            border-bottom-left-radius: 4px;
            border-left: 4px solid var(--primary-color);
        }

        .ai-message-header {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 10px;
        }

        .ai-avatar {
            width: 32px;
            height: 32px;
            background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 16px;
            flex-shrink: 0;
        }

        .ai-name {
            font-weight: 700;
            color: var(--primary-color);
            font-size: 18px;
        }

        .chat-input-container {
            padding: 12px;
            border-top: 1px solid var(--border-color);
            background: white;
        }

        .chat-input {
            display: flex;
            gap: 10px;
        }

        .chat-input textarea {
            flex: 1;
            padding: 12px;
            border: 1px solid var(--border-color);
            border-radius: 10px;
            resize: none;
            font-family: inherit;
            font-size: 15px;
            height: 55px;
            transition: all 0.3s;
            background: #f9fbfd;
        }

        .chat-input textarea:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.2);
            background: white;
        }

        .send-button {
            background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
            color: white;
            border: none;
            border-radius: 10px;
            padding: 0 20px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            box-shadow: 0 4px 8px rgba(0, 102, 204, 0.25);
        }

        .send-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(0, 102, 204, 0.35);
        }

        .send-button:active {
            transform: translateY(0);
        }

        .send-button:disabled {
            background: #94a3b8;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }

        .sidebar {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .info-card {
            background: var(--card-bg);
            border-radius: 14px;
            padding: 18px;
            box-shadow: var(--shadow);
            border: 1px solid var(--border-color);
        }

        .info-card h3 {
            font-size: 16px;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--dark-color);
            padding-bottom: 8px;
            border-bottom: 1px solid var(--border-color);
            cursor: pointer;
            position: relative;
        }

        .info-card h3 i {
            color: var(--primary-color);
            font-size: 18px;
        }

        .info-card h3 .toggle-icon {
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            transition: transform 0.3s;
        }

        .info-card.collapsed .card-content {
            display: none;
        }

        .info-card h3 .toggle-icon.rotated {
            transform: translateY(-50%) rotate(180deg);
        }

        .info-card p {
            margin-bottom: 10px;
            color: #444;
            line-height: 1.6;
            font-size: 14px;
        }

        .features {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 12px;
        }

        .feature {
            background: rgba(0, 102, 204, 0.1);
            color: var(--primary-color);
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
        }

        .examples {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .example {
            padding: 12px;
            background: #f9fbfd;
            border-radius: 10px;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.3s;
            border: 1px solid var(--border-color);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .example:hover {
            background: white;
            border-color: var(--primary-color);
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 51, 102, 0.1);
        }

        .example i {
            color: var(--primary-color);
            font-size: 15px;
        }

        .typing-indicator {
            display: inline-flex;
            align-items: center;
            padding: 10px 14px;
            background: white;
            border-radius: 14px;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
        }

        .typing-dot {
            width: 6px;
            height: 6px;
            background: var(--primary-color);
            border-radius: 50%;
            margin: 0 3px;
            animation: typing 1.5s infinite;
        }

        .typing-dot:nth-child(1) { animation-delay: 0s; }
        .typing-dot:nth-child(2) { animation-delay: 0.2s; }
        .typing-dot:nth-child(3) { animation-delay: 0.4s; }

        @keyframes typing {
            0%, 60%, 100% { transform: translateY(0); }
            30% { transform: translateY(-4px); }
        }

        footer {
            text-align: center;
            padding: 12px;
            color: #003366;
            font-size: 13px;
            background: var(--card-bg);
            border-radius: 14px;
            box-shadow: var(--shadow);
            border: 1px solid var(--border-color);
            font-weight: 500;
        }

        .ai-disclaimer {
            margin-top: 10px;
            padding: 8px;
            background-color: #f8f8f8;
            border-left: 3px solid #ff9800;
            font-size: 13px;
            color: #666;
            border-radius: 4px;
        }

        .capability-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 12px;
            margin-top: 12px;
        }

        .capability {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
            padding: 10px;
            background: rgba(0, 102, 204, 0.05);
            border-radius: 8px;
            text-align: center;
            transition: all 0.3s;
            border: 1px solid var(--border-color);
        }

        .capability:hover {
            transform: translateY(-5px);
            box-shadow: 0 4px 8px rgba(0, 51, 102, 0.1);
            background: rgba(0, 102, 204, 0.1);
        }

        .capability i {
            font-size: 22px;
            color: var(--primary-color);
        }

        .capability span {
            font-weight: 600;
            font-size: 12px;
            color: var(--dark-color);
        }

        /* 专业排版样式 */
        .formatted-content {
            font-size: 14px;
            color: #333;
            line-height: 1.6;
        }
        
        .formatted-content h3 {
            color: var(--primary-color);
            margin: 12px 0 8px;
            padding-bottom: 5px;
            border-bottom: 1px solid var(--border-color);
            font-size: 18px;
        }
        
        .formatted-content p {
            margin-bottom: 10px;
            font-size: 18px;
            line-height: 1.8;
            letter-spacing: 1.8px;
        }
        
        .formatted-content ul, 
        .formatted-content ol {
            margin: 8px 0 12px 16px;
            font-size: 14px;
        }
        
        .formatted-content li {
            margin-bottom: 6px;
        }
        
        .formatted-content .steps {
            counter-reset: step-counter;
            margin: 12px 0;
        }
        
        .formatted-content .steps li {
            counter-increment: step-counter;
            position: relative;
            padding-left: 30px;
            margin-bottom: 10px;
            list-style: none;
            font-size: 14px;
        }
        
        .formatted-content .steps li:before {
            content: counter(step-counter);
            position: absolute;
            left: 0;
            top: 0;
            width: 22px;
            height: 22px;
            background: var(--primary-color);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 12px;
        }

        /* 汉堡菜单样式 */
        .hamburger {
            display: none;
            background: none;
            border: none;
            font-size: 22px;
            color: var(--dark-color);
            cursor: pointer;
            padding: 5px;
        }

        .mobile-nav {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: var(--card-bg);
            border-radius: 0 0 14px 14px;
            box-shadow: var(--shadow);
            z-index: 10;
            padding: 12px;
            border-top: 1px solid var(--border-color);
        }

        .mobile-nav ul {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .mobile-nav a {
            display: block;
            text-decoration: none;
            color: var(--dark-color);
            font-weight: 500;
            padding: 10px;
            border-radius: 8px;
            transition: all 0.3s;
        }

        .mobile-nav a:hover {
            background: rgba(0, 102, 204, 0.1);
            color: var(--primary-color);
        }

        .mobile-nav.active {
            display: block;
        }

        /* 响应式设计 */
        @media (min-width: 768px) {
            .main-content {
                flex-direction: row;
            }
            
            .chat-container {
                min-height: auto;
            }
        }

        @media (max-width: 900px) {
            .main-content {
                flex-direction: column;
            }
            
            nav ul {
                gap: 8px;
                flex-wrap: wrap;
                justify-content: center;
            }
            
            nav a {
                font-size: 13px;
                padding: 5px 8px;
            }
            
            .message {
                max-width: 85%;
            }
            
            .sidebar {
                min-width: auto;
            }
            
            .capability-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            body {
                padding: 10px;
            }
            
            .logo-text {
                display: none;
            }
            
            .logo-icon {
                width: 100px;
                height: 38px;
            }
            
            .logo-icon img {
                height: 30px;
            }
            
            nav {
                display: none;
            }
            
            .hamburger {
                display: block;
            }
            
            .chat-header h2 {
                font-size: 16px;
            }
            
            .capability-grid {
                grid-template-columns: 1fr;
                display: flow-root;
            }
            
            .formatted-content table {
                display: block;
                overflow-x: auto;
            }
            
            .examples {
                gap: 10px;
            }
            
            .example {
                padding: 10px;
                font-size: 13px;
            }
            
            .info-card h3 {
                font-size: 15px;
            }

            .chat-input textarea {
                font-size: 14px;
                height: 50px;
            }
        }

        @media (max-width: 480px) {
            .container {
                gap: 8px;
            }
            
            header {
                padding: 10px 15px;
            }
            
            .chat-header {
                padding: 12px;
            }
            
            .chat-messages {
                padding: 10px;
            }
            
            .message {
                padding: 12px;
                max-width: 95%;
                font-size: 14px;
            }
            
            .ai-name {
                font-size: 14px;
            }
            
            .chat-input textarea {
                padding: 10px;
                font-size: 14px;
                height: 45px;
            }
            
            .send-button {
                padding: 0 16px;
                font-size: 13px;
            }
            
            .logo-icon {
                width: 100%;
                height: 55px;
                padding: 10px;
            }
            
            .logo-icon img {
                height: 50px;
            }
            
            .ai-avatar {
                width: 28px;
                height: 28px;
                font-size: 14px;
            }
            
            .formatted-content h3 {
                font-size: 14px;
            }
            
            .formatted-content p, 
            .formatted-content li {
                font-size: 13px;
            }
            
            .formatted-content .steps li {
                padding-left: 26px;
                font-size: 13px;
            }
            
            .formatted-content .steps li:before {
                width: 20px;
                height: 20px;
                font-size: 11px;
            }

            .capability i {
                font-size: 20px;
            }

            .capability span {
                font-size: 11px;
            }
            .capability{
                width: 30%;
        float: left;
        margin: 0 0 5px 5px;
            }
        }