/* =====================================================================
   NoteBurner — About / Support pages
   Tech: Bootstrap 5 + jQuery (responsive)
   Page-specific styles (shared/global styles live in style.css)
===================================================================== */

/* =====================================================================
   HERO
===================================================================== */
.hero {
  padding: 0 20px;
}

.hero-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  overflow: hidden;
  background-color: #ffffff;
  background-image: url(../images/common/review-bg.svg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Decorative blurred glows */
.glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.glow-blue {
  bottom: -709px;
  left: -47px;
  width: 998px;
  height: 998px;
  opacity: .2;
  background: var(--nb-blue);
  filter: blur(150px);
}

.glow-white {
  bottom: -246px;
  left: 390px;
  width: 748px;
  height: 748px;
  opacity: .3;
  background: #fff;
  filter: blur(250px);
}

.glow-green {
  top: -652px;
  right: -243px;
  width: 910px;
  height: 910px;
  opacity: .3;
  background: var(--nb-green);
  filter: blur(250px);
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 80px 80px;
  width: 100%;
}

.hero-eyebrow {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  background: var(--nb-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 24px;
}

.hero-title {
  margin: 0;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--nb-navy);
}

.hero-title .hero-title-accent {
  background: var(--nb-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  color: var(--nb-t-3);
}

/* Breadcrumb */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  font-size: 18px;
  color: var(--nb-t-3);
  margin-top: 8px;
}

.breadcrumb-nav .a-breadcrumb-icon,
.breadcrumb-nav .c-breadcrumb-arrow {
  width: 24px;
  height: 24px;
}

.breadcrumb-nav a {
  color: var(--nb-t-3);
  padding: 2px 4px;
}

.breadcrumb-nav span {
  padding: 2px 4px;
}

.breadcrumb-nav span.support,
.breadcrumb-nav a:hover {
  background: var(--nb-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.breadcrumb-nav i {
  font-size: 14px;
}

/* =====================================================================
   STATS
===================================================================== */
.stats {
  padding: 100px 40px;
}

.stats-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  
  margin: 0 auto;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(38, 167, 254, 0.16) 0%, rgba(2, 203, 100, 0) 100%);
  overflow: hidden;
}

.stat-icon img {
  width: 48px;
  height: 48px;
}

.stat-value {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  color: var(--nb-t-1);
  line-height: 1.15;
}

.stat-label {
  margin: -8px 0 0;
  font-size: 18px;
  line-height: 29px;
  color: var(--nb-t-2);
}

/* =====================================================================
   BRAND STORY
===================================================================== */
.brand-story {
  padding: 0 40px;
}

.brand-story-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  
  margin: 0 auto;
  border: 1px solid var(--nb-card-border);
  border-radius: 40px;
  background-color: var(--nb-card-bg);
  padding: 39px;
  overflow: hidden;
}

.brand-story-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: stretch;
}

.brand-story-text p {
  margin: 0;
  font-size: 18px;
  line-height: 29px;
  color: var(--nb-t-2);
}

.brand-story-img {
  border-radius: 40px;
  width: 100%;
  max-width: 456px;
  height: 381px;
  object-fit: cover;
  flex-shrink: 0;
}

/* ≤992 用窄版图（默认隐藏，断点内显示并隐藏大图） */
.brand-story-img-sm {
  display: none;
}

/* =====================================================================
   SECTION HEADINGS (shared)
===================================================================== */
.section-heading {
  margin: 0 0 20px;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  color: #000;
}

.section-sub {
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
  color: var(--nb-t-2);
  text-align: center;
}

/* =====================================================================
   TIMELINE / OUR STORY
===================================================================== */
.timeline {
  padding: 100px 40px;
}

.timeline-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0 40px;
  margin-bottom: 40px;
  text-align: center;
}

/* 左右按钮改为占位式（与 products 页 .products-screenshots__slider 同布局）：
   按钮和轮播在同一个 flex 行里各占自己的位置，不再绝对定位浮在卡片上层 */
.timeline-viewport {
  display: flex;
  align-items: center;
  column-gap: 20px;
  margin: 0 auto;
}

.timeline-swiper {
  flex: 1 1 auto;
  min-width: 0;
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 0 34px;
}

.timeline-slide {
  display: block;
  width: 280px;
}

.timeline-card {
  position: relative;
  height: 100%;
  background: #fff;
  border: 1px solid #e6eef5;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.04);
}

.timeline-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
}

.timeline-year {
  display: inline-block;
  margin: 12px 0 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #26a7fe 0%, #02cb64 100%);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.timeline-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  color: var(--nb-t-1);
}

.timeline-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--nb-t-2);
}

/* 与 products 页 .products-screenshots__arrow 同款：透明底 + 描边，hover 描边变蓝 */
.timeline-arrow {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  /* 抵消 .timeline-swiper 上下不对称的内边距（10 / 34），
     让按钮与卡片垂直居中，而不是跟着整个 swiper 盒子居中 */
  margin-bottom: 24px;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--nb-t-3);
  background: transparent;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.timeline-arrow:hover {
  border-color: var(--nb-blue);
}

.timeline-arrow__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* < 992px — 小屏不显示左右轮播按钮, 改为直接左右滑动切换
   (Swiper 默认即允许鼠标拖拽 / 触摸滑动, 与按钮显隐无关) */
@media (max-width: 991.98px) {
  .timeline-arrow {
    display: none;
  }
}

.timeline-progress {
  width: 400px;
  max-width: calc(100% - 40px);
  height: 4px;
  margin: 20px auto 0;
  border-radius: 999px;
  background: rgba(38, 167, 254, 0.08);
  overflow: hidden;
}

.timeline-progress-bar {
  display: block;
  width: 46%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--nb-blue), var(--nb-green));
}

/* =====================================================================
   WHY CHOOSE
===================================================================== */
.why-choose {
  padding: 40px 40px;
}

.why-choose-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  text-align: center;
}

.why-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin: 0 auto;
}

/* 外容器：渐变环载体
   常态 = 与原 1px 描边同色的浅蓝细环；hover = 品牌渐变环 */
.why-card {
  border-radius: 20px;
  padding: 2px; /* 渐变环厚度 */
  background: var(--nb-card-border); /* 常态细环 rgba(38,167,254,.16) */
  transition: background-color .25s ease, background-image .25s ease;
}

/* hover：渐变描边（设计稿 why-card Property 1=Variant2） */
.why-card:hover {
  background: linear-gradient(180deg, #26a7fe 0%, #02cb64 100%);
}

/* 内置容器：显示当前卡片底色，与父级渐变环隔离 */
.why-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border-radius: 18px; /* 20 - 2px 环 */
  background: #eef8ff; /* 视觉等同 rgba(38,167,254,.08) 叠于白底 */
  padding: 37px;
  height: 100%;
  text-align: center;
}

.why-card h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--nb-t-1);
}

.why-card p {
  margin: -8px 0 0;
  font-size: 18px;
  line-height: 29px;
  min-height: 58px; /* 固定 2 行文案区，保证各卡片高度一致（同 Figma 58px） */
  color: var(--nb-t-2);
  max-width: 460px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* 控制显示的行数 */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.why-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.why-icon-hq {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: #fff;
}

.hq-badge {
  font-size: 30px;
  font-weight: 700;
  background: linear-gradient(135.6deg, #26a7fe 0%, #02cb64 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* =====================================================================
   TEAM
===================================================================== */
.team {
  padding: 100px 40px;
}

.team-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  text-align: center;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 0 auto;
}

.team-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #d6d6d6;
  border-radius: 40px;
  padding: 24px;
  overflow: hidden;
  background: #fff;
}

.team-card-featured {
  border-color: rgba(38, 167, 254, 0.24);
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.05);
}

.team-card img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.team-card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 8px 8px;
}

.team-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.team-card-title h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: var(--nb-t-1);
}

.team-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  overflow: hidden;
  color: var(--nb-blue);
  font-size: 20px;
}

.team-icon img {
  width: 32px;
  height: 32px;
  aspect-ratio: auto;
  border-radius: 0;
}

.team-card-body p {
  margin: 0;
  font-size: 18px;
  line-height: 32px;
  color: var(--nb-t-4);
}

/* =====================================================================
   CONTACT
===================================================================== */
.contact {
  padding: 0 40px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin: 0 auto;
  border-radius: 40px;
  overflow: hidden;
  padding: 40px;
  background:
    url('../images/about/about-contact-bg.png') center / cover no-repeat,
    #fff;
}

.contact-img {
  width: 100%;
  max-width: 456px;
  height: 352px;
  border-radius: 20px;
  object-fit: cover;
  flex-shrink: 0;
}

.contact-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: stretch;
}

.contact-text {
  margin: 0;
  font-size: 22px;
  line-height: 36px;
  color: var(--nb-t-2);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px;
}

.contact-actions .p-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 240px;
  min-width: max-content;
  height: 58px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 20px;
  font-weight: 600;
  border: none;
  transition: filter .2s, box-shadow .2s;
}

.btn:hover {
  filter: brightness(1.05);
}

.btn-contact {
  background: var(--nb-gradient-102);
  color: #fff;
}

.btn-contact:hover {
  color: #fff;
}

.btn-explore {
  border: 3px solid transparent;
  background:
    linear-gradient(#fff) padding-box,
    linear-gradient(90deg, #26A7FE 0%, #02CB64 100%) border-box;
  background-clip: padding-box, border-box;
}

.btn-explore .btn-label {
  background: linear-gradient(90deg, var(--nb-blue) 0%, var(--nb-green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  line-height: 29px;
  color: transparent;
}

/* =====================================================================
   FOLLOW US
===================================================================== */
.follow {
  padding: 100px 40px;
  text-align: center;
}

.follow-sub {
  margin: 0 auto;
}

.follow-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.a-social-icon {
  flex-shrink: 0;
  border-radius: 50%;
  width: 50px;
  height: 50px;
}

.follow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid rgba(38, 167, 254, 0.2);
  border-radius: 999px;
  padding: 6px 22px 6px 6px;
  color: var(--nb-t-1);
  font-size: 24px;
  font-weight: 600;
  transition: background .2s, color .2s;
}

.follow-pill:hover {
  background: rgba(38, 167, 254, 0.08);
  color: var(--nb-blue);
}

.follow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  font-size: 22px;
  color: var(--nb-blue);
}

/* =====================================================================
   RESPONSIVE MEDIA QUERIES (grouped at end)
===================================================================== */


@media (min-width: 576px) {
  .follow-social {
    flex-direction: row;
  }

  .timeline-slide {
    width: 343px;
  }
}

@media (max-width: 991.98px) {
  /* ≤992：brand-story 换窄版图，去掉固定宽高直接铺满 */
  .brand-story-img-lg {
    display: none;
  }

  .brand-story-img-sm {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
  }
}

@media (max-width: 767px) {
  /* <768：why-card 纵排，统一宽度，避免文案长短导致 3/5 号卡片宽度不一致 */
  .why-grid .why-card {
    width: 100%;
    max-width: 453px;
  }
}

@media (min-width: 768px) {
  .stats-grid {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .stats-grid .stat-item {
    flex: 0 0 calc((100% - 80px) / 2);
  }

  .timeline-slide {
    width: 343px;
  }

  /* Hero */
  .hero-title {
    font-size: 60px;
    line-height: 78px;
  }


  /* Section headings */
  .section-heading {
    font-size: 48px;
    line-height: 67px;
  }

  .section-sub {
    font-size: 26px;
    line-height: 36px;
  }

  /* Why choose */
  .why-grid {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .why-grid .why-card {
    flex: 0 0 calc((100% - 40px) / 2);
  }

  /* Team：768–1199 保持单列竖排，≥1200 才切换为 3 列 */
  .team-card {
    padding: 39px;
  }

  .team-card img {
    aspect-ratio: 16 / 9;
  }

  /* Contact */
  .contact-actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }
}

@media (min-width: 992px) {
  .why-grid .why-card {
    flex: 0 0 calc((100% - 40px) / 2);
  }

  .why-grid .why-card:nth-child(1),
  .why-grid .why-card:nth-child(2),
  .why-grid .why-card:nth-child(3) {
    flex: 0 0 calc((100% - 80px) / 3);
  }

  /* Team：992–1199 两列，第三张换行铺满整行 */
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid .team-card:nth-child(3) {
    grid-column: 1 / -1;
  }

  /* Stats */
  .stats-grid {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .stats-grid .stat-item {
    flex: 0 0 calc((100% - 80px) / 3);
  }

  .timeline-card img {
    height: 188px;
  }
}

@media (min-width: 1200px) {

  /* Stats */
  .stats-grid {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 60px;
  }

  .stats-grid .stat-item {
    flex: 1 1 0;
  }

  .stat-value {
    font-size: 36px;
  }

  /* Brand story */
  .brand-story-card {
    flex-direction: row;
    justify-content: center;
    column-gap: 40px;
    padding: 39px;
  }

  .brand-story-text {
    flex: 1;
  }

  /* .brand-story-text p {
    max-width: 400px;
  } */

  .brand-story-img {
    width: 480px;
    max-width: 480px;
    height: 381px;
  }

  /* Team */
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* 重置 992 断点的跨行设置，三张一行 */
  .team-grid .team-card:nth-child(3) {
    grid-column: auto;
  }

  /* Contact */
  .contact-card {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    column-gap: 80px;
    padding: 100px 0px;
  }

  .contact-img {
    width: 520px;
    max-width: none;
    aspect-ratio: auto;
    height: 352px;
  }

  .contact-body {
    flex: 1;
  }
}

@media (min-width: 1400px) {

  /* Brand story */
  .brand-story-card {
    column-gap: 80px;
    padding: 79px;
  }

  .brand-story-img {
    width: 680px;
    max-width: 680px;
    height: 540px;
  }

  /* Contact */
  .contact-img {
    width: 680px;
  }
}

@media (min-width:1600px) {
  .hero-content {
    padding:80px 240px;
  }
  .team,.stats {
    padding: 100px 240px;
  }
  .contact{
    padding: 0 240px;
  }
  .follow {
    padding-left:240px;
    padding-right:240px;
  }
  .timeline{
    padding: 100px 240px;
  }
  .why-choose,.brand-story{
    padding: 0 240px;
  }
}

@media (min-width:1920px) {
  .hero-content {
    padding:80px 340px;
  }
  .team,.stats {
    padding: 100px 320px;
  }
  .contact{
    padding: 0 320px;
  }
  .follow {
    padding-left:320px;
    padding-right:320px;
  }
  .timeline{
    padding: 100px 320px;
  }
  .why-choose,.brand-story{
    padding: 0 320px;
  }
}