* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  color: #e5e7eb;
  background: radial-gradient(circle at top, #020617 0, #020617 40%, #020617 100%);
}

/* 顶部导航 */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.9), transparent);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.site-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.logo-mark {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #93c5fd;
}

.logo-text {
  font-size: 0.95rem;
  color: #e5e7eb;
}

.nav {
  display: flex;
  gap: 12px;
  font-size: 0.85rem;
  margin-left: 12px;
  flex: 1;
}

.nav a {
  color: #9ca3af;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 999px;
}

.nav a:hover {
  background: rgba(30, 64, 175, 0.35);
  color: #e5e7eb;
}

.nav-cta {
  display: flex;
  gap: 8px;
}

/* 按钮 */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border-radius: 999px;
  border: none;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.06s ease,
    box-shadow 0.06s ease,
    filter 0.06s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #38bdf8, #22c55e);
  color: #020617;
  font-weight: 500;
}

.btn.ghost {
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.8);
  filter: brightness(1.04);
}

/* HERO 区 */

.hero {
  padding: 40px 16px 24px;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 28px;
}

.hero-copy {
  padding-top: 24px;
}

.hero-tagline {
  font-size: 0.85rem;
  color: #a5b4fc;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.hero h1 {
  font-size: 2.1rem;
  line-height: 1.15;
  margin: 0 0 10px;
}

.hero-subtitle {
  font-size: 0.95rem;
  color: #9ca3af;
  line-height: 1.6;
}

.hero-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* 整个区域：竖着排 3 行 */
.hero-meta {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-meta span {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

/* 右侧 sticky 配图 */

.hero-media {
  position: relative;
}

.hero-media-sticky {
  position: sticky;
  top: 90px;
}

.hero-mock {
  border-radius: 18px;
  padding: 12px;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.2), rgba(15, 23, 42, 1));
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.9);
}

.hero-mock-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.hero-mock-header .dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.6);
}

.hero-mock-title {
  font-size: 0.8rem;
  color: #e5e7eb;
  margin-left: 4px;
}

.hero-mock-body {
  font-size: 0.8rem;
}

.mock-row {
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.9);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 4px 8px;
  align-items: center;
  margin-bottom: 6px;
}

.mock-row:nth-child(2) {
  border-color: rgba(56, 189, 248, 0.4);
}

.mock-label {
  font-weight: 500;
  color: #e5e7eb;
}

.mock-pill {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  background: rgba(22, 163, 74, 0.18);
  color: #bbf7d0;
  justify-self: flex-end;
}

.pill-soft {
  background: rgba(56, 189, 248, 0.18);
  color: #bae6fd;
}

.pill-muted {
  background: rgba(148, 163, 184, 0.18);
  color: #e5e7eb;
}

.mock-meta {
  grid-column: 1 / -1;
  font-size: 0.75rem;
  color: #9ca3af;
}

/* 手机 mockup */

.phone-mock {
  width: 170px;
  border-radius: 28px;
  padding: 10px;
  background: radial-gradient(circle at top, rgba(17, 24, 39, 1), rgba(17, 24, 39, 1));
  border: 1px solid rgba(148, 163, 184, 0.5);
  position: absolute;
  right: -10px;
  bottom: -40px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.95);
}

.phone-screen {
  border-radius: 22px;
  background: radial-gradient(circle at top, rgba(59, 130, 246, 0.4), rgba(15, 23, 42, 1));
  padding: 10px 10px 12px;
}

.phone-header {
  margin-bottom: 8px;
}

.phone-title {
  display: block;
  font-size: 0.78rem;
  color: #f9fafb;
  font-weight: 500;
}

.phone-sub {
  display: block;
  font-size: 0.7rem;
  color: #d1d5db;
}

.phone-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin-top: 8px;
}

.phone-grid-item {
  border-radius: 8px;
  padding-top: 68%;
  background-image:
    linear-gradient(135deg, rgba(252, 211, 77, 0.85), rgba(244, 114, 182, 0.9)),
    linear-gradient(135deg, rgba(56, 189, 248, 0.5), rgba(59, 130, 246, 0.9));
  background-blend-mode: screen;
  overflow: hidden;
}

.phone-footer {
  margin-top: 8px;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.phone-chip {
  font-size: 0.68rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.hero-glow {
  position: absolute;
  inset: -80px;
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.45), transparent 55%);
  opacity: 0.65;
  z-index: -1;
}

/* 通用 Section 布局 */

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 16px;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
}

.two-col.reverse {
  direction: rtl;
}

.two-col.reverse > * {
  direction: ltr;
}

.section-copy h2 {
  font-size: 1.6rem;
  margin: 0 0 10px;
}

.section-copy p {
  font-size: 0.95rem;
  color: #9ca3af;
  line-height: 1.7;
}

.section-media {
  position: relative;
}

.glass-card,
.pricing-card {
  border-radius: 18px;
  padding: 14px 14px 12px;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), rgba(15, 23, 42, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.9);
}

.section-media-title {
  font-size: 0.95rem;
  color: #e5e7eb;
  margin-bottom: 8px;
}

.media-list {
  margin: 0;
  padding-left: 1.1em;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.media-list li {
  margin-bottom: 6px;
}

/* 小 bullet */

.bullet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.bullet {
  border-radius: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.9);
}

.bullet-title {
  font-size: 0.9rem;
  color: #e5e7eb;
  margin-bottom: 4px;
}

.bullet-text {
  font-size: 0.8rem;
  color: #9ca3af;
}

/* 时间线 */

.section-heading {
  text-align: center;
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 0;
  font-size: 1.6rem;
}

.section-heading p {
  margin: 4px 0 0;
  color: #9ca3af;
  font-size: 0.9rem;
}

.flow-timeline {
  margin-top: 12px;
  border-left: 1px dashed rgba(75, 85, 99, 0.9);
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.flow-item {
  display: flex;
  gap: 12px;
}

.flow-step {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.7), rgba(37, 99, 235, 0.9));
  color: #0b1120;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -34px;
  margin-top: 4px;
}

.flow-body {
  padding: 6px 10px 6px 0;
}

.flow-title {
  font-size: 0.95rem;
  color: #e5e7eb;
  margin-bottom: 3px;
}

.flow-body p {
  margin: 0;
  font-size: 0.85rem;
  color: #9ca3af;
}

/* 售卖 / 分成 */

.pricing-header {
  margin-bottom: 10px;
}

.pricing-title {
  display: block;
  font-size: 0.95rem;
  color: #e5e7eb;
  margin-bottom: 2px;
}

.pricing-sub {
  display: block;
  font-size: 0.8rem;
  color: #9ca3af;
}

.pricing-list {
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.95);
  margin-top: 8px;
  padding: 8px 10px;
}

.pricing-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #cbd5f5;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(55, 65, 81, 0.8);
}

.pricing-row:last-child {
  border-bottom: none;
}

.pricing-footer {
  margin-top: 10px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.chip {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.45);
  color: #e5e7eb;
}

.checklist {
  margin: 14px 0 0;
  padding-left: 1.1em;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.checklist li {
  margin-bottom: 4px;
}

/* 技术卡片 */

.section-tech {
  padding-bottom: 12px;
}

.tech-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.tech-card {
  border-radius: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: radial-gradient(circle at top, rgba(37, 99, 235, 0.2), rgba(15, 23, 42, 0.98));
}

.tech-label {
  font-size: 0.9rem;
  color: #e5e7eb;
  margin-bottom: 4px;
}

.tech-card p {
  margin: 0;
  font-size: 0.85rem;
  color: #9ca3af;
}

/* CTA */

.section-cta {
  padding-bottom: 40px;
}

.cta-card {
  border-radius: 20px;
  padding: 18px 16px 20px;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.22), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(96, 165, 250, 0.9);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 1);
  text-align: center;
}

.cta-card h2 {
  margin: 0 0 8px;
  font-size: 1.5rem;
}

.cta-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #d1d5db;
}

.cta-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* 页脚 */

.site-footer {
  border-top: 1px solid rgba(31, 41, 55, 1);
  background: #020617;
}

.site-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 16px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.8rem;
  color: #6b7280;
}

.footer-copy {
  margin-top: 4px;
}

.footer-right {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-right a {
  color: #9ca3af;
  text-decoration: none;
}

/* 滚动动画基础：Squarespace 那种淡入 / 上移 */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal="left"] {
  transform: translateX(-24px);
}

[data-reveal="right"] {
  transform: translateX(24px);
}

.reveal-visible {
  opacity: 1 !important;
  transform: translateX(0) translateY(0) !important;
}

/* 响应式 */

@media (max-width: 900px) {
  .hero-inner,
  .two-col,
  .two-col.reverse {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media-sticky {
    position: static;
    margin-top: 16px;
  }

  .phone-mock {
    position: absolute;
    right: 10px;
    bottom: -30px;
  }
}

@media (max-width: 640px) {
  .site-header-inner {
    flex-wrap: wrap;
  }

  .nav {
    display: none;
  }

  .hero-inner {
    gap: 18px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .phone-mock {
    display: none;
  }

  .site-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* 语言显示控制 */
.lang-zh,
.lang-en {
  /* 默认都先隐藏，按 data-lang 决定显示哪一个 */
  display: none;
}

[data-lang="zh"] .lang-zh {
  display: inline;
}

[data-lang="zh"] .lang-en {
  display: none;
}

[data-lang="en"] .lang-en {
  display: inline;
}

[data-lang="en"] .lang-zh {
  display: none;
}

/* 语言切换按钮区域 */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: #9ca3af;
  margin-right: 8px;
}

.lang-switch .lang-btn {
  border: none;
  background: transparent;
  padding: 3px 6px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.8rem;
  color: #9ca3af;
  transition: background 0.12s ease, color 0.12s ease;
}

.lang-switch .lang-btn:hover {
  background: rgba(30, 64, 175, 0.4);
  color: #e5e7eb;
}

.lang-switch .lang-btn.active {
  background: rgba(30, 64, 175, 0.8);
  color: #f9fafb;
}

.lang-switch .lang-sep {
  opacity: 0.5;
  font-size: 0.8rem;
}

/* 如果在窄屏上挤，可以让 header 内元素换行 */
@media (max-width: 768px) {
  .site-header-inner {
    flex-wrap: wrap;
  }
}

/* 外层椭圆：做“第二层轮廓” */
.hero-pill {
  position: static;          /* 不再需要相对定位 */
  display: inline-flex;
  padding: 0;                /* 去掉 2px 外圈 */
  border-radius: 0;          /* 不画椭圆 */
  background: transparent;   /* 无背景 */
  box-shadow: none;          /* 无阴影 */
}

/* 内层椭圆：真正的 pill 内容 */
.hero-pill-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 18px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: radial-gradient(circle at 0% 0%, #020617, #020617);
  font-size: 14px;
  color: #e5e7eb;
  white-space: nowrap;
}

/* 语言显示控制：默认都隐藏，用 data-lang 决定谁显示 */
.hero-pill-inner .lang-zh,
.hero-pill-inner .lang-en {
  display: none;
}

/* 如果你把语言放在 <html data-lang="zh"> */
html[data-lang="zh"] .hero-pill-inner .lang-zh { display: inline; }
html[data-lang="en"] .hero-pill-inner .lang-en { display: inline; }

/* 如果你是放在 <body data-lang="zh"> 也兼容一下 */
body[data-lang="zh"] .hero-pill-inner .lang-zh { display: inline; }
body[data-lang="en"] .hero-pill-inner .lang-en { display: inline; }

/* 小屏：收紧一点 padding，方便折行 */
@media (max-width: 768px) {
  .hero-meta {
    gap: 10px;
  }
  .hero-pill-inner {
    padding: 5px 14px;
    font-size: 13px;
  }
}

.hero-divider {
  width: 520px;                      /* 线的长度，按视觉调 */
  max-width: calc(100% - 80px);      /* 防止小屏太宽 */
  height: 1px;
  margin: 28px auto 20px;            /* 和上、下两个 div 的间距 */

  /* 细一点的渐变线，和整体风格比较搭 */
  background: linear-gradient(
    90deg,
    rgba(15, 23, 42, 0),        /* 左侧透明 */
    rgba(148, 163, 184, 0.7),   /* 中间亮一点 */
    rgba(15, 23, 42, 0)         /* 右侧透明 */
  );
  opacity: 0.9;
}


.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 28px;      /* 看大小感觉调整，比如 24 / 28 / 32 都可以 */
  display: block;
}
