@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text",
    "Segoe UI", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei UI", "Microsoft YaHei",
    system-ui, sans-serif;
  --brand-1: #5b8def;
  --brand-2: #7a5cff;
  --brand-3: #46c6ff;
  --accent: #0a84ff;
  --ink: #151621;
  --ink-soft: #4f5366;
  --ink-muted: #777b8f;
  --surface: rgba(255, 255, 255, 0.68);
  --surface-strong: rgba(255, 255, 255, 0.88);
  --surface-border: rgba(255, 255, 255, 0.82);
  --hairline: rgba(42, 48, 78, 0.1);
  --shadow-sm: 0 8px 24px rgba(42, 49, 89, 0.07);
  --shadow-md: 0 22px 60px rgba(42, 49, 89, 0.12);
  --shadow-lg: 0 38px 100px rgba(42, 49, 89, 0.18);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --radius-xl: 42px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: #f4f7ff;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

body::selection {
  color: #fff;
  background: var(--brand-2);
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img,
svg {
  display: block;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.035em;
}

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

.section {
  position: relative;
  padding: clamp(78px, 9vw, 130px) 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid rgba(10, 132, 255, 0.45);
  outline-offset: 4px;
}

/* Ambient background */
.ambient {
  position: fixed;
  z-index: -2;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.94) 0 20%, transparent 54%),
    linear-gradient(180deg, #f6f8ff 0%, #f2f5fc 52%, #eef3fb 100%);
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  opacity: 0.7;
  animation: drift 18s ease-in-out infinite alternate;
}

.orb-a {
  top: -12vw;
  left: -8vw;
  width: 46vw;
  height: 46vw;
  background: radial-gradient(circle at 60% 60%, rgba(255, 174, 213, 0.6), transparent 68%);
}

.orb-b {
  top: 4vw;
  right: -14vw;
  width: 54vw;
  height: 54vw;
  background: radial-gradient(circle at 45% 55%, rgba(118, 163, 255, 0.58), transparent 68%);
  animation-delay: -6s;
}

.orb-c {
  top: 58vh;
  left: 20vw;
  width: 52vw;
  height: 52vw;
  background: radial-gradient(circle at 50% 50%, rgba(151, 122, 255, 0.46), transparent 68%);
  animation-delay: -11s;
}

.ambient-grid {
  position: absolute;
  inset: 0;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(91, 141, 239, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 141, 239, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.5) 45%, transparent 88%);
}

@keyframes drift {
  from {
    transform: translate3d(-2%, -1%, 0) scale(0.98);
  }
  to {
    transform: translate3d(5%, 7%, 0) scale(1.08);
  }
}

/* Header */
.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  padding: 14px 0;
  transition: padding 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  padding: 8px 0;
  background: rgba(246, 248, 255, 0.74);
  box-shadow: 0 10px 40px rgba(45, 55, 95, 0.08);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 6px 8px 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 12px 34px rgba(51, 60, 102, 0.08);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 14px;
}

.brand img {
  border-radius: 10px;
  box-shadow: 0 7px 16px rgba(91, 141, 239, 0.26);
}

.brand span {
  display: grid;
  line-height: 1.05;
}

.brand strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand small {
  margin-top: 4px;
  color: var(--ink-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 3px;
}

.site-nav > a {
  padding: 9px 14px;
  border-radius: 12px;
  color: #555a70;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav > a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
}

.site-nav .nav-download {
  margin-left: 7px;
  padding-inline: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  box-shadow: 0 8px 20px rgba(91, 141, 239, 0.3);
}

.site-nav .nav-download:hover {
  color: #fff;
  background: linear-gradient(135deg, #4c7ee2, #694ce8);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 0;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.72);
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Shared text and buttons */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #5373cc;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #49c787;
  box-shadow: 0 0 0 5px rgba(73, 199, 135, 0.13);
  animation: pulse-dot 1.8s ease-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(73, 199, 135, 0.14);
  }
  50% {
    box-shadow: 0 0 0 9px rgba(73, 199, 135, 0);
  }
}

.text-gradient {
  display: inline-block;
  color: transparent;
  background: linear-gradient(110deg, #347ee6 0%, #6556ee 45%, #a650dd 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 54px;
  padding: 12px 22px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 650;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #5688eb 0%, #7057f1 100%);
  box-shadow: 0 15px 32px rgba(91, 111, 232, 0.31);
}

.button-primary:hover {
  box-shadow: 0 20px 44px rgba(91, 111, 232, 0.4);
}

.button-secondary {
  color: #34384d;
  border-color: rgba(70, 78, 118, 0.12);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 28px rgba(43, 52, 91, 0.08);
  backdrop-filter: blur(16px);
}

.button-secondary:hover {
  background: #fff;
  box-shadow: 0 16px 34px rgba(43, 52, 91, 0.13);
}

.button-shine::after {
  content: "";
  position: absolute;
  top: -120%;
  left: -80%;
  width: 52%;
  height: 340%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: rotate(20deg);
  transition: left 0.7s ease;
}

.button-shine:hover::after {
  left: 130%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: #4e70d5;
  font-size: 14px;
  font-weight: 650;
}

.text-link span {
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateX(5px);
}

/* Hero */
.hero {
  padding-top: clamp(138px, 15vw, 190px);
  padding-bottom: 70px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
  gap: clamp(38px, 6vw, 86px);
  align-items: center;
}

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

.hero h1 {
  margin-bottom: 24px;
  font-size: clamp(52px, 6.1vw, 86px);
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -0.065em;
}

.hero-lead {
  max-width: 590px;
  margin-bottom: 32px;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.hero-actions .button {
  min-height: 64px;
  padding: 11px 23px;
}

.hero-actions .button > span {
  display: grid;
  text-align: left;
}

.hero-actions .button strong {
  font-size: 15px;
  line-height: 1.25;
}

.hero-actions .button small {
  margin-top: 4px;
  opacity: 0.72;
  font-size: 11px;
  font-weight: 500;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  color: var(--ink-muted);
  font-size: 13px;
}

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

.hero-trust svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #347ee6;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-visual {
  position: relative;
  min-height: 610px;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.visual-glow {
  position: absolute;
  inset: 9% 7% 10% 8%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 48% 50%, rgba(116, 145, 255, 0.5), transparent 56%),
    radial-gradient(circle at 74% 62%, rgba(166, 95, 255, 0.36), transparent 50%);
  filter: blur(34px);
  transform: rotate(-5deg);
}

.app-window {
  position: absolute;
  z-index: 2;
  top: 35px;
  left: 0;
  width: 91%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 40px 100px rgba(43, 54, 100, 0.25), 0 8px 26px rgba(43, 54, 100, 0.12);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  transform: rotateY(-6deg) rotateX(3deg);
  animation: window-float 7s ease-in-out infinite;
}

@keyframes window-float {
  0%,
  100% {
    transform: rotateY(-6deg) rotateX(3deg) translateY(0);
  }
  50% {
    transform: rotateY(-3deg) rotateX(2deg) translateY(-12px);
  }
}

.window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 0 15px;
  border-bottom: 1px solid rgba(57, 63, 96, 0.08);
  background: rgba(255, 255, 255, 0.48);
}

.traffic-lights {
  display: flex;
  gap: 7px;
}

.traffic-lights i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff6b64;
}

.traffic-lights i:nth-child(2) {
  background: #ffc04a;
}

.traffic-lights i:nth-child(3) {
  background: #49cd6a;
}

.window-title {
  position: absolute;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #686c7d;
  font-size: 11px;
  font-weight: 600;
  transform: translateX(-50%);
  white-space: nowrap;
}

.window-title img {
  border-radius: 6px;
}

.window-ready {
  padding: 4px 8px;
  border-radius: 8px;
  color: #287d51;
  background: rgba(69, 197, 133, 0.12);
  font-size: 9px;
  font-weight: 700;
}

.window-tabs {
  display: inline-flex;
  gap: 3px;
  margin: 14px 18px 0;
  padding: 3px;
  border-radius: 12px;
  background: rgba(79, 85, 117, 0.09);
  font-size: 11px;
}

.window-tabs span {
  padding: 6px 13px;
  border-radius: 9px;
  color: #7a7e91;
}

.window-tabs .active {
  color: #292c3e;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 7px rgba(46, 51, 84, 0.1);
  font-weight: 650;
}

.window-body {
  display: grid;
  gap: 12px;
  padding: 14px 18px 20px;
}

.demo-input,
.demo-result {
  position: relative;
  padding: 13px 14px;
  border: 1px solid rgba(76, 84, 125, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
}

.demo-label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
  color: #696d80;
  font-size: 10px;
  font-weight: 650;
}

.demo-label em {
  padding: 2px 6px;
  border-radius: 6px;
  color: #4268c2;
  background: rgba(91, 141, 239, 0.1);
  font-size: 8px;
  font-style: normal;
}

.demo-input p {
  margin: 0;
  color: #313549;
  font-size: 12px;
}

.demo-action {
  position: absolute;
  top: 16px;
  right: 13px;
  padding: 6px 10px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #5b8def, #7a5cff);
  font-size: 9px;
  font-weight: 650;
}

.demo-progress {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: space-between;
  padding: 0 3px;
  color: #697085;
  font-size: 10px;
}

.demo-progress strong {
  color: #4a6fd2;
}

.demo-progress i {
  grid-column: 1 / -1;
  height: 4px;
  margin-top: 7px;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(86, 96, 133, 0.1);
}

.demo-progress b {
  display: block;
  width: 84%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5b8def, #8c62ef);
  animation: progress-pulse 2.8s ease-in-out infinite;
}

@keyframes progress-pulse {
  0%,
  100% {
    width: 78%;
  }
  50% {
    width: 92%;
  }
}

.demo-result {
  min-height: 126px;
}

.typing-line {
  min-height: 58px;
  margin-bottom: 9px;
  color: #303448;
  font-size: 12px;
  line-height: 1.72;
}

.typing-line::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -2px;
  background: #5b8def;
  animation: caret 0.75s steps(1) infinite;
}

@keyframes caret {
  50% {
    opacity: 0;
  }
}

.demo-tools {
  display: flex;
  gap: 7px;
  color: #777c90;
  font-size: 8px;
}

.demo-tools span {
  padding: 4px 7px;
  border-radius: 7px;
  background: rgba(91, 99, 133, 0.07);
}

.demo-tools .highlight {
  color: #634cd3;
  background: rgba(122, 92, 255, 0.11);
}

.phone-card {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 12px;
  width: 190px;
  min-height: 338px;
  padding: 16px 14px;
  border: 7px solid #202233;
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 0%, rgba(151, 112, 255, 0.5), transparent 44%),
    linear-gradient(160deg, #3d65bf 0%, #4952aa 50%, #5c46a2 100%);
  box-shadow: 0 28px 64px rgba(35, 42, 83, 0.3);
  animation: phone-float 6s ease-in-out infinite;
}

@keyframes phone-float {
  0%,
  100% {
    transform: translateY(0) rotate(3deg);
  }
  50% {
    transform: translateY(-14px) rotate(1deg);
  }
}

.phone-speaker {
  position: absolute;
  top: -3px;
  left: 50%;
  width: 48px;
  height: 13px;
  border-radius: 0 0 9px 9px;
  background: #202233;
  transform: translateX(-50%);
}

.phone-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 9px 0 22px;
  font-size: 12px;
  font-weight: 700;
}

.phone-head img {
  border-radius: 7px;
}

.phone-input {
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.12);
}

.phone-input small {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 8px;
}

.phone-input b {
  font-size: 10px;
}

.phone-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 74px;
}

.phone-wave i {
  width: 3px;
  height: 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.78);
  animation: wave 1.1s ease-in-out infinite;
}

.phone-wave i:nth-child(2) {
  animation-delay: -0.2s;
}

.phone-wave i:nth-child(3) {
  animation-delay: -0.48s;
}

.phone-wave i:nth-child(4) {
  animation-delay: -0.7s;
}

.phone-wave i:nth-child(5) {
  animation-delay: -0.25s;
}

.phone-wave i:nth-child(6) {
  animation-delay: -0.55s;
}

.phone-wave i:nth-child(7) {
  animation-delay: -0.1s;
}

.phone-wave i:nth-child(8) {
  animation-delay: -0.65s;
}

.phone-wave i:nth-child(9) {
  animation-delay: -0.32s;
}

@keyframes wave {
  0%,
  100% {
    height: 10px;
    opacity: 0.45;
  }
  50% {
    height: 42px;
    opacity: 1;
  }
}

.phone-lines {
  display: grid;
  gap: 8px;
  padding: 13px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
}

.phone-lines span {
  height: 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.32);
}

.phone-lines span:nth-child(2) {
  width: 84%;
}

.phone-lines span:nth-child(3) {
  width: 92%;
}

.phone-lines span:nth-child(4) {
  width: 58%;
}

.float-chip {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 46px rgba(43, 53, 95, 0.14);
  backdrop-filter: blur(18px);
  animation: chip-float 5.2s ease-in-out infinite;
}

.float-chip > span:last-child {
  display: grid;
}

.float-chip b {
  font-size: 11px;
  line-height: 1.2;
}

.float-chip small {
  margin-top: 3px;
  color: var(--ink-muted);
  font-size: 8px;
}

.chip-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, #58c88d, #38a978);
  font-size: 14px;
  font-weight: 700;
}

.chip-local {
  top: 2px;
  right: 28px;
}

.chip-speed {
  bottom: 42px;
  left: -10px;
  animation-delay: -2.5s;
}

.chip-speed .chip-icon {
  background: linear-gradient(135deg, #5b8def, #7a5cff);
}

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

.hero-scroll-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 42px;
  color: var(--ink-muted);
  font-size: 12px;
}

.hero-scroll-hint span {
  position: relative;
  width: 20px;
  height: 32px;
  border: 1px solid rgba(73, 81, 121, 0.24);
  border-radius: 12px;
}

.hero-scroll-hint span::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 3px;
  height: 6px;
  border-radius: 3px;
  background: #5b8def;
  transform: translateX(-50%);
  animation: scroll-dot 1.8s ease infinite;
}

@keyframes scroll-dot {
  0% {
    opacity: 0;
    transform: translate(-50%, -3px);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 11px);
  }
}

/* Stats */
.stats-strip {
  position: relative;
  padding: 0 0 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--surface-border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
}

.stat-card {
  padding: 25px 30px;
  border-right: 1px solid var(--hairline);
}

.stat-card:last-child {
  border-right: 0;
}

.stat-card strong {
  display: block;
  color: #2d3045;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}

.stat-card small {
  color: #6b70e9;
  font-size: 18px;
}

.stat-card p {
  margin: 10px 0 0;
  color: var(--ink-muted);
  font-size: 12px;
}

/* Section heading */
.section-heading {
  max-width: 750px;
  margin-bottom: clamp(38px, 5vw, 60px);
}

.section-heading h2,
.split-copy h2,
.rewrite-copy h2,
.faq-intro h2,
.download-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(35px, 4.1vw, 56px);
  font-weight: 730;
  letter-spacing: -0.055em;
}

.section-heading > p:last-child,
.split-copy > p,
.rewrite-copy > p,
.faq-intro > p,
.download-copy > p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.8;
}

/* Features */
#features {
  padding-bottom: 86px;
}

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

.feature-card {
  position: relative;
  grid-column: span 3;
  min-height: 250px;
  padding: 27px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.57);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at 15% 5%, rgba(107, 139, 255, 0.13), transparent 46%);
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  z-index: 2;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-md);
  transform: translateY(-7px);
}

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

.feature-card-wide {
  grid-column: span 6;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  min-height: 280px;
  padding: 34px;
}

.feature-icon {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  box-shadow: 0 12px 26px rgba(60, 75, 137, 0.16);
}

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

.icon-blue {
  background: linear-gradient(135deg, #4f91ef, #6277ed);
}

.icon-violet {
  background: linear-gradient(135deg, #7e68ef, #9b5ee3);
}

.icon-pink {
  background: linear-gradient(135deg, #ec76a8, #d765bd);
}

.icon-green {
  background: linear-gradient(135deg, #4cbd8b, #37a58a);
}

.icon-orange {
  background: linear-gradient(135deg, #f0a15f, #e67e64);
}

.icon-cyan {
  background: linear-gradient(135deg, #45bddd, #4c8fe7);
}

.feature-tag {
  display: inline-block;
  margin-bottom: 9px;
  color: #767b93;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.feature-card h3 {
  position: relative;
  margin-bottom: 11px;
  font-size: 21px;
  font-weight: 700;
}

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

.wave-art {
  position: absolute;
  right: 24px;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 5px;
  height: 72px;
  opacity: 0.7;
}

.wave-art i {
  width: 5px;
  height: 18px;
  border-radius: 5px;
  background: linear-gradient(to bottom, #7a5cff, #5b8def);
  animation: feature-wave 1.5s ease-in-out infinite;
}

.wave-art i:nth-child(2n) {
  animation-delay: -0.4s;
}

.wave-art i:nth-child(3n) {
  animation-delay: -0.8s;
}

.wave-art i:nth-child(5n) {
  animation-delay: -1.1s;
}

@keyframes feature-wave {
  0%,
  100% {
    height: 17px;
    opacity: 0.42;
  }
  50% {
    height: 62px;
    opacity: 1;
  }
}

/* Workflow */
.workflow-section {
  padding-top: 92px;
}

.workflow-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-list::before {
  content: "";
  position: absolute;
  top: 56px;
  left: 9%;
  right: 9%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(86, 111, 208, 0.28), transparent);
}

.workflow-step {
  position: relative;
  padding: 18px 14px 0;
  text-align: center;
}

.step-number {
  display: block;
  margin-bottom: 11px;
  color: #989caf;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.step-icon {
  position: relative;
  z-index: 2;
  display: grid;
  width: 66px;
  height: 66px;
  margin: 0 auto 21px;
  place-items: center;
  border: 6px solid #f4f7ff;
  border-radius: 22px;
  color: #536ed0;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 13px 32px rgba(54, 66, 117, 0.12);
}

.step-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.workflow-step h3 {
  margin-bottom: 9px;
  font-size: 17px;
  font-weight: 700;
}

.workflow-step p {
  margin: 0 auto;
  max-width: 220px;
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.7;
}

/* Split privacy */
.section-split {
  overflow: hidden;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
  gap: clamp(42px, 7vw, 100px);
  align-items: center;
}

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

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: #44495e;
  font-size: 14px;
}

.check-list span {
  display: grid;
  flex: none;
  width: 21px;
  height: 21px;
  margin-top: 2px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #55c08b, #38a879);
  font-size: 11px;
  font-weight: 800;
}

.privacy-console {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 0%, rgba(124, 90, 255, 0.38), transparent 42%),
    linear-gradient(145deg, #20233b 0%, #181b31 64%, #24203f 100%);
  box-shadow: 0 34px 80px rgba(35, 40, 76, 0.27);
}

.console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.console-head > span {
  display: flex;
  gap: 7px;
}

.console-head i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff6b64;
}

.console-head i:nth-child(2) {
  background: #ffc04a;
}

.console-head i:nth-child(3) {
  background: #49cd6a;
}

.console-head b {
  font-size: 12px;
  font-weight: 600;
}

.console-head em {
  padding: 4px 8px;
  border: 1px solid rgba(111, 221, 176, 0.18);
  border-radius: 7px;
  color: #77dcac;
  background: rgba(64, 190, 133, 0.08);
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.console-flow {
  padding: 26px 25px 20px;
}

.console-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.console-row > div {
  display: grid;
}

.console-row b {
  font-size: 13px;
  font-weight: 600;
}

.console-row small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
}

.console-dot {
  width: 12px;
  height: 12px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.dot-blue {
  background: #5b8def;
  box-shadow: 0 0 0 4px rgba(91, 141, 239, 0.11);
}

.dot-violet {
  background: #8c6cff;
  box-shadow: 0 0 0 4px rgba(140, 108, 255, 0.11);
}

.dot-green {
  background: #54c78f;
  box-shadow: 0 0 0 4px rgba(84, 199, 143, 0.11);
}

.dot-orange {
  background: #e8a368;
  box-shadow: 0 0 0 4px rgba(232, 163, 104, 0.11);
}

.console-line {
  width: 1px;
  height: 28px;
  margin: 6px 0 6px 5px;
  background: rgba(255, 255, 255, 0.17);
}

.console-line.dashed {
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.19) 0 3px, transparent 3px 7px);
}

.status-local,
.status-opt {
  padding: 4px 8px;
  border-radius: 7px;
  color: #7ce0b2;
  background: rgba(76, 201, 143, 0.1);
  font-size: 9px;
  font-style: normal;
  font-weight: 650;
}

.status-opt {
  color: #efb47e;
  background: rgba(232, 163, 104, 0.1);
}

.console-row.optional {
  opacity: 0.83;
}

.console-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.54);
  background: rgba(255, 255, 255, 0.025);
  font-size: 10px;
}

.pulse-ring {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #55cb92;
}

.pulse-ring::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(85, 203, 146, 0.5);
  border-radius: 50%;
  animation: ring-pulse 2s ease-out infinite;
}

@keyframes ring-pulse {
  from {
    opacity: 1;
    transform: scale(0.7);
  }
  to {
    opacity: 0;
    transform: scale(1.7);
  }
}

/* Rewrite */
.rewrite-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 50%, rgba(128, 95, 255, 0.14), transparent 34%),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.34), transparent);
}

.rewrite-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.82fr);
  gap: clamp(46px, 8vw, 110px);
  align-items: center;
}

.rewrite-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.rewrite-points span {
  display: grid;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow-sm);
}

.rewrite-points b {
  margin-bottom: 5px;
  font-size: 14px;
}

.rewrite-points small {
  color: var(--ink-muted);
  font-size: 10px;
  line-height: 1.5;
}

.quality-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 30px 70px rgba(45, 53, 96, 0.14);
  backdrop-filter: blur(22px);
}

.quality-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}

.quality-head span {
  font-size: 15px;
  font-weight: 700;
}

.quality-head strong {
  padding: 5px 11px;
  border-radius: 10px;
  color: #258157;
  background: rgba(66, 190, 129, 0.12);
  font-size: 11px;
}

.quality-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 54px;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.quality-item > span {
  color: #656a7d;
  font-size: 11px;
}

.quality-item > div {
  height: 7px;
  overflow: hidden;
  border-radius: 7px;
  background: rgba(83, 91, 129, 0.09);
}

.quality-item i {
  display: block;
  width: var(--score);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5b8def, #8b62ee);
  box-shadow: 0 0 12px rgba(106, 115, 226, 0.24);
}

.quality-item b {
  text-align: right;
  font-size: 11px;
}

.quality-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  padding: 13px;
  border-radius: 14px;
  color: #347b58;
  background: rgba(69, 189, 131, 0.09);
  font-size: 11px;
  font-weight: 600;
}

.quality-note svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #38a878;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Platform */
.platform-section {
  padding-bottom: 94px;
}

.platform-switch {
  display: flex;
  width: fit-content;
  margin: 0 auto 26px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow-sm);
}

.platform-switch button {
  min-width: 130px;
  padding: 10px 20px;
  border: 0;
  border-radius: 12px;
  color: #6d7184;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.platform-switch button.is-active {
  color: #262a3e;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 14px rgba(50, 58, 98, 0.12);
}

.platform-panels {
  position: relative;
}

.platform-panel {
  display: none;
  grid-template-columns: 170px minmax(0, 1fr) 220px;
  gap: 28px;
  align-items: center;
  min-height: 316px;
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 32px;
  background:
    radial-gradient(circle at 3% 9%, rgba(95, 142, 239, 0.12), transparent 35%),
    rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(22px);
}

.platform-panel.is-active {
  display: grid;
  animation: panel-in 0.36s ease both;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.platform-mark {
  display: grid;
  width: 142px;
  height: 142px;
  place-items: center;
  border-radius: 42px;
  color: #fff;
  box-shadow: 0 23px 48px rgba(66, 78, 148, 0.2);
}

.platform-mark-windows {
  background: linear-gradient(145deg, #4d91f0, #5879eb);
}

.platform-mark-android {
  background: linear-gradient(145deg, #55c692, #3fa987);
}

.platform-mark svg {
  width: 67px;
  height: 67px;
  fill: currentColor;
}

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

.platform-kicker {
  color: #777c94;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.platform-copy h3 {
  margin: 9px 0 12px;
  font-size: 27px;
  font-weight: 720;
}

.platform-copy p {
  max-width: 560px;
  margin-bottom: 17px;
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.75;
}

.platform-copy ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  color: #5d6276;
  font-size: 12px;
  list-style: none;
}

.platform-copy li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.platform-copy li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6e8ce8;
}

.platform-action {
  display: grid;
  gap: 12px;
}

.platform-action .button svg {
  width: 18px;
  height: 18px;
}

.hash-copy {
  display: grid;
  gap: 5px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(67, 76, 116, 0.11);
  border-radius: 13px;
  color: #696e83;
  background: rgba(255, 255, 255, 0.58);
  text-align: left;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.hash-copy:hover {
  border-color: rgba(91, 141, 239, 0.25);
  background: rgba(255, 255, 255, 0.9);
}

.hash-copy span {
  font-size: 9px;
  font-weight: 600;
}

.hash-copy code {
  overflow: hidden;
  color: #4f566f;
  font-family: "Inter", monospace;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* FAQ home */
.faq-section {
  padding-top: 80px;
  padding-bottom: 70px;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.66fr) minmax(500px, 1.34fr);
  gap: clamp(42px, 8vw, 110px);
}

.faq-intro {
  position: sticky;
  top: 120px;
  align-self: start;
}

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

details {
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.57);
  box-shadow: 0 10px 28px rgba(43, 51, 89, 0.06);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

details[open] {
  background: rgba(255, 255, 255, 0.83);
  box-shadow: var(--shadow-sm);
}

summary {
  position: relative;
  padding: 20px 56px 20px 22px;
  color: #303448;
  font-size: 14px;
  font-weight: 650;
  list-style: none;
  cursor: pointer;
}

summary::-webkit-details-marker {
  display: none;
}

summary span {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 25px;
  height: 25px;
  border-radius: 9px;
  background: rgba(91, 141, 239, 0.09);
  transform: translateY(-50%);
}

summary span::before,
summary span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1.5px;
  border-radius: 2px;
  background: #5877d4;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

summary span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

details[open] summary span::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

details > p {
  margin: -2px 22px 21px;
  padding-top: 15px;
  border-top: 1px solid rgba(57, 64, 99, 0.08);
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.75;
}

/* Download */
.download-section {
  padding-top: 72px;
}

.download-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  gap: 70px;
  align-items: center;
  padding: clamp(38px, 6vw, 72px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 38px;
  color: #fff;
  background:
    radial-gradient(circle at 10% 10%, rgba(81, 157, 255, 0.48), transparent 35%),
    radial-gradient(circle at 90% 80%, rgba(145, 81, 255, 0.43), transparent 38%),
    linear-gradient(140deg, #28335f 0%, #2d2b60 48%, #3c2861 100%);
  box-shadow: 0 38px 100px rgba(42, 44, 91, 0.28);
}

.download-shell::after {
  content: "";
  position: absolute;
  top: -90%;
  right: -15%;
  width: 55%;
  height: 300%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transform: rotate(28deg);
}

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

.download-copy > img {
  margin-bottom: 25px;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(9, 14, 42, 0.24);
}

.download-copy .eyebrow {
  color: #a9bfff;
}

.download-copy h2 {
  margin-bottom: 12px;
}

.download-copy > p {
  color: rgba(255, 255, 255, 0.64);
}

.download-panel {
  position: relative;
  z-index: 2;
  padding: 23px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
}

.system-hint {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
}

.download-options {
  display: grid;
  gap: 10px;
}

.download-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.075);
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.download-option:hover,
.download-option.is-suggested {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(4px);
}

.download-option.is-suggested {
  box-shadow: 0 0 0 2px rgba(139, 177, 255, 0.18);
}

.option-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
}

.option-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.option-windows {
  color: #cfe0ff;
  background: rgba(93, 146, 255, 0.2);
}

.option-android {
  color: #bff2d8;
  background: rgba(71, 197, 139, 0.18);
}

.option-android svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.option-copy {
  display: grid;
}

.option-copy b {
  font-size: 14px;
}

.option-copy small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 10px;
}

.option-arrow {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.11);
  font-size: 15px;
}

.download-note {
  margin: 14px 2px 0;
  color: rgba(255, 255, 255, 0.47);
  font-size: 9px;
  line-height: 1.6;
}

.download-note a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Footer */
.site-footer {
  position: relative;
  padding: 46px 0 34px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid rgba(48, 55, 91, 0.1);
  color: #777c91;
  font-size: 11px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #34384c;
  font-size: 12px;
  font-weight: 650;
}

.footer-brand img {
  border-radius: 8px;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-inner nav a {
  transition: color 0.2s ease;
}

.footer-inner nav a:hover {
  color: #4e65ca;
}

.footer-inner p {
  margin: 0;
}

/* Toast */
.toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 34px;
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  color: #fff;
  background: rgba(29, 32, 53, 0.9);
  box-shadow: 0 16px 40px rgba(27, 31, 58, 0.26);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  backdrop-filter: blur(18px);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Subpages */
.subpage {
  background: #f3f6fd;
}

.subpage-main {
  padding-top: 104px;
}

.page-hero {
  padding: 74px 0 64px;
}

.page-hero-inner {
  max-width: 850px;
}

.page-hero h1 {
  margin-bottom: 19px;
  font-size: clamp(46px, 6vw, 74px);
  font-weight: 750;
  letter-spacing: -0.06em;
}

.page-hero-inner > p:not(.eyebrow) {
  max-width: 740px;
  margin-bottom: 25px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.85;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-meta span {
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  color: #696e82;
  background: rgba(255, 255, 255, 0.54);
  font-size: 10px;
}

.page-meta b {
  font-weight: 650;
}

.legal-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: clamp(44px, 7vw, 100px);
  padding-bottom: 100px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 106px;
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
}

.legal-toc strong {
  margin-bottom: 7px;
  padding: 0 8px;
  color: #303448;
  font-size: 12px;
}

.legal-toc a {
  padding: 7px 8px;
  border-radius: 9px;
  color: #71758a;
  font-size: 11px;
  transition: color 0.2s ease, background 0.2s ease;
}

.legal-toc a:hover {
  color: #4f62bf;
  background: rgba(91, 141, 239, 0.07);
}

.legal-doc {
  max-width: 790px;
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.61);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
}

.legal-doc section {
  position: relative;
  padding-bottom: 38px;
  margin-bottom: 38px;
  border-bottom: 1px solid rgba(54, 61, 96, 0.08);
  scroll-margin-top: 110px;
}

.legal-doc section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.doc-number {
  display: inline-block;
  margin-bottom: 10px;
  color: #8094d5;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.legal-doc h2 {
  margin-bottom: 15px;
  font-size: 25px;
  font-weight: 700;
}

.legal-doc p {
  margin-bottom: 14px;
  color: #5d6276;
  font-size: 13.5px;
  line-height: 1.9;
}

.legal-doc ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding-left: 20px;
  color: #5d6276;
  font-size: 13px;
  line-height: 1.8;
}

.legal-doc li::marker {
  color: #6c82d8;
}

.callout {
  margin-top: 20px;
  padding: 18px 20px;
  border-left: 3px solid #6c86df;
  border-radius: 0 15px 15px 0;
  background: rgba(91, 141, 239, 0.08);
}

.callout strong {
  display: block;
  margin-bottom: 5px;
  color: #343f6a;
  font-size: 13px;
}

.callout p {
  margin: 0;
  color: #536080;
  font-size: 12.5px;
}

.callout-warn {
  border-left-color: #e29b5d;
  background: rgba(232, 163, 104, 0.1);
}

.callout-warn strong {
  color: #734d2c;
}

.callout-warn p {
  color: #765e4b;
}

/* FAQ subpage */
.faq-page-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(42px, 7vw, 92px);
  padding-bottom: 92px;
  align-items: start;
}

.faq-side {
  position: sticky;
  top: 106px;
  display: grid;
  gap: 5px;
}

.faq-side > strong {
  margin-bottom: 9px;
  color: #363a4f;
  font-size: 12px;
}

.faq-side > a {
  padding: 9px 12px;
  border-radius: 12px;
  color: #71758a;
  font-size: 12px;
  transition: background 0.2s ease, color 0.2s ease;
}

.faq-side > a:hover {
  color: #465dc0;
  background: rgba(255, 255, 255, 0.66);
}

.faq-side-card {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.57);
  box-shadow: var(--shadow-sm);
}

.faq-side-card img {
  margin-bottom: 13px;
  border-radius: 12px;
}

.faq-side-card b {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
}

.faq-side-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 10px;
  line-height: 1.7;
}

.faq-page-content {
  display: grid;
  gap: 62px;
  max-width: 790px;
}

.faq-group {
  scroll-margin-top: 110px;
}

.faq-group .eyebrow {
  margin-bottom: 8px;
}

.faq-group h2 {
  margin-bottom: 22px;
  font-size: 28px;
  font-weight: 710;
}

.faq-group details + details {
  margin-top: 10px;
}

.not-found {
  min-height: calc(100vh - 290px);
  padding: 80px 0 120px;
  text-align: center;
}

.not-found h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 70px);
  font-weight: 740;
  letter-spacing: -0.055em;
}

.not-found > p:not(.eyebrow) {
  max-width: 560px;
  margin: 0 auto 28px;
  color: var(--ink-soft);
}

.not-found .hero-actions {
  justify-content: center;
}

/* Responsive */
@media (max-width: 1080px) {
  .hero-layout,
  .split-layout {
    grid-template-columns: 1fr;
  }

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

  .hero-visual {
    width: min(720px, 100%);
    min-height: 590px;
    margin: 0 auto;
  }

  .feature-card {
    grid-column: span 6;
  }

  .platform-panel {
    grid-template-columns: 130px minmax(0, 1fr);
  }

  .platform-mark {
    width: 118px;
    height: 118px;
    border-radius: 34px;
  }

  .platform-mark svg {
    width: 56px;
    height: 56px;
  }

  .platform-action {
    grid-column: 1 / -1;
    grid-template-columns: minmax(220px, 0.6fr) minmax(220px, 0.4fr);
  }

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

@media (max-width: 820px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .site-header {
    padding: 10px 0;
  }

  .nav-shell {
    position: relative;
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle[aria-expanded="true"] > span:first-child {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] > span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: grid;
    gap: 4px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: 18px;
    background: rgba(248, 250, 255, 0.96);
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(24px);
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav > a {
    padding: 12px 14px;
  }

  .site-nav .nav-download {
    margin: 4px 0 0;
    text-align: center;
  }

  .hero {
    padding-top: 142px;
  }

  .hero-layout {
    gap: 34px;
  }

  .hero h1 {
    font-size: clamp(47px, 13vw, 72px);
  }

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

  .phone-card {
    right: 2%;
    width: 174px;
    min-height: 312px;
  }

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

  .stat-card:nth-child(2) {
    border-right: 0;
  }

  .stat-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--hairline);
  }

  .workflow-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 18px;
  }

  .workflow-list::before {
    display: none;
  }

  .split-layout,
  .rewrite-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-intro {
    position: static;
  }

  .legal-layout,
  .faq-page-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc,
  .faq-side {
    position: static;
  }

  .legal-toc {
    display: flex;
    flex-wrap: wrap;
  }

  .legal-toc strong {
    width: 100%;
  }

  .faq-side {
    display: flex;
    flex-wrap: wrap;
  }

  .faq-side > strong {
    width: 100%;
  }

  .faq-side-card {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 580px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .section {
    padding: 72px 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    padding-top: 126px;
  }

  .hero h1 {
    font-size: 48px;
  }

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

  .hero-actions {
    display: grid;
  }

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

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

  .app-window {
    top: 24px;
    width: 96%;
    border-radius: 20px;
  }

  .window-bar {
    height: 42px;
    padding-inline: 12px;
  }

  .window-title {
    display: none;
  }

  .window-tabs {
    margin: 10px 12px 0;
  }

  .window-body {
    padding: 10px 12px 14px;
  }

  .demo-input,
  .demo-result {
    padding: 11px;
    border-radius: 13px;
  }

  .demo-result {
    min-height: 114px;
  }

  .typing-line {
    min-height: 54px;
    font-size: 11px;
  }

  .phone-card {
    right: -2px;
    bottom: -3px;
    width: 144px;
    min-height: 262px;
    padding: 12px 10px;
    border-width: 6px;
    border-radius: 28px;
  }

  .phone-head {
    margin: 8px 0 14px;
  }

  .phone-wave {
    height: 55px;
  }

  .phone-lines {
    gap: 6px;
    padding: 10px;
  }

  .float-chip {
    padding: 9px 11px;
  }

  .chip-local {
    top: -2px;
    right: 5px;
  }

  .chip-speed {
    bottom: 7px;
    left: -3px;
  }

  .stats-grid {
    border-radius: 19px;
  }

  .stat-card {
    padding: 20px;
  }

  .stat-card strong {
    font-size: 28px;
  }

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

  .feature-card,
  .feature-card-wide {
    grid-column: auto;
    min-height: auto;
    padding: 24px;
  }

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

  .wave-art {
    display: none;
  }

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

  .workflow-step {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0 18px;
    padding: 0;
    text-align: left;
  }

  .step-number {
    display: none;
  }

  .step-icon {
    grid-row: 1 / span 2;
    width: 58px;
    height: 58px;
    margin: 0;
    border-radius: 19px;
  }

  .workflow-step h3 {
    align-self: end;
    margin-bottom: 5px;
  }

  .workflow-step p {
    margin: 0;
    max-width: none;
  }

  .rewrite-points {
    grid-template-columns: 1fr;
  }

  .quality-card {
    padding: 21px;
  }

  .quality-item {
    grid-template-columns: 86px minmax(0, 1fr) 46px;
    gap: 8px;
  }

  .platform-switch {
    width: 100%;
  }

  .platform-switch button {
    flex: 1;
    min-width: 0;
  }

  .platform-panel {
    grid-template-columns: 1fr;
    padding: 26px;
    border-radius: 25px;
  }

  .platform-mark {
    width: 92px;
    height: 92px;
    border-radius: 27px;
  }

  .platform-mark svg {
    width: 44px;
    height: 44px;
  }

  .platform-action {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .download-shell {
    padding: 30px 20px;
    border-radius: 28px;
  }

  .download-panel {
    padding: 16px;
    border-radius: 20px;
  }

  .download-option {
    padding: 11px;
  }

  .option-icon {
    width: 39px;
    height: 39px;
  }

  .footer-inner nav {
    justify-content: center;
    gap: 14px;
  }

  .page-hero {
    padding: 50px 0 44px;
  }

  .page-hero h1 {
    font-size: 48px;
  }

  .legal-doc {
    padding: 24px 20px;
    border-radius: 23px;
  }

  .legal-doc h2 {
    font-size: 22px;
  }

  .faq-page-content {
    gap: 48px;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .typing-line::after {
    display: none;
  }
}
