:root {
  --bg-base: #0c0d11;
  --bg-elevated: rgba(255, 255, 255, 0.04);
  --bg-glass: rgba(20, 22, 28, 0.7);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --text-primary: #f2f3f5;
  --text-secondary: #9aa0aa;
  --text-muted: #5f6470;
  --accent: #7c5cff;
  --accent-hover: #8e72ff;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --max-width: 1080px;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background:
    radial-gradient(
      ellipse 80% 50% at 50% -10%,
      rgba(124, 92, 255, 0.18),
      transparent 60%
    ),
    var(--bg-base);
  color: var(--text-primary);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-weight: 700;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 16px;
}

.grad-text {
  background: linear-gradient(135deg, #b8a5ff, #7c5cff);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

/* Nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: var(--bg-glass);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border-subtle);
}

.brand {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.brand-text {
  background: linear-gradient(135deg, #f2f3f5, #b8a5ff);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    transform 140ms cubic-bezier(0.2, 0.7, 0.2, 1),
    background-color 140ms ease,
    box-shadow 140ms ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #6a4cf5);
  color: white;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.16) inset,
    0 2px 8px rgba(124, 92, 255, 0.3);
}

.btn-primary:hover {
  color: white;
  background: linear-gradient(135deg, var(--accent-hover), #7e60f7);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 8px 24px rgba(124, 92, 255, 0.45);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-subtle);
  color: var(--text-primary);
}

.btn-ghost:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.btn-lg {
  padding: 14px 26px;
  font-size: 15px;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 96px 24px 64px;
}

.hero h1 {
  font-size: clamp(36px, 4vw, 54px);
  margin-bottom: 22px;
}

.lede {
  color: var(--text-secondary);
  font-size: 17px;
  margin: 0 0 32px;
  max-width: 560px;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.trust-line {
  color: var(--text-muted);
  font-size: 13px;
  margin: 0;
}

/* Hero frame mockup */

.hero-frame {
  background: linear-gradient(135deg, #ff5f6d, #ffc371);
  border-radius: var(--radius-lg);
  padding: 56px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 24px 60px rgba(0, 0, 0, 0.45);
  transform: rotate(-1deg);
}

.hero-frame-inner {
  background: #1b1d24;
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.hero-shot {
  background: #232631;
  border-radius: 4px;
  padding: 16px;
  position: relative;
  min-height: 160px;
}

.hero-shot-bar {
  height: 24px;
  background: #2d3142;
  border-radius: 4px;
  margin-bottom: 14px;
}

.hero-shot-blur {
  position: absolute;
  top: 60px;
  left: 16px;
  right: 16px;
  height: 22px;
  border-radius: 3px;
  background: linear-gradient(
    90deg,
    rgba(78, 84, 109, 0.95),
    rgba(118, 124, 149, 0.95) 30%,
    rgba(78, 84, 109, 0.95) 60%,
    rgba(118, 124, 149, 0.95)
  );
  filter: blur(4px);
}

.hero-shot-text {
  position: absolute;
  bottom: 18px;
  left: 16px;
  color: #f2f3f5;
  font-weight: 600;
  font-size: 18px;
}

/* Sections */

section {
  padding: 88px 0;
}

h2 {
  font-size: clamp(28px, 3vw, 38px);
  margin-bottom: 14px;
}

.section-sub {
  color: var(--text-secondary);
  font-size: 17px;
  margin: 0 0 48px;
  max-width: 640px;
}

/* Pillars */

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

.pillar {
  padding: 28px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition:
    transform 200ms cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 200ms ease,
    background-color 200ms ease;
}

.pillar:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 92, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.pillar-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 92, 255, 0.18);
  border-radius: 10px;
  color: var(--accent);
  margin-bottom: 18px;
}

.pillar-icon svg {
  width: 22px;
  height: 22px;
}

.pillar h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.pillar p {
  color: var(--text-secondary);
  font-size: 14.5px;
  margin: 0;
  line-height: 1.6;
}

/* How it works */

.how {
  background: linear-gradient(
    180deg,
    transparent,
    rgba(124, 92, 255, 0.04),
    transparent
  );
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 48px;
}

.step-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #6a4cf5);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-card h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0;
}

.step-arrow {
  color: var(--text-muted);
  font-size: 22px;
}

/* Annotate showcase */

.annotate-showcase-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.annotate-copy h2 {
  margin-bottom: 18px;
}

.annotate-copy > p {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 18px;
}

.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
}

.bullet-list li {
  position: relative;
  padding: 6px 0 6px 24px;
}

.bullet-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 14px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.annotate-shot {
  background: linear-gradient(135deg, #134e5e, #71b280);
  border-radius: var(--radius-lg);
  padding: 56px;
  min-height: 280px;
  position: relative;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.annotate-shot::before {
  content: '';
  position: absolute;
  inset: 32px;
  background: #1b1d24;
  border-radius: 8px;
}

.annotate-shot-arrow {
  position: absolute;
  bottom: 80px;
  left: 80px;
  width: 80px;
  height: 4px;
  background: #ff5f6d;
  border-radius: 4px;
  transform: rotate(-30deg);
}

.annotate-shot-arrow::after {
  content: '';
  position: absolute;
  right: -2px;
  top: -8px;
  border: 10px solid transparent;
  border-left-color: #ff5f6d;
}

.annotate-shot-num {
  position: absolute;
  top: 80px;
  right: 100px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ff5f6d;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  z-index: 1;
}

.annotate-shot-text {
  position: absolute;
  bottom: 110px;
  right: 80px;
  color: #ff5f6d;
  font-weight: 600;
  font-size: 15px;
  z-index: 1;
}

/* Quick-start tip + shortcuts */

.quickstart-tip {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 32px;
  text-align: center;
}

.shortcut-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}

.shortcut-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.shortcut-row span {
  color: var(--text-secondary);
  font-size: 14px;
}

kbd {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  font-family: Menlo, "SF Mono", Consolas, monospace;
  font-size: 12px;
  color: var(--text-primary);
}

@media (max-width: 720px) {
  .shortcut-grid {
    grid-template-columns: 1fr;
  }
}

/* Privacy */

.privacy {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.privacy h2 {
  margin-bottom: 24px;
}

.privacy-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
}

.privacy-list strong {
  color: var(--text-primary);
}

/* Install CTA */

.install {
  text-align: center;
}

.install h2 {
  margin-bottom: 16px;
}

.install > .container > p {
  color: var(--text-secondary);
  font-size: 17px;
  margin: 0 auto 28px;
  max-width: 560px;
}

.install-sub {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 16px;
}

/* Footer */

.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

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

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

/* Responsive */

@media (max-width: 880px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 56px;
  }
  .hero-frame {
    transform: none;
  }
  .pillar-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .step-arrow {
    transform: rotate(90deg);
    margin: 0 auto;
  }
  .annotate-showcase-inner {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
