:root {
  --cosmic-primary: #0d1b2a;
  --cosmic-secondary: #1b263b;
  --cosmic-accent: #415a77;
  --neon-cyan: #00f5ff;
  --neon-purple: #8a2be2;
  --neon-gold: #ffd700;
  --warning-yellow: #ffff00;
  --matrix-green: #00ff41;
  --quantum-blue: #4169e1;
  --success-emerald: #50c878;
  --text-primary: #e0e1dd;
  --text-secondary: #778da9;
  --overlay-dark: rgba(13, 27, 42, 0.9);
  --grid-opacity: 0.15;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* New wrapper for content */
.content-wrapper {
  max-width: 900px; /* Adjust as needed for your desired wide-screen width */
  margin: 0 auto;
  border: 2px solid var(--cosmic-accent); /* Border style */
  border-radius: 15px; /* Optional: rounded corners for the border */
  overflow: hidden; /* Ensures content stays within the border */
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.2); /* Optional: a subtle glow for the border */
  margin-top: 40px; /* To account for the fixed risk warning bar */
  margin-bottom: 80px; /* To account for the fixed floating button */
  position: relative; /* For positioning child elements if needed */
  z-index: 5; /* Ensure it's above background elements */
}

/* 涓昏儗鏅鍣� */
.ai-tech-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: #0d1b2a;
  overflow: hidden;
}

/* 绉戞妧鎰熺綉鏍肩嚎 */
.grid-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(65, 90, 119, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 90, 119, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.3;
}

/* 鐢佃矾鏉跨汗鐞� */
.circuit-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
      circle,
      rgba(0, 245, 255, 0.05) 1px,
      transparent 1px
    ),
    radial-gradient(circle, rgba(138, 43, 226, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: 0 0, 30px 30px;
}

/* 鍔ㄦ€佺矑瀛� */
.particles-container {
  position: absolute;
  width: 100%;
  height: 100%;
}

.particle {
  position: absolute;
  background: rgba(0, 245, 255, 0.4);
  border-radius: 50%;
  filter: blur(1px);
  animation: float 15s infinite linear;
}

.particle:nth-child(2n) {
  background: rgba(65, 105, 225, 0.3);
  animation-delay: -5s;
}

.particle:nth-child(3n) {
  background: rgba(138, 43, 226, 0.2);
  animation-delay: -10s;
}

/* 鍔ㄧ敾鏁堟灉 */
@keyframes float {
  0% {
    transform: translate(0, 0) scale(0.8);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 0.8;
  }
  100% {
    transform: translate(100vw, -100vh) scale(1.2);
    opacity: 0;
  }
}

.risk-warning-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, var(--warning-yellow), #ffa500);
  color: #000;
  text-align: center;
  padding: 10px 15px;
  font-weight: 600;
  font-size: 0.85rem;
  z-index: 1001;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  animation: warningPulse 2s ease-in-out infinite;
}

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

/* 鐭╁舰鎮诞鎸夐挳鏍峰紡 */
.rect-floating-button {
  position: fixed;
  bottom: 55px;
  left: 50%;
  transform: translateX(-50%);
  width: 380px;
  height: 56px;
  background: linear-gradient(45deg, var(--quantum-blue), var(--neon-purple));
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(65, 105, 225, 0.5);
  z-index: 1000;
  animation: floatPulse 2s ease-in-out infinite;
  transition: all 0.3s ease;
  overflow: hidden;
  border-radius: 10px;
  letter-spacing: 0.5px;
}

.rect-floating-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.rect-floating-button:hover {
  transform: translateX(-50%) scale(1.05);
  box-shadow: 0 10px 30px rgba(65, 105, 225, 0.8);
}

.rect-floating-button:hover::before {
  left: 100%;
}

.rect-floating-button span {
  position: relative;
  z-index: 2;
}

@keyframes floatPulse {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
    box-shadow: 0 6px 20px rgba(65, 105, 225, 0.5);
  }
  50% {
    transform: translateX(-50%) translateY(-8px);
    box-shadow: 0 12px 30px rgba(65, 105, 225, 0.7);
  }
}

/* 鍏朵粬鏍峰紡淇濇寔涓嶅彉 */
.quantum-grid-backdrop::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      90deg,
      rgba(65, 169, 255, var(--grid-opacity)) 1px,
      transparent 1px
    ),
    linear-gradient(
      rgba(65, 169, 255, var(--grid-opacity)) 1px,
      transparent 1px
    );
  background-size: 50px 50px;
  animation: gridPulse 3s ease-in-out infinite;
  z-index: 1;
}

.stock-chart-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(13, 27, 42, 0.9) 0%,
    rgba(27, 38, 59, 0.7) 100%
  );
  z-index: 2;
}

.stock-chart-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 50px 50px;
  background-image: linear-gradient(
      to right,
      rgba(65, 105, 225, 0.1) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(65, 105, 225, 0.1) 1px, transparent 1px);
  z-index: 3;
}

.live-chart-animation {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  z-index: 4;
  overflow: hidden;
}

.chart-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  stroke: var(--matrix-green);
  stroke-width: 3;
  fill: none;
  filter: drop-shadow(0 0 10px rgba(0, 255, 65, 0.5));
}

.chart-candles {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 0 5%;
}

.candle {
  width: 6px;
  background: linear-gradient(
    to top,
    var(--success-emerald),
    var(--matrix-green)
  );
  border-radius: 2px;
  position: relative;
  box-shadow: 0 0 6px rgba(0, 255, 65, 0.3);
}

.candle::before,
.candle::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: var(--neon-gold);
}

.candle::before {
  top: -8px;
  height: 8px;
}

.candle::after {
  bottom: -8px;
  height: 12px;
}

.neural-container {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem 1rem;
}

.ai-avatar-module {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--neon-cyan), var(--neon-purple));
  padding: 3px;
  margin-bottom: 1.2rem;
  animation: avatarGlow 2s ease-in-out infinite alternate;
}

.avatar-inner-frame {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-image: url("avatar.png");
  background-size: cover;
  background-position: center;
  border: 2px solid var(--cosmic-primary);
}

.quantum-title-block {
  text-align: center;
  max-width: 800px;
  padding: 0 15px;
}

.primary-quantum-headline {
  font-size: clamp(2.2rem, 7vw, 3.5rem); /* Adjusted font size */
  font-weight: 900;
  /*font-size: clamp(2.2rem, 5vw, 3.5rem);*/
  /*font-weight: 800;*/
  background: linear-gradient(
    45deg,
    var(--neon-cyan),
    var(--neon-gold),
    var(--neon-purple)
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleShimmer 3s ease-in-out infinite;
  line-height: 1;
  margin-bottom: 0.6rem;
}

.secondary-quantum-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  color: var(--matrix-green);
  font-weight: 600;
  margin-bottom: 0.8rem;
  text-shadow: 0 0 8px rgba(0, 255, 65, 0.5);
}

.neural-description-text {
  font-size: clamp(0.9rem, 2.8vw, 1.1rem);
  color: var(--text-primary);
  line-height: 1.5;
  opacity: 0.9;
  margin-bottom: 0.8rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.quantum-input-assembly {
  width: 100%;
  max-width: 480px;
  margin-bottom: 1.5rem;
  padding: 0 15px;
}

.neural-input-field {
  width: 100%;
  padding: 1rem 1.2rem;
  font-size: 1rem;
  background: rgba(27, 38, 59, 0.8);
  border: 2px solid var(--cosmic-accent);
  border-radius: 10px;
  color: var(--text-primary);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  margin-bottom: 0.5rem;
}

.neural-input-field::placeholder {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.neural-input-field:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 245, 255, 0.3);
  transform: translateY(-2px);
}

.quantum-action-trigger {
  width: 100%;
  padding: 1.1rem 1.8rem;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: linear-gradient(45deg, var(--quantum-blue), var(--neon-purple));
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(65, 105, 225, 0.3);
}

.quantum-action-trigger::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.quantum-action-trigger:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(65, 105, 225, 0.5);
}

.quantum-action-trigger:hover::before {
  left: 100%;
}

.quantum-action-trigger:active {
  transform: translateY(-1px);
}

.modal-quantum-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.neural-progress-container {
  background: var(--cosmic-secondary);
  padding: 2.5rem 1.8rem;
  border-radius: 14px;
  text-align: center;
  border: 1px solid var(--cosmic-accent);
  max-width: 380px;
  width: 90%;
}

.progress-status-text {
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 1.2rem;
}

.quantum-progress-track {
  width: 100%;
  height: 6px;
  background: var(--cosmic-primary);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.8rem;
}

.progress-neural-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--neon-cyan), var(--matrix-green));
  width: 0%;
  border-radius: 3px;
  transition: width 0.1s ease;
}

.analysis-stage-indicator {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-style: italic;
}

.completion-modal-frame {
  background: var(--cosmic-secondary);
  padding: 2.5rem 1.8rem;
  border-radius: 14px;
  text-align: center;
  border: 1px solid var(--success-emerald);
  max-width: 420px;
  width: 90%;
}

.completion-primary-message {
  color: var(--success-emerald);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.completion-secondary-note {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.whatsapp-redirect-button {
  background: linear-gradient(45deg, #25d366, #128c7e);
  color: white;
  padding: 0.9rem 1.8rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
  margin-bottom: 1.8rem;
}

.whatsapp-redirect-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(37, 211, 102, 0.5);
}

/* 鏂板鐨凨绾垮浘琛ㄦ牱寮� */
.kline-chart-container {
  width: 100%;
  height: 180px;
  background: rgba(27, 38, 59, 0.8);
  border-radius: 10px;
  padding: 0.8rem;
  margin-top: 0.8rem;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--cosmic-accent);
}

.kline-title {
  color: var(--neon-cyan);
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.kline-chart {
  width: 100%;
  height: 130px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 0 8px;
}

.candle-holder {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.candle-stick {
  width: 10px;
  position: relative;
  background: linear-gradient(
    to bottom,
    #ff4d4d,
    #ff4d4d 50%,
    #00ff41 50%,
    #00ff41
  );
  border-radius: 2px;
  z-index: 2;
}

.candle-stick::before,
.candle-stick::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: var(--neon-gold);
  z-index: 1;
}

.candle-stick::before {
  top: -12px;
}

.candle-stick::after {
  bottom: -12px;
}

.candle-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.trend-arrow {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 25px;
  height: 25px;
  z-index: 3;
  animation: arrowRise 8s linear infinite;
}

.trend-arrow svg {
  width: 100%;
  height: 100%;
  fill: var(--matrix-green);
  filter: drop-shadow(0 0 4px rgba(0, 255, 65, 0.8));
}

@keyframes arrowRise {
  0% {
    transform: translateY(180px) translateX(0);
  }
  10% {
    transform: translateY(160px) translateX(40px);
  }
  20% {
    transform: translateY(140px) translateX(80px);
  }
  30% {
    transform: translateY(120px) translateX(120px);
  }
  40% {
    transform: translateY(100px) translateX(160px);
  }
  50% {
    transform: translateY(80px) translateX(200px);
  }
  60% {
    transform: translateY(60px) translateX(240px);
  }
  70% {
    transform: translateY(40px) translateX(280px);
  }
  80% {
    transform: translateY(20px) translateX(320px);
  }
  90% {
    transform: translateY(0) translateX(360px);
  }
  100% {
    transform: translateY(-20px) translateX(400px);
  }
}

@keyframes candleRise {
  0% {
    height: 0;
    opacity: 0;
  }
  100% {
    height: var(--candle-height);
    opacity: 1;
  }
}

.candle-stick {
  animation: candleRise 1.5s ease-out forwards;
  animation-delay: calc(var(--candle-delay) * 0.2s);
}

.risk-disclosure-section {
  margin-top: 0.5rem;
  max-width: 800px;
  text-align: left;
  background: rgba(27, 38, 59, 0.6);
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid var(--cosmic-accent);
}

.warning-title-block {
  color: var(--warning-yellow);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.disclosure-content-list {
  color: var(--text-primary);
  font-size: 0.9rem;
  line-height: 1.2;
}

.disclosure-content-list li {
  margin-bottom: 0.7rem;
  list-style: none;
  position: relative;
  padding-left: 1.3rem;
}

.disclosure-content-list li::before {
  content: "鈥�";
  color: var(--neon-cyan);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.footer-legal-navigation {
  margin-top: 1.2rem;
  text-align: center;
}

.legal-link-element {
  color: var(--neon-cyan);
  text-decoration: none;
  margin: 0 0.8rem;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.legal-link-element:hover {
  color: var(--neon-gold);
  text-decoration: underline;
}

@keyframes gridPulse {
  0%,
  100% {
    opacity: 0.15;
  }
  50% {
    opacity: 0.25;
  }
}

@keyframes avatarGlow {
  0% {
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.5);
  }
  100% {
    box-shadow: 0 0 35px rgba(138, 43, 226, 0.8);
  }
}

@keyframes titleShimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.featured-image-section {
  width: 100%;
  max-width: 800px;
}

.image-container {
  background: rgba(27, 38, 59, 0.7);
  border-radius: 14px;
  border: 1px solid var(--cosmic-accent);
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 380px; /* 鍥哄畾瀹藉害 */
  height: 212px; /* 鍥哄畾楂樺害 */
  margin: 0 auto; /* 灞呬腑鏄剧ず */
  padding: 0; /* 绉婚櫎鍐呰竟璺� */
}

.featured-image {
  width: 100%;
  height: 100%; /* 濉厖鏁翠釜瀹瑰櫒 */
  border-radius: 10px;
  object-fit: cover; /* 淇濇寔姣斾緥骞跺～鍏呭鍣� */
  display: block;
}

.ai-performance-metrics {
  width: 100%;
  max-width: 800px;
  margin: 2rem auto;
}

.metrics-section-title {
  color: var(--neon-cyan);
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.2rem;
  text-shadow: 0 0 12px rgba(0, 245, 255, 0.8);
  letter-spacing: 0.8px;
}

.performance-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
}

.stat-module {
  background: var(--cosmic-secondary);
  border-radius: 14px;
  padding: 1.2rem;
  text-align: center;
  border: 1px solid var(--cosmic-accent);
  transition: all 0.3s ease;
  position: relative;
}

.stat-module::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(138, 43, 226, 0.1),
    transparent
  );
  border-radius: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-module:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(138, 43, 226, 0.3);
}

.stat-module:hover::before {
  opacity: 1;
}

.stat-icon {
  font-size: 2.2rem;
  margin-bottom: 0.6rem;
  display: block;
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--neon-gold);
  margin-bottom: 0.2rem;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

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

.user-testimonials-feed {
  width: 100%;
  max-width: 800px;
}

.testimonials-section-title {
  color: var(--success-emerald);
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 0 8px rgba(80, 200, 120, 0.5);
}

.testimonials-scroll-container {
  background: rgba(27, 38, 59, 0.6);
  border-radius: 14px;
  padding: 1.2rem;
  border: 1px solid var(--cosmic-accent);
  height: 140px;
  position: relative;
  overflow: hidden;
}

.testimonials-scroll-track {
  height: 100%;
  position: relative;
  width: 100%;
}

.testimonial-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  gap: 1.2rem;
  padding: 0.8rem;
  transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out;
  opacity: 1;
}

.testimonial-item.active {
  transform: translateY(0);
  opacity: 1;
  z-index: 2;
}

.testimonial-item.next {
  transform: translateY(100%);
  opacity: 0;
  z-index: 1;
}

.testimonial-item.prev {
  transform: translateY(-100%);
  opacity: 0;
  z-index: 1;
}

.item-date {
  flex-shrink: 0;
  width: 70px;
  font-size: 0.85rem;
  color: var(--neon-cyan);
  font-weight: 600;
  padding-top: 0.1rem;
}

.item-content {
  flex: 1;
}

.username {
  color: var(--neon-gold);
  font-weight: 600;
  font-size: 0.95rem;
}

.stock-code {
  color: var(--matrix-green);
  font-weight: 700;
  background: rgba(0, 255, 65, 0.1);
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-size: 0.9rem;
}

.analyzed-text {
  color: var(--text-primary);
  font-weight: 500;
}

.feedback-text {
  color: var(--text-primary);
  font-style: italic;
  margin-top: 0.4rem;
  line-height: 1.4;
  font-size: 0.95rem;
  opacity: 0.9;
}

.stock-icons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 1rem;
  width: 100%;
  max-width: 800px;
}

.stock-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.8rem;
  background: rgba(27, 38, 59, 0.5);
  border-radius: 10px;
  border: 1px solid var(--cosmic-accent);
  transition: all 0.3s ease;
}

.stock-icon:hover {
  transform: translateY(-4px);
  background: rgba(65, 90, 119, 0.3);
  box-shadow: 0 4px 12px rgba(0, 245, 255, 0.3);
}

.icon-symbol {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
  color: var(--neon-cyan);
}

.icon-name {
  font-size: 0.85rem;
  color: var(--text-primary);
  text-align: center;
}

.icon-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--neon-gold);
  margin-top: 0.4rem;
}

.price-change {
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.2rem;
}

.price-change.positive {
  color: var(--matrix-green);
}

.price-change.negative {
  color: #ff4d4d;
}

/* 淇鍚庣殑璇勮鍖哄煙K绾垮浘 - 鏌辩姸涓婃定鍥撅紙鍙栨秷绠ご锛� */
.testimonial-kline {
  width: 100%;
  height: 150px;
  margin-top: 0.5rem;
  background: rgba(27, 38, 59, 0.8);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--cosmic-accent);
}

.bar-chart-container {
  width: 100%;
  height: 100%;
  padding: 8px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
}

.bar-column {
  width: 12px;
  background: linear-gradient(to top, #00ff41, #00c93c);
  border-radius: 3px 3px 0 0;
  position: relative;
  box-shadow: 0 0 6px rgba(0, 255, 65, 0.3);
  animation: barRise 1.5s ease-out forwards;
  animation-delay: calc(var(--bar-delay) * 0.2s);
}

.bar-column::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 12px;
  background: var(--neon-gold);
  z-index: 1;
}

@keyframes barRise {
  0% {
    height: 0;
    opacity: 0;
  }
  100% {
    height: var(--bar-height);
    opacity: 1;
  }
}

/* 娣诲姞鏌辩姸鍥炬偓鍋滄晥鏋� */
.bar-column:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 12px rgba(0, 255, 65, 0.6);
}

@media (max-width: 768px) {
  .content-wrapper {
    border: none; /* Remove border on small screens */
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 0;
    background: transparent; /* Make content wrapper background transparent on small screens */
  }
  .neural-container {
    padding: 0.8rem 0.5rem;
  }
  .ai-avatar-module {
    width: 110px;
    height: 110px;
    margin-bottom: 1rem;
  }
  .image-container {
    width: 100%;
    height: auto;
    max-width: 380px;
    aspect-ratio: 380/212;
  }
  .risk-disclosure-section {
    padding: 1.2rem;
  }
  .ai-performance-metrics {
    margin: 1rem 0;
  }
  .metrics-section-title {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
  }
  .performance-stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
  }
  .stat-module {
    padding: 0.7rem 0.4rem;
  }
  .stat-icon {
    font-size: 1.3rem;
    margin-bottom: 0.2rem;
  }
  .stat-value {
    font-size: 1.1rem;
    margin-bottom: 0.1rem;
  }
  .stat-label {
    font-size: 0.65rem;
  }
  .testimonials-scroll-container {
    height: 150px;
    padding: 1rem;
  }
  .testimonial-item {
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.7rem;
    height: 100%;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .item-date {
    width: auto;
    flex-shrink: 0;
    font-size: 0.8rem;
  }
  .item-content {
    flex: 1;
    min-height: 0;
  }
  .feedback-text {
    font-size: 0.85rem;
    margin-top: 0.2rem;
    line-height: 1.35;
  }
  .stock-icons-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.7rem;
  }
  .kline-chart-container {
    height: 160px;
  }
  .kline-chart {
    height: 120px;
  }
  .testimonial-kline {
    height: 130px;
  }
  .rect-floating-button {
    width: 90%;
    max-width: 320px;
    height: 52px;
    font-size: 0.95rem;
  }
}
