:root {
  --primary-color: #0062ff;
  --secondary-color: #00d4ff;
  --accent-color: #ff3e7f;
  --dark-blue: #0a0f1c;
  --light-blue: #1a2332;
  --text-color: #ffffff;
  --text-secondary: #e0e8ff;
  --background-secondary: rgba(10, 25, 45, 0.9);
  --neon-blue: #00ffff;
  --neon-purple: #8b5cf6;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'SF Pro Display', 'Arial', 'Helvetica', sans-serif;
}

body {
  background: linear-gradient(135deg, #0a0f1c 0%, #1a1a2e 50%, #16213e 100%);
  color: var(--text-color);
  overflow-x: hidden;
  line-height: 1.7;
  font-size: 18px;
  position: relative;
}

/* 添加动态背景效果 */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 35%, rgba(0, 212, 255, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 75% 65%, rgba(139, 92, 246, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(0, 98, 255, 0.04) 0%, transparent 60%);
  animation: backgroundShift 20s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: -1;
}

@keyframes backgroundShift {
  0% { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1.1) rotate(5deg); }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

header {
  padding: 20px 0;
  position: relative;
  border-bottom: 2px solid transparent;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
  background-size: 100% 2px;
  background-repeat: no-repeat;
  background-position: bottom;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 12px;
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.logo span {
  background: linear-gradient(45deg, var(--secondary-color), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
  border: 1px solid rgba(0, 212, 255, 0.3);
}

.logo-icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  animation: shimmer 3s infinite;
}

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

.hero {
  display: flex;
  flex-direction: column;
  padding: 30px 0;
  position: relative;
}

.hero-flex {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-bottom: 40px;
}

.hero-content {
  flex: 1;
}

.hero-image {
  flex: 0.8;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 212, 255, 0.2);
  border: 2px solid transparent;
  background: linear-gradient(45deg, rgba(0, 212, 255, 0.4), rgba(139, 92, 246, 0.4));
  background-clip: padding-box;
  max-width: 380px;
  max-height: 280px;
}

.hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
  border-radius: inherit;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  z-index: -1;
}

.hero-image img {
  width: 100%;
  display: block;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(10, 15, 28, 0.3) 0%, rgba(0, 98, 255, 0.1) 100%);
}

h1 {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
  background: linear-gradient(45deg, var(--text-color), var(--secondary-color), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
  animation: textGlow 4s ease-in-out infinite alternate;
}

@keyframes textGlow {
  0% { filter: brightness(1); }
  100% { filter: brightness(1.2); }
}

p {
  font-size: 18px;
  margin-bottom: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 400;
}

.highlight {
  color: var(--secondary-color);
  font-weight: 600;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.accent {
  color: var(--accent-color);
  font-weight: 600;
  text-shadow: 0 0 10px rgba(255, 62, 127, 0.5);
}

.analysis-container {
  background: linear-gradient(135deg, rgba(10, 25, 45, 0.95) 0%, rgba(26, 35, 50, 0.9) 100%);
  border-radius: 20px;
  padding: 32px;
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 212, 255, 0.1);
  margin-bottom: 40px;
  position: relative;
  overflow: visible;
}

.analysis-container::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple), var(--primary-color));
  border-radius: inherit;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: borderRotate 6s linear infinite;
}

@keyframes borderRotate {
  0% { background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple), var(--primary-color)); }
  33% { background: linear-gradient(45deg, var(--neon-purple), var(--primary-color), var(--neon-blue)); }
  66% { background: linear-gradient(45deg, var(--primary-color), var(--neon-blue), var(--neon-purple)); }
  100% { background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple), var(--primary-color)); }
}

.search-box {
  position: relative;
  margin-bottom: 24px;
}

.stock-input {
  width: 100%;
  padding: 20px 24px;
  font-size: 20px;
  border: 2px solid transparent;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.1) 100%);
  color: var(--text-color);
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  outline: none;
  transition: all 0.3s ease;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.stock-input:focus {
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.15) 100%);
  border-color: var(--secondary-color);
}

.stock-input::placeholder {
  color: rgba(224, 232, 255, 0.6);
  font-size: 18px;
}

.search-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--secondary-color);
  font-size: 20px;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.cta-button {
  display: inline-block;
  padding: 24px 40px;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-color);
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  border: none;
  border-radius: 16px;
  cursor: pointer;
  box-shadow: 0 15px 35px rgba(0, 98, 255, 0.4), 0 0 20px rgba(0, 212, 255, 0.3);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  width: 100%;
  text-align: center;
  margin: 24px 0;
  text-decoration: none;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border: 2px solid rgba(0, 212, 255, 0.3);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.cta-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.cta-button:hover::before {
  transform: translateX(100%);
}

.cta-button:hover {
  box-shadow: 0 20px 40px rgba(0, 98, 255, 0.6), 0 0 30px rgba(0, 212, 255, 0.5);
  transform: translateY(-3px);
  border-color: var(--neon-blue);
}

.stats-row {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  gap: 16px;
}

.stat-item {
  text-align: center;
  flex: 1;
  padding: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.1) 100%);
  border-radius: 12px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 212, 255, 0.2);
  border-color: var(--secondary-color);
}

.stat-number {
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(45deg, var(--secondary-color), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.stat-label {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 500;
}

.features {
  display: flex;
  gap: 24px;
  margin: 50px 0;
}

.feature {
  flex: 1;
  padding: 28px;
  background: linear-gradient(135deg, rgba(10, 25, 45, 0.9) 0%, rgba(26, 35, 50, 0.8) 100%);
  border-radius: 16px;
  border: 2px solid rgba(0, 212, 255, 0.2);
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-start;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 98, 255, 0.3), 0 0 20px rgba(0, 212, 255, 0.2);
  border-color: var(--secondary-color);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, rgba(0, 98, 255, 0.2), rgba(139, 92, 246, 0.2));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  border: 2px solid rgba(0, 212, 255, 0.3);
  flex-shrink: 0;
  font-size: 24px;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.feature-content {
  flex: 1;
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--secondary-color);
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.feature p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: linear-gradient(135deg, rgba(10, 25, 45, 0.95) 0%, rgba(26, 35, 50, 0.9) 100%);
  padding: 40px;
  border-radius: 20px;
  max-width: 520px;
  width: 100%;
  text-align: center;
  position: relative;
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 212, 255, 0.2);
  transform: scale(0.9);
  transition: all 0.3s ease;
  backdrop-filter: blur(20px);
}

.modal-content::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple), var(--primary-color));
  border-radius: inherit;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: borderRotate 4s linear infinite;
}

.modal.active .modal-content {
  transform: scale(1);
}

#progressTitle {
  font-size: 24px;
  margin-bottom: 24px;
  color: var(--text-color);
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.progress-container {
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin: 24px 0;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--neon-purple));
  border-radius: 8px;
  transition: width 1.5s ease;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
  animation: progressGlow 2s ease-in-out infinite alternate;
}

@keyframes progressGlow {
  0% { box-shadow: 0 0 15px rgba(0, 212, 255, 0.6); }
  100% { box-shadow: 0 0 25px rgba(0, 212, 255, 0.8); }
}

.analysis-items {
  display: flex;
  justify-content: space-between;
  margin: 32px 0;
  gap: 16px;
}

.analysis-item {
  text-align: center;
  opacity: 0.4;
  transition: all 0.3s ease;
  font-size: 16px;
  font-weight: 500;
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.analysis-item.active {
  opacity: 1;
  color: var(--secondary-color);
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
}

.complete-message {
  display: none;
  animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.complete-message h3 {
  font-size: 22px;
  margin-bottom: 16px;
  color: var(--text-color);
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.complete-message p {
  font-size: 18px;
  margin-bottom: 24px;
  color: var(--text-secondary);
}

.modal-button {
  display: inline-block;
  padding: 20px 40px;
  background: linear-gradient(45deg, var(--accent-color), #ff6b9d);
  color: white;
  font-weight: 700;
  font-size: 18px;
  border-radius: 12px;
  margin-top: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 107, 157, 0.3);
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(255, 62, 127, 0.4), 0 0 20px rgba(255, 107, 157, 0.3);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.modal-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.modal-button:hover::before {
  transform: translateX(100%);
}

.modal-button:hover {
  background: linear-gradient(45deg, #ff5492, #ff8fab);
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 15px 35px rgba(255, 62, 127, 0.6), 0 0 30px rgba(255, 107, 157, 0.5);
}

.close-button {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 20px;
  font-weight: bold;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: var(--text-color);
  backdrop-filter: blur(10px);
}

.close-button:hover {
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.3));
  border-color: var(--secondary-color);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.dot-typing {
  position: relative;
  left: -9999px;
  width: 12px;
  height: 12px;
  border-radius: 6px;
  background-color: var(--secondary-color);
  color: var(--secondary-color);
  box-shadow: 9984px 0 0 0 var(--secondary-color), 10004px 0 0 0 var(--secondary-color), 10024px 0 0 0 var(--secondary-color);
  animation: dotTyping 2s infinite linear;
}

@keyframes dotTyping {
  0% {
    box-shadow: 9984px 0 0 0 var(--secondary-color), 10004px 0 0 0 var(--secondary-color), 10024px 0 0 0 var(--secondary-color);
  }
  33.333% {
    box-shadow: 9984px -8px 0 0 var(--secondary-color), 10004px 0 0 0 var(--secondary-color), 10024px 0 0 0 var(--secondary-color);
  }
  66.667% {
    box-shadow: 9984px 0 0 0 var(--secondary-color), 10004px -8px 0 0 var(--secondary-color), 10024px 0 0 0 var(--secondary-color);
  }
  100% {
    box-shadow: 9984px 0 0 0 var(--secondary-color), 10004px 0 0 0 var(--secondary-color), 10024px -8px 0 0 var(--secondary-color);
  }
}

footer {
  margin-top: 60px;
  padding: 32px 0;
  border-top: 2px solid transparent;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
  background-size: 100% 2px;
  background-repeat: no-repeat;
  background-position: top;
  font-size: 14px;
  color: var(--text-secondary);
}

.disclaimer {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(10, 25, 45, 0.3));
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.7;
  border: 1px solid rgba(0, 212, 255, 0.2);
  backdrop-filter: blur(10px);
}

.disclaimer p {
  margin-bottom: 16px;
  font-size: 13px;
}

/* 移动端优化 */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .container {
    padding: 0 18px;
  }

  header {
    padding: 16px 0;
  }

  .logo {
    font-size: 24px;
  }

  .logo-icon {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  .hero {
    padding: 20px 0;
  }

  .hero-flex {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
  }

  .hero-image {
    width: 100%;
    max-width: 100%;
    max-height: 180px;
  }

  h1 {
    font-size: 24px;
    margin-bottom: 16px;
    text-align: center;
    line-height: 1.3;
  }

  p {
    font-size: 16px;
    margin-bottom: 14px;
    text-align: left;
    line-height: 1.5;
  }

  .analysis-container {
    padding: 24px 20px;
    margin: 24px 0;
    border-radius: 16px;
  }

  .stock-input {
    padding: 16px 18px;
    font-size: 17px;
    border-radius: 10px;
  }

  .stock-input::placeholder {
    font-size: 15px;
  }

  .search-icon {
    right: 16px;
    font-size: 18px;
  }

  .search-box {
    margin-bottom: 20px;
  }

  .cta-button {
    padding: 20px 28px;
    font-size: 19px;
    margin: 20px 0;
    min-height: 64px;
    border-radius: 12px;
  }

  .stats-row {
    margin-top: 24px;
    gap: 12px;
    margin-bottom: 40px;
  }

  .stat-item {
    padding: 16px 12px;
    border-radius: 10px;
  }

  .stat-number {
    font-size: 22px;
    margin-bottom: 4px;
  }

  .stat-label {
    font-size: 13px;
  }

  .features {
    flex-direction: column;
    gap: 16px;
    margin: 60px 0 40px 0;
  }

  .feature {
    padding: 20px;
    border-radius: 12px;
    flex-direction: row;
    align-items: center;
  }

  .feature-icon {
    width: 44px;
    height: 44px;
    font-size: 18px;
    margin-right: 14px;
    border-radius: 10px;
  }

  .feature-title {
    font-size: 17px;
    margin-bottom: 6px;
  }

  .feature p {
    font-size: 15px;
    line-height: 1.4;
    margin: 0;
  }

  .modal-content {
    padding: 28px 22px;
    margin: 20px;
    border-radius: 16px;
  }

  .analysis-items {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    margin: 24px 0;
  }

  .analysis-item {
    font-size: 16px;
    padding: 8px;
  }

  #progressTitle {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .complete-message h3 {
    font-size: 19px;
    margin-bottom: 14px;
  }

  .complete-message p {
    font-size: 15px;
    margin-bottom: 18px;
  }

  .modal-button {
    padding: 18px 28px;
    font-size: 17px;
    width: 100%;
  }

  .progress-container {
    margin: 20px 0;
    height: 10px;
  }

  footer {
    margin-top: 40px;
    padding: 24px 0;
  }

  .disclaimer {
    padding: 18px;
    font-size: 13px;
    border-radius: 10px;
  }

  .disclaimer p {
    font-size: 13px;
    margin-bottom: 14px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  h1 {
    font-size: 22px;
  }

  p {
    font-size: 15px;
  }

  .hero-image {
    max-height: 160px;
  }

  .analysis-container {
    padding: 20px 16px;
  }

  .cta-button {
    font-size: 18px;
    padding: 18px 24px;
    min-height: 60px;
  }

  .stock-input {
    font-size: 16px;
    padding: 14px 16px;
  }

  .stat-number {
    font-size: 20px;
  }

  .stat-label {
    font-size: 12px;
  }

  .feature {
    padding: 16px;
  }

  .feature-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
    margin-right: 12px;
  }

  .feature-title {
    font-size: 16px;
  }

  .feature p {
    font-size: 14px;
  }
}