/* OpenClaw 网站自定义主题 - 营销优化版 */

:root {
  --primary-color: #667eea;
  --secondary-color: #764ba2;
  --accent-color: #f093fb;
  --success-color: #48bb78;
  --warning-color: #ed8936;
  --text-color: #2d3748;
  --bg-color: #f8fafc;
  --sidebar-bg: #ffffff;
  --code-bg: #f7fafc;
  --border-color: #e2e8f0;
}

/* 营销重点样式 */
.highlight-box {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  padding: 30px;
  border-radius: 20px;
  margin: 30px 0;
  text-align: center;
  box-shadow: 0 10px 30px rgba(245, 87, 108, 0.3);
}

.saving-calculator {
  background: white;
  border: 3px solid var(--success-color);
  border-radius: 20px;
  padding: 30px;
  margin: 30px 0;
  text-align: center;
}

.saving-number {
  font-size: 4rem;
  font-weight: 800;
  color: var(--success-color);
  margin: 20px 0;
}

.comparison-table {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin: 40px 0;
}

.comparison-good {
  background: linear-gradient(135deg, var(--success-color) 0%, #38a169 100%);
  color: white;
  padding: 25px;
}

.comparison-bad {
  background: linear-gradient(135deg, #f56565 0%, #c53030 100%);
  color: white;
  padding: 25px;
}

.testimonial {
  background: white;
  border-left: 5px solid var(--primary-color);
  padding: 25px;
  margin: 25px 0;
  border-radius: 0 12px 12px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* 其他原有样式保持不变 */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-color);
  background: var(--bg-color);
  line-height: 1.6;
}

.sidebar {
  background: linear-gradient(135deg, var(--sidebar-bg) 0%, #f8fafc 100%);
  border-right: 1px solid var(--border-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sidebar-nav {
  padding: 20px;
}

.sidebar-nav li {
  margin-bottom: 8px;
}

.sidebar-nav a {
  color: var(--text-color);
  border-radius: 8px;
  padding: 10px 15px;
  transition: all 0.3s ease;
  display: block;
}

.sidebar-nav a:hover {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  transform: translateX(5px);
}

.sidebar-nav a.active {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  font-weight: 600;
}

/* ... 其他原有样式 ... */
/* 增强加载体验 */
.loading-enhanced {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    transition: opacity 0.5s ease;
}

.loading-logo {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: pulse 1.5s infinite;
}

.loading-progress {
    width: 300px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    margin: 20px 0;
    overflow: hidden;
}

.loading-bar {
    height: 100%;
    background: white;
    width: 0%;
    animation: loading 2s ease-in-out infinite;
    border-radius: 3px;
}

.loading-steps {
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes loading {
    0% { width: 0%; left: 0; }
    50% { width: 70%; }
    100% { width: 100%; left: 100%; }
}
