/* ===== CSS Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #0f172a 0, #020617 35%, #020617 100%);
  color: #e5e7eb;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.link-blue {
  color: #0066cc !important;
  text-decoration: underline;
}

.link-blue:hover {
  color: #0052a3 !important;
}

.step-list .link-blue,
.ios-guide .link-blue {
  color: #0066cc !important;
  text-decoration: underline;
}

.step-list .link-blue:hover,
.ios-guide .link-blue:hover {
  color: #0052a3 !important;
}

img {
  max-width: 100%;
  display: block;
}

main {
  min-height: calc(100vh - 72px - 140px);
  padding-top: 64px;
}

/* ===== Layout Helpers ===== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
  scroll-margin-top: 84px;
}

.section-alt {
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.07), transparent 60%);
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
  color: #9ca3af;
  line-height: 1.6;
}

.grid {
  display: grid;
  gap: 24px;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.75));
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: transparent;
  overflow: hidden;
}

.logo-icon-img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.logo-text {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

.nav a {
  color: #cbd5f5;
  padding: 4px 0;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #22c55e, #22d3ee);
  transition: width 0.18s ease-out;
}

.nav a:hover::after {
  width: 100%;
}

.nav-contact-btn {
  border: 1px solid rgba(148, 163, 184, 0.6);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  background: rgba(15, 23, 42, 0.85);
  color: #e5e7eb;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.08s ease,
    border-color 0.18s ease;
}

.nav-contact-btn:hover {
  background: linear-gradient(120deg, #22c55e, #22d3ee);
  color: #020617;
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.45);
  transform: translateY(-1px);
}

.nav-contact-btn:active {
  transform: scale(0.96);
}

.nav-toggle {
  display: none;
  flex-shrink: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  margin-left: auto;
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.85);
  color: #e5e7eb;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.nav-toggle:hover {
  background: rgba(30, 41, 59, 0.95);
  border-color: rgba(148, 163, 184, 0.65);
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.is-nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header.is-nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
  padding-top: 40px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(32px, 4vw, 40px);
  line-height: 1.15;
  margin-bottom: 18px;
}

.accent {
  display: inline-block;
  background: linear-gradient(120deg, #22c55e, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  color: #9ca3af;
  line-height: 1.7;
  font-size: 15px;
  margin-bottom: 24px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.08s ease;
}

.btn-primary {
  background: linear-gradient(120deg, #22c55e, #22d3ee);
  color: #020617;
  box-shadow: 0 18px 45px rgba(34, 197, 94, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 20px 60px rgba(56, 189, 248, 0.5);
  transform: translateY(-1px);
}

.btn-outline {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(148, 163, 184, 0.5);
  color: #e5e7eb;
}

.btn-outline:hover {
  background: rgba(30, 64, 175, 0.9);
  border-color: #38bdf8;
  box-shadow: 0 0 24px rgba(37, 99, 235, 0.7);
}

.btn-chrome-install {
  gap: 8px;
  width: 100%;
  justify-content: flex-start;
  align-items: center;
  background: #000000 !important;
  color: #ffffff !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
}

.btn-chrome-install:hover {
  background: #1a1a1a !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: translateY(-1px);
}

.btn-chrome-install .chrome-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.btn-chrome-install span {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: #9ca3af;
}

.hero-meta span {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.hero-preview {
  position: relative;
}

.preview-card {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.18), #020617 55%);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.9);
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.dot.red {
  background: #f97373;
}

.dot.yellow {
  background: #facc15;
}

.dot.green {
  background: #22c55e;
}

.preview-title {
  font-size: 12px;
  color: #9ca3af;
  margin-left: 6px;
}

.preview-body {
  padding: 14px 14px 12px;
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.12), transparent 45%),
    radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.28), #020617 60%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 400px;
  overflow: hidden;
}

.chat-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #9ca3af;
  flex-shrink: 0;
  padding-bottom: 8px;
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  /* 隐藏滚动条但保持滚动功能 */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.chat-messages::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.chat-meta-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #22d3ee);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #020617;
  flex-shrink: 0;
}

.chat-meta-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chat-meta-name {
  font-weight: 500;
  color: #e5e7eb;
}

.chat-meta-sub {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.chat-meta-time {
  margin-left: 0;
}

.chat-row {
  display: flex;
  margin-bottom: 8px;
}

.chat-row-in {
  justify-content: flex-start;
}

.chat-row-out {
  justify-content: flex-end;
}

.msg {
  max-width: 92%;
  font-size: 13px;
  line-height: 1.5;
  padding: 7px 11px 6px;
  border-radius: 12px;
}

.msg-in {
  background: rgba(31, 41, 55, 0.9);
  border-bottom-left-radius: 3px;
}

.msg-out {
  margin-left: auto;
  background: linear-gradient(130deg, #22c55e, #22d3ee);
  color: #020617;
  border-bottom-right-radius: 3px;
}

.msg-main {
  display: block;
}

.msg-translation {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  opacity: 0.85;
}

.msg-in .msg-translation {
  color: #e5e7eb;
}

.msg.ghost {
  font-size: 11px;
  opacity: 0.8;
  background: transparent;
  color: #9ca3af;
  padding: 0;
}

.preview-footer {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}

.preview-tag {
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.45);
}

.chat-input {
  margin-top: 10px;
  padding: 6px 8px 6px 9px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.45);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.chat-input-main {
  font-size: 11px;
  color: #e5e7eb;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  min-height: 10px;
}

.chat-input-label {
  font-size: 11px;
  color: #9ca3af;
  margin-bottom: 4px;
}

.chat-input-preview {
  font-size: 12px;
  line-height: 1.6;
  min-height: 10px;
  max-height: 30px;
  overflow-y: auto;
  overflow-x: hidden;
  word-wrap: break-word;
  /* 隐藏滚动条但保持滚动功能 */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.chat-input-preview::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.chat-input-send {
  margin-left: auto;
  margin-top: 4px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: none;
  background: #22c55e;
  color: #020617;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(22, 163, 74, 0.8);
  transition: background 0.16s ease, transform 0.08s ease, box-shadow 0.16s ease;
}

.chat-input-send:hover {
  background: #16a34a;
  box-shadow: 0 0 0 1px rgba(21, 128, 61, 0.9), 0 0 14px rgba(22, 163, 74, 0.7);
}

.chat-input-send:active {
  transform: scale(0.92);
}

.chat-input-send.pressed {
  transform: scale(0.85);
  background: #16a34a;
  box-shadow: 0 0 0 2px rgba(21, 128, 61, 0.9), 0 0 20px rgba(22, 163, 74, 0.8);
}

.chat-input-hint {
  margin-top: 4px;
  font-size: 10px;
  color: #9ca3af;
  display: flex;
  justify-content: flex-end;
}

/* ===== Cards & Lists ===== */
.card {
  border-radius: 18px;
  padding: 20px 18px 18px;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.1), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.9);
  transition: transform 0.14s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

/* 仅鼠标设备启用 hover 上浮，避免 iOS 等触摸设备「粘滞 :hover」挡住上方按钮点击 */
@media (hover: hover) and (pointer: fine) {
  .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.95);
    border-color: rgba(56, 189, 248, 0.7);
  }
}

.feature-card h3,
.platform-card h3,
.scenario-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.feature-card p,
.platform-card p,
.scenario-card ul {
  font-size: 14px;
  color: #9ca3af;
  line-height: 1.7;
}

.feature-card ul,
.platform-card ul,
.scenario-card ul {
  margin-top: 8px;
  padding-left: 18px;
}

.feature-card li,
.platform-card li,
.scenario-card li {
  margin-bottom: 4px;
}

.features-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.platform-grid {
  grid-template-columns: minmax(0, 1.2fr);
  justify-content: center;
}

.platform-tabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.35);
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
  max-width: 100%;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.platform-tab {
  border: none;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  cursor: pointer;
  background: transparent;
  color: #9ca3af;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.08s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  z-index: 1;
}

.platform-tab:hover {
  color: #e5e7eb;
}

.platform-tab.is-active {
  background: linear-gradient(120deg, #22c55e, #22d3ee);
  color: #020617;
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.35);
  transform: translateY(-1px);
}

.platform-card {
  display: none;
}

.platform-card.is-active {
  display: block;
}

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
  align-items: stretch;
}

.price-card {
  padding: 26px 20px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.price-card-featured {
  border-color: rgba(34, 197, 94, 0.65) !important;
  box-shadow: 0 22px 70px rgba(34, 197, 94, 0.14), 0 18px 50px rgba(15, 23, 42, 0.9);
}

.price-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.price-plan-name {
  font-size: 20px;
  font-weight: 800;
  margin: 0;
}

.price-plan-price-row {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.price-plan-price {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.price-plan-unit {
  font-size: 14px;
  color: #9ca3af;
  font-weight: 600;
}

.price-featured-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: linear-gradient(120deg, #22c55e, #22d3ee);
  color: #020617;
  font-weight: 900;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 18px 45px rgba(34, 197, 94, 0.25);
}

.price-list {
  margin-top: 8px;
  padding-left: 18px;
}

.price-list li {
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.85;
  margin-bottom: 6px;
}

.buy-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  background: linear-gradient(120deg, #22c55e, #22d3ee);
  color: #020617;
  font-size: 15px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 18px 45px rgba(34, 197, 94, 0.18);
  transition: transform 0.08s ease, box-shadow 0.16s ease;
}

.buy-btn:hover {
  box-shadow: 0 22px 60px rgba(56, 189, 248, 0.25);
  transform: translateY(-1px);
}

.buy-btn:active {
  transform: scale(0.99);
}

@media (max-width: 720px) {
  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .price-card {
    padding: 22px 16px 18px;
  }

  .price-top {
    align-items: center;
  }

  .price-plan-price {
    font-size: 26px;
  }

  .price-featured-badge {
    top: 12px;
    right: 12px;
  }
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  font-size: 11px;
  border-radius: 999px;
  background: rgba(30, 64, 175, 0.95);
  color: #e5e7eb;
  margin-bottom: 10px;
}

.platform-badge-green {
  background: rgba(22, 163, 74, 0.95);
}

.platform-badge-dark {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.55);
}

.platform-actions {
  margin: 12px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.platform-screenshot {
  display: block;
  margin-top: 24px;
}

.platform-screenshots-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 16px;
  margin-top: 24px;
  width: 100%;
}

.platform-screenshots-row .platform-screenshot {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  max-width: calc(50% - 8px);
  height: auto;
  margin-top: 0;
  object-fit: contain;
}

.google-play-btn {
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.google-play-btn img {
  height: 46px;
  width: auto;
  display: block;
}

.google-play-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.google-play-btn:active {
  transform: translateY(0);
}

.download-list {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.download-item {
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.download-label {
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 4px;
}

.download-link {
  font-size: 13px;
  color: #22d3ee;
  word-break: break-all;
}

.download-link:hover {
  text-decoration: underline;
}

.hint-list {
  margin-top: 10px;
  font-size: 12px;
  color: #9ca3af;
  padding-left: 18px;
}

.hint-list li {
  margin-bottom: 4px;
}

.step-list {
  margin-top: 8px;
  margin-left: 16px;
  font-size: 13px;
  color: #9ca3af;
  line-height: 1.7;
}

.step-list li {
  margin-bottom: 4px;
}

.ios-guide h4 {
  margin-top: 10px;
  margin-bottom: 6px;
  font-size: 13px;
}

.ios-guide a,
.step-list a,
.platform-card a {
  word-break: break-all;
  overflow-wrap: break-word;
  display: inline-block;
  max-width: 100%;
}

.copy-link {
  color: #22d3ee;
  cursor: pointer;
  text-decoration: underline;
  word-break: break-all;
  overflow-wrap: break-word;
  display: inline-block;
  max-width: 100%;
  transition: color 0.2s ease;
}

.copy-link:hover {
  color: #22c55e;
}

.copy-link:active {
  opacity: 0.7;
}

.copy-link.is-copied {
  color: #22c55e;
}

.copy-link-btn {
  margin-left: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background: linear-gradient(120deg, rgba(34, 211, 238, 0.95), rgba(56, 189, 248, 0.95));
  color: #082f49;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(34, 211, 238, 0.25);
  transition: transform 0.08s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.copy-link-btn:hover {
  color: #082f49;
  filter: brightness(1.04);
  box-shadow: 0 12px 28px rgba(56, 189, 248, 0.3);
  transform: translateY(-1px);
}

.copy-link-btn:active {
  transform: scale(0.98);
}

.copy-link-btn.is-copied {
  color: #ecfeff;
  background: linear-gradient(120deg, #0ea5a4, #14b8a6);
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New",
    monospace;
  font-size: 12px;
  padding: 2px 5px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

/* ===== Scenarios & Guide ===== */
.scenarios-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
}

.guide-column h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

/* ===== Gallery ===== */
.gallery-mobile-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: flex-start;
}

.gallery-desktop-row {
  margin-top: 28px;
}

.gallery-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.device-label {
  font-size: 12px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.device-frame {
  border-radius: 20px;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.15), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.9);
  padding: 8px;
  overflow: hidden;
  position: relative;
  width: 100%;
  border: none;
  cursor: pointer;
}

.desktop-frame img {
  border-radius: 14px;
  transition: transform 0.25s ease-out;
}

.phone-frame {
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 32px;
  padding: 10px 8px 12px;
  position: relative;
}

.phone-frame img {
  border-radius: 22px;
  transition: transform 0.25s ease-out;
}

.device-desc {
  font-size: 12px;
  color: #9ca3af;
  line-height: 1.7;
}

.gallery-tip {
  margin-top: 26px;
  font-size: 12px;
  color: #9ca3af;
  text-align: center;
  line-height: 1.7;
}

/* ===== Lightbox ===== */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
  pointer-events: none;
  visibility: hidden;
}

.lightbox-backdrop.is-open {
  display: flex;
  pointer-events: auto;
  visibility: visible;
}

.lightbox-inner {
  position: relative;
  max-width: min(960px, 96vw);
  max-height: 88vh;
  border-radius: 20px;
  padding: 16px 16px 18px;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.22), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.9);
}

.lightbox-body {
  width: 100%;
  height: 100%;
}

.lightbox-body img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background 0.18s ease, transform 0.08s ease, box-shadow 0.18s ease;
}

.lightbox-close:hover {
  background: rgba(30, 64, 175, 0.95);
  box-shadow: 0 0 0 1px #38bdf8, 0 0 18px rgba(59, 130, 246, 0.7);
}

.lightbox-close:active {
  transform: scale(0.93);
}

/* ===== Contact Modal ===== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
  pointer-events: none;
  visibility: hidden;
}

.modal-backdrop.is-open {
  display: flex;
  pointer-events: auto;
  visibility: visible;
}

.modal-inner {
  position: relative;
  max-width: 420px;
  width: 92vw;
  border-radius: 20px;
  padding: 18px 18px 20px;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.9);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.95);
  color: #e5e7eb;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background 0.18s ease, transform 0.08s ease, box-shadow 0.18s ease;
}

.modal-close:hover {
  background: rgba(30, 64, 175, 0.95);
  box-shadow: 0 0 0 1px #38bdf8, 0 0 18px rgba(59, 130, 246, 0.7);
}

.modal-close:active {
  transform: scale(0.93);
}

.modal-body {
  padding-top: 10px;
}

.modal-body h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 12px;
}

.modal-image-wrap {
  border-radius: 16px;
  padding: 10px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.modal-image-wrap img {
  border-radius: 12px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 10px 12px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-size: 14px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] summary {
  margin-bottom: 6px;
}

.faq-item p {
  font-size: 13px;
  color: #9ca3af;
  line-height: 1.7;
}

.faq-item a {
  color: #22d3ee;
}

.faq-item a:hover {
  text-decoration: underline;
}

/* ===== Footer ===== */
.site-footer {
  margin-top: 40px;
  background: radial-gradient(circle at top, rgba(30, 64, 175, 0.8), #020617 55%);
  border-top: 1px solid rgba(148, 163, 184, 0.4);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 26px 0 10px;
}

.footer-logo .logo-icon {
  width: 28px;
  height: 28px;
}

.footer-desc {
  margin-top: 8px;
  font-size: 13px;
  color: #d1d5db;
  max-width: 380px;
  line-height: 1.7;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 28px;
  font-size: 13px;
}

.footer-links h4 {
  margin-bottom: 6px;
  font-size: 13px;
}

.footer-links a {
  display: block;
  margin-bottom: 4px;
  color: #e5e7eb;
}

.footer-links a:hover {
  color: #22d3ee;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  padding: 10px 0 14px;
  font-size: 11px;
  color: #9ca3af;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-small {
  opacity: 0.8;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .header-inner {
    gap: 12px;
    height: 64px;
    flex-wrap: nowrap;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px 16px 16px;
    font-size: 15px;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.95));
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: max-height 0.28s ease, opacity 0.2s ease, visibility 0.2s ease;
  }

  .site-header.is-nav-open .nav {
    max-height: min(80vh, 520px);
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav a {
    display: block;
    padding: 12px 4px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    white-space: normal;
  }

  .nav a::after {
    display: none;
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-preview {
    order: -1;
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scenarios-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .section {
    padding: 64px 0;
  }

  .hero {
    padding-top: 28px;
  }

  .section-title {
    font-size: 24px;
  }

  .hero-content h1 {
    font-size: 26px;
  }

  .features-grid,
  .platform-grid,
  .scenarios-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .guide-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-mobile-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .platform-tab {
    min-height: 44px;
    padding: 10px 16px;
    font-size: 14px;
  }
}


