/* ======================
   Global Reset & Base
====================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  --blue: #3b5bfd;
  --dark: #0f172a;
  --gray: #64748b;
  --light-gray: #f5f7fb;
  --border: #e5e7eb;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark);
  background: #ffffff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

li {
  cursor: pointer;
}

/* ======================
   Header
====================== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffffcc;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: large;
  cursor: pointer;
}

.logo {
  width: larger;
}

.logo-text {
  color: #4770F8;
}

.nav-menu {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  font-size: large;
  color: #334155;
  white-space: nowrap;
}

.nav-menu a:not(:first-child) {
  margin-left: 32px;
  cursor: pointer;
}

.nav-menu a:first-child {
  cursor: pointer;
}

.menu-btn {
  background: #ECF1FF;
  color: #2D5CF7;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: large;
  cursor: pointer;
}

/* ======================
   Hero Section
====================== */
.solutions {
  padding-bottom: 120px;
  scroll-margin-top: 80px;
}

.about-us {
  scroll-margin-top: 80px;
}

.hero-container {
  min-height: 520px;
  background: url("assets/background.png") center bottom / cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 120px 24px 80px;
  margin-bottom: 80px;
}

.hero-container h1 {
  font-size: 72px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  /* margin-bottom: 54px; */
}

.hero-container p {
  max-width: 760px;
  font-size: 16px;
  color: #475569;
  margin: 70px 0 70px 0;  
}

.hero-btns {
  display: flex;
  gap: 16px;
  height: 48px; /* 父容器固定高度 */
}

.btn-primary, .btn-dark {
  display: flex;           
  justify-content: center; 
  align-items: center;     
  height: 100%;           
  padding: 0 28px;        
  border-radius: 8px;
  font-weight: 300;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-dark {
  background: #111827;
  color: #fff;
}

/* ======================
   Trusted By
====================== */
.trusted-by {
  max-width: 1000px;
  margin: 0 auto;
  padding: 48px 24px 0;
  text-align: center;
}

.trusted-by small {
  display: block;
  color: #94a3b8;
  margin-bottom: 24px;
}

.logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  opacity: 0.8;
  cursor: pointer;
}

/* ======================
      Journey
====================== */
.journey {
  background: #2f5ef7;
  width: 100%;
  height: 650px;
  margin: 0 auto;
  text-align: center;
  padding: 80px 24px;
}

.journey-title {
  border-radius: 50px;
  background-color: #2851DA;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #fff;
  margin-bottom: 24px;
  padding: 8px 18px;
  /* margin-top: 80px; */
  font-weight: bold;
}

.journey h2 {
  font-family: "Georgia", serif;
  font-size: 48px;
  font-style: italic;
  font-weight: bold;
  margin-bottom: 32px;
  color: #fff;
}

.journey p {
  color: #fff;
  font-weight: 300;
}

.journey p:first-of-type {
  margin-bottom: 24px;
}

/* ======================
   Founding Team
====================== */
.team {
  width: 100%;
  min-height: 700px;
  padding: 60px 8% 100px; /* 调整内边距以更接近设计图的留白 */
  background-color: #F9FAFB; /* 保持原有的浅灰背景 */
  box-sizing: border-box;
}

.section-tag {
  font-size: 32px; /* 稍微调小一点，更精致 */
  font-weight: 700;
  color: #111827; /* 更深的黑色 */
  display: flex;
  align-items: center;
  margin-bottom: 40px; /* 增加与下方内容的间距 */
}

.team-grid {
  display: grid;
  /* 调整比例，左侧文字区域稍微宽一点 */
  grid-template-columns: 1fr 1.3fr;
  gap: 64px; /* 增加两栏之间的间距 */
  align-items: start; /* 顶部对齐 */
}

/* --- 左侧大段文字的核心样式 --- */
.description-text {
  display: block;
  font-size: 40px; /* 字号 */
  line-height: 1.3; /* 行高 */
  font-weight: 600;
  color: #334155; 
  
  /* 核心技巧：使用 Webkit Mask 来实现文字末尾变淡的效果 */
  /* 创建一个从上到下的线性渐变遮罩，底部透明度降低 */
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}


/* --- 右侧卡片区域样式 --- */
.personal-area {
  display: flex;
  gap: 24px;
  width: 100%;
  height: 100%;
}

.personal-card {
  background: #EAF2FF; 
  border-radius: 32px; /* 圆角随之放大 */
  padding: 60px 40px;  /* 显著增加内边距 */
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease; 
  cursor: pointer;
}
.personal-card:hover {
  transform: translateY(-5px); /* 鼠标悬停微动 */
}

/* 头像容器，用于定位图标 */
.avatar-container {
    position: relative;
    width: 160px;  /* 根据需要调整头像大小 */
    height: 160px;
    margin-bottom: 32px;
}

/* 头像图片样式 */
.avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%; /* 圆形头像 */
  box-shadow: 0 4px 12px rgba(0,0,0,0.08); /* 给头像加一点点立体感 */
}

/* 临时加入神秘人样式，很快会被替换 */
.avatar:last-child {
  box-shadow: none;
}

/* LinkedIn 图标样式 */
.linkedin-badge {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 54px; /* 图标大小 */
  height: 54px;
}

/* 姓名样式 */
.personal-card h4 {
    margin: 0 0 10px 0;
    font-size: 22px;
    font-weight: 700;
    color: #1F2937;
}

/* 职位样式 */
.personal-card p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #4B5563; /* 稍微浅一点的灰色 */
    line-height: 1.5;
}

/* ======================
   Investor
====================== */
.investor {
  max-width: 100%;
  min-height: 700px; /* 保持与团队部分一致的高度 */
  margin: 120px 100px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center; /* 垂直居中 */
}

/* --- 左侧图片容器 --- */
.investor-image-container {
  width: 100%;
  cursor: pointer;
}

.full-investor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 24px; 
  transition: transform 0.3s ease;
}

.full-investor-img:hover {
  transform: scale(1.05);
}

.investor-text {
  height: 100%;
}

/* --- 右侧文字区域 --- */
.investor-text .section-tag {
  display: flex;
  align-items: center;
  font-size: 42px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 34px;
}

/* 核心：文字大尺寸 + 加粗 + 渐变效果 */
.investor-text p.fade-text {
  font-size: 50px; 
  line-height: 1.3;
  font-weight: 700; 
  color: #1F2937;
  margin: 0;

  /* 使用 CSS Mask 实现文字从上到下的渐变淡出 */
  /* black 表示显示，transparent 表示隐藏 */
  -webkit-mask-image: linear-gradient(to bottom, 
    black 0%, 
    black 50%, 
    rgba(0,0,0,0.3) 80%, 
    transparent 100%
  );
  mask-image: linear-gradient(to bottom, 
    black 0%, 
    black 50%, 
    rgba(0,0,0,0.3) 80%, 
    transparent 100%
  );
}

/* 针对移动端的适配 */
@media (max-width: 992px) {
  .investor {
    grid-template-columns: 1fr; /* 手机端变为上下堆叠 */
    text-align: left;
    gap: 40px;
  }
  .investor-text p.fade-text {
    font-size: 28px; /* 手机端字号稍微缩小 */
  }
}

/* ======================
   Vision Section
====================== */
.vision {
  width: 100%;
  min-height: 700px;
  margin: 0 auto;
  padding: 100px 90px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  background: url("assets/vision-bg.png") center / cover no-repeat;
}

.vision-image {
  display: flex;
  align-items: flex-end;
}

.vision-image img {
  width: 100%;
  height: auto;
  display: block;
}

.vision-text .section-tag {
  font-size: 42px;
}

.vision-text p {
  margin: 24px 0 40px;
  color: #475569;
  font-size: 20px;
  font-family: 'Poppins', sans-serif;
  width: 98%;
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.vision-item strong {
  display: block;
  margin: 12px 0 8px;
  font-size: 24px;
  font-family: "Poppins", sans-serif;
  font-weight: bolder;
}

.vision-item p {
  max-width: 55%;
}

/* ======================
   Career CTA
====================== */
.career{
  padding: 110px 24px;
  background: #FFF4C6;          /* 淡黄背景 */
  scroll-margin-top: 80px;
}

.careers-cta{
  max-width: 1180px;
  margin: 0 auto;
  background: #fff;
  border-radius: 40px;          /* 更大圆角 */
  padding: 70px 78px;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 56px;
  align-items: center;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.12);
}

/* 左侧文字 */
.careers-content h2{
  margin: 0 0 20px;
  font-size: 44px;
  line-height: 1.1;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.careers-content p{
  margin: 40px 0 42px;
  font-size: 16px;
  line-height: 1.65;
  color: #475569;
  max-width: 560px;
}

/* icon 行 */
.careers-btns{
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 12px 0 18px;
  position: relative;
}

.careers-btns img{
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
  cursor: pointer;
}

.careers-content p:last-of-type{
  margin-top: 24px;
  margin-bottom: 0;
  color: #0f172a;
  font-weight: 600;
}

/* 右侧徽章组 */
.badge-group{
  position: relative;
  justify-self: end;      /* 让整体靠右 */
  width: 260px;
  height: 240px;
}

/* 每个 badge 变为绝对定位，用位移制造重叠 */
.badge{
  position: absolute;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

/* 形状保持：AI/Dev 方圆角；Python/UI 圆 */
.badge.ai,
.badge.dev{ border-radius: 22px; }
.badge.python,
.badge.ui{ border-radius: 999px; }

/* —— 关键：四个的叠放位置（按你截图的错位重叠感） —— */
.badge.ai{
  left: 18px;
  top: 10px;
  z-index: 1;
}

.badge.python{
  left: 128px;   /* 往右上错位，压到 AI 一点 */
  top: 30px;
  z-index: 3;
}

.badge.ui{
  left: 0px;     /* 往左下错位 */
  top: 122px;
  z-index: 2;
}

.badge.dev{
  left: 120px;   /* 右下，和 Python / UI 都有一点重叠 */
  top: 132px;
  z-index: 4;
}

/* 你原来的配色可以保留不变（如果已存在就不用重复写） */
.badge.ai{ background:#DBEAFE; color:#3B82F6; }
.badge.python{ background:#FDE2E2; color:#EF4444; }
.badge.ui{ background:#DCFCE7; color:#22C55E; }
.badge.dev{ background:#EDE9FE; color:#8B5CF6; }

/* 小屏：整体缩一下，避免挤出卡片 */
@media (max-width: 900px){
  .badge-group{
    justify-self: start;
    transform: scale(0.92);
    transform-origin: left top;
  }
}

/* ======================
   Footer
====================== */
footer{
  background: #ffffff;
  color: #0f172a;
  padding: 92px 24px;              /* ↑整体更大 */
}

.footer-container{
  max-width: 1320px;               /* ↑更宽一点 */
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 1.75fr;
  gap: 72px;                       /* ↑间距更大 */
  /* 让左右两栏等高 */
  align-items: stretch;
}

/* 左上角 logo 行 */
.footer-left > div:first-child{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-weight: 600;
  font-size: large;
  margin-left: -22%;
}

.footer-left > span{
  display: block;
  margin: 0 0 22px;
  font-size: 16px;                 /* ↑更大 */
  color: #475569;
  max-width: 70%;
  line-height: 1.55;
}

/* 社媒图标：变大一点 */
.footer-links-icons{
  display: flex;
  gap: 14px;
  margin: 20px 0 30px;
  cursor: pointer;
}

.footer-links-icons img{
  width: 36px;                     /* ↑更大 */
  height: 36px;
  object-fit: contain;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 7px;
}

/* 二维码：变大一点 */
.footer-qrCode{
  display: flex;
  gap: 26px;
  margin-top: 8px;
}

.footer-qrCode img{
  width: 112px;                    /* ↑更大 */
  height: 112px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

/* 右侧三列：也放大一点 */
.footer-right{
  position: relative;
  display: grid;
  grid-template-columns: 200px 250px 1fr;
  column-gap: 84px;
  row-gap: 22px;
  align-items: start;
}


.footer-right > div:first-child{
  display: contents;
}

.footer-right strong{
  display: block;
  margin-bottom: 16px;
  font-size: 24px;                 /* ↑标题更大 */
  letter-spacing: 0.08em;
  color: #2563eb;
}

.footer-right ul{
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-right li{
  font-size: 20px;               /* ↑列表更大 */
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact li img{
  width: 18px;
  height: 18px;
  margin-top: 10px;
  flex: 0 0 auto;
  opacity: 0.9;
}

/* 没有图标的那一行也对齐（比如 +65 电话那行） */
.contact li:not(:has(img)){
  padding-left: 28px;
  cursor: pointer;
}

/* 删除了原先用于承载底部图片的容器样式（已不再需要） */

@media (max-width: 980px){
  .footer-container{
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .footer-right{
    grid-template-columns: 1fr 1fr;
    column-gap: 28px;
    row-gap: 28px;
  }
  .contact{
    grid-column: 1 / -1;
  }
}