/* ==================== 基础重置和变量 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #8b5cf6;
    --accent-color: #06b6d4;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-dark: #0f172a;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==================== 加载动画 ==================== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-inner {
    text-align: center;
}

.loader-circle {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(102, 126, 234, 0.2);
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader-text {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ==================== 导航栏 ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 2rem;
    max-width: 1400px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-brand .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.nav-brand .logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    font-size: 2rem;
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-3px) rotate(5deg); }
}

.product-tag {
    background: var(--gradient-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.625rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    display: inline-block;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-text {
    color: var(--primary-color);
    padding: 0.75rem 1rem;
}

.btn-text:hover {
    background: rgba(99, 102, 241, 0.1);
}

.btn.large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.btn:hover .btn-arrow {
    transform: translateX(5px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.3rem;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ==================== 英雄区域 ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
}

.grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.float-item {
    position: absolute;
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(99, 102, 241, 0.15);
    animation: float 6s ease-in-out infinite;
}

.float-1 { top: 20%; left: 10%; animation-delay: 0s; }
.float-2 { top: 60%; left: 5%; animation-delay: 1s; }
.float-3 { top: 30%; right: 10%; animation-delay: 2s; }
.float-4 { top: 70%; right: 5%; animation-delay: 3s; }
.float-5 { top: 40%; left: 15%; animation-delay: 4s; }
.float-6 { top: 80%; right: 15%; animation-delay: 5s; }

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.15;
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
        opacity: 0.25;
    }
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success-color);
    border-radius: 50%;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.subtitle {
    font-size: 2.5rem;
    color: var(--text-primary);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-features {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.feature-icon {
    color: var(--success-color);
    font-weight: bold;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* 卡片堆叠 */
.card-stack {
    position: relative;
    height: 500px;
}

.card {
    position: absolute;
    width: 100%;
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    transition: all 0.5s ease;
    animation: cardFloat 3s ease-in-out infinite;
}

.card-1 {
    top: 0;
    z-index: 1;
    animation-delay: 0s;
}

.card-2 {
    top: 120px;
    z-index: 2;
    animation-delay: 0.5s;
}

.card-3 {
    top: 240px;
    z-index: 3;
    animation-delay: 1s;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.card:hover {
    transform: translateY(-15px) scale(1.02);
    z-index: 10;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
}

.card-icon {
    font-size: 1.5rem;
}

.card-title {
    flex: 1;
}

.card-title strong {
    display: block;
    color: var(--text-primary);
}

.card-title span {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.card-body {
    color: var(--text-secondary);
}

.chat-bubble {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.bubble-icon {
    font-size: 1.5rem;
}

.bubble-content p {
    background: var(--bg-secondary);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.95rem;
}

.sql-preview {
    background: var(--bg-dark);
    color: #a5b4fc;
    padding: 1rem;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

.sql-line {
    margin-bottom: 0.25rem;
}

.sql-keyword { color: #c792ea; }
.sql-field { color: #82aaff; }
.sql-table { color: #ffcb6b; }
.sql-condition { color: #c3e88d; }

.ai-thinking {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: var(--primary-color);
    font-size: 0.875rem;
}

.thinking-icon {
    animation: thinkingBounce 1s ease-in-out infinite;
}

@keyframes thinkingBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.chart-result {
    height: 100px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 100%;
    padding: 1rem;
}

.bar {
    width: 15%;
    background: var(--gradient-primary);
    border-radius: 4px 4px 0 0;
    animation: barGrow 1s ease-out;
}

@keyframes barGrow {
    from { height: 0; }
}

.insight-box {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
}

.insight-icon {
    font-size: 1.25rem;
}

.insight-content p {
    font-size: 0.875rem;
    color: var(--text-primary);
}

/* ==================== 通用区块样式 ==================== */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* ==================== 面包屑导航 ==================== */
.breadcrumb-wrapper {
    background: var(--bg-secondary);
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
}

.breadcrumb-separator {
    margin: 0 0.75rem;
    color: var(--text-light);
    font-size: 0.875rem;
    user-select: none;
}

@media (max-width: 768px) {
    .breadcrumb-wrapper {
        padding: 1rem 0;
    }

    .breadcrumb {
        padding: 0 1rem;
    }

    .breadcrumb-list {
        font-size: 0.875rem;
    }

    .breadcrumb-separator {
        margin: 0 0.5rem;
    }
}

/* ==================== 核心优势对比 ==================== */
.advantages {
    background: var(--bg-secondary);
}

.comparison-table {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.comparison-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: var(--gradient-primary);
    color: white;
    padding: 1.5rem;
}

.comparison-item {
    text-align: center;
    padding: 0 1rem;
}

.comparison-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 2rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row:nth-child(even) {
    background: var(--bg-secondary);
}

.comparison-item strong {
    display: block;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.comparison-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.comparison-value {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.comparison-value.high {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

.comparison-value.low {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.comparison-value.slow {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

.comparison-value.fast {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.comparison-value.static {
    background: rgba(100, 116, 139, 0.1);
    color: var(--text-secondary);
}

.comparison-value.dynamic {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
}

.comparison-value.manual {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

.comparison-value.ai {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.comparison-value.expensive {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

.comparison-value.cheap {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

/* ==================== 产品功能 ==================== */
.products {
    background: white;
}

.product-module {
    margin-bottom: 6rem;
}

.product-module:last-child {
    margin-bottom: 0;
}

.module-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.product-module.reverse .module-content {
    grid-template-columns: 1fr 1fr;
}

.product-module.reverse .module-content {
    direction: rtl;
}

.product-module.reverse .module-content > * {
    direction: ltr;
}

.module-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.module-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.module-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.module-features {
    list-style: none;
    margin-bottom: 2rem;
}

.module-features li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.check-icon {
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.module-features strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.module-features p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.example-box {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 2rem;
    border: 2px solid var(--border-color);
}

.example-title {
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.example-dialog {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dialog-item {
    display: flex;
    gap: 1rem;
}

.dialog-avatar {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.dialog-content {
    flex: 1;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.dialog-item.user .dialog-content {
    background: var(--primary-color);
    color: white;
}

.dialog-item.system .dialog-content {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

/* 技术流程图 */
.tech-flow-diagram {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.flow-step {
    text-align: center;
    flex: 1;
    min-width: 100px;
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.step-label {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.step-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.flow-arrow {
    font-size: 1.5rem;
    color: var(--primary-light);
}

/* 图表类型 */
.chart-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.chart-type-item {
    text-align: center;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.chart-type-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.chart-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.chart-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.chart-use {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* 分析能力 */
.analysis-capabilities {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.capability-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 12px;
}

.capability-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.capability-content h4 {
    margin-bottom: 0.25rem;
}

.capability-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* 视觉卡片 */
.visual-card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.interface-header {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.interface-title {
    font-weight: 600;
}

.interface-dots {
    display: flex;
    gap: 0.5rem;
}

.interface-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
}

.interface-body {
    padding: 1.5rem;
}

/* 聊天界面 */
.chat-interface .interface-body {
    padding: 0;
}

.chat-messages {
    max-height: 400px;
    overflow-y: auto;
    padding: 1.5rem;
}

.message {
    margin-bottom: 1rem;
}

.message-bubble {
    display: inline-block;
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
}

.user-message .message-bubble {
    background: var(--primary-color);
    color: white;
    margin-left: auto;
}

.ai-message .message-bubble {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.chat-input {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
}

.chat-input input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
}

.chat-input button {
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

/* 迷你表格 */
.mini-table {
    margin-top: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.mini-table table {
    width: 100%;
    border-collapse: collapse;
}

.mini-table th,
.mini-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.mini-table th {
    background: var(--bg-secondary);
    font-weight: 600;
}

.mini-table tr:last-child td {
    border-bottom: none;
}

/* SQL 生成器 */
.sql-generator .interface-body {
    background: var(--bg-dark);
    color: #a5b4fc;
}

.code-block {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.8;
}

.code-line {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.line-number {
    color: #565f89;
    width: 2rem;
    text-align: right;
    user-select: none;
}

.code-keyword { color: #c792ea; }
.code-field { color: #82aaff; }
.code-table { color: #ffcb6b; }
.code-bracket { color: #89ddff; }
.code-alias { color: #c3e88d; }
.code-operator { color: #89ddff; }
.code-string { color: #c3e88d; }

.sql-confidence {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
}

.confidence-label {
    font-weight: 600;
}

.confidence-bar {
    flex: 1;
    height: 8px;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.confidence-fill {
    height: 100%;
    background: var(--success-color);
    border-radius: 4px;
    transition: width 1s ease;
}

.confidence-value {
    font-weight: 600;
    color: var(--success-color);
}

/* 图表展示 */
.chart-showcase .interface-header {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.chart-switcher {
    display: flex;
    gap: 0.5rem;
}

.chart-btn {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.chart-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.chart-display {
    padding: 2rem;
    background: var(--bg-secondary);
}

.chart-bars-3d {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 200px;
}

.bar-3d {
    width: 12%;
    position: relative;
    animation: barGrow 1s ease-out;
}

.bar-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 8px 8px 0 0;
}

.bar-value {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.bar-label {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.875rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.chart-actions {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-top: 1px solid var(--border-color);
}

.action-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* 洞察面板 */
.insight-badge {
    background: var(--success-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.insight-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.insight-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    border-left: 4px solid;
}

.insight-item.positive {
    background: rgba(16, 185, 129, 0.05);
    border-color: var(--success-color);
}

.insight-item.warning {
    background: rgba(245, 158, 11, 0.05);
    border-color: var(--warning-color);
}

.insight-item.info {
    background: rgba(99, 102, 241, 0.05);
    border-color: var(--primary-color);
}

.insight-item.prediction {
    background: rgba(139, 92, 246, 0.05);
    border-color: var(--secondary-color);
}

.insight-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.insight-text strong {
    display: block;
    margin-bottom: 0.25rem;
}

.insight-text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ==================== 技术架构 ==================== */
.tech-architecture {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1e293b 100%);
    color: white;
}

.tech-architecture .section-title,
.tech-architecture .section-subtitle {
    color: white;
}

.subsection-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.subsection-desc {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* 架构图 */
.architecture-overview {
    margin-bottom: 4rem;
}

.architecture-diagram {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.arch-layer {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
}

.layer-label {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-light);
}

.layer-items {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.arch-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 0.95rem;
}

.item-icon {
    font-size: 1.25rem;
}

.arch-arrow {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-light);
    margin: 0.5rem 0;
}

/* 技术优势 */
.tech-advantages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.tech-advantage-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
}

.advantage-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.advantage-icon {
    font-size: 2.5rem;
}

.advantage-header h3 {
    font-size: 1.25rem;
}

.advantage-content ul {
    list-style: none;
}

.advantage-content li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
}

.advantage-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* 数据源支持 */
.datasource-support {
    margin-bottom: 4rem;
}

.datasource-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.datasource-category {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
}

.datasource-category h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.datasource-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.datasource-item {
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    font-size: 0.875rem;
}

/* 大模型支持 */
.llm-support {
    margin-bottom: 4rem;
}

.llm-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.llm-category {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
}

.llm-category h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.llm-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.llm-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.llm-logo {
    font-size: 1.5rem;
}

/* ==================== 安全体系 ==================== */
.security {
    background: var(--bg-secondary);
}

.security-framework {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.security-layer {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.layer-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.layer-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
}

.layer-title h3 {
    font-size: 1.5rem;
}

.security-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.security-feature {
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-text h4 {
    margin-bottom: 0.5rem;
}

.feature-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.use-case {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 12px;
}

.use-case h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.use-case p {
    color: var(--text-secondary);
}

/* 权限矩阵 */
.permission-matrix {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.permission-level {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
}

.level-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.level-desc {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.level-example {
    font-size: 0.875rem;
    color: var(--text-light);
}

.permission-workflow {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
}

.permission-workflow h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.workflow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.workflow-step {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.step-num {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    line-height: 30px;
    margin-bottom: 0.5rem;
}

.workflow-arrow {
    font-size: 1.5rem;
    color: var(--primary-light);
}

/* 安全措施 */
.security-measures {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.measure-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
}

.measure-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.measure-card h4 {
    margin-bottom: 0.75rem;
}

.measure-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.measure-example {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
    flex-wrap: wrap;
}

.measure-example strong {
    color: var(--text-secondary);
}

.measure-example .before,
.measure-example .after {
    background: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: monospace;
}

.measure-example .arrow {
    color: var(--primary-light);
}

/* 合规认证 */
.security-compliance {
    text-align: center;
}

.security-compliance h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.compliance-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.compliance-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.badge-icon {
    font-size: 2.5rem;
}

.badge-content strong {
    display: block;
    margin-bottom: 0.25rem;
}

.badge-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ==================== 集成方案 ==================== */
.integration {
    background: white;
}

.integration-section {
    margin-bottom: 4rem;
}

.integration-section:last-child {
    margin-bottom: 0;
}

.section-badge {
    display: inline-block;
    background: var(--gradient-accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.integration-section h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.integration-section > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* 平台网格 */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.platform-card {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.platform-logo {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.platform-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.platform-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.platform-use-case {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
}

.platform-use-case strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.platform-use-case span {
    color: var(--text-secondary);
}

/* 嵌入卡片 */
.embed-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.embed-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.embed-visual {
    background: var(--bg-dark);
    padding: 2rem;
    min-height: 200px;
}

.browser-frame {
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.browser-header {
    background: var(--bg-secondary);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.browser-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.browser-dot.red { background: #ef4444; }
.browser-dot.yellow { background: #f59e0b; }
.browser-dot.green { background: #10b981; }

.browser-title {
    flex: 1;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.browser-content {
    padding: 1rem;
}

.embedded-widget {
    background: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
}

.widget-header {
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.widget-body {
    padding: 0.75rem;
}

.widget-body input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.875rem;
}

/* 弹窗演示 */
.popup-demo {
    position: relative;
    height: 200px;
}

.popup-button {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
}

.popup-window {
    position: absolute;
    bottom: 50px;
    right: 0;
    width: 250px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.popup-header {
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.popup-body {
    padding: 1rem;
}

.chat-bubble {
    background: var(--bg-secondary);
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.875rem;
}

.popup-input {
    padding: 0.75rem;
    border-top: 1px solid var(--border-color);
}

.popup-input input {
    width: 100%;
    padding: 0.5rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.875rem;
}

/* 全屏演示 */
.fullscreen-demo {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
}

.fullscreen-header {
    background: var(--bg-secondary);
    padding: 0.75rem 1rem;
    text-align: right;
    font-size: 0.875rem;
    color: var(--primary-color);
}

.fullscreen-body {
    padding: 2rem;
    text-align: center;
}

.fullscreen-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.query-box {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 8px;
}

.embed-content {
    padding: 1.5rem;
}

.embed-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.embed-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.embed-features {
    list-style: none;
}

.embed-features li {
    padding: 0.25rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* 业务场景 */
.integration-scenarios {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.scenario-card {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.scenario-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.scenario-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.scenario-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.scenario-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.scenario-value {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: left;
}

.scenario-value strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.scenario-value span {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* API 展示 */
.api-showcase {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.api-code-block {
    background: var(--bg-dark);
    border-radius: 12px;
    overflow: hidden;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.copy-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    cursor: pointer;
}

.code-content {
    padding: 1.5rem;
    overflow-x: auto;
}

.code-content code {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #a5b4fc;
}

.api-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.api-feature {
    text-align: center;
}

.api-feature .feature-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.api-feature h4 {
    margin-bottom: 0.5rem;
}

.api-feature p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ==================== 应用场景 ==================== */
.scenarios {
    background: var(--bg-secondary);
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.scenario-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.scenario-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.scenario-header {
    background: var(--gradient-primary);
    color: white;
    padding: 2rem;
    text-align: center;
}

.scenario-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.scenario-header h3 {
    font-size: 1.5rem;
}

.scenario-content {
    padding: 2rem;
}

.scenario-questions {
    margin-bottom: 2rem;
}

.scenario-questions h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.scenario-questions ul {
    list-style: none;
}

.scenario-questions li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.scenario-questions li::before {
    content: '💬';
    position: absolute;
    left: 0;
}

.scenario-value h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.scenario-value p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==================== 产品方案 ==================== */
.pricing {
    background: white;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.pricing-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.pricing-price {
    text-align: center;
    margin-bottom: 2rem;
}

.price-unit {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.price-value {
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: 700;
}

.price-period {
    color: var(--text-secondary);
}

.price-contact {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 0.95rem;
}

.feature-included {
    color: var(--text-primary);
}

.feature-included::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.feature-excluded {
    color: var(--text-light);
}

.feature-excluded::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: var(--text-light);
}

.pricing-btn {
    width: 100%;
    padding: 1rem;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pricing-btn.primary {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

.pricing-notice {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.pricing-notice p {
    margin-bottom: 0.5rem;
}

/* ==================== 常见问题 ==================== */
.faq {
    background: var(--bg-secondary);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-secondary);
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    flex: 1;
}

.faq-toggle {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 2000px;
}

.faq-answer {
    padding: 0 2rem;
}

.faq-answer > div {
    padding-bottom: 2rem;
}

.faq-answer p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.faq-answer ul {
    list-style: none;
    margin-bottom: 1rem;
}

.faq-answer li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.faq-answer li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.faq-answer strong {
    color: var(--text-primary);
}

.faq-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

.comparison-col {
    padding: 1.5rem;
    border-radius: 12px;
}

.comparison-col:first-child {
    background: var(--bg-secondary);
}

.comparison-col.highlight {
    background: rgba(99, 102, 241, 0.1);
    border: 2px solid var(--primary-color);
}

.comparison-col strong {
    display: block;
    margin-bottom: 1rem;
}

.comparison-col ul {
    list-style: none;
}

.comparison-col li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

/* ==================== 联系我们 ==================== */
.contact {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, white 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-info > p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 2.5rem;
}

.card-content {
    flex: 1;
}

.card-content h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.card-content p {
    color: var(--text-secondary);
}

.card-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-cta {
    text-align: center;
    padding: 3rem;
    background: var(--gradient-primary);
    border-radius: 20px;
    color: white;
}

.contact-cta h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.contact-cta p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.company-card {
    background: white;
    padding: 3rem;
    border-radius: 30px;
    box-shadow: var(--shadow-xl);
    text-align: center;
}

.company-logo {
    margin-bottom: 1.5rem;
}

.logo-large {
    font-size: 4rem;
    display: inline-block;
    animation: logoFloat 3s ease-in-out infinite;
}

.company-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.company-tagline {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.company-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.highlight-icon {
    width: 30px;
    height: 30px;
    background: var(--success-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-certifications {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.certification {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border-radius: 20px;
    font-size: 0.875rem;
}

/* ==================== 页脚 ==================== */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: start;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
}

.footer-contact {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact h4 {
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1rem;
}

.footer-brand .footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    margin-bottom: 0.75rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
}

.footer-section h4 {
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
}

.footer-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.375rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: white;
}

.footer-section li:last-child {
    font-size: 0.875rem;
}

/* 联系信息样式 */
.contact-info {
    font-style: normal;
}

.contact-info ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-info li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.contact-info a:hover {
    color: white;
}

.contact-info span:not([aria-hidden="true"]) {
    color: rgba(255, 255, 255, 0.8);
}

.contact-info address {
    display: inline;
    font-style: normal;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-bottom-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-bottom-content small {
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: white;
    text-decoration: underline;
}

.footer-links-inline {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links-inline a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links-inline a:hover {
    color: white;
    text-decoration: underline;
}

.footer-links-inline span {
    color: rgba(255, 255, 255, 0.4);
}

/* ==================== 响应式设计 ==================== */

/* 大屏幕优化 */
@media (min-width: 1400px) {
    .nav-menu {
        gap: 1rem;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.75rem 1.25rem;
    }

    .footer-content {
        grid-template-columns: 1fr 3fr;
        gap: 4rem;
    }

    .footer-links {
        gap: 3rem;
    }

    .footer-section h4 {
        margin-bottom: 1rem;
    }

    .footer-section li {
        margin-bottom: 0.5rem;
    }

    .footer-contact {
        margin-top: 2.5rem;
        padding-top: 2.5rem;
    }
}

/* 中等屏幕优化 */
@media (max-width: 1280px) {
    .nav-menu {
        gap: 0.25rem;
    }

    .nav-link {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
    }

    .nav-actions {
        gap: 0.5rem;
        margin-left: 0.5rem;
    }

    .btn.btn-outline {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        display: none;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .module-content {
        grid-template-columns: 1fr;
    }

    .tech-advantages,
    .datasource-grid,
    .llm-grid,
    .platform-grid,
    .embed-cards,
    .integration-scenarios {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem 1rem;
        gap: 0.5rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        padding: 0.875rem 1rem;
        font-size: 1rem;
        text-align: center;
        border-radius: 8px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-actions .btn {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 2rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .comparison-table {
        font-size: 0.875rem;
    }

    .comparison-header,
    .comparison-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .tech-advantages,
    .datasource-grid,
    .llm-grid,
    .platform-grid,
    .embed-cards,
    .integration-scenarios,
    .scenarios-grid {
        grid-template-columns: 1fr;
    }

    .security-features,
    .permission-matrix,
    .security-measures {
        grid-template-columns: 1fr;
    }

    .api-showcase {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        text-align: left;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-contact {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .footer-links-inline {
        justify-content: center;
    }

    .breadcrumb-list {
        justify-content: center;
    }

    .faq-comparison {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }

    .chart-types {
        grid-template-columns: 1fr;
    }

    .tech-flow-diagram {
        flex-direction: column;
    }

    .workflow {
        flex-direction: column;
    }
}

/* ==================== 滚动条样式 ==================== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ==================== 动画类 ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* ==================== 工具类 ==================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }