/* 公司卡片样式 */
.company-card {
  background: rgba(10, 25, 41, 0.85);
  border: 1px solid #1e4976;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.company-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #0070f3, #00c6ff);
  opacity: 0.7;
}

.company-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  border-color: #0070f3;
}

/* 公司logo容器 */
[data-name="logo-container"] {
  background: rgba(10, 25, 41, 0.5);
  border: 1px solid rgba(30, 73, 118, 0.3);
  border-radius: 6px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

[data-name="logo-container"]::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 112, 243, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

[data-name="logo-container"]:hover::before {
  opacity: 1;
}

/* 公司名称样式 */
[data-name="company-name"] {
  color: #ffffff;
  font-weight: 600;
  position: relative;
  display: inline-block;
  margin-bottom: 8px;
}

[data-name="company-name"]::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #0070f3, #00c6ff);
  transition: width 0.3s ease;
}

.company-card:hover [data-name="company-name"]::after {
  width: 100%;
}

/* 公司国家样式 */
[data-name="company-country"] {
  color: #a0aec0;
  font-size: 0.875rem;
  margin-bottom: 8px;
}

/* 公司网站样式 */
[data-name="company-website"] {
  color: #0070f3;
  font-size: 0.875rem;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  margin-top: auto;
  padding-top: 10px;
}

[data-name="company-website"] i {
  margin-right: 6px;
  font-size: 0.75rem;
}

[data-name="company-website"]:hover {
  color: #00c6ff;
}

/* 搜索容器 */
[data-name="search-container"] {
  margin-bottom: 2rem;
}

/* 搜索输入框容器 */
.search-container {
  background: rgba(10, 25, 41, 0.6);
  border: 1px solid #1e4976;
  border-radius: 8px;
  padding: 4px;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.search-container:focus-within {
  border-color: #0070f3;
  box-shadow: 0 0 15px rgba(0, 112, 243, 0.3);
}

/* 搜索输入框 */
.search-input {
  background: transparent;
  border: none;
  color: #e6f1ff;
  font-size: 1rem;
  width: 100%;
  padding: 12px 40px 12px 16px;
}

.search-input:focus {
  outline: none;
}

.search-input::placeholder {
  color: #718096;
}

/* 搜索图标 */
[data-name="search-icon"] {
  color: #0070f3;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

/* 搜索光环 */
.search-glow {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  box-shadow: 0 0 0 0 rgba(0, 112, 243, 0);
  transition: box-shadow 0.3s ease;
  pointer-events: none;
}

.search-glow.active {
  box-shadow: 0 0 15px 2px rgba(0, 112, 243, 0.3);
}

/* 打字光标样式 */
.typing-cursor {
  animation: blink 1s infinite;
}

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

/* 字母标题样式 */
[data-name="letter-heading"] {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  position: relative;
}

[data-name="letter-heading"]::after {
  content: '';
  flex-grow: 1;
  height: 1px;
  background: linear-gradient(90deg, #1e4976, transparent);
  margin-left: 1rem;
}

/* 工业按钮 */
.industrial-btn {
  background: linear-gradient(135deg, #0a1929, #102a42);
  border: 1px solid #1e4976;
  color: #e6f1ff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.industrial-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: all 0.6s;
}

.industrial-btn:hover {
  border-color: #0070f3;
  box-shadow: 0 0 15px rgba(0, 112, 243, 0.3);
}

.industrial-btn:hover::before {
  left: 100%;
}

.industrial-btn i {
  margin-right: 0.5rem;
}

/* 语言选择器样式 */
.language-selector {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100;
}

.language-dropdown {
  background: rgba(10, 25, 41, 0.9);
  border: 1px solid #1e4976;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 100;
}
