/* 小手手官网 — Premium UI */

:root {
  --orange: #ff6900;
  --orange-light: #ff8534;
  --orange-glow: rgba(255, 105, 0, 0.45);
  --orange-soft: rgba(255, 105, 0, 0.08);
  --orange-muted: #fff7f0;
  --ink: #0c0e14;
  --ink-soft: #1a1d28;
  --text: #2d3348;
  --muted: #6b7289;
  --line: rgba(15, 23, 42, 0.08);
  --white: #ffffff;
  --surface: #fafbfc;
  --radius: 16px;
  --radius-xl: 28px;
  --font: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  --header-h: 72px;
  --container: min(1140px, calc(100% - 48px));
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(12, 14, 20, 0.04);
  --shadow-md: 0 12px 40px rgba(12, 14, 20, 0.08);
  --shadow-lg: 0 24px 80px rgba(12, 14, 20, 0.14);
  --shadow-orange: 0 20px 60px rgba(255, 105, 0, 0.25);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: var(--container);
  margin-inline: auto;
}

/* 背景纹理 */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 105, 0, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 80% 100%, rgba(99, 102, 241, 0.04) 0%, transparent 40%),
    linear-gradient(180deg, #fff 0%, #fafbfc 100%);
  pointer-events: none;
}

.page-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(12, 14, 20, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, black 0%, transparent 80%);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
}

.btn-sm { padding: 10px 22px; font-size: 14px; }
.btn-lg { padding: 15px 28px; font-size: 15px; }

.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
  color: #fff;
  box-shadow: 0 4px 20px var(--orange-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
  padding: 14px 24px;
  cursor: default;
}

/* ---------- 导航 ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.logo-mark {
  width: 38px;
  height: 38px;
  background: linear-gradient(145deg, var(--orange), var(--orange-light));
  color: #fff;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 4px 16px var(--orange-glow);
}

.logo-name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.header:not(.scrolled) .logo-name { color: #fff; }

.nav { display: flex; gap: 36px; }

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
  position: relative;
}

.header.scrolled .nav-link { color: var(--muted); }
.header.scrolled .nav-link:hover { color: var(--orange); }
.header:not(.scrolled) .nav-link:hover { color: #fff; }

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
  transition: width 0.25s var(--ease);
}

.nav-link:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.25s;
}

.header.scrolled .menu-toggle span { background: var(--ink); }

.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 72px) 0 100px;
  background: linear-gradient(160deg, #0c0e14 0%, #151929 45%, #1a1520 100%);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-glow-1 {
  width: 500px;
  height: 500px;
  background: rgba(255, 105, 0, 0.22);
  top: -120px;
  right: -80px;
  animation: pulse-glow 8s ease-in-out infinite;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: rgba(99, 102, 241, 0.12);
  bottom: -100px;
  left: -100px;
  animation: pulse-glow 10s ease-in-out infinite reverse;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
}

.pill-dot {
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--orange);
  animation: blink 2s ease infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: clamp(38px, 5.5vw, 58px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 24px;
}

.title-accent {
  background: linear-gradient(135deg, #ff8534 0%, #ffb347 50%, #ff6900 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
  max-width: 440px;
  margin-bottom: 36px;
}

.hero-lead em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.hero-tags .tag-dark {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.1);
}

/* 设备 Mock */
.hero-devices {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 24px;
  min-height: 420px;
}

.device {
  position: relative;
}

.device-ios {
  transform: translateY(-32px);
  z-index: 2;
}

.device-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 999px;
  white-space: nowrap;
}

.device-tag-orange {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff;
  box-shadow: 0 4px 16px var(--orange-glow);
}

.device-tag-dark {
  background: #2c2c2e;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.device-frame {
  width: 210px;
  padding: 10px;
  background: linear-gradient(160deg, #2a2a2e 0%, #1c1c1e 100%);
  border-radius: 36px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    var(--shadow-lg),
    0 40px 80px rgba(0, 0, 0, 0.5);
}

.device-frame-dark {
  background: linear-gradient(160deg, #3a3a3c 0%, #1c1c1e 100%);
}

.device-large .device-frame {
  width: 280px;
  border-radius: 44px;
  padding: 12px;
}

.device-notch {
  width: 80px;
  height: 22px;
  background: #000;
  border-radius: 0 0 14px 14px;
  margin: 0 auto 4px;
  position: relative;
  z-index: 2;
}

.device-large .device-notch {
  width: 100px;
  height: 26px;
}

/* UI — 商城 */
.ui {
  border-radius: 28px;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
}

.device-large .ui { min-height: 500px; border-radius: 34px; }

.ui-mall {
  background: #f5f5f7;
}

.ui-tabs {
  display: flex;
  gap: 14px;
  padding: 10px 14px;
  background: #fff;
  font-size: 11px;
  color: #aaa;
}

.ui-tabs b {
  color: var(--orange);
  font-weight: 700;
  position: relative;
}

.ui-tabs b::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.ui-search {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 10px 12px;
  padding: 9px 14px;
  background: #eee;
  border-radius: 999px;
  font-size: 10px;
  color: #999;
}

.ui-hero-banner {
  margin: 0 12px 10px;
  height: 72px;
  border-radius: 12px;
  background: linear-gradient(125deg, #ff6900 0%, #ff9f43 50%, #ffb347 100%);
  display: flex;
  align-items: flex-end;
  padding: 10px 14px;
  position: relative;
  overflow: hidden;
}

.ui-hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.25) 0%, transparent 50%);
}

.ui-hero-banner.lg { height: 90px; }

.ui-hero-banner span {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  position: relative;
  text-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.ui-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 12px 10px;
  flex: 1;
}

.ui-products.cols3 {
  grid-template-columns: repeat(3, 1fr);
}

.ui-prod {
  height: 76px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--c1), var(--c2));
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
}

.ui-prod.tall { height: 100px; }

.ui-prod span {
  position: absolute;
  bottom: 6px;
  left: 8px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: rgba(0,0,0,0.25);
  padding: 2px 6px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.ui-bar {
  display: flex;
  justify-content: space-around;
  padding: 10px 8px 12px;
  background: #fff;
  border-top: 1px solid #eee;
}

.ui-bar i {
  width: 20px;
  height: 4px;
  background: #ddd;
  border-radius: 2px;
}

.ui-bar i.on {
  background: var(--orange);
  width: 24px;
}

.ui-shop-card {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 12px 10px;
  padding: 10px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.ui-shop-card .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd6b0, var(--orange));
  flex-shrink: 0;
}

.ui-shop-card b { display: block; font-size: 11px; }
.ui-shop-card small { font-size: 9px; color: #999; }

/* UI — iOS */
.ui-ios {
  background: #f2f2f7;
  padding-bottom: 12px;
}

.ui-ios-title {
  padding: 6px 16px 12px;
  font-size: 20px;
  font-weight: 800;
  color: #1d1d1f;
  letter-spacing: -0.02em;
}

.ui-metrics {
  display: flex;
  gap: 8px;
  padding: 0 12px 12px;
}

.ui-metrics.cols3 div { flex: 1; }

.ui-metrics div {
  flex: 1;
  background: #fff;
  border-radius: 14px;
  padding: 12px 8px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.ui-metrics strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #1d1d1f;
  letter-spacing: -0.02em;
}

.ui-metrics strong em {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
}

.ui-metrics small {
  font-size: 9px;
  color: #86868b;
  margin-top: 2px;
  display: block;
}

.ui-metrics .accent strong { color: var(--orange); }

.ui-section-label {
  font-size: 10px;
  font-weight: 600;
  color: #86868b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 16px 6px;
}

.ui-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 0 12px 12px;
}

.ui-shortcuts div {
  background: #fff;
  border-radius: 12px;
  padding: 12px 4px;
  text-align: center;
  font-size: 9px;
  font-weight: 600;
  color: #1d1d1f;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.ui-orders {
  padding: 0 12px;
  flex: 1;
}

.ui-order {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 12px;
  padding: 11px 12px;
  font-size: 10px;
  font-weight: 500;
  color: #1d1d1f;
  margin-bottom: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.ui-order span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34c759;
  flex-shrink: 0;
}

.ui-order.warn span { background: var(--orange); box-shadow: 0 0 8px var(--orange-glow); }
.ui-order.info span { background: #007aff; }
.ui-order.ok span { background: #34c759; }

.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow-md);
  animation: float-y 5s ease-in-out infinite;
  backdrop-filter: blur(8px);
}

.float-badge-1 { top: 8%; right: 0; animation-delay: 0s; }
.float-badge-2 { bottom: 18%; left: -8%; animation-delay: 2.5s; }

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- 区块通用 ---------- */
.section { padding: 100px 0; }
.section-soft { background: var(--surface); }

.section-head {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 56px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 12px 0 14px;
  color: var(--ink);
}

.section-head p {
  color: var(--muted);
  font-size: 16px;
}

.label {
  display: inline-block;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
}

.label-orange {
  background: var(--orange-soft);
  color: var(--orange);
}

.label-dark {
  background: #f0f0f5;
  color: #1d1d1f;
}

/* ---------- 产品区块 ---------- */
.product-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.product-block-reverse .product-info { order: 1; }
.product-block-reverse .product-showcase { order: 0; }

.product-info h2 {
  font-size: clamp(30px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 14px 0 16px;
}

.product-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 32px;
}

.feature-list li {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
  align-items: flex-start;
}

.feature-list-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 4px 12px var(--orange-glow);
}

.feature-list-icon.dark {
  background: linear-gradient(135deg, #3a3a3c, #1d1d1f);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.feature-list strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--ink);
}

.feature-list span {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 28px;
}

.tech-tags span {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
}

.section-soft .tech-tags span {
  background: var(--surface);
}

.product-showcase {
  position: relative;
  display: flex;
  justify-content: center;
}

.showcase-glow {
  position: absolute;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(255, 105, 0, 0.15) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.showcase-glow-ios {
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
}

.product-btns { display: flex; gap: 12px; }

/* ---------- 协同 Pipeline ---------- */
.pipeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 880px;
  margin: 0 auto;
}

.pipe-node {
  flex: 1;
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.pipe-node:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pipe-node-center {
  border-color: rgba(255, 105, 0, 0.2);
  background: linear-gradient(180deg, #fff 0%, var(--orange-muted) 100%);
}

.pipe-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pipe-icon svg { width: 26px; height: 26px; }

.pipe-mall {
  background: var(--orange-soft);
  color: var(--orange);
}

.pipe-core {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff;
  box-shadow: 0 8px 24px var(--orange-glow);
}

.pipe-ios {
  background: #f0f0f5;
  color: #1d1d1f;
}

.pipe-ios svg { width: 22px; height: 22px; }

.pipe-node h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}

.pipe-node p {
  font-size: 13px;
  color: var(--muted);
}

.pipe-line {
  flex: 0 0 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--line), var(--orange), var(--line));
  position: relative;
}

.pipe-line::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--orange-glow);
}

/* ---------- 能力卡片 ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.card:hover::before { opacity: 1; }

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--orange-soft);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--orange);
}

.card-icon svg { width: 24px; height: 24px; }

.card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}

.card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ---------- CTA ---------- */
.cta-panel {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background: var(--ink);
}

.cta-panel-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 20% 100%, rgba(255, 105, 0, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 90% 0%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
    linear-gradient(160deg, #0c0e14, #1a1d28);
}

.cta-panel-inner {
  position: relative;
  padding: 64px 48px;
  text-align: center;
}

.cta-panel-inner h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.cta-panel-inner > p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 16px;
  margin-bottom: 40px;
}

.cta-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 640px;
  margin: 0 auto;
}

.cta-item {
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  text-align: left;
  transition: all 0.3s var(--ease);
}

a.cta-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 105, 0, 0.4);
  transform: translateY(-3px);
}

.cta-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cta-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-item-mall .cta-item-icon {
  background: rgba(255, 105, 0, 0.2);
  color: var(--orange-light);
}

.cta-item-mall .cta-item-icon svg { width: 22px; height: 22px; }

.cta-item-ios .cta-item-icon {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.cta-item-ios .cta-item-icon svg { width: 20px; height: 20px; }

.cta-go {
  font-size: 20px;
  color: var(--orange-light);
  transition: transform 0.2s;
}

a.cta-item:hover .cta-go { transform: translateX(4px); }

.cta-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.6);
}

.cta-item strong {
  display: block;
  font-size: 18px;
  color: #fff;
  margin-bottom: 4px;
}

.cta-item small {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- 页脚 ---------- */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.6);
  padding-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
}

.logo-light .logo-name { color: #fff; }

.footer-brand p {
  font-size: 14px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.footer-cols h4 {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.footer-cols a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-cols a:hover { color: var(--orange-light); }

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
}

/* ---------- 滚动动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay { transition-delay: 0.15s; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-lead { margin-inline: auto; }
  .hero-btns, .hero-tags { justify-content: center; }
  .hero-devices { order: -1; min-height: 360px; }
  .device-ios { transform: none; }

  .product-block,
  .product-block-reverse {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .product-block-reverse .product-info,
  .product-block-reverse .product-showcase { order: unset; }

  .cards-grid { grid-template-columns: repeat(2, 1fr); }

  .pipeline {
    flex-direction: column;
    gap: 0;
  }

  .pipe-line {
    width: 2px;
    height: 32px;
    flex: none;
  }

  .pipe-node { width: 100%; max-width: 320px; }

  .cta-cards { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 16px;
    right: 16px;
    flex-direction: column;
    padding: 8px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-16px) scale(0.98);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease);
  }

  .nav.open {
    transform: translateY(8px) scale(1);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    display: block;
    padding: 14px 16px;
    color: var(--text) !important;
    border-radius: 10px;
  }

  .nav-link:hover { background: var(--orange-muted); color: var(--orange) !important; }
  .nav-link::after { display: none; }

  .header-actions .btn-sm { display: none; }
  .menu-toggle { display: flex; }

  .hero { padding-bottom: 64px; }
  .section { padding: 72px 0; }

  .hero-devices { gap: 12px; }
  .device-frame { width: 170px; }
  .device-large .device-frame { width: 240px; }
  .float-badge { display: none; }

  .cards-grid { grid-template-columns: 1fr; }
  .cta-panel-inner { padding: 40px 24px; }

  .hero-btns { flex-direction: column; width: 100%; max-width: 320px; margin-inline: auto; }
  .hero-btns .btn { width: 100%; }
}

@media (max-width: 480px) {
  :root { --container: calc(100% - 32px); }

  .hero-devices {
    flex-direction: column;
    align-items: center;
    min-height: auto;
  }

  .device-ios { transform: none; }
}
