:root {
    /* 品牌色 */
    --color-primary: #0071e3;
    --color-bg: #ffffff;
    --color-secondary-bg: #f5f5f7;
    --color-text-main: #1d1d1f;
    --color-text-secondary: #86868b;

    /* 栅格与布局 */
    --section-padding: 120px;
    --container-width: 1200px;
    --border-radius: 24px;

    /* 字体权重 */
    --fw-light: 400;
    --fw-semibold: 600;
    --fw-bold: 700;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    /* 苹果风格的字体平滑 */
}

body {
    font-family: "SF Pro Display", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text-main);
    line-height: 1.47059;
    letter-spacing: -0.022em;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 22px;
}

section {
    padding: var(--section-padding) 0;
}

h1,
h2 {
    letter-spacing: -0.015em;
    font-weight: var(--fw-semibold);
}

.apple-link {
    color: var(--color-primary);
    text-decoration: none;
    font-size: 21px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.apple-link:hover {
    text-decoration: underline;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
    padding: 12px 24px;
    border-radius: 980px;
    /* 苹果经典的胶囊按钮 */
    text-decoration: none;
    font-weight: var(--fw-light);
    font-size: 17px;
}
/* 滚动浮现基础样式 */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
/* 鼠标悬停卡片微动 */
.bento-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.04);
}

/* 按钮悬停缩放 */
.btn-primary:hover {
  transform: scale(1.02);
  background-color: #0077ed;
}

/* 域名打字机光标动效 */
@keyframes blink {
  50% { opacity: 0; }
}
.cursor {
  animation: blink 1s infinite;
}


/* 域名切换容器：增加高度和宽度，适应大字号 */
.domain-switcher {
  background: #fff;
  border-radius: 16px; /* 稍微加大圆角 */
  padding: 20px 40px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.06); /* 更柔和的大阴影 */
  font-family: 'SF Mono', 'Roboto Mono', Menlo, monospace;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 480px; /* 增加宽度，确保长域名不换行 */
}

/* 核心文字样式优化 */
.domain-text::after {
  font-size: 28px; /* 从 20px 提升到 28px，非常醒目 */
  font-weight: 600; /* 加粗，更有确定感 */
  letter-spacing: -0.02em;
  content: "platform.com/expert";
  animation: domainToggle 8s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

/* 调整光标大小以匹配大文字 */
.cursor {
  margin-left: 4px;
  width: 3px; /* 稍微加宽 */
  height: 32px; /* 匹配 28px 的文字高度 */
  background: #0071e3;
  display: inline-block;
  vertical-align: middle;
  animation: blink 1s infinite;
}

/* 浏览器小圆点稍微放大，保持比例 */
.browser-dots {
  position: absolute;
  left: 20px;
  display: flex;
  gap: 8px;
}
.dot {
  width: 10px;
  height: 10px;
}

@keyframes domainToggle {
  0%, 30% {
    content: "platform.com/expert";
    color: #86868b;
    opacity: 1;
    filter: blur(0);
  }
  35% {
    opacity: 0;
    transform: translateY(8px);
    filter: blur(4px); /* 增加一点模糊效果，更有科技感 */
  }
  40% {
    content: "business.yourname.com";
    color: #0071e3;
    opacity: 0;
    transform: translateY(-8px);
  }
  45%, 90% {
    content: "business.yourname.com";
    color: #0071e3;
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
  95%, 100% {
    opacity: 0;
  }
}


/* Why 页面专属：大标题字号微调 */
.hero-title { font-size: 72px; line-height: 1.05; margin-bottom: 24px; }
.section-title { font-size: 48px; line-height: 1.1; margin-bottom: 32px; }
.card-title { font-size: 28px; margin-bottom: 16px; }

/* PayNow 页面专属补丁 */
.humi-pay-card {
    background: linear-gradient(145deg, #ffffff 0%, #f5f5f7 100%);
    border-radius: 32px;
    padding: 60px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 40px 80px rgba(0,0,0,0.03);
    height: 100%; /* 确保网格对齐 */
}

.humi-success-icon {
    width: 80px;
    height: 80px;
    background: #32d74b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
    font-size: 40px;
}

/* 场景应用部分的微调 */
.humi-scenario-item {
    padding: 40px;
    border-bottom: 1px solid #eee;
    transition: background 0.3s ease;
}

/* 成功动效 */
@keyframes success-pop {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}