/* Harvey AI 网站主题样式 */
:root {
  /* 颜色变量 */
  --color-primary: #000000;        /* 纯黑色 - 背景色 */
  --color-secondary: #FFFFFF;      /* 纯白色 - 文字颜色 */
  --color-accent: #000000;         /* 主题色 */
  --color-highlight: #FFFFFF;      /* 高亮色 */
  --color-button: #FFFFFF;         /* 按钮背景色 */
  --color-button-text: #000000;    /* 按钮文字颜色 */
  --color-button-hover: #F5F5F5;   /* 按钮悬停状态 */
  --color-ivory: #F8F7F2;          /* 米白色背景 */
  --color-gray-900: #000000;       /* 纯黑色 */
  --color-gray-500: #F5F5F5;       /* 中灰色 */
  --color-gray-300: #EEEEEE;       /* 浅灰色 */
}

/* 全局样式 */
body {
  background-color: var(--color-primary);
  color: var(--color-secondary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

/* 导航和头部样式 */
.header {
  background-color: #000000 !important;
  box-shadow: none;
  transition: box-shadow 0.5s ease-linear;
}

.header.scrolled {
  box-shadow: 0px 10px 30px -10px rgba(0, 0, 0, 0.55);
}

.main-nav a, 
.mobile-menu a,
footer a {
  color: var(--color-secondary);
  transition: color 0.3s ease-out;
}

.main-nav a:hover,
.mobile-menu a:hover,
footer a:hover {
  color: var(--color-gray-500);
}

/* LOGO样式 */
.logo {
  font-family: serif;
  font-size: 32px;
  line-height: 40px;
}

/* 按钮样式 */
.btn-primary, 
.btn-demo {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-secondary);
  color: var(--color-primary);
  font-weight: 500;
  border-radius: 4px;
  height: 48px;
  padding: 0 20px;
  white-space: nowrap;
  transition: background-color 0.3s ease-out;
  cursor: pointer;
}

.btn-primary:hover, 
.btn-demo:hover {
  background-color: var(--color-gray-500);
}

/* 登录按钮样式 */
.btn-login, 
.btn-login-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  background-color: transparent;
  border: none;
  border-radius: 4px;
  height: 32px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease-out, border-color 0.3s ease-out;
  text-decoration: none !important;
}

.btn-login:hover, 
.btn-login-mobile:hover {
  color: var(--color-gray-500);
  border-color: var(--color-gray-500);
}

/* 下拉菜单样式 */
.dropdown-content, 
.mobile-dropdown-content {
  background-color: #000000 !important;
  background: #000000 !important;
  border-radius: 4px;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 移动端菜单背景 */
.mobile-menu {
  background-color: #000000 !important;
  background: #000000 !important;
}

/* 主英雄区域样式 */
.hero {
  padding-top: 26px;
}

.hero h1 {
  font-size: 56px;
  line-height: 1.1;
  font-weight: 400;
  margin-bottom: 16px;
  color: #FFFFFF;
}

.hero p {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 24px;
  max-width: 536px;
  color: #FFFFFF;
}

/* 客户Logo区域 */
.customers {
  padding: 80px 0;
  overflow: hidden;
}

.customers h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 36px;
  font-weight: 400;
  color: #FFFFFF;
}

.logos-container {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.logos {
  display: flex;
  /* animation: scroll 60s linear infinite forwards; */
  /* width: max-content; */
}

.logos img {
  height: 110px;
  width: auto;
  margin: 0 36px;
  filter: grayscale(100%);
  padding: 10px 18px;
}

/* 视频播放器样式 */
.video-thumbnail {
  background-color: transparent;
  filter: none;
}

.play-button {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0.25);
  border: none;
  width: 80px;
  height: 50px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  overflow: hidden;
}

.play-button:hover {
  width: 160px;
  background-color: rgba(255, 255, 255, 0.35);
  border-radius: 25px;
}

.play-button svg {
  margin-right: 8px;
}

.play-button span {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  margin-right: 10px;
  color: #FFFFFF;
}

.play-button:hover span {
  opacity: 1;
}

/* 米白色背景部分 */
.ivory-section {
  background-color: var(--color-ivory);
  padding: 80px 0;
  text-align: center;
}

.ivory-section h2,
.ivory-section p {
  color: var(--color-primary);
}

.ivory-section .btn-primary {
  background-color: var(--color-primary);
  color: var(--color-secondary);
}

.ivory-section .btn-primary:hover {
  background-color: #333333;
}

/* 确保图片黑白风格 */
img:not([src*="logo"]):not(.video-thumbnail) {
  filter: grayscale(100%);
}

/* 响应式调整 */
@media (max-width: 991px) {
  .hero h1 {
    font-size: 42px;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  .play-button {
    width: 60px;
    height: 40px;
  }
  
  .play-button:hover {
    width: 140px;
  }
}

@media (max-width: 767px) {
  .hero h1 {
    font-size: 32px;
  }
  
  .play-button svg {
    margin-right: 4px;
  }
}

/* 确保文字颜色为白色 */
.main-nav a:hover,
.mobile-menu a:hover,
footer a:hover {
  color: #F5F5F5;
}

/* Logo 颜色 */
.logo svg rect,
.logo svg path {
  fill: #FFFFFF;
}

/* 强调色 */
[class*="accent"],
[class*="accent-text"] {
  color: #FFFFFF !important;
}

[class*="accent-bg"],
[class*="accent-background"] {
  background-color: #FFFFFF !important;
}

.btn-primary, 
.btn-demo {
  background-color: #FFFFFF;
  color: #000000;
}

.btn-primary:hover, 
.btn-demo:hover {
  background-color: #F5F5F5;
  color: #000000;
}

.header, footer {
  background-color: #000000 !important;
  color: #FFFFFF;
}

.header.scrolled {
  background-color: #000000 !important;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}

body {
  background-color: #000000;
  color: #FFFFFF;
}

.mobile-menu {
  background-color: #000000 !important;
}

.main-nav a, 
.mobile-menu a,
footer a,
.dropdown-content a,
.mobile-dropdown-content a {
  color: #FFFFFF;
}

.btn-login, 
.btn-login-mobile {
  color: #FFFFFF;
}

/* 确保身份验证界面颜色 */
.login-dropdown .dropdown-content {
  background-color: #000000 !important;
  color: #FFFFFF;
}

/* 确保所有头部文本为白色 */
.header h1, .header h2, .header h3, .header h4, .header h5, .header h6,
.home-hero h1, .home-hero h2, .home-hero h3, .home-hero h4, .home-hero h5, .home-hero h6,
.stats-section h1, .stats-section h2, .stats-section h3, .stats-section h4, .stats-section h5, .stats-section h6,
.pain-points h1, .pain-points h2, .pain-points h3, .pain-points h4, .pain-points h5, .pain-points h6 {
  color: #FFFFFF !important;
}

/* 确保所有段落文本为白色 */
.header p, .header span, .header li, .header div,
.home-hero p, .home-hero span, .home-hero li, .home-hero div,
.stats-section p, .stats-section span, .stats-section li, .stats-section div,
.pain-points p, .pain-points span, .pain-points li, .pain-points div,
.pain-solution-card p, .pain-solution-card h3, .pain-solution-card h4 {
  color: #FFFFFF !important;
}

/* 痛点和解决方案卡片样式修复 */
.pain-point {
  color: #FFFFFF !important;
}

.pain-content h3, .pain-content p {
  color: #FFFFFF !important;
}

.solution-content h4, .solution-content p {
  color: #FFFFFF !important;
}

.pain-icon svg {
  color: #FFFFFF !important;
  fill: #FFFFFF !important;
}

/* 统计数据部分 */
.stat-number, .stat-description {
  color: #FFFFFF !important;
}

.stats-note p {
  color: #FFFFFF !important;
}

/* 确保认证卡片文本为白色 */
.auth-card h1, .auth-card h2, .auth-card h3, .auth-card h4, .auth-card h5, .auth-card h6,
.auth-card p, .auth-card span, .auth-card li, .auth-card div {
  color: #FFFFFF;
}

.auth-card .button,
.auth-card .button-primary {
  background-color: #FFFFFF;
  color: #000000;
}

.auth-form input,
.auth-form select,
.auth-form textarea {
  background-color: #222222;
  color: #FFFFFF;
  border: 1px solid #444444;
}

.auth-form .button-primary,
.auth-form .btn-primary {
  background-color: #FFFFFF;
  color: #000000;
  border: none;
}

/* 保持logo清晰 */
.logo img,
.nav-brand img,
[src*="logo"] {
  filter: brightness(1) !important;
  opacity: 1 !important;
}

/* 产品英雄区域 */
.product-hero {
  background-color: #000000;
  padding: 80px 0 40px;
}

.product-hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.product-hero-content {
  max-width: 600px;
}

.product-hero h1 {
  font-size: 48px;
  line-height: 1.1;
  font-weight: 400;
  margin-bottom: 16px;
  color: #FFFFFF;
}

.product-hero .subtitle {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
  margin-bottom: 16px;
  color: #FFFFFF;
}

.product-hero p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
  color: #FFFFFF;
}

.product-hero-image {
  max-width: 500px;
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
}

.product-hero-image img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: none !important;
}

.product-features {
  padding: 80px 0;
}

.product-features h2 {
  text-align: center;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 400;
  margin-bottom: 40px;
  color: #FFFFFF;
}

.product-features h4 {
  color: #FFFFFF;
}

.product-features p {
  color: #FFFFFF;
}

.product-features .feature-content h4 {
  color: #FFFFFF;
}

.product-features .feature-content p {
  color: #FFFFFF;
}

/* 产品详情部分 */
.product-detail {
  padding: 60px 0;
}

.detail-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 80px;
}

.detail-content {
  max-width: 550px;
}

.detail-content h2 {
  font-size: 36px;
  line-height: 1.2;
  font-weight: 400;
  margin-bottom: 24px;
  color: #FFFFFF;
}

.detail-content p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
  color: #FFFFFF;
}

.detail-list {
  margin: 24px 0;
  padding-left: 0;
}

.detail-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.5;
  color: #FFFFFF;
}

.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.detail-image {
  max-width: 550px;
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
}

.detail-image img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* 选中菜单 */
.main-nav a.active,
.mobile-menu a.active {
  position: relative;
  font-weight: 500;
  color: #FFFFFF;
}

/* 中国国旗颜色 */
.flag-icon rect[fill="#fff"],
.flag-icon rect[fill="#ffffff"] {
  fill: #FFFFFF !important;
}

.flag-icon rect[fill="#DE2910"],
.flag-icon rect[fill="#de2910"] {
  fill: #DE2910 !important;
}

.flag-icon path[fill="#FFDE00"] {
  fill: #FFDE00 !important;
}

.flag-icon circle[fill="#FFDE00"] {
  fill: #FFDE00 !important;
}

/* 视频相关 */
.video-thumbnail {
  background-color: transparent !important;
}

.video-controls button svg path,
.video-controls button svg circle {
  fill: #FFFFFF !important;
}

.video-progress .progress-bar {
  background-color: #FFFFFF !important;
}

.volume-slider {
  background: #444444 !important;
}

.volume-slider::-webkit-slider-thumb {
  background: #FFFFFF !important;
}

.volume-slider::-moz-range-thumb {
  background: #FFFFFF !important;
}

/* 特殊图片不应用黑白滤镜 */
img:not([src*="logo"]):not(.feature-image):not(.demo-image):not(.integration-image):not(.testimonial-image):not(.feature-icon img):not([alt*="图标"]) {
  filter: grayscale(100%);
}

.feature-icon img,
.demo-image,
.integration-image,
.testimonial-image,
.feature-image,
[alt*="图标"],
[alt*="icon"],
[alt*="Icon"] {
  filter: none !important;
}

/* 米白色区域 */
.ivory-section {
  background-color: var(--color-ivory);
}

.ivory-section h2,
.ivory-section h3,
.ivory-section h4,
.ivory-section p {
  color: #000000 !important;
}

.ivory-section .btn-primary {
  background-color: #000000;
  color: #FFFFFF;
}

/* 标题元素 */
.hero h1 {
  color: #FFFFFF !important;
}

.hero p {
  color: #FFFFFF !important;
}

.customers h2 {
  color: #FFFFFF !important;
}

.platform h2 {
  color: #FFFFFF !important;
}

.features h2 {
  color: #FFFFFF !important;
}

.cta h2 {
  color: #FFFFFF !important;
}

.testimonials blockquote p {
  color: #FFFFFF !important;
}

.testimonials blockquote cite {
  color: #FFFFFF !important;
}

.testimonials blockquote cite span {
  color: #FFFFFF !important;
}

/* 特性卡片 */
.features .features-grid .feature {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 24px;
  transition: all 0.3s ease-out;
}

.features .features-grid .feature:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.features .features-grid .feature h4 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 12px;
  color: #FFFFFF !important;
}

.features .features-grid .feature p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 0;
  color: #FFFFFF !important;
}

/* CTA 区域 */
.cta {
  background-color: #000000;
  padding: 80px 0;
}

.cta h2 {
  font-size: 36px;
  line-height: 1.3;
  font-weight: 400;
  margin-bottom: 32px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFFFFF !important;
}

.cta .container {
  text-align: center;
}

@media (max-width: 991px) {
  .product-hero .container {
    flex-direction: column;
  }
  
  .product-hero-content {
    max-width: 100%;
  }
  
  .product-hero h1 {
    font-size: 36px;
  }
  
  .product-hero .subtitle {
    font-size: 16px;
  }
  
  .detail-grid {
    flex-direction: column;
  }
  
  .detail-content {
    max-width: 100%;
    order: 1;
  }
  
  .detail-list li {
    font-size: 14px;
  }
}

.hero-video,
.video-container {
  position: relative !important;
  overflow: visible !important;
  z-index: 1;
}

.hero-main-image {
  display: block;
  width: 100%;
  max-width: 940px;
  height: auto;
  filter: brightness(1.25) contrast(1.2) saturate(1.2) !important;
  border-radius: 24px;
  margin: 0 auto;
  z-index: 2;
  background: #000;
  box-shadow: 0 0 120px 40px rgba(0,180,255,0.35), 0 0 200px 80px rgba(0,0,0,0.7);
  position: relative;
}
.hero-main-image::after {
  content: '';
  position: absolute;
  left: 0; top: 0; width: 100%; height: 100%;
  pointer-events: none;
  border-radius: 24px;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.7) 100%);
  z-index: 3;
} 