:root {
  --bg: #09090f;
  --panel: rgba(18, 16, 28, 0.76);
  --panel-strong: #14101f;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f7f4ff;
  --muted: rgba(247, 244, 255, 0.66);
  --soft: rgba(247, 244, 255, 0.42);
  --purple: #7c3aed;
  --purple-2: #a78bfa;
  --purple-3: #c084fc;
  --green: #10b981;
  --radius: 8px;
  --font: 'Outfit', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 8%, rgba(124, 58, 237, 0.3), transparent 32%),
    radial-gradient(circle at 90% 12%, rgba(192, 132, 252, 0.16), transparent 26%),
    linear-gradient(180deg, #0d0d14, var(--bg));
  color: var(--text);
  font-family: var(--font);
  overflow-x: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0;
  backdrop-filter: blur(18px);
}

.brand,
.header-btn,
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.brand {
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 34px;
  height: 34px;
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

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

.header-btn,
.secondary-btn {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  padding: 9px 13px;
  font-weight: 700;
}

.primary-btn {
  min-height: 44px;
  border: 0;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-3));
  padding: 12px 16px;
  font-weight: 800;
  box-shadow: 0 18px 40px rgba(124, 58, 237, 0.32);
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: 48px;
  padding: 42px 0 54px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--purple-2);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.hero-text {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 20px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.trust-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 11px;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 620px;
}

.app-mock {
  width: min(100%, 470px);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(13, 13, 18, 0.9);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.52);
  padding: 18px;
}

.animated-mock {
  --cycle: 13s;
}

.mock-header,
.mock-search,
.clip-card,
.shared-card,
.task-preview,
.download-panel {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
}

.mock-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-radius: 12px;
  padding: 14px;
}

.mock-title-copy {
  min-width: 0;
  flex: 1;
}

.mock-header h2 {
  position: relative;
  min-height: 29px;
  overflow: hidden;
  margin: 0 0 4px;
  font-size: 24px;
}

.mock-header p,
.clip-card small,
.task-preview p {
  margin: 0;
  color: var(--muted);
}

.mock-header h2 span,
.mock-header p span {
  display: block;
  transition: opacity 220ms ease, transform 220ms ease;
}

.mock-header h2 span + span,
.mock-header p span + span {
  position: absolute;
  left: 0;
  top: 0;
}

.mock-header p {
  position: relative;
  min-height: 22px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.title-task,
.sub-task {
  animation: taskTitle var(--cycle) infinite;
}

.title-clip,
.sub-clip {
  animation: clipTitle var(--cycle) infinite;
}

.mock-actions {
  display: flex;
  gap: 8px;
  color: var(--soft);
  font-size: 20px;
}

.mock-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 14px 0;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.mock-tabs span {
  display: flex;
  justify-content: center;
  gap: 7px;
  color: var(--muted);
  border-radius: 6px;
  padding: 9px 6px;
  min-width: 0;
  white-space: nowrap;
  font-size: 13px;
}

.mock-tabs .active {
  color: var(--text);
  background: rgba(124, 58, 237, 0.28);
}

.animated-mock .tab-task {
  animation: tabTask var(--cycle) infinite;
}

.animated-mock .tab-clip {
  animation: tabClip var(--cycle) infinite;
}

.mock-stage {
  position: relative;
  min-height: 356px;
  overflow: hidden;
}

.mock-scene {
  position: absolute;
  inset: 0;
}

.task-scene {
  animation: taskScene var(--cycle) infinite;
}

.clip-scene {
  animation: clipScene var(--cycle) infinite;
}

.mock-input {
  display: flex;
  align-items: center;
  position: relative;
  min-height: 42px;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  padding: 0 12px;
  overflow: hidden;
}

.type-line {
  position: absolute;
  left: 12px;
  right: 12px;
  display: block;
  width: 0;
  overflow: hidden;
  border-right: 2px solid transparent;
  white-space: nowrap;
  opacity: 0;
}

.type-one {
  max-width: 33ch;
  animation: typeOne var(--cycle) steps(35, end) infinite;
}

.type-two {
  max-width: 31ch;
  animation: typeTwo var(--cycle) steps(31, end) infinite;
}

.type-three {
  max-width: 23ch;
  animation: typeThree var(--cycle) steps(23, end) infinite;
}

.clipboard-capture {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(167, 139, 250, 0.42);
  border-radius: var(--radius);
  background: rgba(124, 58, 237, 0.16);
  padding: 12px;
  opacity: 0;
  transform: translateY(12px);
  animation: clipboardCapture var(--cycle) infinite;
}

.clipboard-capture i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-3));
  font-size: 20px;
}

.clipboard-capture strong,
.clipboard-capture span {
  display: block;
  min-width: 0;
}

.clipboard-capture span {
  color: var(--muted);
  font-size: 13px;
}

.mock-search {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 9px;
  border-radius: var(--radius);
  color: var(--muted);
  padding: 8px 10px;
  margin-top: 10px;
}

.mock-search button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: var(--radius);
  background: var(--purple);
  color: #fff;
}

.mock-filters {
  display: flex;
  gap: 7px;
  overflow: hidden;
  margin: 13px 0;
}

.mock-filters span {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  padding: 6px 10px;
  font-size: 12px;
}

.mock-filters .active {
  color: var(--text);
  background: rgba(124, 58, 237, 0.24);
}

.community-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.community-strip span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 10px;
  font-size: 13px;
  white-space: nowrap;
}

.clip-card,
.shared-card,
.task-preview,
.task-row {
  display: grid;
  align-items: center;
  gap: 12px;
  border-radius: var(--radius);
  margin-top: 9px;
  padding: 12px;
}

.clip-card {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.shared-card {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.task-row {
  grid-template-columns: auto 1fr;
  opacity: 0;
  transform: translateY(12px);
}

.task-row p {
  margin: 0;
  color: var(--text);
}

.task-one {
  animation: taskRowOne var(--cycle) infinite;
}

.task-two {
  animation: taskRowTwo var(--cycle) infinite;
}

.task-three {
  animation: taskRowThree var(--cycle) infinite;
}

.clip-card p {
  margin: 0 0 4px;
  word-break: break-word;
}

.shared-card p {
  margin: 0 0 4px;
}

.shared-card small {
  color: var(--muted);
}

.shared-card > i {
  color: var(--purple-2);
  font-size: 22px;
}

.swatch,
.link-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.82);
}

.link-icon {
  display: grid;
  place-items: center;
  border-color: var(--line);
  color: var(--purple-2);
}

.clip-icons {
  display: flex;
  gap: 8px;
  color: var(--purple-2);
}

.task-preview {
  grid-template-columns: auto 1fr;
}

.done {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--green);
  color: #06130a;
}

.task-check {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  color: transparent;
  background: rgba(255, 255, 255, 0.05);
}

.task-one .task-check {
  animation: checkTask var(--cycle) infinite 2.05s;
}

.task-two .task-check {
  animation: checkTask var(--cycle) infinite 4.2s;
}

.task-three .task-check {
  animation: checkTask var(--cycle) infinite 6.2s;
}

.clip-one,
.clip-two,
.clip-three {
  opacity: 0;
  transform: translateY(14px) scale(0.98);
}

.clip-one {
  animation: clipItemOne var(--cycle) infinite;
}

.clip-two {
  animation: clipItemTwo var(--cycle) infinite;
}

.clip-three {
  animation: clipItemThree var(--cycle) infinite;
}

@keyframes taskTitle {
  0%, 60% { opacity: 1; transform: translateY(0); }
  64%, 96% { opacity: 0; transform: translateY(-8px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes clipTitle {
  0%, 60% { opacity: 0; transform: translateY(8px); }
  64%, 96% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(8px); }
}

@keyframes tabTask {
  0%, 60% { color: var(--text); background: rgba(124, 58, 237, 0.28); }
  64%, 96% { color: var(--muted); background: transparent; }
  100% { color: var(--text); background: rgba(124, 58, 237, 0.28); }
}

@keyframes tabClip {
  0%, 60% { color: var(--muted); background: transparent; }
  64%, 96% { color: var(--text); background: rgba(124, 58, 237, 0.28); }
  100% { color: var(--muted); background: transparent; }
}

@keyframes taskScene {
  0%, 60% { opacity: 1; transform: translateX(0); pointer-events: auto; }
  64%, 96% { opacity: 0; transform: translateX(-16px); pointer-events: none; }
  100% { opacity: 1; transform: translateX(0); pointer-events: auto; }
}

@keyframes clipScene {
  0%, 60% { opacity: 0; transform: translateX(16px); pointer-events: none; }
  64%, 96% { opacity: 1; transform: translateX(0); pointer-events: auto; }
  100% { opacity: 0; transform: translateX(16px); pointer-events: none; }
}

@keyframes typeOne {
  0%, 3% { width: 0; opacity: 1; border-right-color: var(--purple-2); }
  16%, 22% { width: 33ch; opacity: 1; border-right-color: var(--purple-2); }
  25%, 100% { width: 33ch; opacity: 0; border-right-color: transparent; }
}

@keyframes typeTwo {
  0%, 24% { width: 0; opacity: 0; border-right-color: transparent; }
  26% { width: 0; opacity: 1; border-right-color: var(--purple-2); }
  39%, 45% { width: 31ch; opacity: 1; border-right-color: var(--purple-2); }
  48%, 100% { width: 31ch; opacity: 0; border-right-color: transparent; }
}

@keyframes typeThree {
  0%, 47% { width: 0; opacity: 0; border-right-color: transparent; }
  49% { width: 0; opacity: 1; border-right-color: var(--purple-2); }
  58%, 60% { width: 23ch; opacity: 1; border-right-color: var(--purple-2); }
  64%, 100% { width: 23ch; opacity: 0; border-right-color: transparent; }
}

@keyframes taskRowOne {
  0%, 15% { opacity: 0; transform: translateY(12px); }
  18%, 60% { opacity: 1; transform: translateY(0); }
  64%, 100% { opacity: 0; transform: translateY(-10px); }
}

@keyframes taskRowTwo {
  0%, 31% { opacity: 0; transform: translateY(12px); }
  34%, 60% { opacity: 1; transform: translateY(0); }
  64%, 100% { opacity: 0; transform: translateY(-10px); }
}

@keyframes taskRowThree {
  0%, 45% { opacity: 0; transform: translateY(12px); }
  48%, 60% { opacity: 1; transform: translateY(0); }
  64%, 100% { opacity: 0; transform: translateY(-10px); }
}

@keyframes checkTask {
  0%, 64%, 100% {
    color: transparent;
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--line-strong);
  }
  8%, 60% {
    color: #06130a;
    background: var(--green);
    border-color: rgba(255, 255, 255, 0.1);
  }
}

@keyframes clipItemOne {
  0%, 66% { opacity: 0; transform: translateY(14px) scale(0.98); }
  70%, 96% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(14px) scale(0.98); }
}

@keyframes clipboardCapture {
  0%, 64% { opacity: 0; transform: translateY(12px); }
  68%, 96% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}

@keyframes clipItemTwo {
  0%, 74% { opacity: 0; transform: translateY(14px) scale(0.98); }
  78%, 96% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(14px) scale(0.98); }
}

@keyframes clipItemThree {
  0%, 82% { opacity: 0; transform: translateY(14px) scale(0.98); }
  86%, 96% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(14px) scale(0.98); }
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 24px 0 64px;
}

.stats div,
.feature-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 20px;
}

.stats strong {
  display: block;
  font-size: 32px;
}

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

.section {
  padding: 64px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 26px;
}

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

.feature-grid i {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-3));
  font-size: 22px;
  margin-bottom: 18px;
}

.feature-grid p,
.split p,
.download-panel p,
footer p {
  color: var(--muted);
  line-height: 1.55;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 36px;
  align-items: center;
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.capability-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  padding: 13px;
}

.capability-list i {
  color: var(--purple-2);
  font-size: 20px;
}

.download-panel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  border-radius: 18px;
  margin: 64px 0;
  padding: 22px;
}

.download-panel img {
  width: 78px;
  height: 78px;
}

.download-panel h2 {
  margin-bottom: 8px;
}

.download-panel p {
  margin: 0;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  color: var(--muted);
}

@media (max-width: 920px) {
  nav {
    display: none;
  }

  .hero,
  .split,
  .download-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

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

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

  .download-panel .primary-btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .site-header {
    width: calc(100% - 24px);
  }

  .header-btn {
    display: none;
  }

  main,
  footer {
    width: calc(100% - 24px);
  }

  h1 {
    font-size: 42px;
  }

  .hero-actions,
  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .hero-visual {
    min-height: auto;
  }

  .app-mock {
    padding: 14px;
  }

  .mock-tabs span,
  .community-strip span {
    font-size: 12px;
  }

  .stats,
  .feature-grid,
  .capability-list {
    grid-template-columns: 1fr;
  }

  .download-panel {
    text-align: left;
  }

  footer {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
