/* 自定义样式 - 暗色主题优化版 */

/* 确保图标正确显示 */
[data-lucide] {
  display: inline-block;
  width: 1em;
  height: 1em;
  stroke-width: 2;
}
/* FAQ过渡效果 */
.faq-content {
  transition: all 0.3s ease;
}

/* 平滑滚动 */
html {
  scroll-behavior: smooth;
}

/* 按钮悬停效果 - 暗色主题优化 */
button:hover {
  transform: translateY(-1px);
  transition: transform 0.2s ease;
}

/* Select下拉箭头样式 */
select {
  background-image: none; /* 移除默认箭头，使用自定义箭头 */
}

/* Tools select 固定宽度，但下拉选项可以更宽 */
select option {
  white-space: normal;
  word-wrap: break-word;
}

/* 响应式优化 */
@media (max-width: 640px) {
  .hero h1 {
    font-size: 2rem;
    line-height: 1.2;
  }
}

/* 移动端优化 */
@media (max-width: 640px) {
  select {
    font-size: 14px;
    padding: 6px 8px;
  }
  
  /* Logo在移动端稍微缩小 */
  nav img {
    width: 20px !important;
    height: 20px !important;
  }
}

/* 暗色主题专用样式 */
.faq-toggle:focus {
  outline: 2px solid #21b5f4;
  outline-offset: 2px;
}

/* 移动端横屏提示 */
#landscapeTip {
  display: none;
}

/* 只在移动端竖屏时显示横屏提示 */
@media (max-width: 768px) and (orientation: portrait) {
  #landscapeTip.show {
    display: block;
    animation: fadeIn 0.3s ease-in;
  }
}

/* 淡入动画 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

