/* ===== OmniTask Landing — tema escuro Obsidian, destaque roxo (tokens do app) ===== */
:root {
  --bg: #131118;
  --bg-2: #18151f;
  --bg-3: #1e1b27;
  --surface: #232030;
  --surface-hi: #2b2839;
  --border: #2e2b3c;
  --border-hi: #3d3951;
  --text: #e2e1e9;
  --text-2: #9d9ba9;
  --text-3: #6c6a78;
  --accent: #a882ff;
  --accent-2: #8b5cf6;
  --accent-3: #7c3aed;
  --accent-soft: rgba(168, 130, 255, 0.13);
  --accent-glow: rgba(139, 92, 246, 0.35);
  --red: #e0616b;
  --amber: #e0a04a;
  --green: #4ac68a;
  --blue: #5b9bf3;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.35);
  --max-w: 1120px;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; overflow-x: clip; }
body {
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; color: inherit; background: none; border: none; font-size: inherit; }
::selection { background: rgba(139, 92, 246, .35); }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; border-radius: 6px; }

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.8,.3,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 22px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 15px; letter-spacing: .1px;
  transition: transform .15s ease, box-shadow .2s ease, background .15s, border-color .15s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: linear-gradient(120deg, var(--accent-2), var(--accent-3));
  color: #fff;
  box-shadow: 0 6px 24px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-ghost {
  background: var(--surface);
  border: 1px solid var(--border-hi);
  color: var(--text);
}
.btn-ghost:hover { background: var(--surface-hi); border-color: var(--accent-2); }
.btn-lg { padding: 15px 30px; font-size: 16.5px; border-radius: 13px; }
.gh-ic { flex-shrink: 0; }

/* ===== Ícones Lucide (sprite) ===== */
.lic {
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0; display: inline-block; vertical-align: -.09em;
}
.ldot { width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--accent)); display: inline-block; flex-shrink: 0; }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(19, 17, 24, .78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 13px 24px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: .2px; }
.brand.small { font-size: 15.5px; }
.brand-gem { filter: drop-shadow(0 2px 10px var(--accent-glow)); border-radius: 7px; }
.brand-name {
  background: linear-gradient(100deg, #fff 25%, #c4a5ff 65%, var(--accent));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.nav-links { display: flex; gap: 26px; font-size: 14.5px; color: var(--text-2); font-weight: 500; }
.nav-links a { transition: color .15s; }
.nav-links a:hover { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn-nav { padding: 8px 15px; font-size: 14px; }
.lang-toggle {
  display: flex; gap: 4px; align-items: center;
  font-size: 13px; font-weight: 700; letter-spacing: .5px;
  color: var(--text-3); padding: 7px 10px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--bg-2);
  transition: border-color .15s;
}
.lang-toggle:hover { border-color: var(--border-hi); }
.lang-toggle .lang-sep { opacity: .4; font-weight: 400; }
.lang-toggle [data-lang-opt].on { color: var(--accent); }

/* ===== Hero ===== */
.hero { position: relative; padding: 84px 24px 96px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(720px 420px at 50% -80px, rgba(139, 92, 246, .22), transparent 68%),
    radial-gradient(560px 380px at 82% 42%, rgba(168, 130, 255, .08), transparent 70%),
    radial-gradient(480px 360px at 12% 58%, rgba(91, 155, 243, .06), transparent 70%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(226, 225, 233, .05) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(640px 460px at 50% 0, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(640px 460px at 50% 0, #000 30%, transparent 78%);
}
.hero-inner { position: relative; max-width: 940px; margin: 0 auto; text-align: center; }
.hero-brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 800; font-size: 24px; letter-spacing: .2px;
  margin-bottom: 28px;
}
.hero-brand img { border-radius: 9px; filter: drop-shadow(0 4px 16px var(--accent-glow)); }

.hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08; letter-spacing: -1.2px; font-weight: 800;
  max-width: 870px; margin: 0 auto 22px;
}
h1 em, h2 em {
  font-style: normal;
  background: linear-gradient(100deg, #c4a5ff 10%, var(--accent) 55%, var(--accent-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { font-size: clamp(16px, 2vw, 18.5px); color: var(--text-2); max-width: 640px; margin: 0 auto 34px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 13.5px; color: var(--text-3); }

/* ===== Mockups ===== */
.hero-mockups {
  position: relative; max-width: 980px; margin: 64px auto 0;
  perspective: 1400px;
}
.mock-browser {
  background: var(--bg-2);
  border: 1px solid var(--border-hi);
  border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow), 0 0 80px rgba(139, 92, 246, .13);
  transform: rotateX(4deg);
  transform-origin: 50% 100%;
  animation: heroFloat 9s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: rotateX(4deg) translateY(0); }
  50% { transform: rotateX(2.5deg) translateY(-8px); }
}
.mb-chrome {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 16px; background: var(--bg-3); border-bottom: 1px solid var(--border);
}
.mb-dot { width: 11px; height: 11px; border-radius: 50%; }
.mb-dot.r { background: #ff5f57; } .mb-dot.y { background: #febc2e; } .mb-dot.g { background: #28c840; }
.mb-url {
  margin: 0 auto; font-size: 11.5px; color: var(--text-3);
  background: var(--bg); border: 1px solid var(--border);
  padding: 4px 40px; border-radius: 7px;
  max-width: 70%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mb-app { display: flex; min-height: 400px; text-align: left; font-size: 13px; }
.mb-side {
  width: 218px; flex-shrink: 0; background: var(--bg-2);
  border-right: 1px solid var(--border); padding: 14px 10px;
  display: flex; flex-direction: column; gap: 3px;
}
.mb-brand { display: flex; align-items: center; gap: 8px; font-size: 13.5px; padding: 2px 8px 12px; }
.mb-brand b {
  background: linear-gradient(100deg, #fff 25%, #c4a5ff 65%, var(--accent));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.mb-nav { display: flex; flex-direction: column; gap: 2px; }
.mni {
  display: flex; align-items: center; gap: 9px;
  padding: 6px 10px; border-radius: 8px; color: var(--text-2); font-weight: 500;
  position: relative; font-size: 12.5px;
}
.mni i { font-style: normal; font-size: 12px; width: 16px; text-align: center; }
.mni .lic { opacity: .85; }
.mni i.ldot { width: 9px; height: 9px; margin: 0 3px; }
.mni em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--text-3); }
.mni.active { background: var(--accent-soft); color: var(--accent); }
.mni.active em { color: var(--accent); }
.mni.active::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 3px; border-radius: 3px; background: var(--accent); }
.mni.head { font-size: 10px; letter-spacing: .9px; color: var(--text-3); font-weight: 650; padding-top: 14px; }
.mb-tags { display: flex; flex-wrap: wrap; gap: 5px; padding: 12px 8px 2px; margin-top: auto; }
.mb-tags span {
  font-size: 10.5px; padding: 3px 9px; border-radius: 20px;
  background: var(--bg-3); color: var(--text-2); border: 1px solid var(--border);
}
.mb-main { flex: 1; padding: 18px 22px; background: var(--bg); min-width: 0; }
.mb-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.mb-head b { font-size: 17px; }
.mb-tools { display: flex; align-items: center; gap: 7px; min-width: 0; }
.mb-search {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-3); border: 1px solid var(--border);
  padding: 5px 10px; border-radius: 8px;
  font-size: 11px; color: var(--text-3); white-space: nowrap;
}
.mb-iconbtn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 7px;
  background: var(--bg-3); border: 1px solid var(--border); color: var(--text-3);
}
.mb-viewtabs { display: flex; gap: 3px; background: var(--bg-3); border: 1px solid var(--border); padding: 3px; border-radius: 9px; font-size: 11px; color: var(--text-3); }
.mb-viewtabs > span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 6px; white-space: nowrap; }
.mb-viewtabs .active { background: var(--surface-hi); color: var(--text); }
.mb-quickadd {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border);
  padding: 9px 13px; border-radius: var(--radius-sm); margin-bottom: 16px;
  color: var(--text-3); font-size: 12.5px; min-width: 0;
}
.qa-ph { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.qa-plus {
  width: 20px; height: 20px; flex-shrink: 0; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent); font-weight: 700;
}
.mb-group { font-size: 11px; letter-spacing: .8px; text-transform: uppercase; color: var(--text-3); font-weight: 650; margin: 14px 2px 8px; }

/* Task rows (shared) */
.mtask {
  display: flex; align-items: center; gap: 11px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 10px 13px; margin-bottom: 7px;
  transition: background .15s;
}
.mtask.sm { padding: 9px 11px; font-size: 12.5px; }
.mcheck {
  width: 17px; height: 17px; flex-shrink: 0; border-radius: 50%;
  border: 1.6px solid var(--border-hi); position: relative;
  transition: background .25s, border-color .25s;
}
.mcheck.checked, .mcheck.auto-on {
  background: var(--accent-2); border-color: var(--accent-2);
}
.mcheck.checked::after, .mcheck.auto-on::after {
  content: ""; position: absolute; left: 4.5px; top: 1.5px;
  width: 4.5px; height: 8.5px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(42deg);
}
.mtitle { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; transition: color .3s; }
.mtitle.done, .mtask.auto-done .mtitle { color: var(--text-3); text-decoration: line-through; }
.mmeta { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-3); flex-shrink: 0; }
.mtag { color: var(--accent); background: var(--accent-soft); padding: 2px 8px; border-radius: 12px; font-size: 10.5px; }
.mchip {
  display: inline-flex; align-items: center; gap: 4.5px;
  font-size: 10.5px; font-weight: 500; white-space: nowrap;
  background: var(--bg-3); border: 1px solid var(--border);
  padding: 2.5px 8px; border-radius: 12px; color: var(--text-3);
}
.mchip.due { color: var(--accent); background: var(--accent-soft); border-color: rgba(168, 130, 255, .3); }
.mchip.deadline { color: var(--amber); background: rgba(224, 160, 74, .1); border-color: rgba(224, 160, 74, .32); }
.mchip.listc { color: var(--c, var(--text-2)); }
.mchip.listc .ldot { width: 7px; height: 7px; }
.mico { display: inline-flex; color: var(--text-3); }
.mico.f-high { color: var(--red); }
.mico.f-med { color: var(--amber); }
.ev-time { font-variant-numeric: tabular-nums; font-size: 11px; color: var(--text-3); }

.mhabits { display: flex; gap: 8px; flex-wrap: wrap; }
.mhabits.col { flex-direction: column; }
.mhabit {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border);
  padding: 8px 13px; border-radius: var(--radius-sm); font-size: 12.5px;
}
.mhabit i { font-style: normal; }
.mhabit b { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; color: var(--amber); font-weight: 600; }
.mhabit.done { border-color: rgba(74, 198, 138, .4); background: rgba(74, 198, 138, .07); }

/* Phone */
.mock-phone {
  position: absolute; right: -12px; bottom: -34px;
  width: 218px;
  background: #0c0a11;
  border: 1.5px solid var(--border-hi);
  border-radius: 32px; padding: 9px;
  box-shadow: var(--shadow), 0 0 60px rgba(139, 92, 246, .18);
  animation: phoneFloat 7s ease-in-out infinite;
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotate(1.6deg); }
  50% { transform: translateY(-12px) rotate(.4deg); }
}
.mp-notch {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 74px; height: 17px; background: #0c0a11; border-radius: 12px; z-index: 2;
}
.mp-screen {
  background: var(--bg); border-radius: 24px; overflow: hidden;
  padding: 40px 11px 74px; min-height: 372px; position: relative; text-align: left;
}
.mp-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 11px; padding: 0 3px; }
.mp-head b { font-size: 15px; }
.mp-date { font-size: 9.5px; color: var(--text-3); }
.mp-group { font-size: 9px; letter-spacing: .8px; text-transform: uppercase; color: var(--text-3); font-weight: 650; margin: 11px 3px 6px; }
/* Textos do mockup mobile um pouco menores que o desktop */
.mp-screen .mtask.sm { padding: 7px 10px; margin-bottom: 6px; }
.mp-screen .mtitle { font-size: 11.5px; }
.mp-screen .mhabit { font-size: 11px; padding: 7px 11px; }
.mp-tabbar {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: space-around;
  padding: 9px 10px 14px;
  background: var(--bg-2); border-top: 1px solid var(--border);
}
.mpt { display: inline-flex; color: var(--text-3); }
.mpt.active { color: var(--accent); }
.mpt .lic { width: 17px; height: 17px; }
.mp-add {
  width: 40px; height: 40px; border-radius: 50%; margin-top: -19px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(120deg, var(--accent-2), var(--accent-3));
  color: #fff; font-weight: 500;
  box-shadow: 0 6px 20px var(--accent-glow), 0 0 0 5px var(--bg);
}
.mp-add .lic { width: 19px; height: 19px; }

/* Hero auto-check loop */
#heroCheckTask .mcheck { animation: autoCheck 6s ease-in-out infinite; }
#heroCheckTask .mtitle { animation: autoStrike 6s ease-in-out infinite; }
@keyframes autoCheck {
  0%, 38% { background: transparent; border-color: var(--border-hi); }
  46%, 82% { background: var(--accent-2); border-color: var(--accent-2); }
  92%, 100% { background: transparent; border-color: var(--border-hi); }
}
#heroCheckTask .mcheck::after {
  content: ""; position: absolute; left: 4.5px; top: 1.5px;
  width: 4.5px; height: 8.5px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(42deg);
  opacity: 0; animation: autoTick 6s ease-in-out infinite;
}
@keyframes autoTick {
  0%, 40% { opacity: 0; } 46%, 82% { opacity: 1; } 90%, 100% { opacity: 0; }
}
@keyframes autoStrike {
  0%, 42% { color: var(--text); } 48%, 82% { color: var(--text-3); } 92%, 100% { color: var(--text); }
}

/* ===== Sections (shared) ===== */
.section { padding: 108px 24px; position: relative; }
.section-inner { max-width: var(--max-w); margin: 0 auto; text-align: center; }
.kicker {
  font-size: 13px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.section h2 { font-size: clamp(27px, 3.6vw, 40px); letter-spacing: -.8px; line-height: 1.15; font-weight: 800; margin-bottom: 18px; }
.section-sub { color: var(--text-2); max-width: 660px; margin: 0 auto 52px; font-size: 16.5px; }
.section-sub.left { margin: 0 0 26px; }

/* ===== Sync section ===== */
.sync { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sync-demo {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: stretch;
  max-width: 980px; margin: 0 auto 46px; text-align: left;
}
.sync-pane {
  background: var(--bg); border: 1px solid var(--border-hi);
  border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-sm);
  min-width: 0;
}
.app-pane { background: var(--bg-3); }
.pane-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 650; color: var(--text-2);
  padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--border);
}
.pane-ic { display: inline-flex; align-items: center; font-size: 12px; color: var(--accent); font-weight: 700; }
.pane-app { margin-left: auto; font-size: 10.5px; text-transform: uppercase; letter-spacing: .8px; color: var(--text-3); font-weight: 600; }
.code {
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px; line-height: 2; color: var(--text-2);
  overflow-x: auto; white-space: pre;
}
.code .ln { display: block; border-radius: 6px; padding: 0 8px; margin: 0 -8px; transition: background .4s; }
.code .pt { color: var(--accent); font-weight: 600; }
.code .em { color: var(--text-3); }
.code .cm { color: var(--text-3); font-style: italic; }
.code .pr { color: var(--accent); }
.code .ok { color: var(--green); }
.code .ln.flash { background: var(--accent-soft); }
.code::-webkit-scrollbar { height: 6px; }
.code::-webkit-scrollbar-thumb { background: var(--border-hi); border-radius: 6px; }
.code::-webkit-scrollbar-track { background: transparent; }
.doneTag { color: var(--green); }
.sync-arrow {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  color: var(--accent); font-size: 10.5px; text-transform: uppercase; letter-spacing: 1px; font-weight: 700;
}
.sync-arrow svg { animation: arrowPulse 2.6s ease-in-out infinite; }
@keyframes arrowPulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.sync-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 980px; margin: 0 auto; text-align: left; }
.point {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 22px;
  display: flex; flex-direction: column; gap: 7px;
}
.point b { font-size: 15px; }
.point span { font-size: 13.5px; color: var(--text-2); }

/* ===== Features ===== */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; }
.fcard {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
  display: flex; flex-direction: column; gap: 8px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.fcard:hover { transform: translateY(-4px); border-color: var(--border-hi); box-shadow: 0 14px 40px rgba(0,0,0,.4), 0 0 0 1px rgba(139,92,246,.12); }
.fcard.wide { grid-column: span 3; flex-direction: row; align-items: center; gap: 34px; padding: 28px; flex-wrap: wrap; }
.fcard.wide .fdemo { flex: 1 1 380px; margin-bottom: 0; }
.fcard.wide h3 { margin-top: 0; }
.fcard.wide > h3, .fcard.wide > p { flex: 1 1 300px; }
.fcard.wide h3 + p { flex-basis: 100%; }
.fcard h3 { font-size: 17.5px; letter-spacing: -.2px; margin-top: 4px; }
.fcard p { font-size: 14px; color: var(--text-2); }
.fdemo {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 18px;
  min-height: 118px; display: flex; flex-direction: column; justify-content: center; gap: 10px;
  overflow: hidden; position: relative;
}

/* Quick-add demo */
.fcard.wide { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; }
.fcard.wide .qa-demo { grid-row: span 2; }
.qa-demo { gap: 12px; min-height: 130px; }
.qa-bar {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--accent-2);
  box-shadow: 0 0 0 3px var(--accent-soft);
  padding: 11px 14px; border-radius: var(--radius-sm);
  font-size: 14px; min-height: 44px;
}
.qa-text { font-family: inherit; white-space: nowrap; overflow: hidden; }
.qa-caret { width: 2px; height: 18px; background: var(--accent); animation: caret 1s steps(1) infinite; flex-shrink: 0; }
@keyframes caret { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }
.qa-chips { display: flex; gap: 8px; flex-wrap: wrap; min-height: 28px; }
.chip {
  font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 20px;
  border: 1px solid var(--border-hi); background: var(--surface);
  opacity: 0; transform: translateY(8px) scale(.92);
  transition: opacity .3s ease, transform .3s cubic-bezier(.34,1.56,.64,1);
}
.chip.pop { opacity: 1; transform: none; }
.chip.date { color: var(--blue); border-color: rgba(91,155,243,.4); }
.chip.prio { color: var(--red); border-color: rgba(224,97,107,.4); }
.chip.tag { color: var(--accent); border-color: rgba(168,130,255,.4); }
.chip.list { color: var(--green); border-color: rgba(74,198,138,.4); }

/* Kanban demo */
.kb-demo { flex-direction: row; gap: 10px; align-items: stretch; }
.kb-col {
  flex: 1; background: var(--bg-3); border: 1px solid var(--border);
  border-radius: 9px; padding: 8px; display: flex; flex-direction: column; gap: 7px;
}
.kb-col b { font-size: 9.5px; text-transform: uppercase; letter-spacing: .7px; color: var(--text-3); padding: 1px 3px; }
.kb-card { height: 26px; border-radius: 6px; background: var(--surface-hi); border: 1px solid var(--border-hi); }
.kb-card.dim { opacity: .45; }
.kb-card.ghost { border-style: dashed; background: transparent; animation: ghostPulse 3.4s ease-in-out infinite; }
@keyframes ghostPulse { 0%, 100% { border-color: var(--border); } 50% { border-color: var(--accent-2); } }
.kb-card.moving {
  background: var(--accent-soft); border-color: var(--accent-2);
  box-shadow: 0 4px 14px var(--accent-glow);
  animation: kbMove 3.4s cubic-bezier(.45,0,.25,1) infinite;
}
@keyframes kbMove {
  0%, 18% { transform: translate(0, 0) rotate(0); }
  45%, 60% { transform: translate(calc(-100% - 18px), 33px) rotate(-2.5deg); }
  88%, 100% { transform: translate(0, 0) rotate(0); }
}

/* Calendar demo */
.cal-demo { justify-content: center; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; }
.cal-grid span {
  aspect-ratio: 1; border-radius: 7px;
  background: var(--bg-3); border: 1px solid var(--border);
  position: relative;
}
.cal-grid .ev::after {
  content: ""; position: absolute; left: 22%; right: 22%; bottom: 18%;
  height: 3.5px; border-radius: 3px;
}
.cal-grid .ev.p::after { background: var(--accent); }
.cal-grid .ev.b::after { background: var(--blue); }
.cal-grid .ev.g::after { background: var(--green); }
.cal-grid .today { border-color: var(--accent-2); background: var(--accent-soft); box-shadow: 0 0 14px rgba(139,92,246,.25); }

/* Habits demo */
.hb-demo { align-items: flex-start; }
.hb-week { display: flex; gap: 6px; }
.hb-week span {
  width: 20px; height: 20px; border-radius: 6px;
  background: var(--bg-3); border: 1px solid var(--border);
}
.hb-week .on { background: var(--accent-soft); border-color: var(--accent-2); }
.hb-week .pulse { animation: hbPulse 2.8s ease-in-out infinite; }
@keyframes hbPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(139,92,246,.5); }
  50% { box-shadow: 0 0 0 6px rgba(139,92,246,0); }
}

/* Gesture demo */
.gesto-demo { justify-content: center; }
.gesture-task { margin: 0; position: relative; animation: swipeHint 3.6s ease-in-out infinite; }
@keyframes swipeHint {
  0%, 22% { transform: translateX(0); background: var(--surface); }
  40%, 52% { transform: translateX(26px); background: rgba(74,198,138,.12); border-color: rgba(74,198,138,.45); }
  74%, 100% { transform: translateX(0); background: var(--surface); }
}
.swipe-hint { color: var(--green); font-weight: 700; font-size: 15px; }

/* Realtime demo */
.rt-demo { flex-direction: row; align-items: center; justify-content: center; gap: 12px; }
.rt-node {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center; font-size: 19px;
  background: var(--surface); border: 1px solid var(--border-hi);
}
.rt-node.gem { background: var(--accent-soft); border-color: var(--accent-2); box-shadow: 0 0 18px var(--accent-glow); }
.rt-wave { display: flex; gap: 4px; }
.rt-wave i {
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
  animation: dotFlow 1.5s ease-in-out infinite;
}
.rt-wave i:nth-child(2) { animation-delay: .18s; }
.rt-wave i:nth-child(3) { animation-delay: .36s; }
.rt-wave.rev i { animation-delay: .54s; }
.rt-wave.rev i:nth-child(2) { animation-delay: .72s; }
.rt-wave.rev i:nth-child(3) { animation-delay: .9s; }
@keyframes dotFlow { 0%, 100% { opacity: .2; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }

/* Shortcuts demo */
.kbd-demo { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; gap: 9px; }
.kbd {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12.5px; font-weight: 600; color: var(--text-2);
  background: var(--surface); border: 1px solid var(--border-hi);
  border-bottom-width: 2.5px; border-radius: 8px; padding: 6px 11px;
  transition: transform .15s, color .15s, border-color .15s;
}
.kbd.press { transform: translateY(2px); border-bottom-width: 1px; color: var(--accent); border-color: var(--accent-2); }

/* ===== Self-host ===== */
.selfhost { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sh-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; text-align: left; }
.sh-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.sh-list li { display: flex; gap: 11px; color: var(--text-2); font-size: 15px; }
.sh-list li::before {
  content: "✓"; color: var(--green); font-weight: 700; flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%; font-size: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(74, 198, 138, .12); border: 1px solid rgba(74, 198, 138, .3);
}
.sh-code {
  background: var(--bg); border: 1px solid var(--border-hi);
  border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm);
}
.sh-code .code { font-size: 13px; }
.sh-btn { margin-top: 18px; width: 100%; justify-content: center; }

/* ===== Disclaimer ===== */
.disclaimer { padding-top: 84px; padding-bottom: 0; }
.about { padding-top: 44px; padding-bottom: 44px; }
.disc-card {
  display: flex; gap: 20px; align-items: flex-start; text-align: left;
  max-width: 860px; margin: 0 auto;
  background: rgba(224, 160, 74, .06);
  border: 1px solid rgba(224, 160, 74, .3);
  border-radius: var(--radius); padding: 26px 28px;
}
.disc-ic { font-size: 24px; line-height: 1.3; flex-shrink: 0; }
.disc-card h3 { font-size: 17px; margin-bottom: 8px; color: var(--amber); }
.disc-card p { font-size: 14.5px; color: var(--text-2); }

/* ===== About ===== */
.about-card {
  display: flex; gap: 34px; align-items: center; text-align: left;
  max-width: 860px; margin: 0 auto;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 20px; padding: 40px 44px;
  box-shadow: var(--shadow-sm);
}
.about-avatar {
  width: 112px; height: 112px; flex-shrink: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 42px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, #c4a5ff, var(--accent-2) 55%, var(--accent-3));
  box-shadow: 0 8px 30px var(--accent-glow), inset 0 2px 0 rgba(255,255,255,.25);
  position: relative; overflow: hidden;
}
.about-avatar img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: 50%;
}
.about-text .kicker { margin-bottom: 8px; }
.about-text h2 { font-size: 26px; margin-bottom: 10px; }
.about-text p { color: var(--text-2); font-size: 15.5px; margin-bottom: 20px; max-width: 560px; }

/* ===== Final CTA ===== */
.final-cta { padding-top: 48px; padding-bottom: 120px; }
.final-inner {
  position: relative; text-align: center;
  padding: 74px 32px;
  background:
    radial-gradient(480px 260px at 50% 0, rgba(139, 92, 246, .16), transparent 70%),
    var(--bg-2);
  border: 1px solid var(--border-hi);
  border-radius: 24px; overflow: hidden;
}
.final-gem { margin: 0 auto 22px; border-radius: 14px; filter: drop-shadow(0 6px 24px var(--accent-glow)); animation: gemFloat 5s ease-in-out infinite; }
@keyframes gemFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.final-inner h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.7px; margin-bottom: 12px; }
.final-inner p { color: var(--text-2); margin-bottom: 30px; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--border); background: var(--bg-2); }
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: 28px 24px;
}
.foot-note { font-size: 12.5px; color: var(--text-3); }
.foot-links { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text-3); }
.foot-links a { color: var(--text-2); transition: color .15s; }
.foot-links a:hover { color: var(--accent); }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .fcard.wide { grid-column: span 2; grid-template-columns: 1fr; }
  .fcard.wide .qa-demo { grid-row: auto; }
  .sync-points { grid-template-columns: 1fr; }
  .sh-grid { grid-template-columns: 1fr; gap: 36px; }
  .mb-side { width: 178px; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .section { padding: 76px 18px; }
  .disclaimer { padding-bottom: 0; }
  .about { padding-top: 40px; padding-bottom: 36px; }
  .final-cta { padding-top: 36px; }
  .hero { padding-top: 58px; }
  .sync-demo { grid-template-columns: 1fr; }
  .sync-arrow { flex-direction: row; transform: rotate(90deg); margin: -4px auto; }
  .sync-arrow span { transform: rotate(-90deg); display: none; }
  .hero { padding-bottom: 64px; }
  .hero-mockups { margin-top: 46px; }
  .mock-phone {
    width: 200px; right: -10px; bottom: -18px;
    transform: scale(.66); transform-origin: bottom right;
    animation: none;
  }
  .mb-side { display: none; }
  .mb-app { min-height: 0; }
  .mb-main { padding: 14px; }
  .mb-search span, .mb-viewtabs > span > span { display: none; }
  .mb-viewtabs > span { padding: 5px 8px; }
  .hide-xs, .mchip.listc { display: none; }
  .about-card { flex-direction: column; text-align: center; padding: 34px 24px; }
  .about-text p { margin-left: auto; margin-right: auto; }
  .disc-card { flex-direction: column; gap: 12px; padding: 24px 22px; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
  .feat-grid { grid-template-columns: 1fr; }
  .fcard.wide { grid-column: span 1; }
  .btn-nav span:not(.gh-ic) { display: none; }
  .btn-nav { padding: 8px 10px; }
  .hero h1 { letter-spacing: -.6px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}
