:root {
  --background: #ffffff;
  --foreground: #0a0a0f;
  --muted: #71717a;
  --soft: #f4f4f5;
  --border: #e4e4e7;
  --card: rgba(255, 255, 255, 0.86);
  --brand: #f97316;
  --brand-dark: #ea580c;
  --amber: #fbbf24;
  --green: #22c55e;
  --blue: #2563eb;
  --shadow: 0 24px 80px rgba(24, 24, 27, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--foreground);
  background: var(--background);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

::selection {
  color: var(--brand);
  background: rgba(249, 115, 22, 0.2);
}

.app-shell {
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    #fff;
  background-size: 60px 60px;
}

.scroll-root {
  position: relative;
  z-index: 3;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.section {
  position: relative;
  min-height: 100vh;
  padding: 112px 24px 88px;
}

.navbar {
  position: fixed;
  top: 24px;
  left: 50%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  height: 64px;
  padding: 0 12px 0 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(228, 228, 231, 0.76);
  border-radius: 999px;
  box-shadow: 0 10px 40px rgba(24, 24, 27, 0.08);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.25s, background 0.25s, top 0.25s;
}

.navbar.is-scrolled {
  top: 12px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 36px rgba(24, 24, 27, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--foreground);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  position: relative;
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  background: linear-gradient(135deg, #f97316, #fbbf24);
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(249, 115, 22, 0.35);
  animation: logoPulse 3s ease-in-out infinite;
}

.brand-logo span {
  position: absolute;
  display: block;
  background: #fff;
  border-radius: 99px;
}

.brand-logo span:nth-child(1) {
  width: 17px;
  height: 4px;
  transform: rotate(45deg);
}

.brand-logo span:nth-child(2) {
  width: 17px;
  height: 4px;
  transform: rotate(-45deg);
}

.brand-logo span:nth-child(3) {
  width: 6px;
  height: 6px;
  right: 7px;
  bottom: 7px;
}

.brand-logo.tiny {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(249, 115, 22, 0)); }
  50% { filter: drop-shadow(0 0 10px rgba(249, 115, 22, 0.48)); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 9px 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--foreground);
  background: var(--soft);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ghost-btn,
.primary-btn,
.secondary-btn,
.icon-btn,
.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}

.ghost-btn {
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  background: var(--foreground);
}

.ghost-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(24, 24, 27, 0.18);
}

.github-mark,
.icon-dots {
  position: relative;
  width: 16px;
  height: 16px;
}

.github-mark::before {
  position: absolute;
  inset: 2px;
  content: "";
  border: 2px solid currentColor;
  border-radius: 50%;
}

.github-mark::after {
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 5px;
  height: 5px;
  content: "";
  background: currentColor;
  border-radius: 2px;
}

.icon-btn,
.menu-btn {
  width: 42px;
  height: 42px;
  color: var(--foreground);
  background: rgba(244, 244, 245, 0.85);
}

.icon-dots::before,
.icon-dots::after,
.icon-dots {
  background-image: radial-gradient(circle, currentColor 2px, transparent 2.5px);
  background-size: 8px 8px;
}

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
}

.menu-btn span {
  width: 18px;
  height: 2px;
  background: currentColor;
}

.social-rail {
  position: fixed;
  top: 50%;
  left: 24px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateY(-50%);
}

.rail-link {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border);
  border-radius: 50%;
  backdrop-filter: blur(12px);
  transition: color 0.2s, transform 0.2s, border-color 0.2s, background 0.2s;
}

.rail-link:hover {
  color: var(--brand);
  background: #fff;
  border-color: rgba(249, 115, 22, 0.45);
  transform: translateY(-2px);
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 136px;
  overflow: hidden;
}

.code-bg,
.grid-bg,
.hero-glow {
  position: absolute;
  pointer-events: none;
}

.code-bg,
.grid-bg {
  inset: 0;
}

.code-bg {
  z-index: 0;
  opacity: 0.08;
  mask-image: radial-gradient(ellipse 82% 62% at 50% 42%, black 24%, transparent 70%);
}

.grid-bg {
  z-index: 1;
  background:
    linear-gradient(rgba(24, 24, 27, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 24, 27, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
}

.floating-words {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.floating-words.global-floating {
  position: fixed;
  z-index: 1;
}

.float-word {
  position: absolute;
  top: 0;
  color: rgba(113, 113, 122, 0.38);
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  filter: blur(0.05px);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
  transform: translate3d(-50%, var(--start), 0);
  animation: floatingWord var(--dur) linear var(--delay) infinite;
}

.float-word.depth-1 {
  color: rgba(249, 115, 22, 0.34);
  font-size: 15px;
}

.float-word.depth-2 {
  color: rgba(113, 113, 122, 0.3);
  font-size: 17px;
}

@keyframes floatingWord {
  0% {
    opacity: 0;
    transform: translate3d(-50%, var(--start), 0);
  }
  12% {
    opacity: 0.72;
  }
  48% {
    opacity: 0.88;
    transform: translate3d(calc(-50% + var(--sway)), 42vh, 0);
  }
  88% {
    opacity: 0.62;
  }
  100% {
    opacity: 0;
    transform: translate3d(calc(-50% - var(--sway)), var(--end), 0);
  }
}

.hero-glow {
  z-index: 0;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.36;
}

.hero-glow-left {
  top: -120px;
  left: 10%;
  background: var(--brand);
}

.hero-glow-right {
  right: 8%;
  bottom: 18%;
  background: var(--amber);
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: min(960px, 100%);
  margin: 0 auto;
  text-align: center;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 14px;
  color: #3f3f46;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(228, 228, 231, 0.8);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(24, 24, 27, 0.06);
  backdrop-filter: blur(16px);
}

.badge-star {
  color: var(--brand);
  border-color: rgba(249, 115, 22, 0.32);
}

.star {
  animation: twinkle 1.6s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.18); opacity: 1; }
}

.hero h1 {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 720px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.primary-btn,
.secondary-btn {
  min-height: 50px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 700;
}

.primary-btn {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--amber));
  box-shadow: 0 8px 30px rgba(249, 115, 22, 0.42);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 34px rgba(249, 115, 22, 0.52);
}

.secondary-btn {
  color: var(--foreground);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
}

.secondary-btn:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 12px 26px rgba(24, 24, 27, 0.1);
}

.hero-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 42px;
  color: #71717a;
  font-size: 13px;
  font-weight: 500;
}

.note-line {
  width: min(160px, 18vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.5), transparent);
}

.hero-console {
  position: relative;
  z-index: 3;
  width: min(900px, calc(100% - 24px));
  margin-top: 58px;
}

.console-window,
.showcase-board,
.change-panel,
.download-card,
.faq-item,
.feature-card,
.step {
  background: var(--card);
  border: 1px solid rgba(228, 228, 231, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.console-window {
  overflow: hidden;
  border-radius: 24px;
}

.window-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 18px;
  background: rgba(244, 244, 245, 0.8);
  border-bottom: 1px solid var(--border);
}

.window-toolbar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.window-toolbar span:nth-child(1) { background: #ef4444; }
.window-toolbar span:nth-child(2) { background: #f59e0b; }
.window-toolbar span:nth-child(3) { background: #22c55e; }

.window-toolbar strong {
  margin-left: 8px;
  color: #52525b;
  font-size: 12px;
}

.console-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 20px;
}

.agent-card,
.terminal-card {
  min-height: 128px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
}

.agent-card {
  position: relative;
}

.agent-card h3,
.download-card h3,
.feature-card h3,
.step h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.agent-card p,
.download-card p,
.download-card small,
.feature-card p,
.step p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.agent-state {
  display: block;
  width: 12px;
  height: 12px;
  margin-bottom: 20px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.12);
}

.agent-card:not(.active) .agent-state {
  background: #d4d4d8;
  box-shadow: 0 0 0 8px rgba(212, 212, 216, 0.22);
}

.terminal-card {
  grid-column: 1 / -1;
  color: #e4e4e7;
  font-family: Menlo, Monaco, Consolas, monospace;
  background: #18181b;
}

.terminal-card p {
  margin: 0 0 8px;
}

.terminal-card span {
  color: var(--brand);
}

.section-head {
  width: min(900px, 100%);
  margin: 0 auto 54px;
  text-align: center;
}

.section-head p {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
}

.showcase-board {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  width: min(1100px, 100%);
  min-height: 560px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 24px;
}

.sidebar-pane {
  padding: 24px;
  background: rgba(244, 244, 245, 0.72);
  border-right: 1px solid var(--border);
}

.mini-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-weight: 800;
}

.side-item {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 13px 14px;
  color: var(--muted);
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 12px;
}

.side-item.active,
.side-item:hover {
  color: var(--foreground);
  background: #fff;
}

.dashboard-pane {
  padding: 34px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.metric-row div {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
}

.metric-row span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.metric-row strong {
  display: block;
  margin-top: 8px;
  font-size: 34px;
  line-height: 1;
}

.flow-map {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 160px;
  margin-top: 26px;
  background: radial-gradient(circle at center, rgba(249, 115, 22, 0.14), transparent 58%);
  border: 1px dashed rgba(249, 115, 22, 0.35);
  border-radius: 20px;
}

.flow-map span {
  display: grid;
  min-width: 110px;
  height: 50px;
  place-items: center;
  font-weight: 800;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
}

.flow-map i {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  animation: flow 1.6s linear infinite;
}

@keyframes flow {
  0% { opacity: 0.25; transform: scaleX(0.7); }
  50% { opacity: 1; transform: scaleX(1); }
  100% { opacity: 0.25; transform: scaleX(0.7); }
}

.message-preview {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.message-preview p {
  max-width: 72%;
  margin: 0;
  padding: 14px 16px;
  background: var(--soft);
  border-radius: 16px;
}

.message-preview p:nth-child(2) {
  justify-self: end;
  color: #fff;
  background: var(--brand);
}

.feature-grid,
.download-grid,
.steps {
  display: grid;
  width: min(1120px, 100%);
  margin: 0 auto;
  gap: 20px;
}

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

.feature-card,
.step,
.download-card {
  position: relative;
  padding: 28px;
  border-radius: 18px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.feature-card:hover,
.step:hover,
.download-card:hover {
  border-color: rgba(249, 115, 22, 0.5);
  transform: translateY(-6px);
  box-shadow: 0 28px 80px rgba(249, 115, 22, 0.15);
}

.feature-icon,
.step span,
.os-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 22px;
  place-items: center;
  color: var(--brand);
  font-size: 22px;
  font-weight: 900;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.18);
  border-radius: 14px;
}

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

.step span {
  font-size: 14px;
}

.change-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: min(920px, 100%);
  margin: 0 auto 22px;
}

.tab {
  min-height: 42px;
  padding: 0 16px;
  color: var(--muted);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.tab.active,
.tab:hover {
  color: #fff;
  background: var(--foreground);
}

.change-panel {
  width: min(820px, 100%);
  margin: 0 auto;
  padding: 30px;
  border-radius: 20px;
}

.change-panel h3 {
  margin: 0 0 16px;
  font-size: 26px;
}

.change-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.change-panel li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
}

.change-panel li::before {
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--brand);
  border-radius: 50%;
}

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

.download-card {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.download-card .primary-btn {
  width: 100%;
  margin: 26px 0 14px;
}

.download-card small {
  margin-top: auto;
}

.faq {
  min-height: auto;
}

.faq-list {
  display: grid;
  width: min(760px, 100%);
  margin: 0 auto;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
  border-radius: 16px;
}

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  color: var(--foreground);
  text-align: left;
  background: transparent;
  border: 0;
}

.faq-question span:first-child {
  padding-right: 22px;
  font-size: 18px;
  font-weight: 700;
}

.faq-mark {
  color: var(--brand);
  font-size: 24px;
  line-height: 1;
  transition: transform 0.25s;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  color: var(--muted);
  line-height: 1.8;
  border-top: 1px solid transparent;
  transition: max-height 0.3s ease, border-color 0.3s ease;
}

.faq-answer p {
  margin: 0;
  padding: 18px 24px 24px;
}

.faq-item.open .faq-answer {
  max-height: 260px;
  border-color: var(--border);
}

.faq-item.open .faq-mark {
  transform: rotate(45deg);
}

.footer {
  padding: 48px 24px 36px;
  background: rgba(244, 244, 245, 0.8);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer p {
  width: min(1120px, 100%);
  margin: 28px auto 0;
  color: rgba(113, 113, 122, 0.72);
  text-align: center;
  font-size: 14px;
}

.mobile-drawer,
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}

.mobile-drawer.open,
.modal.open {
  display: block;
}

.mobile-drawer::before,
.modal-backdrop {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(24, 24, 27, 0.34);
  backdrop-filter: blur(6px);
}

.drawer-panel {
  position: absolute;
  top: 16px;
  right: 16px;
  left: 16px;
  display: grid;
  gap: 10px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 800;
}

.drawer-panel a {
  padding: 14px 12px;
  color: var(--muted);
  border-radius: 12px;
}

.drawer-panel a:hover {
  color: var(--foreground);
  background: var(--soft);
}

.drawer-download {
  margin-top: 8px;
}

.social-popover {
  position: fixed;
  top: 84px;
  right: max(24px, calc((100vw - 1120px) / 2));
  z-index: 160;
  display: none;
  width: 210px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.social-popover.open {
  display: grid;
  gap: 4px;
  animation: pop 0.18s ease-out;
}

.social-popover button {
  padding: 12px 14px;
  color: var(--muted);
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 10px;
}

.social-popover button:hover {
  color: var(--foreground);
  background: var(--soft);
}

.modal-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(520px, calc(100% - 32px));
  max-height: calc(100vh - 64px);
  overflow: auto;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  transform: translate(-50%, -50%);
  animation: pop 0.2s ease-out;
}

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

.modal-close {
  position: sticky;
  top: 0;
  float: right;
  width: 36px;
  height: 36px;
  color: var(--muted);
  background: var(--soft);
  border: 0;
  border-radius: 50%;
}

.modal-card h3 {
  margin: 0 0 12px;
  font-size: 26px;
}

.modal-card p {
  color: var(--muted);
  line-height: 1.8;
}

.qr-box {
  display: grid;
  width: 168px;
  height: 168px;
  margin: 22px auto 8px;
  padding: 12px;
  place-items: center;
  background:
    linear-gradient(90deg, #111 12px, transparent 12px) 0 0 / 32px 32px,
    linear-gradient(#111 12px, transparent 12px) 0 0 / 32px 32px,
    #fff;
  border: 10px solid #fff;
  box-shadow: 0 0 0 1px var(--border), 0 12px 30px rgba(24, 24, 27, 0.12);
}

.qr-box span {
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  color: #fff;
  font-weight: 900;
  background: var(--brand);
  border-radius: 18px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: 300;
  display: none;
  padding: 12px 18px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  background: var(--foreground);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(24, 24, 27, 0.2);
  transform: translateX(-50%);
}

.toast.show {
  display: block;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.22s;
}

@media (max-width: 980px) {
  .social-rail,
  .nav-links,
  .social-trigger,
  .ghost-btn:not(.account-btn) {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .navbar {
    height: 58px;
  }

  .feature-grid,
  .steps,
  .download-grid,
  .metric-row {
    grid-template-columns: 1fr;
  }

  .showcase-board {
    grid-template-columns: 1fr;
  }

  .sidebar-pane {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .flow-map {
    flex-direction: column;
  }

  .flow-map i {
    width: 2px;
    height: 42px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 96px 16px 70px;
  }

  .hero {
    padding-top: 110px;
  }

  .hero-badges {
    gap: 8px;
  }

  .badge {
    min-height: 30px;
    padding: 6px 10px;
    font-size: 12px;
  }

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

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

  .hero-note {
    align-items: stretch;
    flex-direction: column;
  }

  .note-line {
    width: 100%;
  }

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

  .terminal-card {
    grid-column: auto;
  }

  .dashboard-pane,
  .change-panel,
  .feature-card,
  .step,
  .download-card {
    padding: 22px;
  }

  .message-preview p {
    max-width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    gap: 20px;
  }
}

.account-btn {
  min-width: auto;
  gap: 0;
  padding: 12px 20px;
}

.primary-btn.is-loading,
.primary-btn.is-disabled {
  pointer-events: auto;
  opacity: 0.58;
  box-shadow: none;
}

.primary-btn.is-disabled {
  cursor: not-allowed;
}
