/* ============================================
   贸泽电子 - 芯片演进研习学院
   字体：思源黑体 (Noto Sans SC)
   ============================================ */

/* --- CSS Variables (Design Tokens) --- */
:root {
  /* 颜色 token */
  --color-primary: #0070BB;           /* paint_3:52 */
  --color-primary-dark: #004A85;      /* paint_3:0303 */
  --color-primary-light: #0099FF;
  --color-bg: #F5F7FA;                /* paint_3:9 */
  --color-white: #FFFFFF;             /* paint_3:28 */
  --color-text-dark: #333333;         /* paint_3:565 */
  --color-text-medium: #666666;       /* paint_3:664 */
  --color-text-light: #999999;        /* paint_3:844 */
  --color-border: #E0E6ED;            /* paint_3:652 */
  --color-orange: #FF7F00;            /* paint_3:3724 */
  --color-pink: #FF007F;              /* paint_3:3994 */
  --color-green: #00FF7F;             /* paint_3:2862 */
  --color-gold: #FFAA00;              /* paint_15:907 */
  --color-dark-bg: #1B2F4D;           /* paint_22:0580 */
  --color-black: #000000;             /* paint_3:4033 */

  /* 渐变 token */
  --gradient-activity: linear-gradient(141deg, #004A85 0%, #0070BB 99%);
  --gradient-dark-card: linear-gradient(119deg, #0D1B2A 2%, #1B263B 100%);
  --gradient-darker: linear-gradient(119deg, #0A1628 2%, #1A2A4A 100%);
  --gradient-btn: linear-gradient(94deg, #0070BB 0%, #0099FF 99%);
  --gradient-banner: linear-gradient(90deg, #003090 0%, #002669 20%, rgba(0, 0, 0, 0) 40);
  --gradient-fade-white: linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4589) 33%, #FFFFFF 100%);
  --gradient-page-bg: linear-gradient(180deg, #F5F7FA 0%, #FFFFFF 100%);
  --gradient-activity-overlay: linear-gradient(180deg, rgba(216, 216, 216, 0) 0%, rgba(215, 255, 255, 0.16) 100%);

  /* 阴影 token */
  --shadow-card: 0px 4px 20px 0px rgba(0, 0, 0, 0.08);        /* effect_3:659 */
  --shadow-btn: 0px 4px 15px 0px rgba(0, 112, 187, 0.35);     /* effect_3:4865 */
  --shadow-play: 0px 8px 30px 0px rgba(0, 112, 187, 0.4);     /* effect_3:716 */
  --shadow-blur: backdrop-filter: blur(10px);                    /* effect_3:028 */

  /* 字体 */
  --font-family: 'Noto Sans SC', 'Source Han Sans CN', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-weight: 400;
  color: var(--color-text-dark);
  background-color: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.85;
}

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

/* --- Section Label --- */
.section-label {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.section-label.blue { color: var(--color-primary); }
.section-label.light { color: var(--color-white); }

.section-title {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 900;
  text-align: center;
  line-height: 1.3;
  margin-bottom: 12px;
}
.section-title.dark { color: var(--color-text-dark); }
.section-title.light { color: var(--color-white); }

.section-desc {
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.7;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}
.section-desc.center { text-align: center; }
.section-desc.light-desc { color: var(--color-white); }

/* ============================================
   Banner
   ============================================ */
.banner {
  position: relative;
  width: 100%;
  min-height: 300px;
  height: 40vw;
  max-height: 406px;
  overflow: hidden;
  background: #1a0a30;
}

.banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.banner-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.banner-gradient-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-banner);
}


/* Banner Logo */
.banner-logo {
  margin-bottom:30px;
}

.banner-logo-img {
  height: 60px;
  
}
.banner-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.banner-badge {
  display: inline-block;
  padding: 8px 24px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  color: var(--color-white);
  font-size: 17px;
  font-weight: 400;
  backdrop-filter: blur(10px);
  width: fit-content;
  margin-bottom: 20px;
  position:relative;
  top:-10px;
  margin-left:20px
}

.banner-text-group {
  max-width: 880px;
}

.banner-title {
  font-size: clamp(28px, 4.5vw, 60px);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.3;
  margin-bottom: 12px;
}

.banner-subtitle {
  font-size: clamp(16px, 2.2vw, 40px);
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.1;
}

.banner-divider {
  width: 100%;
  max-width: 1170px;
  height: 2px;
  margin: 24px 0;
  background: var(--gradient-fade-white);
}

.banner-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  padding: 14px 40px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 22px;
  font-weight: 500;
  border-radius: 0;
  text-align: center;
  transition: background 0.3s;
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  opacity: 1;
}

.banner-time {
  font-size: clamp(14px, 1.8vw, 24px);
  font-weight: 300;
  color: var(--color-white);
  line-height: 2.5;
}
.banner-time span {
  font-weight: 350;
}

/* ============================================
   Intro Section
   ============================================ */
.intro {
  background: var(--color-bg);
  padding: 50px 0 30px;
  text-align: center;
}

.intro-title {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 500;
  color: var(--color-text-dark);
  line-height: 1.5;
  margin-bottom: 20px;
  opacity: 0.95;
}

.intro-desc {
  font-size: clamp(14px, 1.6vw, 16px);
  color: var(--color-text-dark);
  line-height: 2;
  max-width: 1276px;
  margin: 0 auto 24px;
  opacity: 0.9;
}

.intro-highlight {
  font-size: clamp(13px, 1.5vw, 14px);
  color: var(--color-text-dark);
  line-height: 2.1;
  letter-spacing: 2px;
  max-width: 760px;
  margin: 0 auto;
  margin-top: 30px;
}
.intro-highlight span {
  color: var(--color-primary);
}

.intro-line {
  width: 100%;
  max-width: 1182px;
  height: 1px;
  margin: 30px auto 0;
  background: var(--color-text-medium);
  opacity: 0.5;
  transform: skewY(-0.05deg);
}

/* ============================================
   Video Section
   ============================================ */
.video-section {
  position: relative;
  background: var(--color-white);
  padding: 60px 0 50px;
  overflow: hidden;
}

/* 视频区域右侧装饰图 (52:674) */
.video-deco-img {
  position: absolute;
  top: -7px;
  right: 0;
  width: 371px;
  height: 623px;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.video-section .container {
  position: relative;
  z-index: 1;
}

.video-player {
  max-width: 1140px;
  margin: 0 auto;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--gradient-darker);
  overflow: hidden;
}

/* Plyr 播放器自适应 */
.video-wrapper .plyr {
  width: 100%;
  height: 100%;
}
.video-wrapper .plyr video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.video-wrapper .plyr__controls {
  background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, transparent 100%);
}

.video-info {
  padding: 24px 33px 30px;
}

.video-info-title {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1.4;
  margin-bottom: 12px;
}

.video-info-desc {
  font-size: clamp(13px, 1.5vw, 15px);
  color: var(--color-text-medium);
  line-height: 1.8;
}

/* ============================================
   Chips Section
   ============================================ */
.chips-section {
  background: var(--gradient-page-bg);
  padding: 60px 0 50px;
}

.chips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto;
}

.chip-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s, box-shadow 0.3s;
}
.chip-card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 8px 30px 0px rgba(0, 0, 0, 0.12);
}

.chip-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 362 / 200;
  overflow: hidden;
}

.chip-card-img-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-dark-card);
}

.chip-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chip-card-body {
  padding: 24px 25px 28px;
  overflow:hidden;
}

.chip-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-black);
  line-height: 1.7;
  margin-bottom: 12px;
}

.chip-card-desc {
  font-size: 14px;
  color: var(--color-text-medium);
  line-height: 1.8;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-detail {
  display: inline-block;
  padding: 8px 28px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 500;
  border-radius: 18px;
  transition: background 0.3s;
  float: right;
}
.btn-detail:hover {
  background: var(--color-primary-dark);
  opacity: 1;
}


.btn-detail2 {
  display: inline-block;
  padding: 18px 98px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 18px;
  font-weight: 500;
  border-radius: 58px;
  transition: background 0.3s;
}
.btn-detail2:hover {
  background: var(--color-primary-dark);
  opacity: 1;
}

/* ============================================
   Product Section
   ============================================ */
.product-section {
  background: var(--color-white);
  padding: 40px 0;
}

.product-tools-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  justify-content: center;
}

.product-tool-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 185px;
  height: 210px;
  background: #FFFFFF;
  border: 1px solid #DFDFDF;
  border-radius: 4px;
  text-decoration: none;
  gap: 26px;
  padding: 37px 10px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.product-tool-card:hover {
  box-shadow: 0 4px 16px rgba(0,112,187,0.15);
  transform: translateY(-2px);
}

.product-tool-card img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.product-tool-card span {
  font-family: 'Source Han Sans SC', 'Noto Sans SC', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #0070BB;
  text-align: center;
}

/* ============================================
   Activity Section
   ============================================ */
.activity-section {
  position: relative;
  padding: 70px 0 60px;
  overflow: hidden;
}

.activity-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.activity-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.activity-bg-gradient {
  position: absolute;
  inset: 0;
  background: var(--gradient-activity);
  opacity: 0.92;
}

.activity-container {
  position: relative;
  z-index: 1;
}

/* Glass card */
.glass-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

/* Info cards */
.info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 33px;
  margin-bottom: 24px;
}

.info-card-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.info-card-icon-img {
  width: auto;
  height: auto;
  display: block;
}

.info-card-content {
  flex: 1;
}

.info-card-label {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
}

.info-card-value {
  font-size: clamp(14px, 1.8vw, 20px);
  font-weight: 500;
  color: var(--color-white);
}

/* Share directions */
.share-directions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.share-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--color-white);
  line-height: 1.7;
  opacity: 0.95;
}

.check-mark {
  color: var(--color-green);
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

/* Steps */
.steps-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--color-white);
  font-size: 18px;
  font-weight: 700;
}
.steps-header-icon {
  width: 22px;
  height: 22px;
  display: block;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

.step-card {
  padding: 25px 20px;
  text-align: center;
  border-radius: 12px;
}

.step-number {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background: var(--color-gold);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  color: var(--color-primary-dark);
}

.step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 14px;
  color: var(--color-white);
  line-height: 1.7;
  opacity: 0.9;
}

/* ============================================
   Form
   ============================================ */
.form-wrapper {
  display: flex;
  justify-content: center;
}

.form-card {
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  padding: 40px;
  width: 100%;
  max-width: 900px;
}

.form-reward-banner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 79px;  /* 组 286 与 “100 元京东卡” 的间距 */
  padding: 21px 31px;
  background: url('/images/mouser-teardown/reward-banner-bg.png') no-repeat center center;
  background-size: cover;
  border: 1px solid rgba(255, 127, 0, 0.3);  /* paint_3:3608 */
  border-radius: 12px;
  margin-bottom: 30px;
  overflow: hidden;
}

/* 组 286: 图标 + 文字块横向组合，作为一体 */
.reward-icon-title {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 26px;  /* 组 142 右边缘到组 285 左边缘 */
  flex-shrink: 0;
}

.reward-icon {
  width: 25px;  /* 组 142 layoutStyle width */
  height: 36px;
  margin-top: 11px;  /* 组 142 relativeY: 11.40 */
  flex-shrink: 0;
  overflow: visible;
}
.reward-icon-img {
  width: 36px;
  height: 34px;
  display: block;
}

/* 组 285: 标题 + 副标题纵向堆叠 */
.reward-text-block {
  display: flex;
  flex-direction: column;
}

.reward-title {
  font-size: 18px;  /* font_3:1407 */
  font-weight: 700;
  color: #333333;   /* paint_3:565 */
  line-height: 1.7;
  margin: 0;
}

.reward-desc {
  font-size: 14px;  /* font_3:3706 */
  color: #666666;   /* paint_3:664 */
  letter-spacing: 0.35px;
  line-height: 1.7;
  margin: 3px 0 0 0;
}

/* “100 元京东卡” 区域 */
.reward-amount {
  display: flex;
  align-items: center;
  margin: 0;
}

.reward-highlight {
  font-size: 34px;  /* font_15:740 */
  font-weight: 700;
  color: #FF7F00;   /* paint_3:3724 */
  line-height: 0.7;
  display: inline-block;
}

.form-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 10px;
}

.form-subtitle {
  font-size: 14px;
  color: var(--color-text-medium);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}
.form-group.full-width {
  margin-bottom: 20px;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.required {
  color: var(--color-pink);
  margin-left: 4px;
}

.form-group input,
.form-group textarea {
  font-family: var(--font-family);
  padding: 12px 14px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--color-black);
  outline: none;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-black);
  font-size: 14px;
  opacity: 0.6;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-hint {
  font-size: 12px;
  color: var(--color-text-light);
  margin-top: 6px;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 40px;
  background: var(--gradient-btn);
  color: var(--color-white);
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: opacity 0.3s, transform 0.2s;
  margin-top: 10px;
}
.btn-submit-icon {
  width: 16px;
  height: 15px;
  display: block;
}

.btn-submit:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}
.btn-submit:active {
  transform: translateY(0);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--color-dark-bg);
  padding: 27px 0;
  text-align: center;
}

.footer-logo {
  height: 49px;
  margin: 0 auto;
}

/* ============================================
   Responsive - Tablet
   ============================================ */
@media (max-width: 1024px) {
  .chips-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .chips-grid .chip-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .form-card {
    padding: 30px;
  }
}

/* ============================================
   Responsive - Mobile
   ============================================ */
@media (max-width: 768px) {
  .banner {
    min-height: 260px;
    height: 55vw;
  }
  .banner-logo { top: 16px; left: 16px; }
  .banner-logo-img { height: 28px; }
.banner-content {
    padding: 20px 16px 20px;
  }
  .banner-badge {
    font-size: 14px;
    padding: 6px 18px;
    margin-bottom: 12px;
  }
  .banner-title {
    margin-bottom: 8px;
  }
  .banner-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .btn-primary {
    font-size: 18px;
    padding: 12px 30px;
  }
  .banner-time {
    font-size: 14px;
  }

  .intro {
    padding: 30px 0 20px;
  }
  .intro-desc {
    line-height: 1.8;
  }

  .video-section {
    padding: 40px 0 30px;
  }
  .video-deco-img {
    display: none;
  }
  .video-info {
    padding: 16px 20px 20px;
  }

  .chips-section {
    padding: 40px 0 30px;
  }
  .chips-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .chips-grid .chip-card:last-child {
    max-width: 100%;
  }

  .activity-section {
    padding: 50px 0 40px;
  }
  .info-card {
    flex-direction: column;
    padding: 20px;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .form-card {
    padding: 20px 16px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .form-reward-banner {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    gap: 16px;
  }
  .reward-icon-title {
    gap: 16px;
  }
  .reward-icon {
    margin-top: 4px;
  }
  .reward-text-block {
    text-align: left;
  }
  .reward-amount {
    justify-content: center;
  }
  .reward-highlight {
    font-size: 24px;
  }
  .btn-submit {
    width: 100%;
    justify-content: center;
  }

  .product-tools-grid {
    gap: 10px;
    flex-wrap: wrap;
  }
  .product-tool-card {
    width: calc(50% - 5px);
    height: auto;
    min-height: 180px;
  }

  .footer-logo {
    height: 36px;
  }
}

@media (max-width: 480px) {
  .banner {
    min-height: 220px;
  }
  .banner-title {
    font-size: 22px;
  }
  .banner-subtitle {
    font-size: 14px;
  }
  .section-title {
    font-size: 22px;
  }
  .chip-card-title {
    font-size: 18px;
  }
  .product-tool-card {
    width: calc(33.33% - 8px);
    min-height: 160px;
    padding: 20px 6px;
    gap: 14px;
  }
  .product-tool-card img {
    height: 40px;
  }
  .product-tool-card span {
    font-size: 13px;
  }
}
