/* 基础样式 */
:root {
  --primary-color: #00b897; /* 绿色强调色，类似OKX */
  --secondary-color: #2b71ff; /* 蓝色强调色 */
  --dark-color: #121212; /* 深黑色背景 */
  --darker-color: #0a0a0a; /* 更深的黑色，用于层次感 */
  --medium-dark-color: #1a1a1a; /* 中等深度的黑色 */
  --light-dark-color: #202020; /* 较浅的黑色 */
  --light-color: #f9fafb; /* 白色文字颜色 */
  --gray-color: #8c8c8c; /* 灰色文字 */
  --border-color: #2c2c2c; /* 深色边框 */
  --danger-color: #ef4444; /* 红色，用于跌幅 */
  --card-bg-color: #1a1a1a; /* 卡片背景色 */
  --hover-color: #252525; /* 悬停颜色 */
}

/* 修复布局偏移问题 */
body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

/* 强制所有元素不超出容器 */
* {
  max-width: 100%;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--light-color);
  background-color: var(--dark-color);
  position: relative;
  overflow-x: hidden;
}

/* 修复容器可能的偏移问题 */
.container {
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  width: 100%;
  max-width: 1200px;
  overflow: hidden;
}

/* 修复可能溢出的元素 */
img, video, iframe, table {
  max-width: 100%;
  height: auto;
}

/* 防止文本溢出 */
h1, h2, h3, h4, h5, h6, p, span {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.accent {
  color: var(--primary-color);
}

.gradient-text {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
}

/* 背景动画效果 */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.dot {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 184, 151, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  animation: float 15s infinite ease-in-out;
}

.dot1 {
  width: 500px;
  height: 500px;
  top: -150px;
  right: -150px;
  animation-delay: 0s;
}

.dot2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: -100px;
  background: radial-gradient(circle, rgba(43, 113, 255, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
  animation-delay: -5s;
}

.dot3 {
  width: 300px;
  height: 300px;
  top: 40%;
  left: 60%;
  background: radial-gradient(circle, rgba(0, 184, 151, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
  animation-delay: -10s;
}

.dot4 {
  width: 250px;
  height: 250px;
  top: 60%;
  right: 70%;
  background: radial-gradient(circle, rgba(43, 113, 255, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
  animation-delay: -15s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  25% {
    transform: translateY(-20px) translateX(10px);
  }
  50% {
    transform: translateY(0) translateX(20px);
  }
  75% {
    transform: translateY(20px) translateX(10px);
  }
}

/* 技术感的装饰元素 */
.tech-dots {
  position: absolute;
  bottom: -20px;
  left: 0;
  right: 0;
  height: 40px;
  background-image: 
    radial-gradient(circle, var(--primary-color) 1px, transparent 1px),
    radial-gradient(circle, var(--primary-color) 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  opacity: 0.2;
}

.tech-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  overflow: hidden;
}

.tech-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(0, 184, 151, 0.05), transparent);
  height: 1px;
  width: 100%;
}

.tech-line:nth-child(1) {
  top: 33%;
  animation: slide 30s infinite linear;
}

.tech-line:nth-child(2) {
  top: 66%;
  animation: slide 25s infinite linear reverse;
}

.tech-line:nth-child(3) {
  top: 90%;
  animation: slide 35s infinite linear;
}

@keyframes slide {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 14px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  box-shadow: 0 0 15px rgba(0, 184, 151, 0.3);
}

.btn-primary:hover {
  background-color: #00a383;
  box-shadow: 0 0 20px rgba(0, 184, 151, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: rgba(0, 184, 151, 0.1);
  box-shadow: 0 0 15px rgba(0, 184, 151, 0.2);
  transform: translateY(-2px);
}

/* 头部样式 */
header {
  background-color: var(--darker-color);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--light-color);
  text-shadow: 0 0 8px rgba(0, 184, 151, 0.3);
}

nav ul {
  display: flex;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  font-weight: 500;
  padding: 5px 0;
  position: relative;
  color: var(--gray-color);
  transition: all 0.3s ease;
}

nav ul li a:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
  box-shadow: 0 0 5px rgba(0, 184, 151, 0.5);
}

nav ul li a:hover:after,
nav ul li a.active:after {
  width: 100%;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--light-color);
}

nav ul li a.active {
  color: var(--primary-color);
}

.actions {
  display: flex;
  gap: 10px;
}

/* 英雄区域 */
.hero {
  padding: 80px 0;
  background-color: var(--darker-color);
  position: relative;
  overflow: hidden;
}

.hero:before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 184, 151, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
  top: -200px;
  right: -200px;
  z-index: 0;
}

.hero:after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 113, 255, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
  bottom: -200px;
  left: -100px;
  z-index: 0;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background-color: rgba(0, 184, 151, 0.1);
  border-radius: 20px;
  margin-bottom: 15px;
  border: 1px solid rgba(0, 184, 151, 0.2);
}

.tech-badge span {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-color);
  margin-right: 6px;
}

.tech-badge i {
  color: var(--primary-color);
  font-size: 10px;
}

.hero-content h2 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--light-color);
  font-weight: 700;
  letter-spacing: -0.5px;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 18px;
  color: var(--gray-color);
  margin-bottom: 30px;
}

/* 修改统计数据布局，保持水平排列 */
.hero-stats {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: nowrap;
  width: 100%;
  gap: 20px;
  margin: 20px 0;
}

.stat {
  flex: 1;
  min-width: 0;
  text-align: center;
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--light-color);
}

.stat-label {
  font-size: 14px;
  color: var(--gray-color);
}

.hero-cta {
  display: flex;
  gap: 15px;
}

.hero-video {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 184, 151, 0.15);
  border: 1px solid var(--border-color);
  position: relative;
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: auto;
}

.video-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  max-width: 100%;
}

/* 市场数据 */
.market-data {
  padding: 60px 0;
  background-color: var(--dark-color);
  position: relative;
}

.market-data:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 25px;
  flex-direction: column;
  gap: 15px;
}

.section-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--light-color);
}

.market-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
  gap: 15px;
}

.update-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.last-update {
  font-size: 14px;
  color: var(--gray-color);
}

#last-update-time {
  color: var(--primary-color);
  font-weight: 500;
}

.refresh-button {
  background-color: var(--medium-dark-color);
  color: var(--primary-color);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.refresh-button:hover {
  background-color: var(--hover-color);
  transform: rotate(180deg);
  box-shadow: 0 0 10px rgba(0, 184, 151, 0.2);
}

.refresh-status {
  font-size: 14px;
  color: var(--primary-color);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.refresh-status.refreshing {
  opacity: 1;
  animation: pulse 1s infinite;
}

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

/* 数据更新闪烁效果 */
@keyframes highlight {
  0% {
    background-color: rgba(0, 184, 151, 0.1);
  }
  100% {
    background-color: transparent;
  }
}

.data-updated {
  animation: highlight 1s ease-in-out;
}

.tabs {
  display: flex;
  gap: 10px;
}

.tab {
  padding: 8px 16px;
  border: none;
  background-color: var(--medium-dark-color);
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  color: var(--gray-color);
}

.tab:hover {
  background-color: var(--hover-color);
  color: var(--light-color);
}

.tab.active {
  background-color: var(--primary-color);
  color: white;
  box-shadow: 0 0 10px rgba(0, 184, 151, 0.3);
}

.market-table-container {
  background-color: var(--medium-dark-color);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  overflow: auto;
  border: 1px solid var(--border-color);
}

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

.market-table th, .market-table td {
  padding: 16px 20px;
  text-align: left;
}

.market-table th {
  font-weight: 500;
  color: var(--gray-color);
  border-bottom: 1px solid var(--border-color);
}

.market-table tbody tr {
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.2s;
}

.market-table tbody tr:last-child {
  border-bottom: none;
}

.market-table tbody tr:hover {
  background-color: var(--hover-color);
}

.loading-cell {
  text-align: center;
  padding: 40px;
  color: var(--gray-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(0, 184, 151, 0.1);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.crypto-name {
  display: flex;
  align-items: center;
  gap: 10px;
}

.crypto-name img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: white;
  padding: 2px;
}

.price-up {
  color: var(--primary-color);
  position: relative;
}

.price-down {
  color: var(--danger-color);
  position: relative;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}

/* 功能特点 */
.features {
  padding: 80px 0;
  background-color: var(--medium-dark-color);
  position: relative;
}

.features:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.features h2 {
  font-size: 32px;
  text-align: center;
  margin-bottom: 50px;
  color: var(--light-color);
  position: relative;
}

.features h2:after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(0, 184, 151, 0.5);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
}

.feature-card {
  background-color: var(--light-dark-color);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 0 15px rgba(0, 184, 151, 0.15);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(0, 184, 151, 0.2), rgba(43, 113, 255, 0.2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(0, 184, 151, 0.2);
}

.feature-icon i {
  font-size: 24px;
  color: var(--primary-color);
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--light-color);
}

.feature-card p {
  color: var(--gray-color);
}

/* 下载应用 */
.download-app {
  padding: 80px 0;
  background-color: var(--dark-color);
  position: relative;
}

.download-app:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.download-app .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.download-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--light-color);
}

.download-content p {
  font-size: 18px;
  color: var(--gray-color);
  margin-bottom: 20px;
}

.app-features {
  margin-bottom: 25px;
}

.app-features li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-features li i {
  color: var(--primary-color);
  font-size: 16px;
}

.download-buttons {
  display: flex;
  gap: 15px;
}

.app-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background-color: var(--light-dark-color);
  color: white;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.app-btn:hover {
  background-color: var(--hover-color);
  box-shadow: 0 0 20px rgba(0, 184, 151, 0.15);
  transform: translateY(-3px);
}

.app-btn i {
  font-size: 24px;
  color: var(--primary-color);
}

.app-image {
  position: relative;
}

.app-image img {
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 184, 151, 0.1);
  border: 1px solid var(--border-color);
  position: relative;
  z-index: 1;
}

.glow-effect {
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 184, 151, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(20px);
  z-index: 0;
}

/* 页脚 */
footer {
  background-color: var(--darker-color);
  color: white;
  padding: 60px 0 20px;
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--light-color);
}

.footer-col p {
  margin-bottom: 20px;
  color: var(--gray-color);
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--gray-color);
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--light-dark-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.social-links a:hover {
  background-color: var(--hover-color);
  box-shadow: 0 0 15px rgba(0, 184, 151, 0.2);
  transform: translateY(-3px);
}

.social-links a i {
  font-size: 18px;
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--gray-color);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--gray-color);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary-color);
}

/* 响应式设计 */
@media (max-width: 992px) {
  .hero .container,
  .download-app .container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .hero-content {
    text-align: center;
    padding: 0 10px;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .hero-video {
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
  }
  
  .video-wrapper {
    width: 100%;
  }
  
  .video-wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain;
    position: relative;
  }
  
  .section-header {
    flex-direction: column;
    gap: 15px;
  }
  
  .download-content {
    text-align: center;
    order: 2;
  }
  
  .app-features li {
    justify-content: center;
  }
  
  .download-buttons {
    justify-content: center;
  }
  
  .app-image {
    order: 1;
    text-align: center;
  }
}

/* 移动导航栏 */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 24px;
  cursor: pointer;
  z-index: 1000;
}

@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }
  
  .mobile-nav-toggle {
    display: block;
    order: 3;
  }
  
  .logo {
    order: 1;
  }
  
  nav {
    order: 4;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  nav.open {
    max-height: 300px;
  }
  
  nav ul {
    flex-direction: column;
    margin: 15px 0;
    gap: 10px;
    align-items: center;
  }
  
  .actions {
    order: 2;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .tabs {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .market-table th, 
  .market-table td {
    padding: 12px 10px;
    font-size: 14px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .download-buttons {
    flex-direction: column;
  }
} 

/* Responsive text styles for hero section */
.gradient-text-wrapper {
  display: block;
}

.desktop-inline {
  display: inline;
}

.mobile-break {
  display: none;
}

/* Media query for mobile devices */
@media screen and (max-width: 768px) {
  .desktop-inline {
    display: none;
  }
  
  .mobile-break {
    display: inline;
  }
} 

/* 增强响应式设计 */
html, body {
  overflow-x: hidden;
  width: 100%;
  -webkit-text-size-adjust: 100%;
}

/* 确保容器适应不同屏幕 */
.container {
  width: 100%;
  padding: 0 15px;
  margin: 0 auto;
  max-width: 1200px;
  box-sizing: border-box;
}

/* 增强移动端响应式样式 */
  @media screen and (max-width: 480px) {
  .hero-content h2 {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 15px;
  }
  
  .gradient-text {
    font-size: 28px;
  }
  
  .hero-content p {
    font-size: 16px;
    margin-bottom: 20px;
  }
  
  .hero-stats {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 10px;
  }
  
  .stat {
    margin-bottom: 15px;
    flex: 1;
    min-width: 0;
  }
  
  .stat-value {
    font-size: 24px;
    white-space: nowrap;
  }
  
  .stat-label {
    font-size: 12px;
    white-space: nowrap;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  .market-table {
    font-size: 12px;
  }
  
  .market-table th, 
  .market-table td {
    padding: 8px 5px;
  }
  
  /* 隐藏某些表格列在超小屏幕上 */
  .market-table th:nth-child(4),
  .market-table th:nth-child(5),
  .market-table td:nth-child(4),
  .market-table td:nth-child(5) {
    display: none;
  }
}

/* 调整超小屏幕设备布局 */
@media screen and (max-width: 360px) {
  .hero-content h2 {
    font-size: 24px;
  }
  
  .gradient-text {
    font-size: 24px;
  }
  
  .stat-value {
    font-size: 22px;
  }
  
  .feature-card {
    padding: 15px;
  }
  
  .feature-card h3 {
    font-size: 18px;
  }
  
  .feature-card p {
    font-size: 14px;
  }
  
  .tabs button {
    padding: 8px 12px;
    font-size: 12px;
  }
}

/* 适配折叠屏和旋转屏幕 */
@media screen and (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 40px 0;
  }
  
  .hero-content {
    padding: 20px 0;
  }
} 

/* 修复移动设备偏移问题 */
@media screen and (max-width: 768px) {
  body {
    padding: 0;
  }
  
  header .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  
  .hero .container,
  section .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  
  /* 确保hero内容居中 */
  .hero-content {
    width: 100%;
    max-width: 100%;
    padding: 0 5px;
    text-align: center;
    margin: 0 auto;
  }
  
  /* 修复按钮可能的溢出 */
  .btn {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 5px;
  }
}

/* 超小屏幕特殊处理 */
@media screen and (max-width: 360px) {
  .hero-content h2 {
    font-size: 22px;
  }
  
  .gradient-text {
    font-size: 22px;
    line-height: 1.3;
  }
  
  .hero-stats {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    gap: 5px;
  }
  
  .stat {
    width: auto;
    margin: 0;
    flex: 1;
  }
} 