/* ============================================================
   Gofers landing — 共享样式
   主题：暖奶油底 + 暖黑油墨 + 活力橘 + 多彩场景点缀
   面向 18-35 人群，活泼但不幼稚；保留橘黄高光
   ============================================================ */

:root {
  --ink: #211a16;
  --ink-soft: #5f534c;
  --ink-faint: #8a7d74;
  --bg: #fdf5ec;
  --bg-tint: #fbece0;
  --card: #ffffff;

  --orange: #ff5a1f;
  --orange-deep: #e8430a;
  --orange-soft: #ffe2d3;
  --gold: #ffb020;
  --coral: #ff3d6e;
  --grape: #7c3aed;

  --dark: #1b1411;
  --line: rgba(33, 26, 22, 0.12);

  --font-display: "Bricolage Grotesque", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: "Albert Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;

  --max-w: 1140px;
  --radius: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

/* 不换行工具：让短语整体折行，避免在词中间断开 */
.nb { white-space: nowrap; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 顶部导航 ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 245, 236, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: 0 3px 10px rgba(232, 67, 10, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-links a:hover { color: var(--orange-deep); }

.lang-switch {
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.85rem;
  color: var(--ink-soft) !important;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.lang-switch:hover { border-color: var(--orange); color: var(--orange-deep) !important; }

.nav-cta {
  background: var(--ink);
  color: #fff !important;
  border-radius: 999px;
  padding: 10px 22px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform 0.15s ease, background 0.15s ease;
}

.nav-cta:hover { background: var(--orange-deep); transform: translateY(-1px); }

@media (max-width: 780px) {
  .nav-links .hide-mobile { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 92px;
}

/* 活力渐变光斑背景 */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.blob-1 {
  top: -120px; right: -60px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, var(--orange), transparent 68%);
  animation: float 14s ease-in-out infinite;
}

.blob-2 {
  top: 120px; right: 220px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, var(--gold), transparent 66%);
  opacity: 0.4;
  animation: float 18s ease-in-out infinite reverse;
}

.blob-3 {
  bottom: -160px; left: -80px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, var(--coral), transparent 70%);
  opacity: 0.28;
  animation: float 16s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-26px, 28px) scale(1.08); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 54px;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--orange-soft);
  color: var(--orange-deep);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  font-weight: 700;
  padding: 7px 15px 7px 12px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero-kicker .spark {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.2);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5.6vw, 4.4rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(105deg, var(--orange), var(--coral));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 31em;
  margin-bottom: 34px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary {
  background: linear-gradient(105deg, var(--orange), var(--orange-deep));
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 15px 32px;
  border-radius: 999px;
  font-size: 1rem;
  box-shadow: 0 8px 22px rgba(232, 67, 10, 0.32);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(232, 67, 10, 0.4);
}

.btn-ghost {
  border: 1.5px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 1rem;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.btn-ghost:hover { border-color: var(--orange); color: var(--orange-deep); }

/* ---------- Hero 场景轮播演示 ---------- */

.demo-card {
  position: relative;
  z-index: 1;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 30px 70px rgba(33, 26, 22, 0.16);
  padding: 22px;
}

.demo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px dashed var(--line);
}

.demo-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent, var(--orange-deep));
}

.demo-tag svg { width: 17px; height: 17px; }

.demo-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
}

.demo-live i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent, var(--orange));
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

.demo-stage { position: relative; }

.demo-pane { display: none; }
.demo-pane.active { display: block; animation: paneIn 0.5s ease; }

@keyframes paneIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.bubble {
  max-width: 84%;
  padding: 11px 16px;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 11px;
}

.bubble small {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 3px;
  font-weight: 700;
}

.bubble.left {
  background: var(--bg-tint);
  border-bottom-left-radius: 4px;
}

.bubble.right {
  background: var(--dark);
  color: #f7f1e6;
  margin-left: auto;
  border-bottom-right-radius: 4px;
}

.demo-pane.active .bubble {
  opacity: 0;
  animation: rise 0.5s cubic-bezier(0.2, 0.9, 0.3, 1) forwards;
}

.demo-pane.active .bubble:nth-of-type(1) { animation-delay: 0.12s; }
.demo-pane.active .bubble:nth-of-type(2) { animation-delay: 0.55s; }
.demo-pane.active .bubble:nth-of-type(3) { animation-delay: 0.98s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.demo-summary {
  margin-top: 16px;
  background: color-mix(in srgb, var(--accent, var(--orange)) 12%, white);
  border: 1px solid color-mix(in srgb, var(--accent, var(--orange)) 40%, white);
  border-radius: 14px;
  padding: 13px 16px;
  font-size: 0.9rem;
  opacity: 0;
}

.demo-pane.active .demo-summary {
  animation: rise 0.5s cubic-bezier(0.2, 0.9, 0.3, 1) 1.45s forwards;
}

.demo-summary strong {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent, var(--orange-deep));
  margin-bottom: 5px;
}

.demo-dots {
  display: flex;
  gap: 7px;
  justify-content: center;
  margin-top: 18px;
}

.demo-dots button {
  width: 7px; height: 7px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: background 0.2s ease, width 0.2s ease;
}

.demo-dots button.on {
  background: var(--orange);
  width: 20px;
  border-radius: 999px;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .demo-card { max-width: 480px; }
}

/* ---------- 区块通用 ---------- */

section { padding: 86px 0; position: relative; }

.section-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--orange-deep);
  font-weight: 700;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  max-width: 16em;
  margin-bottom: 18px;
}

.section-sub {
  color: var(--ink-soft);
  max-width: 36em;
  font-size: 1.06rem;
}

/* ---------- How it works ---------- */

.steps {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(33, 26, 22, 0.1);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 11px;
  background: var(--orange-soft);
  color: var(--orange-deep);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step p { font-size: 0.93rem; color: var(--ink-soft); }

@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- 应用场景 ---------- */

.usecases-section {
  background:
    radial-gradient(900px 320px at 85% -10%, rgba(255, 176, 32, 0.16), transparent),
    radial-gradient(700px 320px at 0% 110%, rgba(255, 61, 110, 0.12), transparent);
}

.usecase-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.usecase {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 20px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.usecase:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(33, 26, 22, 0.1);
  border-color: color-mix(in srgb, var(--accent) 55%, white);
}

.usecase-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: color-mix(in srgb, var(--accent) 14%, white);
  color: var(--accent);
}

.usecase-icon svg { width: 22px; height: 22px; }

.usecase h3 {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--accent);
}

.usecase p { font-size: 0.89rem; color: var(--ink-soft); line-height: 1.55; }

.usecase-more {
  margin-top: 30px;
  text-align: center;
  color: var(--ink-faint);
  font-size: 0.96rem;
}

@media (max-width: 980px) { .usecase-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .usecase-grid { grid-template-columns: 1fr; } }

/* ---------- 功能区 ---------- */

.features-section { background: var(--dark); color: #f3ece2; }

.features-section .section-kicker { color: var(--gold); }
.features-section .section-title { color: #fff; }
.features-section .section-sub { color: rgba(243, 236, 226, 0.7); }

.features {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 28px 24px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.feature:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 90, 31, 0.5);
  transform: translateY(-3px);
}

.feature-icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(255, 90, 31, 0.28), rgba(255, 61, 110, 0.22));
  color: #ff9468;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.feature p { font-size: 0.93rem; color: rgba(243, 236, 226, 0.68); }

@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* ---------- 下载区 ---------- */

.download-section { text-align: center; padding-bottom: 108px; }

.download-section .section-title { margin: 0 auto 18px; }
.download-section .section-sub { margin: 0 auto; }

.store-badges {
  margin-top: 38px;
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--ink);
  color: #fff;
  border-radius: 16px;
  padding: 14px 28px;
  text-align: left;
  min-width: 210px;
  position: relative;
}

.store-badge .badge-text small {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.65;
}

.store-badge .badge-text span {
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-display);
}

.soon-pill {
  position: absolute;
  top: -11px; right: 16px;
  background: linear-gradient(105deg, var(--gold), var(--orange));
  color: #fff;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 11px;
  border-radius: 999px;
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 44px 0;
  font-size: 0.9rem;
  color: var(--ink-faint);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }

.footer-links a {
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}

.footer-links a:hover { color: var(--orange-deep); }

/* ---------- 法律页面 ---------- */

.legal-main { padding: 60px 0 92px; }

.legal-main .wrap { max-width: 780px; }

.legal-main h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}

.legal-date {
  color: var(--ink-faint);
  font-size: 0.92rem;
  margin-bottom: 42px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.legal-main h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 44px 0 16px;
}

.legal-main h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 28px 0 10px;
}

.legal-main p { margin-bottom: 14px; color: var(--ink-soft); }

.legal-main ul { margin: 0 0 16px 22px; color: var(--ink-soft); }

.legal-main li { margin-bottom: 8px; }

.legal-main strong { color: var(--ink); }

.legal-main a { color: var(--orange-deep); }

.legal-note {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: 12px;
  padding: 18px 22px;
  margin: 22px 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

/* 尊重减少动态效果偏好 */
@media (prefers-reduced-motion: reduce) {
  .blob { animation: none; }
  .demo-pane.active .bubble,
  .demo-pane.active .demo-summary { animation: none; opacity: 1; }
  .demo-live i { animation: none; }
}
