:root {
  color-scheme: dark;
  --bg: #0b1020;
  --bg-elevated: rgba(17, 24, 39, 0.72);
  --bg-soft: rgba(255, 255, 255, 0.06);
  --bg-strong: rgba(255, 255, 255, 0.1);
  --text: #f5f7fb;
  --muted: #adb4c7;
  --line: rgba(255, 255, 255, 0.12);
  --pink: #ef1d6c;
  --cyan: #59d6ff;
  --green: #2dd881;
  --amber: #ffc46b;
  --shadow: 0 26px 80px rgba(3, 8, 20, 0.48);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(89, 214, 255, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(239, 29, 108, 0.16), transparent 24%),
    linear-gradient(180deg, #0a0f1d 0%, #0d1324 55%, #070b15 100%);
}

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

img {
  display: block;
  max-width: 100%;
}

.page {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.topbar,
.hero,
.feature-grid,
.screenshots-grid,
.callout,
.panel,
.footer {
  backdrop-filter: blur(18px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(12, 18, 34, 0.72);
  box-shadow: var(--shadow);
  position: sticky;
  top: 16px;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  padding: 6px;
}

.brand strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.1;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 2px;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.topnav a {
  color: var(--muted);
  font-size: 0.92rem;
}

.topnav a:hover,
.topnav a:focus-visible {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 26px;
  margin-top: 26px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(19, 26, 47, 0.88), rgba(12, 16, 30, 0.68));
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.8;
  pointer-events: none;
}

.hero::before {
  width: 220px;
  height: 220px;
  right: -70px;
  top: -40px;
  background: rgba(239, 29, 108, 0.18);
}

.hero::after {
  width: 180px;
  height: 180px;
  left: -40px;
  bottom: -40px;
  background: rgba(89, 214, 255, 0.15);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 6px rgba(239, 29, 108, 0.16);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  max-width: 10ch;
}

.hero p {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--pink), #ff4f87);
  color: white;
}

.button-secondary {
  background: var(--bg-soft);
  border-color: var(--line);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(89, 214, 255, 0.35);
}

.button-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.meta-row li {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  display: grid;
  gap: 16px;
  align-content: start;
}

.mock-browser,
.panel,
.callout,
.screenshot-card {
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
}

.mock-browser {
  border-radius: 24px;
  overflow: hidden;
}

.mock-browser-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dots {
  display: inline-flex;
  gap: 7px;
}

.dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.mock-browser-bar {
  height: 10px;
  border-radius: 999px;
  margin-left: 8px;
  background: linear-gradient(90deg, rgba(239, 29, 108, 0.8), rgba(89, 214, 255, 0.8));
  flex: 1;
}

.mock-browser-body {
  padding: 16px;
}

.hero-shot {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  object-fit: cover;
}

.mini-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.panel {
  padding: 18px;
  border-radius: 22px;
}

.panel-title {
  margin: 0 0 8px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan);
}

.panel strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.section {
  margin-top: 28px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 14px;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  letter-spacing: -0.03em;
}

.section-header p {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.7;
}

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

.feature-card {
  padding: 20px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(13, 19, 36, 0.7);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(239, 29, 108, 0.2), rgba(89, 214, 255, 0.18));
  color: white;
  font-size: 1.1rem;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.screenshot-card {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
}

.screenshot-card img {
  width: 100%;
  aspect-ratio: 1280 / 800;
  object-fit: cover;
}

.screenshot-card figcaption {
  padding: 14px 16px 16px;
  color: var(--muted);
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(239, 29, 108, 0.18), rgba(89, 214, 255, 0.14)),
    rgba(10, 15, 29, 0.82);
}

.callout h2,
.callout p {
  margin: 0;
}

.callout p {
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.7;
}

.callout-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.footer {
  margin-top: 24px;
  padding: 20px 4px 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.94rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.privacy-layout {
  display: grid;
  gap: 20px;
}

.privacy-hero {
  padding: 28px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(12, 18, 34, 0.78);
  box-shadow: var(--shadow);
}

.privacy-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.privacy-hero p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  max-width: 78ch;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.privacy-block {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(14, 20, 36, 0.72);
  box-shadow: var(--shadow);
}

.privacy-block h2 {
  margin: 0 0 12px;
  font-size: 1.12rem;
}

.privacy-block p,
.privacy-block li {
  color: var(--muted);
  line-height: 1.75;
}

.privacy-block ul {
  margin: 0;
  padding-left: 20px;
}

.privacy-note {
  border-left: 3px solid var(--green);
}

@media (max-width: 960px) {
  .hero,
  .callout,
  .privacy-grid,
  .feature-grid,
  .screenshots-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    position: static;
  }

  .section-header {
    flex-direction: column;
    align-items: start;
  }

  .callout-links {
    justify-content: start;
  }

  .mini-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page {
    width: min(100% - 20px, 1200px);
    padding: 10px 0 28px;
  }

  .topbar,
  .hero,
  .panel,
  .feature-card,
  .privacy-hero,
  .privacy-block,
  .callout {
    border-radius: 20px;
  }

  .topbar {
    padding: 14px;
  }

  .hero {
    padding: 22px;
  }

  .hero h1 {
    max-width: none;
  }

  .button {
    width: 100%;
  }

  .cta-row,
  .topnav,
  .footer-links {
    width: 100%;
  }
}

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

  .button {
    transition: none;
  }
}
