:root {
  --bg: #060b14;
  --bg-soft: #0a1220;
  --bg-elevated: #0e1829;
  --panel: rgba(15, 26, 44, 0.72);
  --panel-solid: #0d1727;
  --line: rgba(145, 178, 235, 0.14);
  --line-strong: rgba(145, 178, 235, 0.26);
  --text: #f3f7ff;
  --muted: #9aabc5;
  --muted-strong: #c0cee2;
  --brand: #4f8cff;
  --brand-deep: #2f6df0;
  --teal: #38e0c4;
  --violet: #8b5cf6;
  --success: #42d392;
  --danger: #ff7a90;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --container: 1120px;
  --header-height: 76px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 18% -8%, rgba(79, 140, 255, 0.2), transparent 34rem),
    radial-gradient(circle at 88% 8%, rgba(56, 224, 196, 0.1), transparent 26rem),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(145, 178, 235, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(145, 178, 235, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  color: #8ab6ff;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
}

::selection {
  background: rgba(79, 140, 255, 0.35);
  color: #fff;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(6, 11, 20, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  opacity: 0.55;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  color: var(--text);
}

.brand:hover {
  color: var(--text);
}

.brand img {
  filter: drop-shadow(0 6px 18px rgba(45, 212, 191, 0.28));
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.brand-copy strong {
  font-size: 18px;
  letter-spacing: 0.08em;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.nav a {
  position: relative;
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 500;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav a:hover {
  color: var(--text);
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm {
  min-height: 38px;
  padding-inline: 15px;
  font-size: 13px;
}

.btn-lg {
  min-height: 52px;
  padding-inline: 26px;
  border-radius: 14px;
  font-size: 15px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  box-shadow: 0 14px 34px rgba(47, 109, 240, 0.32);
}

.btn-primary:hover {
  color: #fff;
  box-shadow: 0 18px 44px rgba(47, 109, 240, 0.42);
}

.btn-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: rgba(145, 178, 235, 0.42);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.btn-ghost {
  border-color: transparent;
  background: transparent;
  color: var(--muted-strong);
}

.btn-ghost:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.btn-block {
  width: 100%;
}

.btn.is-disabled,
.btn[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.5;
  box-shadow: none;
  transform: none;
}

.btn-primary.is-disabled,
.btn-primary[aria-disabled="true"] {
  border-color: rgba(145, 178, 235, 0.2);
  background: linear-gradient(135deg, rgba(47, 109, 240, 0.28), rgba(79, 140, 255, 0.16));
  color: #91a7c5;
  opacity: 1;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  position: relative;
  padding: 74px 0 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 52px;
  min-height: 600px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  animation: rise 0.7s ease both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.pulse-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(56, 224, 196, 0.1);
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(56, 224, 196, 0.45);
  border-radius: 50%;
  animation: pulse 2.2s ease-out infinite;
}

.hero h1 {
  max-width: 720px;
  margin: 20px 0 22px;
  font-size: clamp(46px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.06;
}

.gradient-text {
  background: linear-gradient(100deg, #8ab6ff 0%, #5eead4 54%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.release-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 13px;
}

.release-meta strong {
  color: var(--muted-strong);
  font-weight: 600;
}

.meta-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(154, 171, 197, 0.5);
}

.micro {
  margin: 14px 0 0;
  color: #7788a2;
  font-size: 12px;
}

.micro a {
  color: #9db9e8;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
  animation: rise 0.8s 0.08s ease both;
}

.hero-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 35%, rgba(79, 140, 255, 0.34), transparent 55%),
    radial-gradient(circle at 65% 70%, rgba(56, 224, 196, 0.18), transparent 52%);
  filter: blur(18px);
  opacity: 0.9;
}

.phone {
  position: relative;
  z-index: 2;
  width: 292px;
  height: 590px;
  padding: 10px;
  border: 1px solid rgba(178, 205, 255, 0.32);
  border-radius: 46px;
  background: linear-gradient(150deg, #273750, #0b1422 42%, #1b2940);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: rotate(2.2deg);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-visual:hover .phone {
  transform: rotate(0deg) translateY(-6px);
}

.phone-notch {
  position: absolute;
  top: 17px;
  left: 50%;
  z-index: 3;
  width: 92px;
  height: 23px;
  border-radius: 999px;
  background: #02060c;
  transform: translateX(-50%);
}

.phone-screen {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 37px;
  background:
    radial-gradient(circle at 80% 0%, rgba(79, 140, 255, 0.16), transparent 45%),
    #080f1b;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 44px 16px 14px;
  border-bottom: 1px solid rgba(145, 178, 235, 0.1);
  background: rgba(13, 24, 40, 0.72);
}

.chat-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: #fff;
  overflow: hidden;
}

.chat-avatar img {
  display: block;
  width: 88%;
  height: auto;
}

.chat-title {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.chat-title strong {
  font-size: 13px;
}

.chat-title span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--teal);
  font-size: 10px;
}

.chat-title i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

.chat-more {
  margin-left: auto;
  color: var(--muted);
  font-size: 18px;
  letter-spacing: 2px;
}

.chat-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 18px 13px;
}

.bubble {
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 11.5px;
  line-height: 1.55;
}

.bubble-in {
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  background: #142238;
  color: #d7e4f7;
}

.bubble-out {
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  background: linear-gradient(135deg, #2f6df0, #4f8cff);
  color: #fff;
}

.typing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: 46px;
  padding: 10px 12px;
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  background: #142238;
}

.typing span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #7d90ad;
  animation: typing 1.2s infinite ease-in-out;
}

.typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.typing span:nth-child(3) {
  animation-delay: 0.3s;
}

.chat-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 10px 12px;
  padding: 9px 10px 9px 14px;
  border: 1px solid rgba(145, 178, 235, 0.13);
  border-radius: 14px;
  background: #0d1727;
  color: #637692;
  font-size: 11px;
}

.chat-input b {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid rgba(178, 205, 255, 0.16);
  border-radius: 13px;
  background: rgba(13, 23, 39, 0.82);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  color: var(--muted-strong);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.float-card-one {
  top: 98px;
  right: 0;
  animation: float 5s ease-in-out infinite;
}

.float-card-two {
  bottom: 94px;
  left: 0;
  animation: float 5s 1s ease-in-out infinite;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(66, 211, 146, 0.12);
}

.file-chip {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: linear-gradient(135deg, #ff7a90, #c2415c);
  color: #fff;
  font-size: 8px;
  font-weight: 800;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding: 21px 0 24px;
  border-top: 1px solid var(--line);
  color: #8293ad;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.trust-strip span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--teal));
}

.section {
  padding: 100px 0;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

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

.section-head h2 {
  margin: 14px 0 12px;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

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

.feature-card {
  position: relative;
  padding: 26px 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17, 30, 50, 0.8), rgba(10, 18, 32, 0.65));
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 182, 255, 0.36), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(21, 37, 62, 0.9), rgba(10, 18, 32, 0.72));
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border: 1px solid rgba(79, 140, 255, 0.25);
  border-radius: 13px;
  background: rgba(79, 140, 255, 0.1);
  color: #8ab6ff;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.download-section {
  position: relative;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 88% 22%, rgba(79, 140, 255, 0.14), transparent 28rem),
    radial-gradient(circle at 10% 80%, rgba(56, 224, 196, 0.08), transparent 24rem),
    rgba(9, 17, 30, 0.55);
}

.download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: center;
  gap: 70px;
}

.download-copy h2 {
  margin: 16px 0 18px;
  font-size: clamp(34px, 4.5vw, 50px);
  font-weight: 780;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.download-copy > p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.check-list {
  display: grid;
  gap: 11px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted-strong);
  font-size: 14px;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 17px;
  height: 17px;
  border: 1px solid rgba(56, 224, 196, 0.35);
  border-radius: 50%;
  background: rgba(56, 224, 196, 0.1);
}

.check-list li::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 5px;
  width: 7px;
  height: 4px;
  border-bottom: 1.5px solid var(--teal);
  border-left: 1.5px solid var(--teal);
  transform: rotate(-45deg);
}

.download-help {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
  color: #7788a2;
  font-size: 13px;
}

.download-help a {
  color: #9db9e8;
}

.download-card {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(145, 178, 235, 0.22);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(18, 32, 54, 0.92), rgba(9, 17, 30, 0.94));
  box-shadow: var(--shadow);
}

.download-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.35), transparent 35%, transparent 65%, rgba(56, 224, 196, 0.25));
  opacity: 0.55;
}

.platform-tabs {
  display: flex;
  gap: 4px;
  margin: -6px 0 20px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(4, 11, 22, 0.45);
}

.platform-tab {
  flex: 1 1 0;
  padding: 8px 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.platform-tab:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.platform-tab.is-active {
  background: linear-gradient(135deg, rgba(47, 109, 240, 0.92), rgba(56, 224, 196, 0.24));
  color: #fff;
  box-shadow: 0 4px 14px rgba(47, 109, 240, 0.25);
}

.platform-tab:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.platform-tab[hidden] {
  display: none;
}

.download-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.download-card-head h3 {
  margin: 0;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.download-card-head p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.badge {
  margin-left: auto;
  padding: 5px 9px;
  border: 1px solid rgba(56, 224, 196, 0.24);
  border-radius: 999px;
  background: rgba(56, 224, 196, 0.08);
  color: var(--teal);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.badge.is-ready {
  border-color: rgba(66, 211, 146, 0.3);
  background: rgba(66, 211, 146, 0.1);
  color: var(--success);
}

.release-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
}

.release-list div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.release-list div:nth-child(odd) {
  padding-right: 16px;
}

.release-list div:nth-child(even) {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.release-list dt {
  color: #7788a2;
  font-size: 11px;
}

.release-list dd {
  margin: 3px 0 0;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 600;
}

.release-notes {
  display: grid;
  gap: 7px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.release-notes li {
  position: relative;
  padding-left: 16px;
  color: var(--muted);
  font-size: 12px;
}

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

.download-card .btn-block {
  margin-top: 22px;
}

.sha-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  margin-top: 15px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.18);
}

.sha-row span {
  color: #7788a2;
  font-size: 10px;
  font-weight: 700;
}

.sha-row code {
  color: #8fa3c0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  white-space: normal;
}

.copy-btn {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
  font-size: 10px;
  cursor: pointer;
}

.copy-btn:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.download-note {
  margin: 12px 0 0;
  color: #7788a2;
  font-size: 11px;
  line-height: 1.6;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  position: relative;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 22, 38, 0.58);
}

.step-num {
  display: inline-block;
  margin-bottom: 22px;
  background: linear-gradient(135deg, #8ab6ff, #5eead4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.steps h3 {
  margin: 0 0 7px;
  font-size: 17px;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 70px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(12, 22, 38, 0.55);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.faq-list details[open] {
  border-color: var(--line-strong);
  background: rgba(15, 27, 46, 0.72);
}

.faq-list summary {
  position: relative;
  padding: 17px 48px 17px 19px;
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 18px;
  color: var(--muted);
  font-size: 20px;
  font-weight: 300;
  transform: translateY(-50%);
  transition: transform 0.2s ease, color 0.2s ease;
}

.faq-list details[open] summary::after {
  color: var(--teal);
  transform: translateY(-50%) rotate(45deg);
}

.faq-list p {
  margin: 0;
  padding: 0 48px 18px 19px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.faq-list p a {
  color: #9db9e8;
}

.cta-band {
  padding: 0 0 100px;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 38px 42px;
  border: 1px solid rgba(145, 178, 235, 0.2);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 82% 20%, rgba(79, 140, 255, 0.2), transparent 22rem),
    linear-gradient(135deg, rgba(19, 34, 58, 0.92), rgba(9, 17, 30, 0.9));
  box-shadow: var(--shadow);
}

.cta-inner h2 {
  margin: 0 0 6px;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.cta-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 0 0 auto;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(5, 10, 18, 0.7);
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 92px;
  color: #6f819c;
  font-size: 12px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-strong);
  font-weight: 700;
}

.footer-inner p {
  margin: 0 auto 0 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
}

.footer-legal a {
  color: #8293ad;
}

.footer-legal a:hover {
  color: var(--text);
}

.footer-sep {
  color: #3d4c63;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: #8293ad;
}

.footer-links a:hover {
  color: var(--text);
}

/* Legal pages */
.legal-page {
  background:
    radial-gradient(circle at 15% 0%, rgba(79, 140, 255, 0.14), transparent 30rem),
    var(--bg);
}

.legal-home {
  margin-left: auto;
}

.copy-buffer {
  position: fixed;
  top: 0;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.legal-main {
  padding: 64px 0 100px;
}

.legal-wrap {
  max-width: 860px;
}

.legal-head {
  margin-bottom: 26px;
}

.legal-head h1 {
  margin: 14px 0 8px;
  font-size: clamp(34px, 5vw, 50px);
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.legal-updated {
  margin: 0;
  color: #7788a2;
  font-size: 12px;
}

.legal-card {
  padding: 34px 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 22, 38, 0.6);
}

.legal-card h2 {
  margin: 30px 0 10px;
  color: var(--text);
  font-size: 18px;
  letter-spacing: -0.015em;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.legal-card ul {
  padding-left: 20px;
}

.legal-card a {
  color: #9db9e8;
}

.legal-back {
  margin-top: 24px;
}

/* 404 */
.error-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.error-page {
  display: grid;
  flex: 1;
  place-items: center;
  min-height: 0;
  padding: 40px 20px;
  text-align: center;
}

.error-card {
  max-width: 560px;
  padding: 48px 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(12, 22, 38, 0.7);
  box-shadow: var(--shadow);
}

.error-code {
  background: linear-gradient(135deg, #8ab6ff, #5eead4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 82px;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
}

.error-card h1 {
  margin: 12px 0 10px;
  font-size: 28px;
}

.error-card p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
}

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

@keyframes pulse {
  0% {
    opacity: 0.7;
    transform: scale(0.7);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}

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

@keyframes typing {
  0%,
  60%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
    gap: 28px;
  }

  .phone {
    width: 266px;
    height: 538px;
  }

  .float-card-one {
    right: -8px;
  }

  .float-card-two {
    left: -8px;
  }

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

  .download-grid {
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 42px;
  }

  .faq-grid {
    gap: 42px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 68px;
  }

  .nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    background: rgba(8, 15, 27, 0.98);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 12px 13px;
    border-radius: 9px;
  }

  .nav a:hover {
    background: rgba(255, 255, 255, 0.05);
  }

  .nav a::after {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    min-height: 0;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero h1 {
    font-size: clamp(42px, 10vw, 64px);
  }

  .hero-visual {
    min-height: 520px;
  }

  .trust-strip {
    justify-content: flex-start;
    gap: 24px;
  }

  .download-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .download-card {
    max-width: 520px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-head.align-left {
    margin-bottom: 0;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 30px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand-copy small {
    display: none;
  }

  .header-actions .btn-ghost {
    display: none;
  }

  .hero {
    padding-top: 42px;
  }

  .hero h1 {
    margin-top: 16px;
    font-size: clamp(38px, 12vw, 52px);
  }

  .lead {
    font-size: 15px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .release-meta {
    gap: 9px;
    font-size: 12px;
  }

  .meta-sep {
    display: none;
  }

  .hero-visual {
    min-height: 480px;
  }

  .phone {
    width: 244px;
    height: 494px;
  }

  .float-card {
    font-size: 10px;
  }

  .float-card-one {
    top: 72px;
  }

  .float-card-two {
    bottom: 68px;
  }

  .section {
    padding: 72px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }

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

  .download-card {
    padding: 22px;
  }

  .release-list {
    grid-template-columns: 1fr;
  }

  .release-list div:nth-child(odd),
  .release-list div:nth-child(even) {
    padding: 13px 0;
    border-left: 0;
  }

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

  .cta-band {
    padding-bottom: 72px;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .btn {
    flex: 1 1 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 24px 0;
  }

  .footer-inner p {
    margin: 0;
  }

  .footer-legal {
    gap: 6px;
  }

  .footer-sep {
    display: none;
  }

  .legal-main {
    padding: 42px 0 72px;
  }

  .legal-card {
    padding: 24px 20px;
  }

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

  .error-code {
    font-size: 68px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- Motion & interaction upgrade ---------- */

html {
  scrollbar-color: rgba(79, 140, 255, 0.45) transparent;
  scrollbar-width: thin;
}

body {
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(79, 140, 255, 0.6), rgba(56, 224, 196, 0.45));
}

h1,
h2 {
  text-wrap: balance;
}

.btn {
  touch-action: manipulation;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--teal), var(--violet));
  box-shadow: 0 0 18px rgba(79, 140, 255, 0.55);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

.hero {
  --mx: 68%;
  --my: 30%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(79, 140, 255, 0.13), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.hero:hover::after {
  opacity: 1;
}

.hero-grid,
.trust-strip {
  position: relative;
  z-index: 1;
}

.hero h1 {
  text-wrap: balance;
}

.gradient-text {
  background-size: 220% auto;
  animation: gradientShift 7s ease-in-out infinite;
}

.btn-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -75%;
  width: 45%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.36), transparent);
  transform: skewX(-18deg);
  transition: left 0.65s ease;
}

.btn-primary:hover::after,
.btn-primary:focus-visible::after {
  left: 125%;
}

.btn-primary.is-disabled::after,
.btn-primary[aria-disabled="true"]::after {
  display: none;
}

.badge {
  position: relative;
  overflow: hidden;
}

.badge::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -130%;
  width: 70%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: skewX(-20deg);
  animation: shimmer 3.8s ease-in-out infinite;
}

.hero-orbit {
  position: absolute;
  z-index: 1;
  border: 1px dashed rgba(139, 182, 255, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orbit-one {
  width: 420px;
  height: 420px;
  animation: orbitSpin 34s linear infinite;
}

.hero-orbit-two {
  width: 530px;
  height: 530px;
  border-color: rgba(56, 224, 196, 0.1);
  animation: orbitSpin 52s linear infinite reverse;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 16px rgba(56, 224, 196, 0.8);
  opacity: 0.6;
  animation: particleFloat 6s ease-in-out infinite;
}

.particle-one {
  top: 18%;
  left: 12%;
}

.particle-two {
  top: 24%;
  right: 8%;
  width: 4px;
  height: 4px;
  background: var(--brand);
  box-shadow: 0 0 16px rgba(79, 140, 255, 0.8);
  animation-delay: 1.4s;
}

.particle-three {
  bottom: 24%;
  left: 7%;
  width: 3px;
  height: 3px;
  background: var(--violet);
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.85);
  animation-delay: 2.6s;
}

.particle-four {
  right: 14%;
  bottom: 16%;
  width: 4px;
  height: 4px;
  animation-delay: 0.8s;
}

.phone {
  translate: 0 0;
  animation: phoneFloat 7s ease-in-out infinite;
}

.bubble {
  animation: bubbleIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.bubble:nth-child(1) {
  animation-delay: 0.45s;
}

.bubble:nth-child(2) {
  animation-delay: 0.75s;
}

.bubble:nth-child(3) {
  animation-delay: 1.05s;
}

.typing {
  animation: bubbleIn 0.6s 1.3s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.download-card::before {
  background-size: 220% 220%;
  animation: gradientShift 9s ease infinite;
}

.reveal-pending {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

.reveal-pending.is-visible {
  opacity: 1;
  transform: none;
}

.feature-grid .feature-card.reveal-pending:nth-child(2) {
  transition-delay: 0.07s;
}

.feature-grid .feature-card.reveal-pending:nth-child(3) {
  transition-delay: 0.14s;
}

.feature-grid .feature-card.reveal-pending:nth-child(4) {
  transition-delay: 0.21s;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(240px circle at var(--spot-x, 50%) var(--spot-y, 0%), rgba(79, 140, 255, 0.16), transparent 68%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.feature-card:hover::after,
.feature-card:focus-within::after {
  opacity: 1;
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

.steps {
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 48px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79, 140, 255, 0.3), rgba(56, 224, 196, 0.25), transparent);
  pointer-events: none;
}

.mobile-dock {
  display: none;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes phoneFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -12px;
  }
}

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

@keyframes orbitSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes particleFloat {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  50% {
    opacity: 0.9;
    transform: translateY(-16px);
  }
}

@keyframes shimmer {
  0%,
  55% {
    left: -130%;
  }
  85%,
  100% {
    left: 150%;
  }
}

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

@media (max-width: 860px) {
  .nav.is-open {
    animation: menuIn 0.24s ease both;
  }

  .home-page {
    padding-bottom: calc(86px + env(safe-area-inset-bottom));
  }

  .mobile-dock {
    position: fixed;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 12px;
    z-index: 70;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 10px 10px 16px;
    border: 1px solid rgba(145, 178, 235, 0.24);
    border-radius: 16px;
    background: rgba(8, 15, 27, 0.9);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .mobile-dock.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .mobile-dock-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    line-height: 1.25;
  }

  .mobile-dock-info strong {
    overflow: hidden;
    color: var(--text);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-dock-info span {
    margin-top: 2px;
    color: var(--muted);
    font-size: 10px;
  }

  .mobile-dock .btn {
    flex: 0 0 auto;
    min-height: 42px;
    padding-inline: 16px;
    border-radius: 11px;
    font-size: 12px;
  }

  .steps::before {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-orbit {
    display: none;
  }

  .particle-three,
  .particle-four {
    display: none;
  }

  .float-card-two {
    display: none;
  }

  .phone {
    animation-duration: 8s;
  }

  .download-card::before {
    opacity: 0.4;
  }
}

@media (hover: none) {
  .feature-card:hover {
    transform: none;
  }

  .hero:hover::after {
    opacity: 0;
  }
}

/* ---------- Dual-platform UI upgrade ---------- */

.btn-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.btn[hidden] {
  display: none;
}

.android-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.win-icon {
  fill: currentColor;
  stroke: none;
}

#heroWindowsDownload.is-fallback .win-icon {
  display: none;
}

.meta-platform {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.meta-platform[hidden] {
  display: none;
}

.meta-icon {
  width: 13px;
  height: 13px;
  opacity: 0.85;
}

.hero-size {
  margin: 10px 0 0;
  color: #7f90aa;
  font-size: 12px;
  letter-spacing: 0.01em;
}

/* Windows preview window in hero */
.desktop-app {
  position: absolute;
  top: 104px;
  left: -50px;
  z-index: 1;
  width: 342px;
  overflow: hidden;
  border: 1px solid rgba(178, 205, 255, 0.22);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(19, 34, 58, 0.97), rgba(7, 14, 26, 0.98));
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transform: rotate(-5deg);
  animation: desktopFloat 9s ease-in-out infinite;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-visual:hover .desktop-app {
  transform: rotate(-2deg) translateY(-4px);
}

.desktop-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border-bottom: 1px solid rgba(145, 178, 235, 0.12);
  background: rgba(255, 255, 255, 0.035);
}

.desktop-mark {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  overflow: hidden;
  border-radius: 5px;
  background: #fff;
}

.desktop-mark img {
  width: 88%;
}

.desktop-title {
  color: var(--muted-strong);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.desktop-controls {
  display: flex;
  gap: 10px;
  margin-left: auto;
  color: #5f7291;
  font-size: 8px;
  line-height: 1;
}

.desktop-main {
  display: flex;
  height: 244px;
}

.desktop-side {
  display: flex;
  width: 46px;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-right: 1px solid rgba(145, 178, 235, 0.1);
  background: rgba(0, 0, 0, 0.14);
}

.desktop-avatar {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-bottom: 4px;
  overflow: hidden;
  border-radius: 7px;
  background: #fff;
}

.desktop-avatar img {
  width: 90%;
}

.desktop-side-item {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.05);
}

.desktop-side-item.is-active {
  background: rgba(79, 140, 255, 0.26);
  box-shadow: inset 2px 0 0 var(--brand);
}

.desktop-chat {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 10px 11px 11px;
}

.desktop-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(145, 178, 235, 0.1);
}

.desktop-chat-head strong {
  font-size: 10px;
  letter-spacing: 0.01em;
}

.desktop-chat-head span {
  color: var(--teal);
  font-size: 8px;
}

.desktop-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 8px;
}

.desktop-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 8px;
}

.desktop-row.is-active {
  background: rgba(79, 140, 255, 0.14);
}

.desktop-row-avatar {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 7px;
  background: #fff;
}

.desktop-row-avatar img {
  width: 90%;
}

.desktop-row-avatar.alt-one {
  background: linear-gradient(135deg, #8b5cf6, #4f8cff);
}

.desktop-row-avatar.alt-two {
  background: linear-gradient(135deg, #38e0c4, #1f9f8a);
}

.desktop-row-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.25;
}

.desktop-row-copy strong {
  overflow: hidden;
  color: #dbe7f8;
  font-size: 9.5px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.desktop-row-copy small {
  margin-top: 2px;
  overflow: hidden;
  color: #6d819e;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Platform tabs */
.platform-tabs {
  gap: 6px;
  margin: -4px 0 20px;
  padding: 5px;
  border-radius: 14px;
  background: rgba(4, 11, 22, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.platform-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 7px 12px;
  text-align: left;
}

.platform-tab .tab-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.platform-tab .tab-text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.2;
}

.platform-tab .tab-text strong {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.platform-tab .tab-text small {
  margin-top: 2px;
  overflow: hidden;
  color: #7b8ca6;
  font-size: 9px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.platform-tab.is-active .tab-icon {
  opacity: 1;
  transform: scale(1.05);
}

.platform-tab.is-active .tab-text small {
  color: rgba(255, 255, 255, 0.75);
}

.platform-tab[data-platform="android"].is-active {
  background: linear-gradient(135deg, rgba(21, 150, 126, 0.92), rgba(56, 224, 196, 0.24));
  box-shadow: 0 6px 18px rgba(31, 191, 166, 0.25);
}

.platform-tab[data-platform="windows"].is-active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.94), rgba(79, 140, 255, 0.3));
  box-shadow: 0 6px 18px rgba(47, 109, 240, 0.3);
}

/* Card platform accents and file row */
.download-card[data-platform="android"] {
  --platform-accent: #38e0c4;
}

.download-card[data-platform="windows"] {
  --platform-accent: #4f8cff;
}

.download-card .download-card-head img {
  transition: filter 0.3s ease;
}

.download-card[data-platform="android"] .download-card-head img {
  filter: drop-shadow(0 10px 24px rgba(56, 224, 196, 0.22));
}

.download-card[data-platform="windows"] .download-card-head img {
  filter: drop-shadow(0 10px 24px rgba(79, 140, 255, 0.28));
}

.download-card .release-notes li::before {
  background: var(--platform-accent, var(--brand));
}

.release-list div.release-file {
  grid-column: 1 / -1;
  padding: 13px 0;
  border-left: 0;
}

.release-list .release-file dd {
  margin-top: 4px;
  color: #9db1cc;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.download-card.is-switching .release-list,
.download-card.is-switching .release-notes,
.download-card.is-switching .btn-block,
.download-card.is-switching .sha-row,
.download-card.is-switching .download-note {
  animation: platformSwap 0.34s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.download-card.is-switching .release-notes {
  animation-delay: 0.03s;
}

.download-card.is-switching .btn-block {
  animation-delay: 0.05s;
}

.download-card.is-switching .sha-row {
  animation-delay: 0.07s;
}

.download-card.is-switching .download-note {
  animation-delay: 0.09s;
}

@keyframes desktopFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}

@keyframes platformSwap {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1040px) {
  .desktop-app {
    display: none;
  }
}

@media (max-width: 640px) {
  .platform-tab {
    gap: 7px;
    padding-inline: 8px;
  }

  .platform-tab .tab-icon {
    width: 18px;
    height: 18px;
  }

  .release-list {
    grid-template-columns: 1fr 1fr;
  }

  .release-list div:nth-child(odd) {
    padding: 13px 14px 13px 0;
    border-left: 0;
  }

  .release-list div:nth-child(even) {
    padding: 13px 0 13px 14px;
    border-left: 1px solid var(--line);
  }

  .release-list div.release-file {
    grid-column: 1 / -1;
    padding: 13px 0;
    border-left: 0;
  }
}

@media (max-width: 360px) {
  .release-list {
    grid-template-columns: 1fr;
  }

  .release-list div:nth-child(odd),
  .release-list div:nth-child(even) {
    padding: 13px 0;
    border-left: 0;
  }
}
