/* ============================
   TeleClaw Website · v1.8.0
   主色 #E55A47 · 高级简洁
============================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #E55A47;
  --primary-2: #F08A7A;
  --primary-3: #C73E2C;
  --bg: #07080C;
  --bg-2: #0C0E14;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #E6E9EF;
  --text-2: #A8AEBC;
  --text-3: #6B7280;
  --grad: linear-gradient(135deg, #F08A7A 0%, #E55A47 50%, #C73E2C 100%);
  --shadow-lg: 0 30px 80px -20px rgba(229, 90, 71, 0.35);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ========== 背景光晕 ========== */
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
}
.blob-1 {
  width: 600px; height: 600px;
  background: #E55A47;
  top: -200px; left: -150px;
}
.blob-2 {
  width: 500px; height: 500px;
  background: #C73E2C;
  top: 40%; right: -200px;
  opacity: 0.25;
}
.blob-3 {
  width: 400px; height: 400px;
  background: #F08A7A;
  bottom: -150px; left: 30%;
  opacity: 0.2;
}

/* ========== 导航 ========== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(7, 8, 12, 0.65);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}
.logo-mark {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 800; font-size: 17px;
  box-shadow: 0 4px 14px rgba(229, 90, 71, 0.4);
}
.logo-mark-img {
  background: white;
  padding: 4px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(229, 90, 71, 0.25);
  object-fit: contain;
}
.logo-text {
  font-size: 17px;
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
/* 右侧操作区 */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 12px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.lang-toggle:hover {
  background: var(--surface);
  border-color: rgba(255, 255, 255, 0.25);
}
.lang-opt {
  cursor: pointer;
  user-select: none;
  padding: 0 2px;
  transition: color 0.2s;
  color: var(--text-3);
  letter-spacing: 0.05em;
}
.lang-opt.active {
  color: var(--primary-2);
  font-weight: 700;
}
.lang-sep {
  color: var(--text-3);
  font-size: 12px;
  user-select: none;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s;
}
.nav-cta:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* ========== Hero ========== */
.hero {
  position: relative;
  z-index: 1;
  padding: 80px 0 100px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-2);
  margin-bottom: 24px;
}
.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 10px #22C55E;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.title {
  font-size: 64px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.subtitle {
  font-size: 17px;
  color: var(--text-2);
  margin-bottom: 36px;
  max-width: 540px;
}
.cta-row {
  display: flex;
  gap: 14px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s cubic-bezier(.4,0,.2,1);
  white-space: nowrap;
}
.btn-lg { padding: 18px 30px; font-size: 16px; }
.btn-primary {
  background: var(--grad);
  color: white;
  box-shadow: 0 10px 30px -10px rgba(229, 90, 71, 0.6);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -10px rgba(229, 90, 71, 0.8);
}
.btn-primary .size {
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 11px;
  font-weight: 500;
  margin-left: 4px;
}
.btn-ghost {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  background: var(--surface);
  border-color: rgba(255, 255, 255, 0.25);
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.hero-meta > div {
  display: flex;
  flex-direction: column;
}
.hero-meta strong {
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.hero-meta span {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 2px;
}

/* ========== 手机预览 ========== */
.hero-phone {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle, rgba(229, 90, 71, 0.3), transparent 60%);
  z-index: -1;
  filter: blur(40px);
}
.phone-frame {
  width: 320px;
  height: 640px;
  background: linear-gradient(180deg, #1F2937, #0F172A);
  border-radius: 44px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
}
.phone-notch {
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 24px;
  background: #000;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #0F172A, #07080C);
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
/* Hero 真实截图模式 */
.phone-screen-real {
  padding: 0;
  background: #000;
}
.phone-screen-real img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.real-caption {
  margin-top: 22px;
  font-size: 13px;
  color: var(--text-3);
  letter-spacing: 0.02em;
  text-align: center;
  position: relative;
}
.real-caption::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background: var(--grad);
  border-radius: 2px;
}
.screen-bar {
  display: flex;
  justify-content: space-between;
  padding: 14px 24px 8px;
  font-size: 11px;
  color: var(--text-2);
}
.screen-app {
  flex: 1;
  padding: 30px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 4px 14px;
}
.app-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.app-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 17px;
}
.app-name { font-size: 14px; font-weight: 600; }
.app-sub { font-size: 10px; color: var(--text-3); margin-top: 2px; }
.app-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 8px #22C55E;
}
.chat-bubble {
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 11.5px;
  line-height: 1.5;
  max-width: 85%;
  position: relative;
}
.chat-bubble.user {
  align-self: flex-end;
  background: var(--primary);
  color: white;
  border-bottom-right-radius: 4px;
}
.chat-bubble.agent {
  align-self: flex-start;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  width: 92%;
}
.bubble-tag {
  display: inline-block;
  font-size: 9px;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(229, 90, 71, 0.2);
  color: var(--primary-2);
  margin-bottom: 6px;
  font-weight: 600;
}
.bubble-content { font-size: 11.5px; }
.step {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: var(--text-2);
  margin-top: 4px;
  opacity: 0.6;
}
.step.done { opacity: 1; color: #22C55E; }
.step.active { opacity: 1; color: var(--primary-2); }
.step-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.chat-input {
  margin-top: auto;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}
.input-placeholder { color: var(--text-3); }
.input-mic { font-size: 12px; }

/* ========== 信任带 ========== */
.trust {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  padding: 22px 0;
}
.trust-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-2);
}
.divider { color: var(--text-3); }

/* ========== 通用 section 头 ========== */
.section-head {
  text-align: center;
  margin-bottom: 64px;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-2);
  font-weight: 600;
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.section-head p {
  font-size: 16px;
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto;
}

/* ========== 轮播 ========== */
.features {
  position: relative;
  z-index: 1;
  padding: 110px 0;
}
.carousel {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}
.carousel-viewport {
  overflow: hidden;
  border-radius: 24px;
}
.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(.4,0,.2,1);
}
.card {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border: 1px solid var(--border);
  border-radius: 24px;
  min-height: 460px;
}
.card-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 340px;
}
/* 轮播卡里使用真实截图的样式 */
.card-visual-img {
  padding: 0;
}
.card-visual-img img {
  max-width: 100%;
  max-height: 420px;
  width: auto;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.7),
              0 0 0 1px rgba(255, 255, 255, 0.08);
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1), box-shadow 0.4s;
  background: #000;
}
.card-visual-img img:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 40px 90px -20px rgba(229, 90, 71, 0.4),
              0 0 0 1px rgba(255, 255, 255, 0.14);
}

/* 中号手机壳（轮播卡 / 下载区用） */
.phone-frame-md {
  width: 260px;
  height: 560px;
  background: linear-gradient(180deg, #1F2937, #0F172A);
  border-radius: 36px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.6),
              inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1), box-shadow 0.4s;
}
.phone-frame-md:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 90px -20px rgba(229, 90, 71, 0.35),
              inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.phone-frame-md .phone-notch {
  position: absolute;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 20px;
  background: #000;
  border-radius: 0 0 12px 12px;
  z-index: 2;
}
.phone-frame-md .phone-screen-md {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  flex-grow: 0;
}
.card-visual-img .phone-frame-md img {
  max-height: none;
  width: 100% !important;
  height: 100% !important;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.phone-frame-md .phone-screen-md img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.phone-frame-md .home-indicator {
  position: absolute;
  bottom: 6px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 4px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 2px;
  z-index: 3;
}

/* 不同色调卡片的截图背景光晕 */
[data-color="blue"] .card-visual-img::before {
  content: "";
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(229, 90, 71, 0.2), transparent 70%);
  z-index: -1;
  filter: blur(30px);
}
[data-color="purple"] .card-visual-img::before {
  content: "";
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(199, 62, 44, 0.2), transparent 70%);
  z-index: -1;
  filter: blur(30px);
}
[data-color="amber"] .card-visual-img::before {
  content: "";
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.18), transparent 70%);
  z-index: -1;
  filter: blur(30px);
}
[data-color="cyan"] .card-visual-img::before {
  content: "";
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2), transparent 70%);
  z-index: -1;
  filter: blur(30px);
}
.card-info { padding: 0; }
.card-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--primary-2);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.card-info h3 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.card-info p {
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 22px;
}
.card-info ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card-info li {
  font-size: 13.5px;
  color: var(--text-2);
  padding-left: 22px;
  position: relative;
}
.card-info li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 14px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

/* 轮播可视化 - 通用卡片样式 */
.mock-app, .mock-vscreen, .mock-cron, .mock-fallback, .mock-shizuku, .mock-tools {
  width: 100%;
  max-width: 380px;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 22px;
  font-size: 13px;
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.5);
}

/* mock-app */
.mock-title { font-size: 14px; font-weight: 600; margin-bottom: 16px; color: var(--text); }
.mock-msg {
  padding: 10px 14px;
  border-radius: 12px;
  margin-bottom: 8px;
  font-size: 12.5px;
  line-height: 1.5;
}
.user-mock {
  background: var(--primary);
  color: white;
  margin-left: 20%;
  text-align: right;
}
.agent-mock {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
  margin-right: 10%;
}

/* mock-vscreen */
[data-color="purple"] .card-visual::before {
  content: "";
  position: absolute;
  inset: 20px;
  background: radial-gradient(circle, rgba(199, 62, 44, 0.25), transparent 70%);
  z-index: -1;
}
.vscr-header {
  font-size: 11px;
  color: var(--primary-2);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.vscr-header::before {
  content: "";
  width: 8px; height: 8px;
  background: #22C55E;
  border-radius: 50%;
  box-shadow: 0 0 8px #22C55E;
}
.vscr-stage {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 16px;
  text-align: center;
  margin-bottom: 12px;
}
.vscr-icon { font-size: 36px; margin-bottom: 10px; }
.vscr-text { font-size: 12px; color: var(--text-2); margin-bottom: 14px; }
.vscr-bar {
  height: 4px;
  background: var(--surface);
  border-radius: 2px;
  overflow: hidden;
}
.vscr-bar-fill {
  height: 100%;
  width: 60%;
  background: var(--primary);
  border-radius: 2px;
  animation: loading 2s infinite ease-in-out;
}
@keyframes loading {
  0%, 100% { width: 30%; }
  50% { width: 75%; }
}
.vscr-actions { display: flex; gap: 8px; }
.vscr-btn {
  flex: 1;
  text-align: center;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 11px;
  color: var(--text-2);
}

/* mock-cron */
.cron-row {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  background: var(--bg);
  border-radius: 10px;
  margin-bottom: 8px;
  border: 1px solid var(--border);
  font-size: 12px;
}
.cron-time {
  font-family: 'SF Mono', monospace;
  color: var(--primary-2);
  font-weight: 600;
  font-size: 11px;
}
.cron-name { color: var(--text); font-size: 12.5px; }
.cron-status {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.15);
  color: #22C55E;
}

/* mock-fallback */
.fb-line {
  padding: 11px 14px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 12.5px;
  font-family: 'SF Mono', monospace;
  color: var(--text-2);
}
.fb-line.active {
  border-color: var(--primary);
  background: rgba(229, 90, 71, 0.1);
  color: var(--text);
}
.fb-line.success {
  border-color: #22C55E;
  background: rgba(34, 197, 94, 0.1);
  color: #22C55E;
}
.fb-arrow {
  text-align: center;
  padding: 4px 0;
  font-size: 11px;
  color: var(--text-3);
  font-family: 'SF Mono', monospace;
}

/* mock-shizuku */
.sh-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 10px;
  margin-bottom: 14px;
  font-size: 13px;
  color: #22C55E;
  font-weight: 500;
}
.sh-circle {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.sh-circle.ok {
  background: #22C55E;
  box-shadow: 0 0 10px #22C55E;
}
.sh-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12.5px;
}
.sh-row:last-child { border-bottom: none; }
.sh-row span:first-child { color: var(--text-3); }
.sh-val {
  color: var(--text);
  font-weight: 500;
  font-family: 'SF Mono', monospace;
  font-size: 12px;
}

/* mock-tools */
.mock-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: flex-start;
  padding: 18px;
}
.tool-chip {
  padding: 6px 12px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  font-size: 11.5px;
  color: var(--text-2);
  font-family: 'SF Mono', monospace;
}
[data-color="amber"] .card-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15), transparent 70%);
  z-index: -1;
}

/* 轮播控件 */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(10px);
  transition: all 0.2s;
}
.carousel-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
}
.carousel-arrow.prev { left: -22px; }
.carousel-arrow.next { right: -22px; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
.carousel-dots .dot-btn {
  width: 24px; height: 4px;
  border-radius: 2px;
  background: var(--surface-2);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}
.carousel-dots .dot-btn.active {
  background: var(--primary);
  width: 36px;
}

/* ========== 架构 ========== */
.arch {
  position: relative;
  z-index: 1;
  padding: 110px 0;
  border-top: 1px solid var(--border);
}
.arch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.arch-item {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s;
}
.arch-item:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
  transform: translateY(-4px);
}
.arch-num {
  font-size: 12px;
  font-family: 'SF Mono', monospace;
  color: var(--primary-2);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.arch-item h4 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.arch-item p {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.55;
}
.arch-banner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: center;
  padding: 32px;
  background: linear-gradient(135deg, rgba(229, 90, 71, 0.08), rgba(199, 62, 44, 0.04));
  border: 1px solid var(--border);
  border-radius: 16px;
}
.arch-banner-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}
.arch-banner-sub {
  font-size: 12.5px;
  color: var(--text-2);
}
.arch-banner-divider {
  width: 1px;
  height: 40px;
  background: var(--border-strong);
}

/* ========== 下载 CTA ========== */
.download {
  position: relative;
  z-index: 1;
  padding: 80px 0 120px;
}
.download-card {
  position: relative;
  background: linear-gradient(135deg, rgba(229, 90, 71, 0.15), rgba(199, 62, 44, 0.08));
  border: 1px solid var(--border-strong);
  border-radius: 28px;
  padding: 64px 56px;
  overflow: hidden;
}
.download-glow {
  position: absolute;
  inset: -100px;
  background: radial-gradient(circle, rgba(229, 90, 71, 0.25), transparent 50%);
  z-index: 0;
}
.download-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.download-content { text-align: left; }
.download-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
}
.download-visual .phone-frame-md {
  width: 280px;
  height: 600px;
}
.download-badge {
  position: relative;
  background: var(--grad);
  color: white;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 24px rgba(229, 90, 71, 0.5);
  white-space: nowrap;
  margin-top: 18px;
}
.download h2 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.download p {
  font-size: 16px;
  color: var(--text-2);
  margin-bottom: 36px;
}
.download .cta-row {
  justify-content: flex-start;
  margin-bottom: 28px;
}
.download-meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 13px;
  color: var(--text-3);
}

/* ========== Footer ========== */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding: 56px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 64px;
  padding-bottom: 48px;
}
.footer-brand p {
  font-size: 13.5px;
  color: var(--text-3);
  margin-top: 12px;
  max-width: 280px;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-links h5 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin-bottom: 14px;
  font-weight: 600;
}
.footer-links a {
  display: block;
  font-size: 13.5px;
  color: var(--text-2);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  text-align: center;
  font-size: 12px;
  color: var(--text-3);
}

/* ========== 响应式 ========== */

/* === 汉堡菜单按钮（默认隐藏） === */
.nav-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
}
.nav-menu-btn:hover {
  background: var(--surface);
  border-color: rgba(255, 255, 255, 0.25);
}
.nav-menu-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* === 移动端抽屉菜单（默认隐藏） === */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 22px 22px;
  background: rgba(7, 8, 12, 0.96);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(.4,0,.2,1), padding 0.35s;
  padding-top: 0;
  padding-bottom: 0;
}
.mobile-menu.open {
  max-height: 480px;
  padding-top: 12px;
  padding-bottom: 22px;
}
.mobile-menu-link {
  display: block;
  padding: 14px 16px;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-radius: 10px;
  transition: background 0.2s;
}
.mobile-menu-link:hover,
.mobile-menu-link:active {
  background: var(--surface-2);
}
.mobile-menu-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  padding: 14px 16px;
  background: var(--grad);
  color: white;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  box-shadow: 0 8px 24px -8px rgba(229, 90, 71, 0.5);
}

@media (max-width: 980px) {
  .container { padding: 0 22px; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  .subtitle { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); gap: 20px; text-align: left; }
  .title { font-size: 48px; }
  .card { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
  .arch-grid { grid-template-columns: 1fr 1fr; }
  .arch-banner { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .arch-banner-divider { width: 60%; height: 1px; margin: 0 auto; }
  .nav-links { display: none; }
  .carousel-arrow.prev { left: 8px; }
  .carousel-arrow.next { right: 8px; }
  .section-head h2 { font-size: 32px; }
  .download h2 { font-size: 36px; }
  .download-card { padding: 48px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .download-layout { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .download-content { text-align: center; }
  .download .cta-row { justify-content: center; }
  .download-card { padding: 48px 24px; }

  /* 平板/大屏手机：隐藏汉垄按钮（990px 桌面仍能继续用 nav-links） */
  .nav-menu-btn { display: none; }
  .mobile-menu { display: none; }
}
@media (max-width: 600px) {
  /* 汉堡菜单 */
  .nav-menu-btn { display: inline-flex; }
  .mobile-menu { display: flex; }
  .container { padding: 0 18px; }
  .nav-inner { height: 58px; }
  .logo-text { font-size: 16px; }
  .logo-mark,
  .logo-mark-img { width: 30px; height: 30px; }

  /* Hero */
  .hero { padding: 36px 0 56px; }
  .hero-inner { gap: 40px; }
  .title { font-size: 32px; line-height: 1.1; }
  .subtitle { font-size: 15px; margin-bottom: 28px; }
  .badge { font-size: 11px; padding: 5px 12px; margin-bottom: 18px; }
  .cta-row { margin-bottom: 36px; }
  .cta-row .btn { padding: 12px 18px; font-size: 14px; }
  .btn-lg { padding: 14px 22px; font-size: 15px; }
  .hero-meta {
    grid-template-columns: 1fr 1fr;
    gap: 18px 12px;
    padding-top: 24px;
  }
  .hero-meta strong { font-size: 22px; }
  .hero-meta span { font-size: 11px; }

  /* Hero 手机壳 */
  .phone-frame {
    width: 220px;
    height: 440px;
    border-radius: 36px;
    padding: 8px;
  }
  .phone-frame .phone-notch {
    top: 14px;
    width: 70px; height: 18px;
  }
  .phone-frame .phone-screen { border-radius: 28px; }
  .phone-glow { inset: -20px; filter: blur(30px); }
  .real-caption { font-size: 12px; margin-top: 16px; }

  /* 信任带 */
  .trust-inner { font-size: 12px; gap: 10px; padding: 0 10px; }

  /* section 头 */
  .section-head { margin-bottom: 40px; }
  .section-head h2 { font-size: 26px; }
  .section-head p { font-size: 14px; }
  .eyebrow { font-size: 11px; margin-bottom: 10px; }

  /* Features 轮播 */
  .features { padding: 70px 0; }
  .card {
    padding: 24px 20px;
    gap: 24px;
    min-height: 0;
    border-radius: 18px;
  }
  .card-info h3 { font-size: 22px; }
  .card-info p { font-size: 14px; margin-bottom: 16px; }
  .card-info li { font-size: 13px; }
  .card-tag { font-size: 11px; margin-bottom: 8px; }
  .phone-frame-md {
    width: 200px;
    height: 427px;
    border-radius: 30px;
    padding: 7px;
  }
  .phone-frame-md .phone-notch {
    top: 12px;
    width: 60px; height: 16px;
  }
  .phone-frame-md .phone-screen-md { border-radius: 22px; }
  .phone-frame-md .home-indicator { width: 70px; height: 3px; bottom: 4px; }
  .card-visual { min-height: 0; }
  .carousel-arrow { width: 36px; height: 36px; }
  .carousel-arrow.prev { left: 4px; }
  .carousel-arrow.next { right: 4px; }
  .carousel-dots { margin-top: 20px; gap: 6px; }
  .carousel-dots .dot-btn { width: 18px; height: 3px; }
  .carousel-dots .dot-btn.active { width: 28px; }

  /* 架构 */
  .arch { padding: 70px 0; }
  .arch-grid { gap: 16px; margin-bottom: 32px; }
  .arch-item { padding: 24px 22px; }
  .arch-item h4 { font-size: 17px; }
  .arch-item p { font-size: 13px; }
  .arch-banner { padding: 24px 20px; gap: 20px; }
  .arch-banner-title { font-size: 15px; }
  .arch-banner-sub { font-size: 12px; }

  /* Download */
  .download { padding: 50px 0 80px; }
  .download-card { padding: 36px 22px; border-radius: 22px; }
  .download h2 { font-size: 26px; }
  .download p { font-size: 14px; margin-bottom: 26px; }
  .download-visual .phone-frame-md {
    width: 210px;
    height: 448px;
  }
  .download-meta { font-size: 12px; gap: 14px; }
  .download-badge { font-size: 11px; padding: 5px 14px; margin-top: 12px; }

  /* Footer */
  .footer { padding: 40px 0 0; }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
  }
  .footer-links { grid-template-columns: 1fr; gap: 24px; }
  .footer-links h5 { margin-bottom: 10px; }
  .footer-links a { margin-bottom: 8px; font-size: 13px; }
  .footer-bottom { padding: 18px 0; font-size: 11px; }
}

/* === 极端窄屏 < 380px (iPhone SE 1代) === */
@media (max-width: 380px) {
  .container { padding: 0 14px; }
  .title { font-size: 28px; }
  .phone-frame { width: 200px; height: 400px; }
  .phone-frame-md { width: 180px; height: 384px; }
  .download-visual .phone-frame-md { width: 190px; height: 405px; }
  .hero-meta { grid-template-columns: 1fr 1fr; gap: 14px 8px; }
  .hero-meta strong { font-size: 20px; }
  .cta-row { gap: 8px; }
  .cta-row .btn { padding: 11px 14px; font-size: 13px; }
  .btn-primary .size { display: none; }
}