:root {
  --bg-primary: #f4f7fb;
  --bg-secondary: #ffffff;
  --bg-tertiary: #e7ecf5;
  --bg-card: #ffffff;
  --bg-panel: rgba(255, 255, 255, 0.86);
  --bg-panel-strong: #ffffff;
  --bg-field: rgba(244, 247, 251, 0.96);
  --control-bg: #e7ecf5;
  --control-bg-hover: #d9e3f3;
  --border: rgba(23, 32, 51, 0.12);
  --text-primary: #172033;
  --text-secondary: #667085;
  --text-muted: #9ba3b2;
  --accent: #16a35f;
  --accent-hover: #0d894d;
  --accent-glow: rgba(22, 163, 95, 0.25);
  --accent-secondary: #138f54;
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: 'Outfit', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  background-image: radial-gradient(ellipse at 50% -20%, rgba(255, 255, 255, 0.9) 0%, transparent 50%),
                    linear-gradient(180deg, #ffffff 0%, var(--bg-primary) 40%, var(--bg-primary) 100%);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.light-beam {
  position: fixed;
  top: 0;
  left: 50%;
  width: 120vw;
  height: 100vh;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.6) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}

.site-header {
  position: relative;
  z-index: 10;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-mark {
  width: 34px;
  height: 34px;
  position: relative;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, transparent 42%, var(--accent) 44%, var(--accent) 48%, transparent 50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-mark::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, transparent 60deg, var(--accent) 60deg, var(--accent) 65deg, transparent 65deg, transparent 120deg, var(--accent) 120deg, var(--accent) 125deg, transparent 125deg, transparent 180deg, var(--accent) 180deg, var(--accent) 185deg, transparent 185deg, transparent 240deg, var(--accent) 240deg, var(--accent) 245deg, transparent 245deg, transparent 300deg, var(--accent) 300deg, var(--accent) 305deg, transparent 305deg, transparent 360deg);
  opacity: 0.45;
}

.logo-mark::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent var(--text-primary);
  margin-left: 2px;
  position: relative;
  z-index: 1;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.header-cta {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-primary);
  background: transparent;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.header-cta:hover {
  background: rgba(22, 163, 95, 0.08);
  border-color: var(--accent);
  color: var(--accent);
}

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

.header-trial {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: transparent;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.header-trial:hover {
  background: var(--control-bg);
  border-color: var(--text-muted);
  color: var(--text-primary);
}

.hero {
  position: relative;
  z-index: 1;
  padding: 90px 0 64px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.hero-content {
  max-width: 480px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.hero-title .line {
  display: block;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 420px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  box-shadow: 0 10px 30px rgba(22, 163, 95, 0.15);
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 8px 28px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 12px 36px rgba(22, 163, 95, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
  box-shadow: none;
}

.btn-secondary:hover {
  background: var(--control-bg-hover);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 10px 30px rgba(23, 32, 51, 0.08);
}

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-icon {
  font-size: 18px;
  line-height: 1;
}

.hero-note {
  font-size: 13px;
  color: var(--text-muted);
}

.hero-visual {
  perspective: 1200px;
}

.screen-frame {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 32px 80px rgba(23, 32, 51, 0.12), 0 0 0 1px rgba(23, 32, 51, 0.04);
  transform: rotateY(-8deg) rotateX(6deg);
  transition: transform 0.5s ease;
}

.screen-frame:hover {
  transform: rotateY(-4deg) rotateX(3deg);
}

.video-windows {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 140px 100px;
  gap: 12px;
  margin-bottom: 14px;
}

.video-window {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.video-window-1 {
  grid-row: span 2;
}

.video-window-3 {
  grid-column: span 2;
}

.window-header {
  height: 22px;
  background: rgba(23, 32, 51, 0.04);
  border-bottom: 1px solid var(--border);
}

.window-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, rgba(22, 163, 95, 0.08), transparent 60%);
}

.play-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 8px rgba(23, 32, 51, 0.1);
  position: relative;
}

.play-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent var(--text-primary);
}

.browser-panel {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.panel-header {
  height: 32px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  background: rgba(23, 32, 51, 0.04);
  border-bottom: 1px solid var(--border);
}

.panel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
}

.panel-url {
  margin-left: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.resource-list {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.resource-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: rgba(23, 32, 51, 0.03);
  border-radius: 6px;
  font-size: 13px;
}

.resource-name {
  color: var(--text-secondary);
}

.resource-status {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--accent);
  background: rgba(22, 163, 95, 0.12);
}

.feature {
  position: relative;
  z-index: 1;
  padding: 110px 0;
}

.feature-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.feature-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 18px;
}

.feature-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 420px;
}

.feature-visual {
  display: flex;
  justify-content: center;
}

.collage-frame {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  box-shadow: 0 24px 64px rgba(23, 32, 51, 0.08);
}

.collage-tile {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.collage-tile-1 {
  grid-row: span 2;
  background: linear-gradient(160deg, rgba(22, 163, 95, 0.1), transparent 55%), var(--bg-tertiary);
}

.collage-tile-2 {
  background: linear-gradient(200deg, rgba(22, 163, 95, 0.07), transparent 55%), var(--bg-tertiary);
}

.collage-tile-3 {
  background: linear-gradient(20deg, rgba(23, 32, 51, 0.04), transparent 50%), var(--bg-tertiary);
}

.browser-mock {
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(23, 32, 51, 0.08);
  position: relative;
}

.browser-toolbar {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  background: rgba(23, 32, 51, 0.04);
  border-bottom: 1px solid var(--border);
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
}

.browser-address {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  padding: 5px 12px;
  background: rgba(23, 32, 51, 0.04);
  border-radius: 999px;
}

.browser-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.browser-card {
  height: 56px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.detection-toast {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg-secondary);
  border: 1px solid rgba(22, 163, 95, 0.3);
  border-radius: 999px;
  font-size: 13px;
  color: var(--accent);
  box-shadow: 0 8px 24px rgba(23, 32, 51, 0.1);
}

.toast-icon {
  color: var(--accent);
  font-size: 14px;
}

.steps {
  position: relative;
  z-index: 1;
  padding: 80px 0 0;
}

.steps-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 700;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.step:hover {
  border-color: rgba(22, 163, 95, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(23, 32, 51, 0.06);
}

.step-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(22, 163, 95, 0.1);
  margin-bottom: 20px;
}

.step-shape {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px var(--accent-glow);
}

.step-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact {
  position: relative;
  z-index: 1;
  padding: 48px 0 80px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
}

.contact-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}

.contact-desc {
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-size: 16px;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.contact-email:hover {
  border-color: var(--accent);
  background: rgba(22, 163, 95, 0.08);
  color: var(--accent);
}

.contact-email-icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  background: var(--bg-secondary);
  margin-top: auto;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

@media (max-width: 900px) {
  .hero-inner,
  .feature-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-browser .feature-inner {
    display: flex;
    flex-direction: column-reverse;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-title {
    font-size: clamp(36px, 10vw, 52px);
  }

  .screen-frame {
    transform: none;
  }

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

  .contact-card {
    padding: 36px 24px;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 18px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-note {
    text-align: center;
    margin-top: 4px;
  }

  .video-windows {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 120px 80px;
  }

  .video-window-3 {
    grid-column: span 2;
  }

  .feature {
    padding: 70px 0;
  }

  .contact-title {
    font-size: 22px;
  }

  .contact-email {
    font-size: 14px;
    padding: 12px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .light-beam {
    animation: none;
  }

  .screen-frame:hover,
  .step:hover,
  .btn:hover,
  .app-mockup:hover {
    transform: none;
  }
}

/* 激活码弹窗 */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(23, 32, 51, 0.45);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  box-shadow: 0 24px 64px rgba(23, 32, 51, 0.18);
  transform: translateY(12px);
  transition: transform 0.2s ease;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
  background: var(--control-bg-hover);
  color: var(--text-primary);
}

.modal-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(22, 163, 95, 0.1);
  border-radius: 50%;
  font-size: 28px;
  margin-bottom: 16px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.modal-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 22px;
}

.modal-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  margin-bottom: 20px;
}

.modal-email:hover {
  border-color: var(--accent);
  background: rgba(22, 163, 95, 0.08);
  color: var(--accent);
}

.modal-email-icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.modal-ok {
  width: 100%;
  justify-content: center;
}

@media (max-width: 520px) {
  .modal-card {
    padding: 28px 22px;
  }

  .modal-title {
    font-size: 20px;
  }

  .modal-email {
    font-size: 14px;
    padding: 10px 18px;
  }
}

/* =========================================================
   Hero 高保真应用界面模拟
   ========================================================= */

.hero-visual {
  perspective: 1200px;
  width: 100%;
}

.app-mockup {
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  background: #f4f7fb;
  border: 1px solid rgba(23, 32, 51, 0.12);
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(23, 32, 51, 0.04),
    0 32px 80px rgba(23, 32, 51, 0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: rotateY(-8deg) rotateX(6deg);
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
}

.hero-visual:hover .app-mockup {
  transform: rotateY(-4deg) rotateX(3deg);
}

/* 视图切换标签 */
.mock-view-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(23, 32, 51, 0.12);
  flex-shrink: 0;
}

.mock-tab {
  height: 30px;
  padding: 0 14px;
  background: #e7ecf5;
  color: #172033;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.mock-tab:hover {
  background: #d9e3f3;
}

.mock-tab.active {
  background: #16a35f;
  color: #ffffff;
}

/* 视图容器 */
.mock-viewport {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.mock-player-view,
.mock-browser-view {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.mock-player-view.active,
.mock-browser-view.active {
  opacity: 1;
  pointer-events: auto;
}

/* 播放器视图 */
.mock-video-canvas {
  position: relative;
  flex: 1;
  min-height: 0;
  background: #f4f7fb;
  overflow: hidden;
}

.mock-video-tile {
  position: absolute;
  border-radius: 4px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #ffffff;
  display: flex;
  flex-direction: column;
  outline: 0 solid transparent;
  outline-offset: -2px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 10px 24px rgba(37, 99, 235, 0.22);
  transition: outline-color 0.2s ease, box-shadow 0.2s ease;
}

.mock-video-tile.hovered {
  outline: 2px solid rgba(37, 99, 235, 0.82);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 10px 24px rgba(37, 99, 235, 0.22);
}

.tile-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 24px;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  z-index: 20;
  user-select: none;
}

.tile-title {
  color: #ffffff;
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: calc(100% - 90px);
}

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

.zoom-btn,
.close-btn {
  width: 16px;
  height: 16px;
  border: none;
  border-radius: 50%;
  color: #ffffff;
  font-size: 10px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease;
}

.zoom-btn {
  background: #4a9eff;
}

.zoom-btn:hover {
  background: #3a8eef;
}

.close-btn {
  background: #ff5a5a;
}

.close-btn:hover {
  background: #ff3a3a;
}

.zoom-level {
  color: #ffffff;
  font-size: 9px;
  min-width: 28px;
  text-align: center;
  user-select: none;
}

.tile-body {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111111;
  overflow: hidden;
}

.tile-body .play-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.tile-body .play-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #111111;
}

.tile-controls {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.6);
  padding: 4px 10px;
  border-radius: 16px;
  z-index: 10;
}

.tile-controls button {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  padding: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tile-controls button:hover {
  opacity: 0.8;
}

.progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  padding: 0 6px;
  gap: 6px;
  z-index: 20;
  user-select: none;
}

.progress-track {
  flex: 1;
  height: 4px;
  background: #444444;
  border-radius: 2px;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: #4a9eff;
  border-radius: 2px;
  position: absolute;
  left: 0;
  top: 0;
}

.progress-thumb {
  width: 8px;
  height: 8px;
  background: #ffffff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.time-display {
  color: #aaaaaa;
  font-size: 9px;
  white-space: nowrap;
  min-width: 56px;
  text-align: right;
}

.resize-handle {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 12px;
  height: 12px;
  cursor: se-resize;
  background: linear-gradient(135deg, transparent 50%, #4a9eff 50%);
  border-bottom-right-radius: 4px;
  z-index: 20;
}

/* 底部控制栏 */
.mock-control-bar {
  height: 40px;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border-top: 1px solid rgba(23, 32, 51, 0.12);
  flex-shrink: 0;
  overflow: hidden;
}

.mock-control-bar .license-chip {
  height: 24px;
  padding: 0 8px;
  border: 1px solid rgba(23, 32, 51, 0.12);
  border-radius: 999px;
  background: rgba(23, 32, 51, 0.08);
  color: #667085;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.mock-control-bar .license-chip.active {
  background: #16a35f;
  color: #ffffff;
}

.mock-control-bar .ctrl-btn {
  height: 26px;
  padding: 0 10px;
  background: #e7ecf5;
  color: #172033;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.mock-control-bar .ctrl-btn .btn-icon {
  font-size: 12px;
  line-height: 1;
}

.mock-control-bar .ctrl-btn:hover {
  background: #d9e3f3;
}

/* 浏览器下载视图 */
.mock-browser-view {
  background:
    linear-gradient(135deg, rgba(22, 163, 95, 0.08), transparent 32%),
    #f4f7fb;
  color: #172033;
  padding: 8px 14px 10px;
}

.mock-browser-header {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
}

.mock-browser-header .ghost-btn {
  height: 26px;
  padding: 0 10px;
  background: rgba(23, 32, 51, 0.08);
  color: #172033;
  border: 1px solid rgba(23, 32, 51, 0.12);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: background 0.2s ease;
}

.mock-browser-header .ghost-btn:hover {
  background: #ffffff;
}

.mock-browser-header .view-title {
  font-size: 13px;
  font-weight: 700;
}

.mock-address-band {
  margin-top: 8px;
  flex-shrink: 0;
}

.mock-address-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 5px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(23, 32, 51, 0.12);
  border-radius: 10px;
}

.address-nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}

.browser-nav-btn {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #172033;
  font-size: 11px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.browser-nav-btn:hover {
  background: rgba(244, 247, 251, 0.96);
  border-color: rgba(23, 32, 51, 0.12);
  color: #16a35f;
}

.address-form {
  flex: 1;
  min-width: 0;
}

.address-field {
  min-width: 0;
  height: 28px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #667085;
  background: rgba(244, 247, 251, 0.96);
  border: 1px solid rgba(23, 32, 51, 0.12);
  border-radius: 6px;
  padding: 0 3px 0 8px;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.address-field:focus-within {
  border-color: #16a35f;
  background: #ffffff;
}

.address-field .field-icon {
  font-size: 10px;
  flex-shrink: 0;
}

.address-field input {
  min-width: 0;
  flex: 1;
  background: transparent;
  color: #172033;
  border: none;
  outline: none;
  font-size: 11px;
}

.address-field input::placeholder {
  color: #667085;
}

.address-go-btn {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 4px;
  background: #16a35f;
  color: #ffffff;
  font-size: 10px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  transition: background 0.18s ease;
}

.address-go-btn:hover {
  background: #0d894d;
}

.mock-tab-band {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  flex-shrink: 0;
}

.mock-tab-band .tab-list {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.mock-tab-band .tab-list::-webkit-scrollbar {
  display: none;
}

.mock-tab-band .browser-tab-item {
  height: 24px;
  max-width: 120px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 6px 0 8px;
  background: rgba(244, 247, 251, 0.96);
  color: #667085;
  border: 1px solid rgba(23, 32, 51, 0.12);
  border-radius: 5px;
  font-size: 11px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  flex-shrink: 0;
}

.mock-tab-band .browser-tab-item.active {
  background: #16a35f;
  color: #ffffff;
  border-color: #16a35f;
}

.mock-tab-band .browser-tab-item:hover:not(.active) {
  border-color: #16a35f;
  color: #172033;
}

.mock-tab-band .tab-title {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-tab-band .tab-close {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: 3px;
  background: transparent;
  color: currentColor;
  font-size: 10px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
}

.mock-tab-band .tab-close:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.1);
}

.mock-tab-band .tab-add {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(244, 247, 251, 0.96);
  color: #172033;
  border: 1px solid rgba(23, 32, 51, 0.12);
  border-radius: 5px;
  font-size: 14px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.mock-tab-band .tab-add:hover {
  border-color: #16a35f;
  color: #16a35f;
}

.mock-browser-workspace {
  min-height: 0;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 32%);
  gap: 10px;
  margin-top: 8px;
}

.mock-browser-pane,
.mock-resource-panel {
  min-height: 0;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(23, 32, 51, 0.12);
  border-radius: 6px;
  overflow: hidden;
}

.mock-browser-pane {
  padding: 8px;
  display: flex;
}

.mock-browser-pane .empty-browser {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  color: #667085;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
  padding: 16px;
  border-radius: 4px;
}

.mock-browser-pane .empty-icon {
  font-size: 14px;
}

.mock-resource-panel {
  display: flex;
  flex-direction: column;
}

.mock-resource-panel .panel-heading {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 0 8px;
  border-bottom: 1px solid rgba(23, 32, 51, 0.12);
  flex-shrink: 0;
}

.mock-resource-panel .resource-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mock-resource-panel .tab-btn {
  height: 22px;
  padding: 0 6px;
  background: rgba(244, 247, 251, 0.96);
  color: #667085;
  border: 1px solid rgba(23, 32, 51, 0.12);
  border-radius: 4px;
  font-size: 10px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.mock-resource-panel .tab-btn strong {
  min-width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #667085;
  color: rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
}

.mock-resource-panel .tab-btn.active {
  background: #16a35f;
  color: #ffffff;
  border-color: #16a35f;
}

.mock-resource-panel .tab-btn.active strong {
  background: #ffffff;
  color: #16a35f;
}

.mock-resource-panel .text-btn {
  height: 22px;
  padding: 0 6px;
  background: rgba(23, 32, 51, 0.08);
  color: #172033;
  border: 1px solid rgba(23, 32, 51, 0.12);
  border-radius: 4px;
  font-size: 10px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: background 0.18s ease;
  flex-shrink: 0;
}

.mock-resource-panel .text-btn:hover {
  background: #ffffff;
}

.mock-resource-panel .resource-list {
  min-height: 0;
  flex: 1;
  list-style: none;
  margin: 0;
  padding: 8px;
  overflow: auto;
}

.mock-resource-panel .resource-item {
  background: #ffffff;
  border: 1px solid rgba(23, 32, 51, 0.12);
  border-radius: 6px;
  padding: 8px;
  transition: border-color 0.18s ease;
}

.mock-resource-panel .resource-item:hover {
  border-color: #16a35f;
}

.mock-resource-panel .resource-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 6px;
}

.mock-resource-panel .resource-main h3 {
  font-size: 11px;
  line-height: 1.3;
  margin: 0 0 2px;
  font-weight: 600;
  color: #172033;
  overflow-wrap: anywhere;
}

.mock-resource-panel .resource-main p {
  color: #667085;
  font-size: 9px;
  margin: 0;
  overflow-wrap: anywhere;
}

.mock-resource-panel .status-badge {
  height: 18px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #667085;
  background: rgba(23, 32, 51, 0.08);
  border: 1px solid rgba(23, 32, 51, 0.12);
  border-radius: 999px;
  padding: 0 6px;
  font-size: 9px;
  white-space: nowrap;
  flex-shrink: 0;
}

.mock-resource-panel .resource-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  margin-bottom: 6px;
}

.mock-resource-panel .resource-meta span {
  min-width: 0;
  color: #667085;
  background: rgba(23, 32, 51, 0.08);
  border-radius: 4px;
  padding: 3px 4px;
  text-align: center;
  font-size: 9px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-resource-panel .download-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px auto;
  align-items: center;
  gap: 6px;
}

.mock-resource-panel .download-row .progress-track {
  height: 6px;
  background: rgba(23, 32, 51, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.mock-resource-panel .download-row .progress-fill {
  height: 100%;
  background: #16a35f;
  border-radius: inherit;
}

.mock-resource-panel .progress-text {
  color: #667085;
  font-size: 9px;
  text-align: right;
}

.mock-resource-panel .download-btn {
  height: 22px;
  padding: 0 6px;
  background: #16a35f;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease;
}

.mock-resource-panel .download-btn:hover {
  background: #0d894d;
}

/* 响应式适配 */
@media (max-width: 900px) {
  .app-mockup {
    transform: none;
    max-width: 100%;
  }

  .hero-visual:hover .app-mockup {
    transform: none;
  }

  .mock-control-bar {
    gap: 4px;
    padding: 0 8px;
  }

  .mock-control-bar .ctrl-btn {
    padding: 0 6px;
    font-size: 10px;
  }

  .mock-control-bar .ctrl-btn .btn-icon {
    display: none;
  }

  .mock-browser-workspace {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) minmax(0, 38%);
  }

  .mock-resource-panel .resource-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .mock-view-tabs {
    padding: 8px 10px;
  }

  .mock-tab {
    padding: 0 10px;
    font-size: 11px;
  }

  .mock-control-bar .ctrl-btn .btn-text {
    display: none;
  }
}
