:root {
  --bg: #f5f8ff;
  --bg-soft: #eef4ff;
  --card: rgba(255, 255, 255, 0.84);
  --card-strong: rgba(255, 255, 255, 0.96);
  --line: rgba(23, 33, 63, 0.08);
  --line-strong: rgba(23, 33, 63, 0.14);
  --text: #14213d;
  --muted: #60708f;
  --primary: #3a7bff;
  --primary-2: #6ca8ff;
  --shadow: 0 24px 80px rgba(53, 92, 168, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --card-radius: 28px;
  --card-radius-lg: 34px;
  --card-padding: 28px;
  --soft-shadow: 0 22px 52px rgba(53, 92, 168, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "PingFang SC", "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(120, 165, 255, 0.24), transparent 34%),
    radial-gradient(circle at top right, rgba(177, 217, 255, 0.42), transparent 30%),
    linear-gradient(180deg, #f7faff 0%, #eef4ff 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  overflow: clip;
}

.container {
  width: min(1160px, calc(100vw - 32px));
  margin: 0 auto;
}

.hero {
  padding: 24px 0 36px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 0 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 20px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 12px 24px rgba(58, 123, 255, 0.24);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
}

.nav-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.nav-button,
.button.primary {
  color: #fff;
  border: none;
  background: linear-gradient(135deg, var(--primary), #5d96ff 58%, #81b8ff 100%);
  box-shadow: 0 18px 40px rgba(58, 123, 255, 0.22);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

.nav-button:hover,
.button:hover {
  transform: translateY(-1px);
}

.hero-main {
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  justify-content: space-between;
  padding: 52px 0 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(66, 100, 168, 0.1);
  color: #46618d;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.eyebrow.soft {
  background: rgba(58, 123, 255, 0.08);
  color: #3e5c92;
}

.hero-copy h1 {
  max-width: 8.2em;
  margin: 20px 0 24px;
  font-size: clamp(34px, 4.9vw, 60px);
  line-height: 1.12;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.hero-desc,
.section-heading p,
.feature-card p,
.step-card p,
.scene-card p,
.install-card-wide p,
.faq-list p,
.footer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.hero-desc {
  font-size: 18px;
  max-width: 34em;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 34px 0 26px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 520px;
}

.hero-meta span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
  color: #51617f;
  font-size: 14px;
}

.hero-copy {
  padding-left: 8px;
}

.hero-visual {
  position: relative;
}

.device-stage {
  position: relative;
  min-height: 620px;
}

.device-window,
.floating-panel,
.stat-card,
.feature-card,
.step-card,
.scene-card,
.install-card-wide,
.faq-list details,
.settings-shot-card,
.download-card,
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(18px);
}

.main-window {
  position: relative;
  border-radius: 34px;
  overflow: hidden;
  background: var(--card-strong);
}

.window-top {
  display: flex;
  gap: 8px;
  padding: 18px 20px;
}

.window-top span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #d7deef;
}

.window-top span:first-child { background: #ff5f57; }
.window-top span:nth-child(2) { background: #febc2e; }
.window-top span:nth-child(3) { background: #28c840; }

.window-body {
  display: grid;
  grid-template-columns: 168px 1fr;
  min-height: 470px;
}

.window-side {
  padding: 18px;
  background: linear-gradient(180deg, rgba(106, 168, 255, 0.14), rgba(95, 124, 255, 0.05));
  border-right: 1px solid var(--line);
}

.side-chip {
  padding: 12px 14px;
  border-radius: 14px;
  color: #52627f;
  font-weight: 700;
  margin-bottom: 10px;
}

.side-chip.active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}

.window-content {
  padding: 26px;
}

.content-tag {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(58, 123, 255, 0.08);
  color: #4268a4;
  font-size: 13px;
  font-weight: 700;
}

.window-content h3 {
  margin: 16px 0 20px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.18;
}

.message-card {
  padding: 18px 18px 16px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(244, 248, 255, 0.84);
}

.message-card + .message-card {
  margin-top: 14px;
}

.message-card.accent {
  background: linear-gradient(180deg, rgba(58, 123, 255, 0.1), rgba(128, 184, 255, 0.14));
  border-color: rgba(58, 123, 255, 0.14);
}

.message-label {
  display: inline-block;
  margin-bottom: 10px;
  color: #54709f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.message-card p {
  margin: 0;
  line-height: 1.7;
  color: #1a2742;
}

.mini-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.mini-toolbar span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  color: #52627f;
  font-size: 14px;
  font-weight: 700;
}

.floating-panel {
  position: absolute;
  border-radius: 28px;
  padding: 18px;
}

.reply-panel {
  right: -10px;
  top: 56px;
  width: min(310px, 62vw);
}

.shortcut-panel {
  left: 20px;
  bottom: -22px;
  width: min(270px, 56vw);
}

.panel-title {
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 800;
}

.reply-item,
.shortcut-row {
  padding: 14px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.reply-item + .reply-item,
.shortcut-row + .shortcut-row {
  margin-top: 10px;
}

.reply-item.active {
  background: linear-gradient(180deg, rgba(58, 123, 255, 0.12), rgba(128, 184, 255, 0.18));
}

.reply-item span {
  display: block;
  color: #54709f;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
}

.reply-item p,
.shortcut-row span,
.shortcut-row b {
  margin: 0;
  line-height: 1.6;
}

.shortcut-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.shortcut-row b {
  color: #2d4b81;
}

.section {
  padding: 76px 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08));
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.stat-card {
  padding: 24px;
  border-radius: var(--card-radius);
  text-align: center;
}

.stat-card strong {
  display: block;
  font-size: 28px;
  margin-bottom: 8px;
}

.stat-card span {
  color: var(--muted);
}

.intro-block {
  padding-bottom: 24px;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.section-heading.left {
  margin-left: 0;
  text-align: left;
}

.section-heading.narrow {
  max-width: 860px;
}

.section-heading h2 {
  margin: 12px 0 10px;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.step-card,
.scene-card {
  border-radius: var(--card-radius);
  padding: var(--card-padding);
}

.feature-card.featured {
  background: linear-gradient(180deg, rgba(58, 123, 255, 0.12), rgba(255, 255, 255, 0.92));
}

.feature-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: #5372a7;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.feature-card h3,
.step-card h3,
.scene-card h3,
.install-card-wide h2 {
  margin: 0 0 10px;
  font-size: 26px;
}

.workflow-wrap {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 24px;
  align-items: start;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.step-no {
  display: inline-block;
  margin-bottom: 18px;
  color: #4c6ca4;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.install-section {
  padding-top: 24px;
}

.install-card-wide {
  border-radius: 44px;
  padding: 48px;
  display: block;
}

.install-switcher {
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(248,250,255,0.95));
  border: 1px solid rgba(96, 126, 184, 0.08);
  box-shadow: var(--soft-shadow);
}

.install-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: start;
  margin-bottom: 24px;
}

.install-copy {
  max-width: 460px;
}

.install-copy-wide {
  max-width: 760px;
}

.install-copy-wide h2 {
  margin: 18px 0 20px;
  font-size: clamp(38px, 4.6vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.055em;
  max-width: 9em;
}

.install-copy-wide p {
  max-width: 38em;
  font-size: 17px;
  line-height: 1.9;
  color: #60708f;
}

.install-note {
  display: none;
}

.install-tabs {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(170px, 1fr));
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(239, 243, 251, 0.94);
  border: 1px solid rgba(86, 119, 191, 0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.86);
}

.install-tab {
  display: grid;
  gap: 3px;
  align-content: center;
  min-height: 56px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #627394;
  text-align: left;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.install-tab span {
  font-size: 15px;
  font-weight: 800;
  color: #20345e;
}

.install-tab small {
  font-size: 12px;
  color: #7282a1;
}

.install-tab.is-active {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 10px 28px rgba(68, 100, 162, 0.10);
}

.install-panels {
  position: relative;
}

.install-panel {
  display: none;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  gap: 36px;
  align-items: start;
  animation: installPanelFade 0.28s ease;
}

.install-panel.is-active {
  display: grid;
}

.install-panel-copy {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 14px 0 8px;
}

.install-panel-copy h3 {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.045em;
  max-width: 11em;
}

.install-panel-copy p,
.panel-tip {
  margin: 0;
  color: #60708f;
}

.install-panel-copy p {
  max-width: 30em;
  font-size: 16px;
  line-height: 1.75;
}

.install-bullets {
  display: grid;
  gap: 10px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.install-bullets li {
  position: relative;
  padding-left: 18px;
  color: #47607f;
  line-height: 1.7;
}

.install-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6da7ff, #4e7fff);
  box-shadow: 0 0 0 4px rgba(91, 137, 236, 0.10);
}

.install-visual-shell {
  display: grid;
  gap: 12px;
  align-content: start;
}

.method-badge {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(58, 123, 255, 0.08);
  color: #3f66a4;
  font-size: 12px;
  font-weight: 800;
}

.method-card,
.terminal-card {
  min-width: 0;
  border-radius: 32px;
}

.apple-terminal {
  overflow: hidden;
  background: linear-gradient(180deg, #101826, #0a1220 72%);
  color: #eff6ff;
  box-shadow: 0 24px 52px rgba(8, 17, 32, 0.18);
}

.terminal-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
}

.terminal-top span:nth-child(2) { background: #febc2e; }
.terminal-top span:nth-child(3) { background: #28c840; }

.terminal-top strong {
  margin-left: 6px;
  font-size: 13px;
  color: #d2def3;
}

.terminal-body {
  padding: 22px;
}

.compact-terminal {
  display: grid;
  gap: 12px;
}

.terminal-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-line + .terminal-line,
.compact-terminal .terminal-line + .terminal-line {
  margin-top: 0;
}

.terminal-line.bright {
  background: linear-gradient(180deg, rgba(41, 97, 189, 0.3), rgba(74, 139, 255, 0.18));
  border-color: rgba(125, 184, 255, 0.32);
}

.prompt {
  color: #86f4b0;
  font-weight: 800;
}

.terminal-line code {
  padding: 0;
  background: transparent;
  color: #f4f8ff;
  font-size: 16px;
}

.panel-tip {
  font-weight: 700;
}

.apple-method-card {
  padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(246,249,255,0.94));
  border: 1px solid rgba(58, 123, 255, 0.08);
  box-shadow: 0 20px 44px rgba(56, 90, 160, 0.07);
}

.method-steps {
  margin: 0;
  padding-left: 22px;
  color: var(--text);
}

.method-steps li {
  margin-top: 12px;
  line-height: 1.7;
  color: #405171;
}

.method-steps li:first-child {
  margin-top: 0;
}

.method-tip {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 199, 0, 0.12);
  color: #6b5711;
  font-weight: 600;
}
code {
  padding: 0;
  background: transparent;
  color: #f4f8ff;
  font-size: 16px;
}

.panel-tip {
  font-weight: 700;
  color: #63779a;
}

.apple-method-card {
  padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(246,249,255,0.94));
  border: 1px solid rgba(58, 123, 255, 0.1);
  box-shadow: 0 26px 64px rgba(56, 90, 160, 0.1);
}

.method-steps {
  margin: 0;
  padding-left: 22px;
  color: var(--text);
}

.method-steps li {
  margin-top: 12px;
  line-height: 1.7;
  color: #405171;
}

.method-steps li:first-child {
  margin-top: 0;
}

.method-tip {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 199, 0, 0.12);
  color: #6b5711;
  font-weight: 600;
}
code {
  padding: 0;
  background: transparent;
  color: #f4f8ff;
  font-size: 16px;
}

.terminal-tip {
  margin: 14px 0 0;
  color: #93f5b4;
  font-weight: 700;
}
code {
  padding: 0;
  background: transparent;
  color: #f4f8ff;
  font-size: 16px;
}

.terminal-tip {
  margin: 14px 0 0;
  color: #93f5b4;
  font-weight: 700;
}

code {
  padding: 2px 8px;
  border-radius: 8px;
  background: rgba(58, 123, 255, 0.08);
  color: #355b9e;
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-list details {
  border-radius: 22px;
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin-top: 10px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 56px;
}

.footer strong {
  display: block;
  margin-bottom: 6px;
}

.footer a {
  color: #44679f;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .hero-main,
  .workflow-wrap,
  .feature-grid,
  .scene-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .device-stage {
    min-height: auto;
    padding-bottom: 190px;
  }

  .reply-panel {
    right: 0;
  }

  .install-card-wide {
    flex-direction: column;
    align-items: flex-start;
  }

  .terminal-card {
    min-width: 100%;
    width: 100%;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(1160px, calc(100vw - 24px));
  }

  .section {
    padding: 60px 0;
  }

  .hero {
    padding-top: 14px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 20px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 16px;
    font-size: 14px;
  }

  .hero-main {
    gap: 28px;
    padding-top: 20px;
  }

  .hero-copy {
    padding-left: 0;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: 42px;
    line-height: 1.14;
  }

  .hero-desc {
    font-size: 16px;
  }

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

  .window-side {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .device-stage {
    padding-bottom: 0;
  }

  .floating-panel {
    position: static;
    width: 100%;
    margin-top: 14px;
  }

  .feature-card,
  .step-card,
  .scene-card,
  .stat-card,
  .install-card-wide,
  .faq-list details,
  .download-card,
  .faq-item,
  .settings-shot-card {
    border-radius: 24px;
  }

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

  .footer {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 42px;
  }
}


.screenshot-section {
  padding-top: 48px;
}

.settings-shot-card {
  padding: 24px;
  border-radius: var(--card-radius-lg);
  background: rgba(255, 255, 255, 0.72);
}

.settings-shell {
  display: grid;
  grid-template-columns: 210px 1fr;
  min-height: 620px;
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
}

.settings-sidebar {
  position: relative;
  padding: 20px 14px 70px;
  background: linear-gradient(180deg, #dff8ff 0%, #eef6ff 55%, #e7fbf6 100%);
  border-right: 1px solid rgba(20, 33, 61, 0.08);
}

.settings-group-title {
  margin: 6px 8px 10px;
  font-size: 13px;
  font-weight: 800;
  color: #1d2a44;
}

.settings-group-title.muted {
  margin-top: 18px;
  color: #8da0b4;
}

.settings-item {
  margin: 4px 0;
  padding: 12px 14px;
  border-radius: 14px;
  color: #1f2b45;
  font-weight: 700;
}

.settings-item.active {
  background: linear-gradient(180deg, #1f7cff, #1868df);
  color: #fff;
  box-shadow: 0 12px 26px rgba(31, 124, 255, 0.22);
}

.settings-version {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  text-align: center;
  color: #7e8fa3;
  font-weight: 700;
}

.settings-main {
  position: relative;
  padding: 28px 30px 34px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

.settings-main-header h3 {
  margin: 0 0 6px;
  font-size: 28px;
}

.settings-main-header p {
  margin: 0;
  color: #8d96a6;
  font-weight: 600;
}

.settings-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b3b7c0;
  font-size: 18px;
  font-weight: 700;
}

.settings-footer {
  position: absolute;
  left: 30px;
  bottom: 24px;
  color: #9ba3b3;
  font-weight: 700;
}

.terminal-card {
  position: relative;
  min-width: min(100%, 430px);
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, #0b1220 0%, #09111a 100%);
  color: #eff6ff;
  box-shadow: 0 28px 70px rgba(8, 17, 32, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-top strong {
  margin-left: 6px;
  font-size: 13px;
  color: #d7e5ff;
}

.terminal-body {
  padding: 18px 18px 22px;
  background:
    radial-gradient(circle at top right, rgba(90, 149, 255, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0));
}

.terminal-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.terminal-line.bright {
  background: linear-gradient(180deg, rgba(48, 120, 255, 0.18), rgba(76, 157, 255, 0.12));
  border-color: rgba(117, 179, 255, 0.34);
  box-shadow: 0 0 0 1px rgba(92, 168, 255, 0.08) inset, 0 18px 30px rgba(28, 87, 180, 0.18);
}

.prompt {
  color: #7ef0ad;
  font-weight: 800;
  min-width: 12px;
}

.terminal-line code {
  padding: 0;
  background: transparent;
  color: #f7fbff;
  font-size: 15px;
}

.terminal-tip {
  margin: 14px 0 0;
  color: #91f7b6;
  font-weight: 800;
  letter-spacing: 0.01em;
}

@media (max-width: 760px) {
  .settings-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .settings-sidebar {
    padding-bottom: 24px;
  }

  .settings-version,
  .settings-empty,
  .settings-footer {
    position: static;
  }

  .settings-empty {
    min-height: 220px;
  }

  .settings-footer {
    margin-top: 18px;
  }
}


.hero {
  position: relative;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
  pointer-events: none;
}

.hero::before {
  width: 420px;
  height: 420px;
  left: -120px;
  top: 140px;
  background: rgba(103, 164, 255, 0.18);
  animation: glowFloat 8s ease-in-out infinite;
}

.hero::after {
  width: 360px;
  height: 360px;
  right: 80px;
  top: 80px;
  background: rgba(173, 218, 255, 0.22);
  animation: glowFloat 10s ease-in-out infinite reverse;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  max-width: 7.2em;
  margin: 24px 0 22px;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.hero-copy h1 span {
  display: inline-block;
  background: linear-gradient(180deg, #18284a 0%, #18284a 38%, #2f5fb8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: titleRise 0.9s cubic-bezier(.2,.7,.2,1) both;
}

.hero-copy h1 span:last-child {
  animation-delay: 0.12s;
}

.hero-desc {
  font-size: 19px;
  max-width: 31em;
  color: #66779a;
  animation: fadeUp 0.9s ease both;
  animation-delay: 0.18s;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 38px 0 28px;
  animation: fadeUp 0.9s ease both;
  animation-delay: 0.28s;
}

.hero-cta {
  position: relative;
  min-width: 188px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(58, 123, 255, 0.28), inset 0 1px 0 rgba(255,255,255,0.28);
}

.hero-cta span {
  position: relative;
  z-index: 2;
}

.hero-cta::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,0.32), rgba(255,255,255,0.05));
  opacity: 0.55;
}

.hero-cta::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -35%;
  width: 36%;
  height: 140%;
  transform: rotate(18deg);
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.55), rgba(255,255,255,0));
  animation: shineSweep 3.6s ease-in-out infinite;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 560px;
  animation: fadeUp 0.9s ease both;
  animation-delay: 0.38s;
}

.main-window {
  box-shadow: 0 40px 100px rgba(39, 77, 146, 0.18), 0 12px 28px rgba(255,255,255,0.45) inset;
  animation: floatCard 8s ease-in-out infinite;
}

.reply-panel,
.shortcut-panel {
  box-shadow: 0 30px 80px rgba(31, 59, 115, 0.18);
}

.reply-panel {
  animation: floatSmall 6s ease-in-out infinite;
}

.shortcut-panel {
  animation: floatSmall 7.5s ease-in-out infinite reverse;
}

@keyframes glowFloat {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(0,-18px,0) scale(1.06); }
}

@keyframes titleRise {
  from { opacity: 0; transform: translateY(22px); filter: blur(10px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

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

@keyframes shineSweep {
  0% { transform: translateX(0) rotate(18deg); opacity: 0; }
  12% { opacity: 0.95; }
  28%, 100% { transform: translateX(420%) rotate(18deg); opacity: 0; }
}

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

@keyframes floatSmall {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 760px) {
  .hero-copy h1 {
    max-width: none;
    font-size: 50px;
    line-height: 1.02;
  }

  .hero-desc {
    font-size: 16px;
  }
}


.nav {
  position: relative;
  z-index: 3;
}

.hero-main {
  position: relative;
  z-index: 2;
}

.hero-copy .eyebrow {
  box-shadow: 0 10px 24px rgba(255, 255, 255, 0.38), inset 0 1px 0 rgba(255,255,255,0.85);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.84);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85), 0 10px 24px rgba(84, 111, 168, 0.08);
}

.button.secondary:hover {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 18px 34px rgba(84, 111, 168, 0.14);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% 4% 2% 10%;
  border-radius: 40px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.78), rgba(255,255,255,0.18) 38%, rgba(255,255,255,0.02) 68%);
  filter: blur(24px);
  z-index: 0;
  pointer-events: none;
}

.device-stage {
  perspective: 1400px;
  transform-style: preserve-3d;
}

.main-window {
  position: relative;
  z-index: 2;
  transform: rotateY(-10deg) rotateX(5deg);
  transform-origin: center center;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.main-window::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.28), transparent 18%, transparent 70%, rgba(90,149,255,0.08));
  pointer-events: none;
}

.main-window::after {
  content: "";
  position: absolute;
  inset: auto 8% -24px 8%;
  height: 48px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(47, 96, 188, 0.26), rgba(47, 96, 188, 0));
  filter: blur(18px);
  z-index: -1;
}

.window-side {
  background: linear-gradient(180deg, rgba(104, 165, 255, 0.18), rgba(95, 124, 255, 0.06) 58%, rgba(255,255,255,0.62));
}

.side-chip {
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.side-chip:hover {
  transform: translateX(3px);
}

.message-card {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.65);
}

.message-card.accent {
  position: relative;
  overflow: hidden;
}

.message-card.accent::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.35) 22%, transparent 44%);
  transform: translateX(-130%);
  animation: cardSweep 5.2s ease-in-out infinite;
}

.floating-panel {
  border: 1px solid rgba(255,255,255,0.68);
  background: linear-gradient(180deg, rgba(255,255,255,0.86), rgba(255,255,255,0.74));
  backdrop-filter: blur(22px);
}

.reply-panel {
  right: -22px;
  top: 46px;
  z-index: 3;
  transform: rotate(3deg);
}

.shortcut-panel {
  left: 34px;
  bottom: -10px;
  z-index: 3;
  transform: rotate(-4deg);
}

.reply-item,
.shortcut-row {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.82);
}

.reply-item.active {
  background: linear-gradient(180deg, rgba(58, 123, 255, 0.18), rgba(128, 184, 255, 0.2));
}

.hero-meta span {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hero-meta span:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 12px 18px rgba(85, 114, 170, 0.12);
}

.nav-button,
.button.primary,
.button.secondary,
.feature-card,
.step-card,
.scene-card,
.stat-card,
.settings-shot-card,
.install-card-wide,
.faq-list details {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover,
.step-card:hover,
.scene-card:hover,
.stat-card:hover,
.settings-shot-card:hover,
.install-card-wide:hover,
.faq-list details:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(60, 91, 150, 0.14);
  border-color: rgba(78, 121, 214, 0.14);
}

@keyframes cardSweep {
  0%, 70%, 100% { transform: translateX(-130%); opacity: 0; }
  16% { opacity: 0.9; }
  34% { transform: translateX(130%); opacity: 0; }
}

@media (max-width: 1100px) {
  .main-window {
    transform: none;
  }

  .reply-panel,
  .shortcut-panel {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after,
  .hero-copy h1 span,
  .hero-desc,
  .hero-actions,
  .hero-meta,
  .main-window,
  .reply-panel,
  .shortcut-panel,
  .message-card.accent::after,
  .hero-cta::after {
    animation: none !important;
  }
}


.nav-links a {
  position: relative;
  font-weight: 600;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(58,123,255,0), rgba(58,123,255,0.9), rgba(58,123,255,0));
  transform: scaleX(0.35);
  opacity: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

.nav-button {
  min-width: 108px;
}

.hero-proof {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 18px;
  color: #5f7294;
  font-size: 14px;
  font-weight: 700;
}

.hero-proof span {
  position: relative;
  padding-left: 16px;
}

.hero-proof span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5f9dff, #78c2ff);
  box-shadow: 0 0 0 4px rgba(95,157,255,0.12);
}

.feature-card h3,
.scene-card h3,
.step-card h3,
.download-card h2 {
  letter-spacing: -0.02em;
}

.install-copy h2,
.section-heading h2 {
  text-wrap: balance;
}

.cta-download {
  padding-top: 20px;
  padding-bottom: 24px;
}

.download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 32px;
  border-radius: var(--card-radius-lg);
  background: linear-gradient(135deg, rgba(58,123,255,0.12), rgba(255,255,255,0.86) 40%, rgba(122,192,255,0.12));
  border: 1px solid rgba(78,121,214,0.12);
  box-shadow: var(--soft-shadow);
}

.download-copy {
  max-width: 620px;
}

.download-copy h2 {
  margin: 14px 0 12px;
  font-size: clamp(30px, 3.6vw, 48px);
}

.download-copy p,
.download-sub {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.download-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.download-points span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(78,121,214,0.1);
  color: #4f6591;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.download-actions {
  width: min(100%, 360px);
}

.download-main {
  width: 100%;
  min-height: 56px;
  font-size: 16px;
}

.download-sub {
  margin-top: 14px;
}

.faq-list summary {
  position: relative;
  padding-right: 28px;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #6b82ad;
  font-size: 20px;
  font-weight: 600;
}

.faq-list details[open] summary::after {
  content: "−";
}

@media (max-width: 1100px) {
  .download-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .download-actions {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .hero-proof {
    gap: 10px 16px;
    font-size: 13px;
  }

  .download-card {
    padding: 26px;
    border-radius: 24px;
  }

  .download-copy h2 {
    font-size: 32px;
  }
}


/* v2.3.0 site refresh */
.settings-gallery {
  position: relative;
  padding: 30px;
  border-radius: 36px;
  background:
    radial-gradient(circle at top right, rgba(58, 123, 255, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(246,250,255,0.84));
  border: 1px solid rgba(58, 123, 255, 0.12);
  box-shadow: 0 28px 90px rgba(54, 92, 170, 0.14);
}

.settings-carousel-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
}

.settings-carousel-viewport {
  overflow: hidden;
  border-radius: 30px;
  flex: 1;
}

.settings-carousel-track {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.settings-slide {
  min-width: 100%;
  opacity: 0.72;
  transform: scale(0.985);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.settings-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.carousel-arrow {
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  color: #355b9e;
  font-size: 32px;
  line-height: 1;
  box-shadow: 0 18px 34px rgba(53, 91, 158, 0.18);
  cursor: pointer;
}

.carousel-arrow:hover {
  transform: translateY(-1px) scale(1.02);
}

.settings-carousel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
}

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

.carousel-dots button {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 999px;
  background: rgba(53, 91, 158, 0.18);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.carousel-dots button.is-active {
  width: 34px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}

.carousel-caption {
  max-width: 620px;
  text-align: right;
}

.caption-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(58, 123, 255, 0.1);
  color: #355b9e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.carousel-caption p,
.toolbox-note p,
.faq-stage-copy p,
.faq-glow-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.settings-shell--app {
  min-height: 560px;
  background: #1d222d;
}

.settings-sidebar.dark {
  background: linear-gradient(180deg, #1b2639 0%, #152233 54%, #102331 100%);
  border-right-color: rgba(255,255,255,0.06);
}

.settings-sidebar.dark .settings-group-title { color: rgba(255,255,255,0.88); }
.settings-sidebar.dark .settings-group-title.muted { color: rgba(255,255,255,0.36); }
.settings-sidebar.dark .settings-item { color: rgba(255,255,255,0.88); }
.settings-sidebar.dark .settings-item:not(.active) { opacity: 0.78; }
.settings-sidebar.dark .settings-version { color: rgba(255,255,255,0.48); }

.dark-surface {
  background: linear-gradient(180deg, #22272f 0%, #1f242d 100%);
  color: rgba(255,255,255,0.92);
}

.settings-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.settings-topline h3 { color: #fff; }

.settings-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.82);
  font-size: 12px;
  font-weight: 800;
}

.settings-badge.hot {
  background: linear-gradient(135deg, rgba(58,123,255,0.22), rgba(108,168,255,0.28));
  color: #dce9ff;
}

.settings-lead {
  margin: 10px 0 20px;
  color: rgba(255,255,255,0.62);
  font-weight: 600;
}

.settings-form-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.form-row:last-of-type { border-bottom: none; }
.form-row span { color: rgba(255,255,255,0.55); font-weight: 700; }
.form-row b {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.92);
  font-size: 14px;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.form-actions button {
  min-height: 42px;
  padding: 0 18px;
  border: none;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.82);
  font-weight: 700;
}

.form-actions .primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
}

.toolbox-preview {
  display: grid;
  gap: 18px;
}

.toolbox-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
}

.toolbox-toolbar span { color: rgba(255,255,255,0.72); font-weight: 800; }

.tool-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  font-weight: 800;
}

.toolbox-panel {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 18px;
}

.toolbox-input,
.toolbox-qr {
  min-height: 250px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255,255,255,0.08);
}

.toolbox-input {
  position: relative;
}

.toolbox-input::before {
  content: '输入任意文本后生成二维码';
  position: absolute;
  left: 18px;
  top: 18px;
  color: rgba(255,255,255,0.34);
  font-weight: 700;
}

.toolbox-qr {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fake-qr {
  width: 164px;
  height: 164px;
  background:
    linear-gradient(90deg, #000 12%, transparent 12%, transparent 24%, #000 24%, #000 36%, transparent 36%, transparent 48%, #000 48%, #000 60%, transparent 60%),
    linear-gradient(#000 12%, transparent 12%, transparent 24%, #000 24%, #000 36%, transparent 36%, transparent 48%, #000 48%, #000 60%, transparent 60%),
    #fff;
  box-shadow: 0 18px 40px rgba(0,0,0,0.24);
  border-radius: 10px;
}

.toolbox-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.faq-section {
  padding-top: 56px;
}

.faq-stage {
  position: relative;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 28px;
  align-items: start;
  padding: 30px;
  border-radius: 36px;
  background:
    radial-gradient(circle at top left, rgba(108, 168, 255, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,0.88), rgba(244,248,255,0.82));
  border: 1px solid rgba(58, 123, 255, 0.12);
  box-shadow: var(--shadow);
}

.faq-glow-card {
  margin-top: 20px;
  padding: 18px 18px 16px;
  border-radius: 24px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(58, 123, 255, 0.1);
  box-shadow: 0 18px 40px rgba(58, 123, 255, 0.1);
}

.faq-panel {
  display: grid;
  gap: 14px;
}

.faq-item {
  border-radius: 24px;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(20, 33, 61, 0.08);
  box-shadow: 0 20px 40px rgba(53, 92, 168, 0.08);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 56px rgba(53, 92, 168, 0.12);
}

.faq-item.is-open {
  border-color: rgba(58, 123, 255, 0.18);
  box-shadow: 0 28px 60px rgba(58, 123, 255, 0.12);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 24px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 22px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #5270a8;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open .faq-icon::after { opacity: 0; transform: translate(-50%, -50%) rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 24px 24px;
}

.faq-answer-inner p { margin: 0; }

@media (max-width: 1100px) {
  .settings-carousel-footer,
  .toolbox-note,
  .faq-stage {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .faq-stage {
    display: grid;
  }

  .carousel-caption {
    text-align: left;
  }
}

@media (max-width: 760px) {
  .settings-gallery,
  .faq-stage {
    padding: 18px;
    border-radius: 28px;
  }

  .settings-carousel-shell {
    gap: 10px;
  }

  .carousel-arrow {
    width: 42px;
    height: 42px;
    font-size: 24px;
  }

  .settings-shell--app,
  .settings-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .toolbox-panel,
  .faq-stage {
    grid-template-columns: 1fr;
  }

  .faq-question {
    font-size: 18px;
    padding: 20px;
  }

  .faq-answer-inner {
    padding: 0 20px 20px;
  }
}


/* interface preview polish */
.settings-gallery {
  overflow: hidden;
}

.settings-gallery::before {
  content: '';
  position: absolute;
  inset: -120px auto auto -120px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 168, 255, 0.28), transparent 68%);
  pointer-events: none;
}

.settings-gallery::after {
  content: '';
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 208, 255, 0.18), transparent 70%);
  pointer-events: none;
}

.settings-carousel-shell {
  perspective: 1600px;
}

.settings-carousel-viewport {
  padding: 10px 0;
}

.settings-slide {
  padding: 6px;
  filter: saturate(0.9);
}

.settings-slide.is-active {
  filter: saturate(1);
}

.settings-slide .settings-shell--app {
  transform-origin: center center;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
  box-shadow: 0 28px 60px rgba(8, 14, 28, 0.22);
}

.settings-slide.is-active .settings-shell--app {
  transform: translateY(-2px) rotateX(0.6deg) scale(1.002);
  box-shadow: 0 36px 86px rgba(10, 18, 32, 0.28);
}

.carousel-arrow {
  backdrop-filter: blur(18px);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.carousel-arrow:hover {
  box-shadow: 0 24px 44px rgba(53, 91, 158, 0.24);
  background: rgba(255, 255, 255, 0.96);
}

.carousel-progress {
  position: relative;
  flex: 1;
  min-width: 180px;
  max-width: 320px;
  height: 4px;
  border-radius: 999px;
  background: rgba(53, 91, 158, 0.12);
  overflow: hidden;
}

.carousel-progress span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), #8bc1ff);
  box-shadow: 0 0 18px rgba(58, 123, 255, 0.36);
}

.settings-carousel-footer {
  align-items: center;
}

.carousel-dots {
  order: 2;
}

.carousel-caption {
  order: 3;
}

.carousel-progress {
  order: 1;
}

@media (max-width: 1100px) {
  .carousel-progress,
  .carousel-caption,
  .carousel-dots {
    order: initial;
  }

  .carousel-progress {
    width: 100%;
    max-width: none;
  }
}

.reply-role-board {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.reply-role-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}

.reply-role-row.active {
  background: rgba(31, 111, 255, 0.12);
  border-color: rgba(110, 172, 255, 0.24);
}

.reply-role-check {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: linear-gradient(180deg, #4a8bff, #2f6fff);
  box-shadow: inset 0 0 0 4px rgba(255,255,255,0.9);
}

.reply-role-check.muted {
  background: rgba(255,255,255,0.18);
  box-shadow: none;
}

.reply-role-copy strong {
  display: block;
  font-size: 18px;
  color: #f4f7ff;
}

.reply-role-copy p {
  margin: 6px 0 0;
  color: rgba(220, 228, 244, 0.78);
  line-height: 1.6;
}

.reply-role-actions {
  display: flex;
  gap: 10px;
}

.reply-role-actions button {
  min-width: 60px;
}


@media (max-width: 760px) {
  .role-row,
  .reply-role-row {
    grid-template-columns: 1fr;
  }

  .role-row span,
  .reply-role-actions {
    justify-self: start;
  }
}


@media (max-width: 1100px) {
  .install-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .install-panels {
    min-height: 0;
  }

  .install-panel {
    position: relative;
    grid-template-columns: 1fr;
    display: none;
  }

  .install-panel.is-active {
    display: grid;
  }
}

@media (max-width: 760px) {
  .install-card-wide {
    padding: 24px;
    border-radius: 28px;
  }

  .install-copy-wide h2 {
    margin-bottom: 16px;
  }

  .install-tabs {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .install-tab {
    min-height: 58px;
  }

  .install-panel-copy h3 {
    max-width: none;
    font-size: 30px;
  }

  .terminal-line {
    padding: 14px 15px;
  }

  .terminal-line code {
    font-size: 14px;
  }
}

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