/* 基础样式重置和变量定义 */
:root {
  --vt-c-white: #ffffff;
  --vt-c-white-soft: #f8f8f8;
  --vt-c-white-mute: #f2f2f2;

  --vt-c-black: #181818;
  --vt-c-black-soft: #222222;
  --vt-c-black-mute: #282828;

  --vt-c-indigo: #2c3e50;

  --vt-c-divider-light-1: rgba(60, 60, 60, 0.29);
  --vt-c-divider-light-2: rgba(60, 60, 60, 0.12);
  --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65);
  --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48);

  --vt-c-text-light-1: var(--vt-c-indigo);
  --vt-c-text-light-2: rgba(60, 60, 60, 0.66);
  --vt-c-text-dark-1: var(--vt-c-white);
  --vt-c-text-dark-2: rgba(235, 235, 235, 0.64);
}

:root {
  --color-background: var(--vt-c-white);
  --color-background-soft: var(--vt-c-white-soft);
  --color-background-mute: var(--vt-c-white-mute);

  --color-border: var(--vt-c-divider-light-2);
  --color-border-hover: var(--vt-c-divider-light-1);

  --color-heading: var(--vt-c-text-light-1);
  --color-text: var(--vt-c-text-light-1);

  --section-gap: 160px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-background: var(--vt-c-black);
    --color-background-soft: var(--vt-c-black-soft);
    --color-background-mute: var(--vt-c-black-mute);

    --color-border: var(--vt-c-divider-dark-2);
    --color-border-hover: var(--vt-c-divider-dark-1);

    --color-heading: var(--vt-c-text-dark-1);
    --color-text: var(--vt-c-text-dark-2);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  font-weight: normal;
}

body {
  min-height: 100vh;
  color: var(--color-text);
  background: var(--color-background);
  transition: color 0.5s, background-color 0.5s;
  line-height: 1.6;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  font-size: 15px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
}

/* 主容器样式 */
.body {
  background: linear-gradient(135deg, #E9FBF0 0%, #EEFBF7 100%);
  margin: 0;
  padding: 0;
}

/* 下载页面部分样式 */
.download-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #E9FBF0 0%, #EEFBF7 100%);
  width: 100%;
}

.download-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  /* flex-direction: column; */
  align-items: center;
  justify-content: space-between;
  padding: 40px 40px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  gap: 120px;
}

.content-section1 {
  flex: 1;
}

.top-badge {
  display: inline-block;
  background: #10b981;
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 30px;
}

.main-title {
  font-size: 48px;
  font-weight: 900;
  color: #1f2937;
  line-height: 1.2;
  margin: 0 0 20px 0;
}
.highlight {
  color: #10b981;
}
.highlight1 {
  color: #10b981 !important;
}

.subtitle {
  font-size: 18px;
  color: #6b7280;
  margin: 0 0 10px 0;
  font-weight: 400;
}

.description {
  font-size: 16px;
  color: #6b7280;
  margin: 0 0 40px 0;
  font-weight: 400;
}

.download-btn {
  background: #10b981;
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  transition: background-color 0.2s;
}

.download-btn:hover {
  background: #059669;
}

.download-icon {
  width: 20px;
  height: 20px;
}

.scan-text {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 20px 0;
}

.qr-codes {
  display: flex;
  gap: 100px;
}

.qr-item {
  text-align: center;
}

.qr-code {
  width: 120px;
  height: 120px;
  margin-bottom: 12px;
}

.platform-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: #6b7280;
}

.platform-icon {
  width: 20px;
  height: 20px;
}

.phone-section {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  
}

.phone-container {
  position: relative;
  display: inline-block;
}

.phone-image {

  height: auto;
  max-width: 100%;
}

/* 核心功能亮点部分样式 */
.features-section {
  background: #f8fafc;
  padding: 80px 0;
  width: 100%;
}

.features-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.features-header {
  text-align: center;
  margin-bottom: 60px;
}

.features-title {
  font-size: 36px;
  font-weight: 900;
  color: #1f2937;
  margin: 0 0 16px 0;
}

.features-subtitle {
  font-size: 18px;
  color: #6b7280;
  margin: 0;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
}

.feature-card {
  background: white;
  padding: 40px 24px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
/*  justify-content: center; */
  align-items: center;
  width: 250px;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 12px 0;
}

.feature-description {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
}

/* AI音乐大模型部分样式 */
.ai-music-section {
  background: linear-gradient(135deg, #E9FBF0 0%, #EEFBF7 100%);
  padding: 40px 0;
  width: 100%;
}

.ai-music-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 400px;
}

.phone-display {
  flex-shrink: 0;
}

.phone-display-image {
  
  height: auto;
}

.ai-music-content {
  flex: 1;
}

.ai-badge {
  cursor: pointer;
  display: inline-block;
  background: #10b981;
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
}

.ai-title {
  font-size: 36px;
  font-weight: 900;
  color: #1f2937;
  line-height: 1.2;
  margin: 0 0 20px 0;
}

.ai-description {
  font-size: 16px;
  color: #6b7280;
  line-height: 1.6;
  margin: 0 0 40px 0;
}

.ai-features {
  margin-bottom: 40px;
}

.ai-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.ai-feature-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.ai-feature-text h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 4px 0;
}

.ai-feature-text p {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
  line-height: 1.4;
}

.ai-stats {
  display: flex;
  gap: 80px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 32px;
  font-weight: 900;
  color: #10b981;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 14px;
  color: #6b7280;
}

/* 脑电检测技术部分样式 */
.eeg-detection-section {
  background: #f8fafc;
  padding: 80px 0;
  width: 100%;
}

.eeg-detection-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 100px;
}

.eeg-content {
  flex: 1;
  
}

.eeg-badge {
  display: inline-block;
 /* text-align: center; */
  background: #10b981;
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;

  margin: 0 auto 24px;
}

.eeg-title {
  font-size: 36px;
  font-weight: 900;
  color: #1f2937;
  line-height: 1.2;
  margin: 0 0 20px 0;
 
}

.eeg-description {
  font-size: 16px;
  color: #6b7280;
  line-height: 1.6;
  margin: 0 0 40px 0;
}

.eeg-features {
  margin-bottom: 40px;
}

.eeg-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.eeg-feature-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
}

.eeg-feature-text h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 4px 0;
}

.eeg-feature-text p {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
  line-height: 1.4;
}

.brainwave-analysis {
  background: white;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.brainwave-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.brainwave-icon {
  width: 32px;
  height: 32px;
}

.brainwave-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

.brainwave-bands {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.band-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.band-name {
  font-size: 14px;
  color: #374151;
  font-weight: 500;
}

.band-status {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 12px;
  font-weight: 500;
}

.deep-sleep {

  color: rgba(54, 211, 153, 1);
}

.light-sleep {

  color: rgba(33, 196, 93, 1);
}

.relaxed {

  color: rgba(54, 211, 153, 1)
}

.awake {

  color: rgba(33, 196, 93, 1);
}

.eeg-phone-display {
  flex-shrink: 0;
}

.eeg-phone-image {

  height: auto;
}

/* App界面展示部分样式 */
.app-showcase-section {
  background: linear-gradient(135deg, #E9FBF0 0%, #EEFBF7 100%);
  padding: 80px 0;
  width: 100%;
}

.app-showcase-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.app-showcase-title {
  font-size: 36px;
  font-weight: 900;
  color: #1f2937;
  margin: 0 0 16px 0;
}

.app-showcase-subtitle {
  font-size: 18px;
  color: #6b7280;
  margin: 0 0 60px 0;
}

.app-screens {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
  justify-content: center;
}

.screen-item {
  text-align: center;
}

.screen-phone-container {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.screen-image {
  height: auto;
  border-radius: 20px;
  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
}

.screen-title {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 8px 0;
}

.screen-description {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

/* 用户价值与应用场景部分样式 */
.user-value-section {
  background: #f8fafc;
  padding: 80px 0;
  width: 100%;
}

.user-value-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.user-value-title {
  font-size: 36px;
  font-weight: 900;
  color: #1f2937;
  margin: 0 0 16px 0;
}

.user-value-subtitle {
  font-size: 18px;
  color: #6b7280;
  margin: 0 0 60px 0;
}

.value-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: start;
}

.value-card {
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.value-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
}

.value-icon {
  width: 40px;
  height: 40px;
}

.value-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 12px 0;
}

.value-card-description {
  font-size: 16px;
  color: #6b7280;
  margin: 0 0 30px 0;
  line-height: 1.5;
}

.value-features {
  text-align: left;
}

.value-feature {
	padding: 0 0 0 80px;
  text-align: left;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  color: #374151;
}

.value-feature:last-child {
  margin-bottom: 0;
}

.check-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* 最后一个部分样式 */
.final-section {
  background: linear-gradient(135deg, #E9FBF0 0%, #EEFBF7 100%);
  padding: 80px 0;
  width: 100%;
  text-align: center;
}

.final-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.final-title {
  font-size: 48px;
  font-weight: 900;
  color: #1f2937;
  margin: 0 0 24px 0;
  line-height: 1.2;
}

.final-title .highlight {
  color: #10b981;
}

.final-content {
  font-size: 18px;
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
}


	
	
	
	.btm-area {
		width: 100%;
		height: 5vh;
		background: #ffffff;
		font-size: 1rem;
		font-weight: 500;
		
		display: flex;
		align-items: center;
		justify-content: center;
	}



@media (max-width: 768px) {
  .download-container {
    flex-direction: row;
    padding: 20px;
    text-align: left;
    max-width: none;
  }

  .content-section1 {
    padding-right: 10px;
    margin-bottom: 0;
    flex: 0.6;
  }

  .phone-section {
    justify-content: flex-end;
    flex: 0.4;

  }

  .main-title {
    font-size: 28px;
  }


  .qr-codes {
    gap: 15px;
    justify-content: flex-start;
  }

  .qr-code {
    width: 80px;
    height: 80px;
  }

 

  .features-section {
    padding: 60px 0;
  }

  .features-container {
    padding: 0 20px;
  }

  .features-grid {
    grid-template-columns: 2fr;
    gap: 24px;
  }

  .features-title {
    font-size: 28px;
  }

  .eeg-detection-section {
    padding: 60px 0;
  }

  .eeg-detection-container {
   flex-direction: column;
    gap: 40px;
    padding: 0 20px;
  }

  .eeg-title {
    font-size: 28px;
  }

 

  .ai-music-section {
    padding: 60px 0;
  }

  .ai-music-container {
    flex-direction: column;
    gap: 40px;
    padding: 0 20px;
    text-align: center;
  }

  .ai-title {
    font-size: 28px;
  }

  .ai-stats {
    justify-content: center;
    gap: 30px;
  }

  .app-screens {
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
  }



  .app-showcase-title {
    font-size: 28px;
  }

  .value-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .user-value-title {
    font-size: 28px;
  }

  .value-card {
    padding: 15px 10px;
    min-height: 160px;
  }
}

@media (max-width: 480px) {
  .top-badge{
	  border-radius: 9999px;
  }
  .main-title {
	width: 235px;
    font-size: 26px;
	margin: 0 auto;
	text-align: center;
	padding: 0 0 0 10px;
  }

  .subtitle {
	position: relative;
	top: 10px;
	width: 235px;
    margin: 0 auto;
    font-size: 16px;
	text-align:left;
	padding: 0 0 0 10px;
  }  
  .qr-codes {
    gap: 30px;
  	justify-content: center;
    align-items: center;
  }
  

  
  .qr-code{
	  width: 112px;
	  height: 112px;
	  background-color: #ffffff;
	  text-align: center;
	   flex-direction: column;
	   align-items: center; /* 居中对齐 */
	   border: 1px solid #e5e7eb; /* 添加灰色边框 */
	   border-radius: 16px;
	   padding: 10px;
	  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  }

  .phone-image {

    border-radius: 20px;
    display: block;
  }
  .phone-display-image {

    height: auto;
  }
  .eeg-phone-image{

	height: auto;
  }
  .phone-container{
	  align-items: center;
  }

  .download-container {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 40px 40px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  gap: 120px;
  text-align: center;
}

  .download-btn {
    text-align: center;
    margin: 0 auto;
  }

  .features-subtitle{
	  width: 229px;
	  margin: 0 auto;
	  text-align: center;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    justify-content: center;
  }
  
  .feature-card {
    padding: 15px 10px;
    min-height: 160px;
	width: 229px;
	justify-content: center;
  }


  
  .ai-title{
	text-align: center;
	width: 235px;
	margin: 0 auto;  
  }
  
  .ai-description{
	padding: 20px 0 20px 0;
	width: 235px;
	margin:0 auto;
	text-align: left;
  }
  .h{
	text-align: left;
  }
  .ai-text{
	width: 154px;
	text-align: left;
  }
  
  .ai-feature-item{
	justify-content: center;
  }
  
  .ai-stats {
    gap: 20px;
  }

 
  .eeg-content{
	
  }
  .eeg-badge{
	display: block;           
	margin: 0 auto 24px; 
	text-align: center;      
	max-width: fit-content; 
  }
  .eeg-title{
	  text-align: center;
	  width: 235px;
	  margin: 0 auto;
  }
  
  .eeg-description{
	text-align: center;
	font-size: 16px;
    display: flex;
	justify-content: center;
	padding: 10px 65px 0 65px;
  }
  .eeg-feature-item{
    justify-content: center;
  }

  .brainwave-analysis{
	width: 100%;
  }
  
  .brainwave-header{
	  justify-content: center;
	  gap: 25px;
  }
  .band-item{
	 padding: 0 20px;
	/* justify-content: center;
	gap: 15px; */
  }

  .app-screens {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /*.screen-image {*/
  /*  width: 200px;*/
  /*}*/

  .phone-display{
  	  order: 2;
  }
  .ai-music-content{
  	  order: 1;
  }


  .app-showcase-container {
    padding: 0 20px;
  }

  .app-showcase-title {
    font-size: 24px;
  }

  .final-section {
    padding: 60px 0;
  }

  .final-container {
    padding: 0 20px;
  }

  .final-title {
    font-size: 32px;
  }

  .final-content {
    font-size: 16px;
  }
  .value-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
  }
  .value-feature{
	justify-content: center;
  }
  
  
 
  
  .btm-area {
  	width: 100%;
  	height: 5vh;
  	background: #ffffff;
  	font-size: 0.7rem;
  	font-weight: 500;
  	text-align: center;
  	
  	display: flex;
  	align-items: center;
  	justify-content: center;
  }
  
  
}

@media (max-width: 400px) {
  .value-card {
    padding: 10px 5px;
    min-height: 140px;
  }
}

/* 链接样式 */

.green {
  text-decoration: none;
  color: hsla(160, 100%, 37%, 1);
  transition: 0.4s;
  padding: 3px;
}

@media (hover: hover) {
  a:hover {
    background-color: hsla(160, 100%, 37%, 0.2);
  }
}

/* 弹窗样式 */
.modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  max-width: 480px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  position: relative;
  padding: 20px 20px 0 20px;
}

.close {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #999;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}

.close:hover {
  color: #333;
}

.modal-body {
  padding: 20px 40px 40px 40px;
  text-align: center;
}

.modal-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.modal-title {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
  line-height: 1.3;
}

.modal-text {
  font-size: 16px;
  color: #666;
  margin-bottom: 8px;
  line-height: 1.5;
}

.modal-subtext {
  font-size: 14px;
  color: #999;
  margin-bottom: 30px;
  line-height: 1.4;
}

.qr-codes-modal {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.qr-item-modal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.qr-code-modal {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.qr-code-modal:hover {
  transform: scale(1.05);
}

.platform-label-modal {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .modal-content {
    margin: 20px;
    width: calc(100% - 40px);
  }
  
  .modal-body {
    padding: 20px 30px 30px 30px;
  }
  
  .modal-title {
    font-size: 20px;
  }
  
  .qr-codes-modal {
    gap: 20px;
  }
  
  .qr-code-modal {
    width: 100px;
    height: 100px;
  }
}