:root {
  --primary: #1162F4;
  --primary-hover: #074EC9;
  --bg: #EEF2F9; /* 更通透的高级纯净灰调 */
  --surface: #FFFFFF;
  --text-main: #1A1F36;
  --text-sub: #697386;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.03);
  --shadow-md: 0 8px 24px rgba(17, 98, 244, 0.08);
  --shadow-card: 0 20px 48px rgba(0,0,0,0.08); /* 强烈的高级漂浮阴影 */
  --glass: rgba(255, 255, 255, 0.85); /* 毛玻璃 */
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

html {
  font-size: 12px;
  scroll-behavior: smooth;
  background-color: var(--bg);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  background: radial-gradient(circle at top right, #FFFFFF 0%, #E2EBF5 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden; /* 防止移动端超出 */
}

/* home */
.logo-img {
  position: relative;
  height: 4rem; /* 微微调回高度，保证呼吸空间 */
  z-index: 10;
  padding-top: 0.5rem;
  opacity: 0;
  animation: revealText 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.logo-img img {
  width: 11rem; /* 进一步收缩绝对尺寸 */
  height: 8.25rem; 
  position: absolute;
  left: 0; 
  top: -0.2rem; /* 大幅减小向上顶的负值，确保红圈部分的顶部线条完全回落进安全可视区内 */
}

/* Hero Section: 完全现代化的顶部布局 */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem;
  margin-top: -1rem;
  position: relative;
  z-index: 10;
  opacity: 0;
  animation: revealText 0.8s ease-out forwards;
}

.hero-title {
  font-weight: 900;
  font-size: 2.2rem;
  line-height: 1.25;
  color: var(--text-main);
  background: linear-gradient(110deg, #1A1F36 0%, #1162F4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--text-sub);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}
.hero-subtitle strong {
  color: var(--primary);
  font-weight: 800;
}

/* Hero中心图 - 真正满宽铺展，终极融合消除边界违和感 */
.hero-visual {
  position: relative;
  width: 100%; /* 全宽自适应，不野蛮拉伸产生过度垂直挤占 */
  margin: -1.5rem auto -3.5rem; 
  z-index: 1; /* 乖乖垫底不挡字 */
  
  /* 【终极修复】因为 mix-blend-mode 在某些浏览器下会使图片自身的 mask 失效，所以必须将消融遮罩上提到父容器！ */
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 5%, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 95%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 5%, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 95%);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: multiply; /* 白底基准消隐 */
}

/* Feature Grid: 取消卡片实体，悬浮文字直接覆盖图片 */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem 1rem; /* 匹配放大后的巨图，拉长文字排布的空隙，避让手机厚实部分 */
  padding: 0 0.5rem; /* 紧贴屏幕极边 */
  margin-top: -21rem; /* 终极上浮：拉跨到手机本体的左右耳翼和腰腹 */
  margin-bottom: 5.5rem; /* 强势顶出下端空间，确保大白表单被推向手机图片的完全绝对正下方，绝不遮挡主体画面！ */
  position: relative;
  z-index: 11;
  pointer-events: none;
}

.feat-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
/* 左侧列居左排布 */
.feat-card:nth-child(odd) {
  align-items: flex-start;
  text-align: left;
}
/* 右侧列居右排布 */
.feat-card:nth-child(even) {
  align-items: flex-end;
  text-align: right;
}
.feat-card:hover {
  transform: translateY(-2px);
}
.feat-icon {
  font-size: 1.8rem; /* 稍微缩小确保排版精致 */
  margin-bottom: 0.2rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}
.feat-text {
  font-weight: 900;
  font-size: 1.05rem; /* 稍减字号确保在侧边能完美断行不侵占中心 */
  color: #1A1F36;
  /* 强大的白边发光和投影使得纯文字能在复杂图片背景上极度清晰可读 */
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.95), 0 0 4px rgba(255,255,255,1), 0 0 2px rgba(255,255,255,1);
  line-height: 1.3;
}

/* 交错切入动画 - 带有弹性阻尼 */
.slide-left {
  animation: slideInLeft 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.slide-right {
  animation: slideInRight 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes slideInLeft {
  0% { opacity: 0; transform: translateX(-40px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  0% { opacity: 0; transform: translateX(40px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* 核心表单区 - 纯白抽屉流：摒除杂乱的透底重叠乱象 */
.form-box {
  background: #ffffff; /* 实心纯白底板，强力隔绝后方乱线图斑！彻底干净！ */
  margin: 0; 
  width: 100%; 
  padding: 2rem 0 3rem 0; /* 加大上方内呼吸距 */
  border-radius: 20px 20px 0 0; /* 留轻柔顶部圆角，塑造原生底座感 */
  box-shadow: 0 -25px 50px rgba(255, 255, 255, 1); /* 最心机的一步：利用上抛巨大的纯白色光带，把手机尾部的底座硬生生抹平到白色过渡里！极其自然！ */
  display: flex;
  flex-direction: column;
  row-gap: 0; 
  position: relative;
  z-index: 10;
  opacity: 0;
  animation: revealText 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s forwards;
}

/* 输入框单体进化：完全平铺的全宽阵列 */
.input-item {
  width: 100%;
  height: 4.8rem; 
  background: transparent; /* 容器已全白，自身即融空 */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none; 
  border-bottom: 1px solid #F0F4F8; /* 极简极高雅的线 */
  border-radius: 0; 
  box-shadow: none; 
  padding: 0 1.5rem; 
  display: flex;
  align-items: center;
  transition: background 0.3s ease;
}

.input-item:focus-within {
  background: #fafafa; 
  border-bottom: 2px solid #1162F4; 
  box-shadow: none;
}

#passwordInputBox {
  display: none;
}

.input-item .flag {
  width: 2rem;
  height: 2rem;
  border-radius: 4px;
}

.input-item .num-pre {
  font-weight: 600;
  font-size: 1.2rem; /* 从1.35rem大幅下调 */
  color: var(--text-main);
  padding: 0 0.6rem; /* 缩小左右间距 */
  border-right: 1px solid #E2E8F0;
  margin-right: 0.6rem;
}
.input-item .input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: none;
  background: none;
  outline: none;
  font-size: 1.15rem; /* 下调输入框文字大小 */
  font-weight: 500;
  color: var(--text-main);
  padding-right: 0.5rem; /* 增加空隙防止贴合 */
  text-overflow: ellipsis; /* 在极窄设备上优雅截断，而非生硬腰斩 */
}
.input-item .input::placeholder {
  color: #A0ABC0;
  font-weight: 400;
  font-size: 1.05rem; /* 让长提示语小一号，更容易完整展示 */
}

.num-suf {
  font-size: 1.1rem; /* 稍微调小后缀以释放空间 */
  color: #A0ABC0;
  font-weight: 600;
  white-space: nowrap; /* 禁止换行 */
}

.input-sms {
  padding-right: 0.6rem;
}
.icon-suf {
  width: 1.8rem;
  height: 1.6rem;
  cursor: pointer;
}

.input-item .sms-code {
  height: 3.8rem;
  background: var(--surface);
  border: 1.5px solid #E2E8F0;
  border-radius: 6px; /* 抛弃陈旧的大圆角和胶囊感，使用直率的硬朗微小倒角 */
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary);
  padding: 0 1.25rem;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}
.input-item .sms-code:active {
  background: #EFF4FF;
  border-color: var(--primary);
  transform: scale(0.96);
}

/* 核心大按钮 */
.sub-btn {
  font-weight: 900;
  font-size: 1.45rem;
  color: white;
  width: calc(100% - 3rem); 
  margin: 1.2rem auto 0; /* 清理冗余配置，精确预留出1.2的顶部呼吸距并确保按钮处在首屏底沿 */
  height: 4.2rem; /* 微调压缩按钮肉度，极致让渡可视面积 */
  background: linear-gradient(135deg, #2575FC 0%, #1162F4 100%);
  border-radius: 6px; 
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 30px -8px rgba(17, 98, 244, 0.8);
  transition: var(--transition);
  letter-spacing: 0.5px;
  animation: pulseButton 2.5s infinite; 
}
.sub-btn:active {
  transform: scale(0.97);
  box-shadow: 0 4px 12px rgba(17, 98, 244, 0.4);
}

/* 背景杂质元素修饰 */
.left-bgimg-box {
  height: 4rem;
  position: relative;
}
.left-bgimg-box img {
  position: absolute;
  width: 12rem;
  height: auto;
  opacity: 0.2;
  z-index: 0;
}

.right-bgimg-box {
  height: 6rem;
  position: relative;
}
.right-bgimg-box img {
  width: 16rem;
  height: auto;
  position: absolute;
  right: -2rem;
  opacity: 0.2;
  z-index: 0;
}

/* 中下部的文字面板排版 */
.title {
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--text-main);
  padding: 1rem 1.5rem;
  position: relative;
  z-index: 1;
}

.minor-text {
  font-size: 1.15rem;
  color: var(--text-sub);
  line-height: 1.6;
  padding: 0 1.5rem 1.5rem;
}

.three-level-title {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-main);
  padding: 1rem 1.5rem 0.5rem;
}

/* 条件清单采用精美的白色悬浮卡与打钩标记 */
.tip-text {
  font-size: 1.15rem;
  color: var(--text-sub);
  line-height: 1.6;
  padding: 1.25rem 1.25rem 1.25rem 3.5rem;
  background: var(--surface);
  margin: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.tip-text::before {
  content: '✓';
  position: absolute;
  left: 1.25rem;
  top: 1.35rem;
  color: white;
  background: var(--primary);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

/* 详情 & 关于我们面板 */
.detail, .about {
  padding: 0 1.5rem;
  margin-top: 1.5rem;
}

.detail .block, .about .block {
  background: var(--surface);
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  color: var(--text-sub);
  margin-bottom: 2.5rem;
}

.detail .title-header, .about .title-header {
  color: var(--text-main);
  text-align: center;
  padding-bottom: 2rem;
  font-size: 1.6rem;
  font-weight: 800;
}

.subTitle-color, .company-info-color {
  color: var(--text-main) !important;
  font-weight: 700;
  font-size: 1.25rem;
}

.mb-6 { margin-bottom: 0.8rem; }
.mb-16 { margin-bottom: 1.2rem; }
.mb-32 { margin-bottom: 2rem; }

.content-text {
  line-height: 1.7;
  font-size: 1.15rem;
  color: var(--text-sub);
}
.content-text strong {
  color: var(--text-main);
}

/* Footer链接 */
.footer-menu {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding: 3rem 1.5rem;
  justify-items: center;
  text-align: center;
}
.footer-menu-item {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}
.footer-menu-item:hover {
  filter: brightness(0.8);
  text-decoration: underline;
}

.copyright {
  padding: 1rem 2rem 3rem;
  text-align: center;
  font-size: 1.05rem;
  color: #A0ABC0;
}

/* 弹窗与附属件逻辑保留 */
.dialog { position: fixed; inset: 0; z-index: 1000; display: none; }
.dialog .dialog-overlay { position: absolute; inset: 0; background-color: rgba(14, 20, 36, 0.7); backdrop-filter: blur(6px); }
.dialog .dialog-content {
  height: 85vh; width: 90%; max-width: 440px; background-color: var(--surface); position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); overflow: hidden; animation: slideUp 0.3s ease-out;
}
.dialog-close { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); cursor: pointer; background: white; border-radius: 50%; box-shadow: var(--shadow-md); padding: 0.5rem; z-index: 1001; }
.dialog-close img { width: 24px; height: 24px; display: block; }
.toast {
  visibility: hidden; min-width: 250px; background-color: #2D3748; color: #fff; text-align: center; border-radius: var(--radius-pill); padding: 1.2rem 2rem; position: fixed; z-index: 2000; left: 50%; bottom: 10%; transform: translateX(-50%); opacity: 0; transition: opacity 0.3s, visibility 0.3s; box-shadow: var(--shadow-card); font-weight: 600; font-size: 1.2rem;
}
.toast.show { visibility: visible; opacity: 1; }
.loading-overlay { display: none; position: fixed; inset: 0; background-color: rgba(255, 255, 255, 0.85); backdrop-filter: blur(4px); z-index: 9999; }
.loading { width: 40px; height: 40px; border: 4px solid #E2E8F0; border-top-color: var(--primary); border-radius: 50%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); animation: circle infinite 0.8s linear; }
@keyframes circle { 0% { transform: translate(-50%, -50%) rotate(0); } 100% { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes slideUp { from { opacity: 0; transform: translate(-50%, -40%); } to { opacity: 1; transform: translate(-50%, -50%); } }

/* 全局优雅的瀑布流上升动画 */
@keyframes revealText {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* 流光文字特效 */
@keyframes shimmerText {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* 按钮强烈呼吸特效 */
@keyframes pulseButton {
  0% { box-shadow: 0 0 0 0 rgba(17, 98, 244, 0.5); }
  70% { box-shadow: 0 0 0 20px rgba(17, 98, 244, 0); }
  100% { box-shadow: 0 0 0 0 rgba(17, 98, 244, 0); }
}
