@font-face {
  font-family: "Google Sans";
  src: url("Font_GoogleSansM.otf") format("opentype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Rounded";
  src: url("Font_SFProRoundedR.otf") format("opentype");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-display: "Google Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg: #0b0b0d;
  --panel: #151517;
  --soft: #1d1d20;
  --ink: #f5f5f7;
  --muted: #86868b;
  --line: rgba(255, 255, 255, .1);
  --blue: #2997ff;
  --green: #30d158;
  --warn: #ffd60a;
  --red: #ff453a;
  --orange: #ff8a00;
  --grad: linear-gradient(100deg, #e51d4f, #ff6200 17%, #ffd300 32%, #0fb900 49%, #029eff 66%, #1400eb 82%, #ff00ff);
  --chroma-color: var(--orange);
  --chroma-hue-start: 20;
  --btn: linear-gradient(135deg, #0071e3, #0077ed);
  --sel: rgba(41, 151, 255, .18);
  --shadow: 0 24px 70px rgba(0, 0, 0, .36);
  --inset: inset 0 1px rgba(255, 255, 255, .05);
  --r: 8px;
  --r-lg: 28px;
  --shell: 1240px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --copy-percent: 0%;
  --story-progress: 0%;
  --scrollbar-track: var(--bg);
  --scrollbar-thumb: #3a3a3c;
  --scrollbar-thumb-hover: #545458;
  --toggle-track: #050505;
  --toggle-knob: #fff;
  --toggle-border: rgba(255, 255, 255, .78);
  --toggle-moon: #080b0f;
  --toggle-sun: #ffd60a;
  --fontsizeP: clamp(50px, 6vw, 60px);
  --fontsizeT: clamp(30px, 3vw, 36px);
}

body[data-theme="light"] {
  --bg: #f8fafc;
  --panel: #ffffff;
  --soft: #eef2f7;
  --ink: #111827;
  --muted: #4b5563;
  --line: rgba(17, 24, 39, .14);
  --blue: #0a84ff;
  --green: #0a84ff;
  --warn: #800020;
  --red: #800020;
  --grad: linear-gradient(100deg, #e51d4f, #ff6200 17%, #ffd300 32%, #0fb900 49%, #029eff 66%, #1400eb 82%, #ff00ff);
  --chroma-hue-start: 345;
  --btn: linear-gradient(135deg, #111827, #374151);
  --sel: rgba(10, 132, 255, .12);
  --shadow: 0 18px 42px rgba(17, 24, 39, .12);
  --inset: inset 0 1px rgba(255, 255, 255, .85);
  --scrollbar-track: #f8fafc;
  --scrollbar-thumb: #cbd5e1;
  --scrollbar-thumb-hover: #94a3b8;
  --toggle-track: #fff;
  --toggle-knob: #111827;
  --toggle-border: rgba(17, 24, 39, .72);
  --toggle-moon: #111827;
  --toggle-sun: #fff;
}

* {
  box-sizing: border-box;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

*::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}

*::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover);
}


/* Scroll progress indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-gradient);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 9999;
  pointer-events: none;
  opacity: .6;
}

.scroll-snap-active .scroll-progress {
  transition: transform .15s linear;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font: 18px/1.5 var(--font-body);
  -webkit-font-smoothing: antialiased;
  transition: background-color .38s var(--ease), color .32s var(--ease);
}

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

button {
  font: inherit;
  cursor: pointer;
}

img {
  max-width: 100%;
  border-radius: var(--r);
}

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

.layout-grid {
  display: grid;
}

.vertical-stack {
  display: flex;
  flex-direction: column;
}

.text-display {
  font-family: var(--font-display);
  font-size: var(--fontsizeP);
  line-height: 1;
  letter-spacing: -.05em;
  font-weight: 800;
}

.text-title {
  font-family: var(--font-display);
  font-size: calc(var(--fontsizeT)/2);
  line-height: 1.08;
  letter-spacing: -.04em;
  font-weight: 700;
}

.text-body,
.normalFONT {
  font-family: var(--font-body);
}

.gradient-text {
  font-style: normal;
  color: transparent;
  background: var(--grad);
  background-clip: text;
  -webkit-background-clip: text;
}

.matrix-text {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.matrix-text .matrix-char {
  display: inline-block;
  color: transparent;
  background: var(--grad);
  background-size: var(--char-bg-size, 100% 100%);
  background-position: var(--char-bg-pos, 0% 0%);
  background-clip: text;
  -webkit-background-clip: text;
  opacity: .48;
  transform: translateY(-.12em);
  transition: opacity .18s var(--ease), transform .18s var(--ease), filter .18s var(--ease);
}

body[data-theme="light"] .matrix-text .matrix-char {
  color: transparent;
}

.matrix-text .matrix-char.matrix-settled {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.noise,
.scene-orb,
.download-glow {
  display: none;
}

.kicker,
.tool-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 800;
  color: var(--blue);
}

.nav-wrap {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  pointer-events: auto;
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 8px 12px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05));
    border: 0px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.25), inset 0 -1px 1px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background-color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}

body[data-theme="light"] .nav {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.2));
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    backdrop-filter: blur(18px) saturate(180%);
    border: 0px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18), inset 0 1px 1px rgba(255, 255, 255, 0.7), inset 0 -1px 1px rgba(0, 0, 0, 0.05);
}

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

.nav-brand {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  margin-top: -25px;
  margin-bottom: -25px;
  text-decoration: none;
  cursor: pointer;
}

.nav-brand-logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.4));
  transition: transform .5s cubic-bezier(.22, 1, .36, 1), filter .5s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}

.nav-brand-logo.logo-light,
img.brand-logo.logo-light {
  display: none;
}

body[data-theme="light"] .nav-brand-logo.logo-dark,
body[data-theme="light"] img.brand-logo.logo-dark {
  display: none;
}

body[data-theme="light"] .nav-brand-logo.logo-light,
body[data-theme="light"] img.brand-logo.logo-light {
  display: block;
}

.nav-brand:hover .nav-brand-logo,
.nav-brand:focus-visible .nav-brand-logo {
  transform: scale(1.16);
  filter: drop-shadow(0 26px 32px rgba(0, 0, 0, 0.5));
}

body[data-theme="light"] .nav-brand-logo {
  filter: drop-shadow(0 10px 18px rgba(17, 24, 39, 0.22));
}

body[data-theme="light"] .nav-brand:hover .nav-brand-logo,
body[data-theme="light"] .nav-brand:focus-visible .nav-brand-logo {
  filter: drop-shadow(0 18px 26px rgba(17, 24, 39, 0.28));
}

.nav-item {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform .22s var(--ease),
    box-shadow .22s var(--ease),
    background .22s var(--ease),
    border-color .22s var(--ease);
  overflow: visible;
}

.nav-item .nav-icon {
  position: relative;
  display: flex;
  width: 20px;
  height: 20px;
  flex: none;
  line-height: 1;
  opacity: .78;
  color: var(--muted);
  transition: transform .22s var(--ease), opacity .2s var(--ease), color .2s var(--ease);
  pointer-events: none;
}

.nav-item .nav-icon svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.nav-item .nav-label {
      font-size: 100%;
    font-weight: 800;
    letter-spacing: 0;
    color: var(--ink);
    text-transform: capitalize;
    white-space: nowrap;
    pointer-events: none;
    transition: opacity .2s var(--ease), color .2s var(--ease);
}

.nav-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 55%);
  opacity: 0;
  transition: opacity .22s var(--ease);
  pointer-events: none;
}

.nav-item:hover,
.nav-item:focus-visible {
  background: color-mix(in srgb, var(--panel) 88%, rgba(255, 255, 255, 0.16));
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px) scale(1.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 10px 22px rgba(0, 0, 0, 0.1),
    0 0 20px rgba(255, 255, 255, 0.04);
}

.nav-item:hover::before,
.nav-item:focus-visible::before {
  opacity: 1;
}

.nav-item:hover .nav-icon,
.nav-item:focus-visible .nav-icon {
  transform: scale(1.08);
  opacity: 1;
  color: var(--ink);
}

.nav-item:hover .nav-label,
.nav-item:focus-visible .nav-label {
  opacity: 1;
  color: var(--ink);
}

.nav-item.active {
  background: color-mix(in srgb, var(--blue) 20%, rgba(255, 255, 255, 0.1));
  border-color: color-mix(in srgb, var(--blue) 45%, transparent);
}

.nav-item.active .nav-icon,
.nav-item.active .nav-label {
  opacity: 1;
  color: var(--blue);
}

body[data-theme="light"] .nav-item:hover,
body[data-theme="light"] .nav-item:focus-visible {
  background: color-mix(in srgb, #ffffff 90%, rgba(0, 0, 0, 0.03));
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 22px rgba(17, 24, 39, 0.12),
    0 0 20px rgba(255, 255, 255, 0.6);
}

.theme-toggle .nav-icon .icon-sun,
.theme-toggle .nav-icon .icon-moon {
  opacity: 1;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}

.theme-toggle .nav-icon .icon-moon {
  opacity: 0;
  transform: rotate(-40deg) scale(.7);
}

body[data-theme="light"] .theme-toggle .nav-icon .icon-sun {
  opacity: 0;
  transform: rotate(40deg) scale(.7);
}

body[data-theme="light"] .theme-toggle .nav-icon .icon-moon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

@media (max-width: 900px) {
  .nav {
    gap: 14px;
    padding: 6px 8px;
  }
  .nav-item {
    height: 40px;
    padding: 0 10px;
    gap: 6px;
    border-radius: 12px;
  }
  .nav-item .nav-icon {
    width: 17px;
    height: 17px;
  }
  .nav-item .nav-label {
    font-size: 11px;
  }
  .nav-brand {
    width: 80px;
    height: 80px;
    margin-top: -27px;
    margin-bottom: -27px;
  }
  .nav-brand-logo {
    width: 72px;
    height: 72px;
  }
}


.floating-download {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 9px 24px 9px 10px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 17px;
  font-weight: 800;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  translate: 0 var(--floating-download-shift, 0);
  transition: opacity .8s cubic-bezier(0.16, 1, 0.3, 1), transform .8s cubic-bezier(0.16, 1, 0.3, 1), translate .25s var(--ease);
}

body.hero-ready .floating-download {
  opacity: var(--floating-download-opacity, 1);
  pointer-events: auto;
}

/* Tạm ẩn nút Download nổi góc phải dưới — nav đã có mục "Download" thay thế */
.floating-download {
  display: none;
}

.floating-download:hover {
  transform: translateY(-5px) scale(1.025);
}

.floating-download:active,
.button:active,
.download-button:active,
button:active {
  transform: translateY(0) scale(.94);
  transition-duration: .08s;
}

.floating-download-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  font-size: 23px;
}

body.floating-download-hidden .floating-download {
  visibility: hidden;
  pointer-events: none;
}

body.floating-download-hidden .scroll-cue {
  visibility: hidden;
  pointer-events: none;
}

.hero-scene {
  height: 170vh;
  position: relative;
}

.scene-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 72%, #1c1c1f, #101012 42%, #0b0b0d 74%);
}

body[data-theme="light"] .scene-sticky {
  background: radial-gradient(circle at 50% 72%, #fff, #f7f7f4 48%, #ececea 78%);
}

.scene-grid {
  position: absolute;
  inset: 45% -10% -30%;
  opacity: .12;
  background-image: linear-gradient(var(--sel) 1px, transparent 1px), linear-gradient(90deg, var(--sel) 1px, transparent 1px);
  background-size: 70px 70px;
  transform: perspective(500px) rotateX(64deg) scale(1.25);
  mask-image: linear-gradient(to bottom, transparent, #000 45%);
}

.hero-copy {
  position: relative;
  z-index: 5;
  padding-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.split-title {
  max-width: 1200px;
  margin: 28px 0 34px;
}

.split-title span {
  display: block;
}

.hero-typewriter .type-char {
  display: inline-block;
  position: relative;
  will-change: opacity, transform, filter;
  transition: none;
}

.hero-typewriter .gradient-text .type-char {
  background: var(--grad);
  background-size: var(--char-bg-size, 100% 100%);
  background-position: var(--char-bg-pos, 0% 0%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

body[data-theme="light"] .hero-typewriter .gradient-text .type-char {
  color: transparent;
}

.hero-typewriter {
  position: relative;
}

.typewriter-caret {
  position: absolute;
  width: 5px;
  height: 0.9em;
  border-radius: 99px;
  background: var(--orange);
  animation: caretBlink 0.8s infinite;
  pointer-events: none;
  z-index: 10;
}

body[data-theme="light"] .typewriter-caret {
  background: linear-gradient(90deg, #e51d4f, #ff6200);
}

@keyframes caretBlink {

  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: .52;
}

body[data-theme="light"] .hero-canvas {
  opacity: .40;
}

.app-stage {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: -190px;
  width: min(1540px, 94vw);
  perspective: 1400px;
  transform: translateX(-50%);
  will-change: transform;
}

.app-window,
.backup-screen {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  box-shadow: var(--shadow), var(--inset);
}

.app-window {
  aspect-ratio: 2.05/1;
  transform: rotateX(2deg);
  backdrop-filter: blur(20px);
}

.product-shot {
  aspect-ratio: 2524/1360;
}

.app-shot,
.backup-shot,
.seek-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .65s var(--ease), transform .9s var(--ease), filter .6s var(--ease);
}

.app-shot {
  object-position: 50% 12%;
}

.app-shot-light,
.backup-shot-light,
.seek-shot-light {
  opacity: 0;
}

body[data-theme="light"] .app-shot-dark,
body[data-theme="light"] .backup-shot-dark,
body[data-theme="light"] .seek-shot-dark {
  opacity: 0;
}

body[data-theme="light"] .app-shot-light,
body[data-theme="light"] .backup-shot-light,
body[data-theme="light"] .seek-shot-light {
  opacity: 1;
}

body[data-theme="dark"] .app-shot-dark,
body[data-theme="dark"] .backup-shot-dark,
body[data-theme="dark"] .seek-shot-dark {
  opacity: 1;
}

.shot-reflection {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(125deg, rgba(255, 255, 255, .12), transparent 18%, transparent 72%, rgba(136, 170, 255, .08));
}

.scroll-cue {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  opacity: 0;
  pointer-events: none;
  translate: 0 var(--floating-download-shift, 0);
  transition: opacity .8s cubic-bezier(0.16, 1, 0.3, 1), transform .8s cubic-bezier(0.16, 1, 0.3, 1), translate .25s var(--ease);
}

body.hero-ready .scroll-cue {
  opacity: var(--floating-download-opacity, 1);
  pointer-events: auto;
}

.scroll-cue span {
  position: relative;
  width: 20px;
  height: 24px;
  border: 1px solid var(--muted);
  border-radius: 20px;
}

.scroll-cue span:after {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  width: 3px;
  height: 6px;
  border-radius: 4px;
  background: var(--ink);
  animation: scroll 1.7s infinite;
}

@keyframes scroll {
  to {
    transform: translateY(13px);
    opacity: 0;
  }

}

main {
  scroll-snap-type: y proximity;
  scroll-behavior: smooth;
  scroll-padding-top: 35vh;
}

main.scroll-snap-active {
  scroll-snap-type: y mandatory;
}

main.scroll-snap-active {
  scroll-snap-type: y mandatory;
}

main>:where(.section, .download-section) {
  position: relative;
  z-index: 0;
  isolation: isolate;
  overflow: clip;
  scroll-margin-top: 60px;
  scroll-snap-align: start;
}

main.scroll-snap-active>:where(.section, .download-section) {
  scroll-snap-stop: always;
}

@media (prefers-reduced-motion: reduce) {
  main {
    scroll-snap-type: none;
  }
  main.scroll-snap-active {
    scroll-snap-type: none;
  }
}

.section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 9vw, 112px) 0;
}

.statement {
  max-width: 1200px;
  margin: 16px 0 32px;
}

.statement span,
.scroll-text {
  color: var(--muted);
}

.scroll-text {
  display: inline-block;
  overflow: hidden;
}

.scroll-text .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
  color: var(--muted) !important;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}

.scroll-text.chroma-text .char {
  color: transparent !important;
  background: var(--grad);
  background-size: var(--char-bg-size, 100% 100%);
  background-position: var(--char-bg-pos, 0% 0%);
  background-clip: text;
  -webkit-background-clip: text;
}

.stats-grid {
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.stat {
  padding: 42px;
  border-right: 1px solid var(--line);
}

.stat:first-child {
  padding-left: 0;
}

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

.stat strong {
  display: block;
  font: 800 clamp(36px, 4vw, 58px)/1 var(--font-display);
  letter-spacing: -.05em;
}

.stat strong span {
  font-size: .45em;
  color: var(--muted);
}

.stat>span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.backup-story {
  height: 500vh;
  position: relative;
  background: linear-gradient(180deg, var(--bg), var(--panel) 18% 82%, var(--bg));
}

.backup-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.backup-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 3fr);
  align-items: center;
  gap: clamp(45px, 5vw, 86px);
}

.story-title {
  margin: 12px 0 24px;
}

.story-title em {
  font-style: normal;
  animation: storyTitleFade .85s var(--ease) both;
}

@keyframes storyTitleFade {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(3px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.story-steps {
  position: relative;
  min-height: 120px;
  margin: 20px 0;
}

.story-step {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-content: start;
  opacity: 0;
  transform: translateY(28px);
  pointer-events: none;
  transition: .45s var(--ease);
}

.story-step.active {
  opacity: 1;
  transform: none;
}

.story-step>span {
  width: 24px;
  height: 24px;
  border: 1px solid color-mix(in srgb, var(--green) 50%, transparent);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--green);
  font-size: 8px;
}

.story-step strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}

.story-step p {
  max-width: 320px;
  margin: 0;
  color: var(--muted);
}

.backup-visual-wrap {
  position: relative;
  perspective: 1400px;
  contain: layout paint;
}

.backup-screen {
  aspect-ratio: 2524/1360;
  transform: rotateY(-2deg);
}

.backup-screen>img {
  transform-origin: 70% 18%;
  object-position: 64% 12%;
}

.dst-focus,
.copy-progress,
.versions-popup,
.indexing-overlay,
.fast-result {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s var(--ease), transform .6s var(--ease);
}

.dst-focus {
  top: 10.5%;
  left: 47.2%;
  right: 10.4%;
  height: 12%;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 2px solid #79a8ff;
  border-radius: 10px;
  background: rgba(67, 108, 201, .2);
  box-shadow: 0 0 0 999px rgba(3, 8, 15, .43), 0 0 35px rgba(98, 145, 255, .55);
  transform: scale(.93);
}

body[data-theme="light"] .dst-focus {
  box-shadow: 0 0 0 999px rgba(255, 255, 255, .62), 0 0 28px rgba(10, 132, 255, .22);
}

.dst-focus span {
  font-size: 8px;
  letter-spacing: .12em;
  color: #88afff;
}

.dst-focus b {
  margin-left: 10px;
  font-size: 10px;
}

.dst-focus i {
  margin-left: auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  font-style: normal;
  font-size: 11px;
}

.copy-progress {
  left: 50%;
  top: 50%;
  width: min(470px, 82%);
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 20px;
  align-items: center;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--panel) 94%, transparent);
  box-shadow: var(--shadow);
  transform: translate(-50%, -43%) scale(.94);
}

.progress-ring {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--green) var(--copy-percent), color-mix(in srgb, var(--ink) 7%, transparent) 0);
}

.progress-ring:before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: var(--panel);
}

.progress-ring strong {
  position: relative;
  font-size: 18px;
}

.copy-progress span {
  display: block;
  color: var(--muted);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.copy-progress b {
  display: block;
  margin: 5px 0 13px;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.copy-progress small {
  color: var(--muted);
  font-size: 8px;
}

.copy-progress em {
  color: var(--ink);
  font-style: normal;
}

.progress-track,
.widget-progress {
  height: 4px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--ink) 7%, transparent);
}

.progress-track i,
.widget-progress i,
.story-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--btn);
}

.progress-track i {
  width: var(--copy-percent);
}

.versions-popup,
.fast-result {
  left: 50%;
  top: 50%;
  width: min(410px, 78%);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--panel) 96%, transparent);
  box-shadow: var(--shadow);
  transform: translate(-50%, -42%) scale(.88);
  z-index: 3;
}

.popup-head,
.version-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 10px;
  align-items: center;
}

.popup-head {
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.file-badge,
.version-row.latest>b,
.widget-icon {
  background: var(--grad);
}

.file-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 8px;
}

.popup-head strong,
.version-row strong {
  font-size: 11px;
}

.popup-head span,
.version-row span,
.index-log,
.story-meter span {
  color: var(--muted);
  font-size: 8px;
}

.popup-head>i,
.version-row em {
  color: var(--green);
  font-style: normal;
}

.version-row {
  grid-template-columns: 30px 1fr auto;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.version-row:last-child {
  border: 0;
}

.version-row>b {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--soft);
  font-size: 8px;
}

.version-row button {
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--sel);
  color: var(--blue);
  font-size: 7px;
}

.indexing-overlay {
  z-index: 4;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 45px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(5px);
  transform: scale(1.05);
}

.index-orbit {
  position: relative;
  width: 180px;
  height: 180px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.index-orbit:before,
.index-orbit:after {
  content: "";
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.index-orbit:before {
  inset: 22px;
}

.index-orbit:after {
  inset: 48px;
}

.index-orbit i {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  animation: orbit 3s linear infinite;
}

.index-orbit i:nth-child(1) {
  top: 14px;
}

.index-orbit i:nth-child(2) {
  right: 24px;
  bottom: 35px;
  animation-delay: -1s;
}

.index-orbit i:nth-child(3) {
  left: 17px;
  bottom: 42px;
  animation-delay: -2s;
}

.index-orbit strong {
  position: absolute;
  top: 59px;
  font-size: 31px;
}

.index-orbit span {
  position: absolute;
  top: 99px;
  color: var(--muted);
  font-size: 8px;
}

@keyframes orbit {
  to {
    transform: rotate(360deg) translateX(20px);
  }

}

.index-log {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font: 9px ui-monospace, monospace;
}

.index-log span:before {
  content: "▸";
  margin-right: 7px;
  color: var(--blue);
}

.index-log b {
  margin-top: 7px;
  color: var(--green);
}

.fast-result {
  z-index: 5;
  text-align: center;
  padding: 28px;
}

.fast-icon {
  width: 43px;
  height: 43px;
  margin: 0 auto 10px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #082018;
  font-size: 20px;
}

.fast-result p {
  margin: 0;
  color: var(--green);
  font-size: 8px;
  letter-spacing: .15em;
}

.fast-result>strong {
  font-size: 38px;
  letter-spacing: -.05em;
}

.fast-result>div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

.backup-story.story-step-0 .backup-screen>img {
  transform: scale(1.42);
}

.backup-story.story-step-0 .dst-focus,
.backup-story.story-step-1 .copy-progress,
.backup-story.story-step-2 .versions-popup,
.backup-story.story-step-3 .indexing-overlay,
.backup-story.story-step-4 .fast-result {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.backup-story.story-step-0 .dst-focus {
  transform: scale(1);
}

.backup-story.story-step-1 .backup-screen>img {
  transform: scale(1.12);
  filter: brightness(.55);
}

.backup-story.story-step-2 .backup-screen>img {
  filter: brightness(.42);
}

.backup-story.story-step-3 .backup-screen>img {
  filter: brightness(.4);
}

.backup-story.story-step-4 .backup-screen>img {
  filter: brightness(.36);
}

body[data-theme="light"] .backup-story .backup-screen>img {
  filter: none !important;
}

.story-meter {
  position: absolute;
  right: -26px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: color-mix(in srgb, var(--ink) 8%, transparent);
}

.story-meter i {
  height: var(--story-progress);
}

.story-meter span {
  position: absolute;
  right: -38px;
  bottom: -30px;
  width: 60px;
  font-size: 7px;
  letter-spacing: .12em;
}

.feature-section,
.pricing-section,
.download-section,
.deep-dive {
  background: var(--bg);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  margin-bottom: 40px;
}

.display-title {
  margin: 8px 0 0;
}

.section-heading>p,
.scheduler-copy>p:last-child,
.download-inner>p:not(.kicker),
.footer-brand p,
.footer-contact p,
.footer-links,
.download-note {
  color: var(--muted);
}

.bento-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.feature-card,
.price-card,
.widget-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--panel);
  box-shadow: var(--shadow), var(--inset);
}

.feature-card {
  min-height: 240px;
  padding: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .3s, transform .3s var(--ease);
  transform-style: preserve-3d;
}


.card-top {
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 8px;
  color: var(--muted);
}

.live-pill {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 30px;
}

.live-pill i {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--green);
}

.card-copy {
  position: relative;
  z-index: 2;
  margin-top: auto;
  font-size: 90%;
}

.card-copy h3 {
  margin: 0 0 6px;
}

.card-copy p {
  max-width: 490px;
  margin: 0;
  color: var(--muted);
}

.index-visual {
  position: relative;
  height: 160px;
  margin: 20px -20px 12px;
  padding: 20px 45px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  color: var(--muted);
  font: 11px ui-monospace, monospace;
  background: linear-gradient(90deg, transparent, var(--sel), transparent);
}

.index-visual span:nth-child(2n) {
  margin-left: 24%;
}

.index-visual span:nth-child(3n) {
  margin-left: 48%;
  color: var(--ink);
}

.scan-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--blue);
  animation: scan 3.5s ease-in-out infinite;
}

@keyframes scan {

  0%,
  100% {
    left: 5%;
    opacity: 0;
  }

  15%,
  85% {
    opacity: 1;
  }

  50% {
    left: 95%;
  }

}

.ring-visual {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 45px auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--blue) 0 78%, color-mix(in srgb, var(--ink) 7%, transparent) 78%);
}

.ring-visual:before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: var(--panel);
}

.ring-visual div {
  z-index: 1;
  text-align: center;
}

.ring-visual strong {
  display: block;
  font-size: 35px;
  letter-spacing: -.06em;
}

.ring-visual small {
  color: var(--muted);
}

.pacing-visual {
  height: 210px;
  margin: 40px 0;
  display: grid;
  place-items: center;
}

.pacing-visual>div:first-child {
  width: 75%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--soft);
}

.pacing-visual span {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: .1em;
}

.pacing-visual b {
  color: var(--green);
  font-size: 23px;
}

.wave {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 170px;
  height: 60px;
  background: linear-gradient(90deg, transparent, var(--sel), transparent);
  clip-path: polygon(0 55%, 8% 47%, 16% 62%, 24% 20%, 32% 78%, 40% 43%, 48% 50%, 56% 31%, 64% 69%, 72% 42%, 80% 56%, 88% 50%, 100% 53%, 100% 57%, 88% 54%, 80% 61%, 72% 47%, 64% 74%, 56% 36%, 48% 54%, 40% 48%, 32% 83%, 24% 25%, 16% 67%, 8% 52%, 0 60%);
}

.safe-visual {
  height: 210px;
  margin: 42px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.shield {
  width: 100px;
  height: 115px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--bg);
  font-size: 38px;
  clip-path: polygon(50% 0, 93% 18%, 85% 76%, 50% 100%, 15% 76%, 7% 18%);
}

.safe-visual>div:last-child {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 24px;
  font-size: 11px;
}

.safe-visual span {
  color: var(--muted);
}

.safe-visual i {
  font-style: normal;
  font-size: 8px;
}

.ok {
  color: var(--green);
}

.warn {
  color: var(--warn);
}

.tabs {
  display: flex;
  gap: 24px;
  margin: 35px 0 55px;
  border-bottom: 1px solid var(--line);
}

.tab {
  position: relative;
  padding: 20px 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: clamp(25px, 3vw, 42px);
  letter-spacing: -.045em;
}

.tab span {
  font-weight: 700;
}

.tab.active {
  color: var(--ink);
}

.tab.active:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--ink);
}

.tab-panel {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 3fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
  min-height: 590px;
}

.tool-copy h2 {
  margin: 17px 0 24px;
}

.tool-copy>p {
  color: var(--muted);
}

.tool-copy ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.tool-copy li {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.tool-copy li:before {
  content: "✓";
  margin-right: 12px;
  color: var(--blue);
}

.tool-copy code {
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--soft);
  color: var(--ink);
}

.browser-mock,
.duplicate-mock {
  width: 100%;
  height: min(56vh, 580px);
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--panel);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.real-shot {
  position: relative;
}

.real-shot img {
  width: 122%;
  max-width: none;
  object-position: 68% 50%;
  transform: translateX(-11%) scale(1.04);
}

.real-shot:hover img {
  transform: translateX(-11%) scale(1.08);
}

.duplicate-mock {
  padding: 26px;
}

.dup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dup-head small {
  display: block;
  color: var(--muted);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.dup-head strong {
  font-size: 20px;
}

.dup-head button {
  padding: 9px 14px;
  border: 1px solid var(--ink);
  border-radius: 7px;
  background: var(--ink);
  color: var(--bg);
  font-size: 8px;
}

.dup-tabs {
  display: flex;
  gap: 20px;
  margin: 25px 0 20px;
  border-bottom: 1px solid var(--line);
}

.dup-tabs span {
  padding: 10px 0;
  color: var(--muted);
  font-size: 8px;
}

.dup-tabs .active {
  color: var(--ink);
  border-bottom: 2px solid var(--blue);
}

.dup-group {
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 15px;
  border-radius: 10px;
  background: var(--soft);
}

.dup-group b {
  font-size: 12px;
}

.dup-group em {
  grid-row: 2;
  color: var(--muted);
  font-size: 8px;
  font-style: normal;
}

.dup-group span {
  grid-row: 1/3;
  grid-column: 2;
  align-self: center;
  color: var(--blue);
  font-size: 17px;
}

.dup-file {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 11px;
  margin-top: 9px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.dup-file>i {
  width: 19px;
  height: 19px;
  border: 1px solid var(--muted);
  border-radius: 5px;
  display: grid;
  place-items: center;
  font-size: 8px;
  font-style: normal;
}

.dup-file b {
  font-size: 8px;
}

.dup-file small {
  color: var(--muted);
  font-size: 7px;
}

.dup-file>span {
  color: var(--green);
  font-size: 8px;
}

.dup-file.selected {
  background: var(--sel);
}

.dup-file.selected>i {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.scheduler-section {
  overflow: hidden;
}

.scheduler-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.scheduler-copy>p:last-child {
  max-width: 500px;
}

.widget-stack {
  height: 440px;
  position: relative;
  perspective: 1000px;
  contain: layout paint;
}

.widget-card {
  position: absolute;
  border-radius: 22px;
  padding: 22px;
}

.widget-back {
  width: 70%;
  left: 15%;
  top: 40px;
  transform: translateY(-15px) scale(.88);
  opacity: .35;
}

.widget-mid {
  width: 82%;
  left: 9%;
  top: 80px;
  transform: scale(.94);
  opacity: .6;
}

.widget-back span,
.widget-mid span {
  color: var(--muted);
  font-size: 11px;
}

.widget-back b,
.widget-mid b,
.widget-mid i {
  float: right;
  font-size: 11px;
}

.widget-mid i {
  margin-left: 12px;
  color: var(--green);
}

.widget-front {
  left: 0;
  right: 0;
  top: 130px;
  min-height: 145px;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 25px;
  animation: float 4s ease-in-out infinite;
}

.widget-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-size: 30px;
}

.widget-front span,
.widget-front small {
  color: var(--muted);
  font-size: 10px;
}

.widget-front b {
  font-size: 17px;
}

.widget-front>strong {
  color: var(--green);
  font-size: 30px;
}

.widget-progress {
  position: absolute;
  left: 25px;
  right: 25px;
  bottom: 18px;
  height: 3px;
}

.widget-progress i {
  width: 78%;
}

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

}

.pricing-heading {
  text-align: center;
  margin-bottom: 28px;
}

.pricing-heading .display-title {
  font-size: clamp(30px, 3.6vw, 42px);
}

/* ── PRO highlight — nét vẽ khung bo góc chạy quanh chữ + hiệu ứng sao vàng ── */
.pro-highlight {
  position: relative;
  z-index: 0; /* tạo stacking context riêng để nét vẽ/fill (z-index âm) luôn đứng sau chữ */
  display: inline-block;
}

.pro-highlight-text {
  position: relative;
  z-index: 1; /* đảm bảo chữ luôn nổi trên nét vẽ + fill, bất kể thứ tự DOM */
  color: var(--pro-color, #ffd60a); /* ghi đè color:transparent kế thừa từ .gradient-text */
}

.pro-highlight-svg {
  position: absolute;
  inset: calc(var(--pro-pad, 8px) * -1);
  width: calc(100% + var(--pro-pad, 8px) * 2);
  height: calc(100% + var(--pro-pad, 8px) * 2);
  overflow: visible;
  pointer-events: none;
  z-index: -1; /* nét vẽ + fill đứng sau nội dung chữ của .pro-highlight-text */
}

.pro-highlight-path {
  fill: var(--pro-color, #ffd60a);
  fill-opacity: 0; /* chỉ fill kín màu vàng sau khi nét đã nối kín — xem class .is-filled */
  stroke: var(--pro-color, #ffd60a);
  stroke-width: var(--pro-stroke-width, 2.5px);
  stroke-linecap: round;
  filter: drop-shadow(0 0 4px color-mix(in srgb, var(--pro-color, #ffd60a) 70%, transparent));
  transition: fill-opacity .4s var(--ease);
}

.pro-highlight-path.is-filled {
  fill-opacity: var(--pro-fill-opacity, .22);
}

.pro-seam-star {
  position: absolute;
  left: var(--pro-seam-x, 50%);
  top: var(--pro-seam-y, 0);
  translate: -50% -50%;
  z-index: 2; /* nổi trên cả chữ khi bung ra tại điểm nối */
  color: var(--pro-star-color, #fff6cf);
  font-size: var(--pro-star-size, 16px);
  pointer-events: none;
  text-shadow: 0 0 10px color-mix(in srgb, var(--pro-star-color, #fff6cf) 90%, transparent);
  opacity: 0;
  transform: scale(0) rotate(0deg);
}

.pro-seam-star.is-active {
  animation: pro-star-pop var(--pro-pop-duration, 550ms) var(--ease) forwards;
}

@keyframes pro-star-pop {
  0%   { opacity: 0; transform: scale(0) rotate(0deg); }
  45%  { opacity: 1; transform: scale(1.6) rotate(18deg); }
  70%  { opacity: 1; transform: scale(1.05) rotate(-10deg); }
  100% { opacity: 0; transform: scale(0.85) rotate(0deg); }
}

.pro-sparkle {
  position: absolute;
  left: var(--pro-seam-x, 50%);
  top: var(--pro-seam-y, 0);
  translate: -50% -50%;
  z-index: 2; /* nổi trên cả chữ khi bắn ra */
  color: var(--pro-star-color, #fff6cf);
  font-size: var(--sp-size, 8px);
  pointer-events: none;
  opacity: 0;
  text-shadow: 0 0 5px color-mix(in srgb, var(--pro-star-color, #fff6cf) 80%, transparent);
  animation: pro-sparkle-burst var(--sp-duration, 2000ms) var(--sp-delay, 0ms) cubic-bezier(.16, .84, .44, 1) forwards;
}

@keyframes pro-sparkle-burst {
  0%   { opacity: 1; transform: translate(0, 0) scale(.9) rotate(0deg); }
  100% { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(.15) rotate(var(--rot)); }
}

@media (prefers-reduced-motion: reduce) {
  .pro-seam-star.is-active,
  .pro-sparkle {
    animation: none;
    opacity: 0;
  }
}

.pricing-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 970px;
  margin: auto;
}

.price-card {
  padding: 26px 28px;
}

.price-card.featured {
  border-color: var(--blue);
}

.popular {
  position: absolute;
  right: 24px;
  top: 24px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--blue);
  font-size: 8px;
  letter-spacing: .13em;
}

.price-card p {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .14em;
}

.price-card h3 {
  margin: 8px 0 0;
  font-size: 26px;
}

.price-card>div>span {
  color: var(--muted);
  font-size: 12px;
}

.price-card ul {
  margin: 18px 0;
  padding: 18px 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.price-card li {
  padding: 7px 0;
  font-size: 15px;
}

.price-card li b {
  margin-right: 9px;
  color: var(--green);
}

.price-card li.off,
.price-card li.off b {
  color: var(--muted);
}

.price-card .button {
  width: 100%;
  min-height: 46px;
}

.button,
.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  background: var(--bg);
  color: var(--ink);
  font-weight: 800;
  transition: .3s var(--ease);
}

.button {
  gap: 24px;
  min-height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  font-size: 17px;
}

.button-primary {
  background: var(--ink);
  color: var(--bg);
  box-shadow: var(--shadow);
}

.button:hover,
.download-button:hover {
  transform: translateY(-5px) scale(1.025);
  background: var(--ink);
  color: var(--bg);
}

.download-section {
  text-align: center;
  padding: clamp(56px, 9vw, 112px) 0;
}

.download-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: .7;
}

.download-inner {
  position: relative;
  z-index: 1;
}

.download-inner h2 {
  width: 50vw;
  max-width: 820px;
  margin-inline: auto;
  padding-block: 2vh;
  font-size: var(--fontsizeP);
}

.download-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.download-button {
  min-width: 260px;
  min-height: 60px;
  padding: 15px 20px;
  border-radius: 18px;
  display: grid;
  grid-template-columns: 35px 1fr 20px;
  gap: 9px;
  text-align: left;
}

.download-button .os-icon {
  font-size: 29px;
}

.download-button .apple {
  font-size: 20px;
}

.download-button>span:nth-child(2) {
  font-size: 17px;
  line-height: 1.05;
}

.download-button small {
  display: block;
  margin-bottom: 4px;
  color: inherit;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.download-button em {
  font-style: normal;
  color: inherit;
}

.download-note {
  display: block;
  margin-top: 25px;
}

.site-footer {
  padding: 35px 0;
  background: var(--panel);
  font-size: 86%;
}

.footer-grid {
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 50px;
}

.footer-brand p,
.footer-contact p {
  margin-top: 22px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links strong,
.footer-contact strong {
  margin-bottom: 4px;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: .12em;
}

.footer-links a:hover,
.footer-contact a {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.reveal {
  opacity: 0;
  transform: translateY(32px) scale(.985);
  filter: blur(3px);
  transition: opacity .75s var(--ease), transform .9s var(--ease), filter .75s var(--ease);
  will-change: opacity, transform, filter;
}

.reveal.visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}
a.wordmark {
    display: flex;
    align-content: center;
    align-items: center;
}
img.brand-logo {
    width: 64px;
}
@media (min-width:901px) {
  .hero-copy {
    align-items: flex-start;
    text-align: left;
  }

  .split-title {
    width: 90vw;
    max-width: 1200px;
    min-height: 33vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 14px 0 22px;
    font-size: var(--fontsizeP);
  }

  .app-stage {
    top: 55vh;
    bottom: auto;
    width: min(68vw, 1100px);
    max-width: 68vw;
  }

  .section-heading>div,
  .section-heading .display-title {
    width: 50vw;
    max-width: 780px;
  }

  .section-heading>p {
    justify-self: end;
  }

  .pricing-heading {
    display: grid;
    align-content: center;
  }

  .pricing-heading .display-title {
    width: 80vw;
    max-width: 1200px;
    margin-inline: auto;
  }

}

@media (max-width:900px) {
  .hero-scene {
    height: 165vh;
  }

  .scene-sticky {
    min-height: 650px;
  }

  .hero-copy {
    padding-top: 120px;
  }

  .app-stage {
    width: 94vw;
    bottom: -90px;
  }

  .section-heading,
  .tab-panel,
  .scheduler-grid,
  .backup-story-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .bento-grid,
  .stats-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .stat,
  .stat:nth-child(2),
  .stat:last-child {
    padding: 25px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .scheduler-copy {
    text-align: center;
  }

  .browser-mock,
  .duplicate-mock,
  .backup-visual-wrap {
    width: 100%;
  }

}

@media (max-width:600px) {

  .shell,
  main>:where(.feature-section, .deep-dive, .scheduler-section, .pricing-section)>.shell {
    width: min(100% - 30px, var(--shell));
  }

  .nav {
    padding: 6px 8px;
    gap: 10px;
  }

  .nav-item {
    width: 38px;
    height: 38px;
    padding: 0;
    justify-content: center;
    border-radius: 12px;
  }

  .nav-item .nav-icon {
    width: 16px;
    height: 16px;
  }

  .nav-item .nav-label {
    display: none;
  }

  .nav-brand {
    width: 66px;
    height: 66px;
    margin-top: -22px;
    margin-bottom: -22px;
  }

  .nav-brand-logo {
    width: 58px;
    height: 58px;
  }

  .split-title {
    font-size: clamp(38px, 11.5vw, 60px);
  }

  .statement,
  .display-title {
    font-size: clamp(32px, 9.5vw, 52px);
  }

  main>.section {
    padding-block: 64px;
  }

  .app-stage {
    width: 96vw;
    bottom: -20px;
  }

  .app-window {
    aspect-ratio: 1.55/1;
  }

  .app-shot {
    object-position: 64% 10%;
  }

  .feature-card {
    min-height: 480px;
    padding: 22px;
  }

  .tabs {
    gap: 20px;
  }

  .tab {
    font-size: 24px;
  }

  .tool-copy h2 {
    font-size: 46px;
  }

  .browser-mock,
  .duplicate-mock {
    height: 440px;
  }

  .widget-stack {
    height: 330px;
  }

  .widget-front {
    grid-template-columns: 42px 1fr auto;
    padding: 18px;
  }

  .widget-icon {
    width: 42px;
    height: 42px;
  }

  .widget-front>strong {
    font-size: 18px;
  }

  .price-card {
    padding: 27px;
  }

  .download-inner h2 {
    width: auto;
  }

  .download-actions {
    flex-direction: column;
    align-items: center;
  }

  .download-button,
  .button {
    width: 100%;
    max-width: 300px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }

  .safe-visual {
    gap: 15px;
  }

  .shield {
    width: 76px;
    height: 90px;
  }

  .safe-visual>div:last-child {
    gap: 4px;
    font-size: 8px;
  }

  .backup-sticky {
    min-height: 660px;
  }

  .story-title {
    margin: 12px 0 22px;
  }

  .story-steps {
    min-height: 86px;
  }

  .story-step strong {
    font-size: 17px;
  }

  .backup-screen {
    transform: none;
  }

  .copy-progress {
    grid-template-columns: 48px 1fr;
    gap: 10px;
    padding: 12px;
  }

  .progress-ring {
    width: 46px;
    height: 46px;
  }

  .progress-ring strong {
    font-size: 13px;
  }

  .versions-popup {
    padding: 10px;
  }

  .popup-head {
    grid-template-columns: 30px 1fr auto;
  }

  .file-badge {
    width: 24px;
    height: 24px;
  }

  .indexing-overlay {
    gap: 10px;
  }

  .index-orbit {
    width: 90px;
    height: 90px;
  }

  .index-orbit strong {
    top: 24px;
    font-size: 20px;
  }

  .index-orbit span {
    top: 51px;
  }

  .index-log {
    gap: 4px;
    font-size: 7px;
  }

  .fast-result {
    padding: 12px;
  }

  .fast-result>strong {
    font-size: 28px;
  }

  .story-meter {
    display: none;
  }

  .floating-download {
    right: 14px;
    bottom: 14px;
    min-height: 56px;
    padding: 7px 18px 7px 8px;
    font-size: 15px;
  }

  .scroll-cue {
    right: 14px;
    bottom: 88px;
    font-size: 8px;
  }

  .floating-download-icon {
    width: 36px;
    height: 36px;
  }

}

@media (max-width:420px) {
  .split-title {
    font-size: clamp(32px, 10.5vw, 44px);
  }

  .statement,
  .display-title {
    font-size: clamp(28px, 8.5vw, 38px);
  }

  .tool-copy h2 {
    font-size: 34px;
  }

  .kicker,
  .tool-kicker {
    font-size: 11px;
  }

  .price-card h3 {
    font-size: 24px;
  }

  .pricing-heading .display-title {
    font-size: clamp(24px, 7.5vw, 30px);
  }
}

@media (prefers-reduced-motion:reduce) {
  
/* Scroll progress indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-gradient);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 9999;
  pointer-events: none;
  opacity: .6;
}

.scroll-snap-active .scroll-progress {
  transition: transform .15s linear;
}

html {
    scroll-behavior: auto;
  }

  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .reveal.visible {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .hero-scene {
    height: 100vh;
  }

  .backup-story {
    height: auto;
    padding: 60px 0;
  }

  .backup-sticky {
    height: auto;
    position: relative;
  }

  .story-steps {
    min-height: auto;
  }

  .story-step {
    position: relative;
    opacity: 1;
    transform: none;
    margin-bottom: 20px;
  }

  .backup-story .backup-screen>img {
    transform: none;
    filter: none;
  }

  .backup-story:where(.dst-focus, .copy-progress, .versions-popup, .indexing-overlay, .fast-result) {
    display: none;
  }

}

/* Deduplication Text Animation System */
.dedup-char {
  display: inline-block;
  position: relative;
  color: #ff8a00;
  transition: color 0.8s var(--ease), -webkit-text-stroke 0.8s var(--ease), opacity 0.8s var(--ease), filter 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: color, opacity, filter, transform;
}

.gradient-text .dedup-char {
  color: #ff8a00;
}

.dedup-char.dedup-secondary.is-blinking {
  animation: dedupBlink 0.4s infinite alternate ease-in-out;
}

@keyframes dedupBlink {
  0% {
    opacity: 1;
    color: #ffffff !important;
    filter: drop-shadow(0 0 12px rgba(255, 138, 0, 1));
    transform: scale(1.12);
  }

  100% {
    opacity: 0.5;
    color: #ffffff !important;
    filter: none;
    transform: scale(1);
  }
}

.dedup-char.dedup-secondary.is-hollow {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-stroke: 2.5px #ff8a00;
  opacity: 0.85;
  filter: none;
  transform: none;
}

body[data-theme="light"] .dedup-char.dedup-secondary.is-hollow {
  -webkit-text-stroke: 2.5px #ff6200;
  opacity: 0.9;
}

.gradient-text .dedup-char.dedup-secondary.is-hollow {
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-stroke: 2.5px #ff8a00;
  opacity: 0.85;
}

body[data-theme="light"] .gradient-text .dedup-char.dedup-secondary.is-hollow {
  -webkit-text-stroke: 2.5px color-mix(in srgb, #ff6200 92%, transparent);
  opacity: 0.9;
}