:root {
  --bg: #080a0f;
  --bg-soft: #0f1320;
  --card: rgba(20, 25, 39, 0.72);
  --card-strong: rgba(28, 34, 52, 0.86);
  --text: #f8fafc;
  --muted: #a5afc2;
  --faint: #6f7a91;
  --line: rgba(255,255,255,.09);
  --accent: #8b7cff;
  --accent-2: #27d5c3;
  --shadow: 0 28px 90px rgba(0,0,0,.45);
  --radius: 28px;
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #f6f7fb;
  --bg-soft: #ffffff;
  --card: rgba(255,255,255,.78);
  --card-strong: rgba(255,255,255,.92);
  --text: #111827;
  --muted: #4b5563;
  --faint: #6b7280;
  --line: rgba(17,24,39,.10);
  --accent: #5b5ff6;
  --accent-2: #089e90;
  --shadow: 0 28px 90px rgba(15,23,42,.12);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 5%, rgba(139,124,255,.24), transparent 32rem),
    radial-gradient(circle at 86% 16%, rgba(39,213,195,.13), transparent 30rem),
    linear-gradient(135deg, rgba(255,255,255,.025), transparent 42%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(8,10,15,.72);
  backdrop-filter: blur(18px);
}

[data-theme="light"] .nav {
  background: rgba(246,247,251,.76);
}

.nav-inner {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  letter-spacing:-.02em;
}

.logo-dot {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 26px rgba(139,124,255,.45);
}

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

.nav-links a,
.pill-btn {
  border: 1px solid transparent;
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor:pointer;
}

.nav-links a:hover,
.pill-btn:hover {
  color: var(--text);
  background: rgba(255,255,255,.06);
  border-color: var(--line);
}

.hero { padding: 100px 0 54px; }
.page-hero { padding: 80px 0 36px; }

.eyebrow {
  display:inline-flex;
  align-items:center;
  gap:8px;
  color: var(--accent-2);
  font-weight: 750;
  font-size: 14px;
  margin-bottom: 18px;
}

.eyebrow::before {
  content:"";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 18px var(--accent-2);
}

h1 {
  font-size: clamp(48px, 8vw, 104px);
  line-height: .92;
  letter-spacing: -.075em;
  margin: 0 0 24px;
  max-width: 920px;
}

h2 {
  font-size: clamp(32px, 4vw, 54px);
  line-height:1;
  letter-spacing:-.055em;
  margin:0;
}

.lead {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 760px;
  margin: 0 0 34px;
}

.actions,
.store-row {
  display:flex;
  align-items:center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 750;
  font-size: 14px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.22);
}

.btn-primary {
  color:white;
  background: linear-gradient(135deg, var(--accent), #6da7ff);
  border-color: transparent;
  box-shadow: 0 12px 38px rgba(139,124,255,.28);
}

.btn-secondary {
  background: rgba(255,255,255,.06);
  color: var(--text);
}

.section { padding: 50px 0 90px; }

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

.section-copy {
  color: var(--muted);
  max-width: 520px;
  line-height: 1.6;
  margin: 0;
}

.apps-grid {
  display:grid;
  gap: 28px;
}

.app-card {
  position: relative;
  overflow: hidden;
  display:grid;
  grid-template-columns: minmax(310px, .82fr) minmax(420px, 1.18fr);
  gap: 34px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card-strong), var(--card));
  box-shadow: var(--shadow);
  max-width: 980px;
  margin: 0 auto;
}

.app-card::before {
  content:"";
  position:absolute;
  inset:auto -20% -45% 22%;
  height: 260px;
  background: radial-gradient(circle, rgba(139,124,255,.22), transparent 70%);
  pointer-events:none;
}

.app-info {
  position: relative;
  z-index:1;
}

.app-top {
  display:flex;
  gap: 18px;
  align-items:center;
  margin-bottom: 20px;
}

.app-icon {
  width: 78px;
  height: 78px;
  border-radius: 20px;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 0 18px 36px rgba(0,0,0,.25);
  background: var(--bg-soft);
}

.app-title {
  font-size: 28px;
  font-weight: 850;
  letter-spacing:-.04em;
  margin:0 0 5px;
}

.app-subtitle {
  color: var(--accent-2);
  font-weight: 760;
  margin:0;
}

.app-description {
  color: var(--muted);
  line-height:1.65;
  margin: 0 0 18px;
}

.features {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  display:grid;
  gap: 10px;
  color: var(--muted);
}

.features li {
  display:flex;
  gap: 10px;
  align-items:flex-start;
}

.features li::before {
  content:"✓";
  color: var(--accent-2);
  font-weight:900;
}

.gallery-wrap {
  position: relative;
  min-width: 0;
  z-index: 1;
}

.screenshots {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 48px 20px;
  scrollbar-width: none;
  max-width: 100%;
  mask-image: linear-gradient(to right, transparent, black 4%, black 92%, transparent);
}

.screenshots::-webkit-scrollbar {
  display: none;
}

.screenshot-shot {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.screenshot-shot img {
  height: 420px;
  width: auto;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 22px 54px rgba(0,0,0,.36);
  background: #111;
}

.screenshot-shot:nth-child(even) {
  transform: translateY(22px);
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 38px;
  height: 38px;
  transform: translateY(-50%);
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(15, 19, 32, .82);
  color: var(--text);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(14px);
}

.gallery-prev { left: 4px; }
.gallery-next { right: 4px; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(16px);
}

.lightbox.is-open { display: flex; }
.lightbox-open { overflow: hidden; }

.lightbox-image {
  max-width: min(92vw, 520px);
  max-height: 88vh;
  border-radius: 28px;
  box-shadow: 0 30px 100px rgba(0,0,0,.55);
}

.lightbox-close,
.lightbox-arrow {
  position: fixed;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  color: white;
  cursor: pointer;
  backdrop-filter: blur(14px);
}

.lightbox-close {
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 30px;
}

.lightbox-arrow {
  top: 50%;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  transform: translateY(-50%);
  font-size: 42px;
  line-height: 1;
}

.lightbox-prev { left: 28px; }
.lightbox-next { right: 28px; }

.content-card {
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 34px;
  color: var(--muted);
  line-height:1.75;
}

.content-card h1,
.content-card h2,
.content-card h3 {
  color: var(--text);
  letter-spacing:-.04em;
}

.content-card h1 {
  font-size: 46px;
  line-height:1;
}

.content-card a {
  color: var(--accent-2);
}

.form {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 14px;
  color: var(--text);
  font-weight: 750;
}

.muted {
  color: var(--faint);
  font-weight: 600;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  min-height: 50px;
  font-size: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.055);
  color: var(--text);
  font: inherit;
}

.form textarea {
  min-height: 170px;
  resize: vertical;
}

.form input::placeholder,
.form textarea::placeholder {
  color: var(--faint);
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(139,124,255,.18);
}

.form .btn {
  width: 100%;
  min-height: 52px;
  margin-top: 6px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
  color: var(--faint);
  font-size: 14px;
}

.footer-inner {
  display:flex;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}

@media (max-width: 900px) {
  .nav-inner {
    padding: 14px 0;
    align-items:flex-start;
  }

  .nav-links {
    flex-wrap:wrap;
    justify-content:flex-end;
  }

  .hero { padding-top: 70px; }

  .app-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .screenshot-shot img {
    height: 340px;
  }

  .screenshots {
    padding-inline: 42px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .brand span { display:none; }

  .hero,
  .page-hero {
    padding: 52px 0 24px;
  }

  h1,
  .page-hero h1 {
    font-size: 44px;
    letter-spacing: -0.06em;
  }

  .lead {
    font-size: 17px;
    margin-bottom: 24px;
  }

  .section {
    padding: 28px 0 64px;
  }

  .section-head {
    display:block;
  }

  .app-top {
    align-items:flex-start;
  }

  .app-icon {
    width:64px;
    height:64px;
    border-radius:16px;
  }

  .app-title {
    font-size: 24px;
  }

  .screenshot-shot img {
    height: 300px;
  }

  .lightbox-arrow {
    width: 44px;
    height: 44px;
    font-size: 34px;
  }

  .lightbox-prev { left: 12px; }
  .lightbox-next { right: 12px; }

  .content-card {
    padding: 22px;
    border-radius: 22px;
  }

  .form {
    max-width: none;
    width: 100%;
    padding: 22px;
    border-radius: 22px;
    gap: 16px;
  }

  .form input,
  .form textarea,
  .form select {
    min-height: 48px;
    font-size: 16px;
    border-radius: 12px;
    padding: 13px 14px;
  }

  .form textarea {
    min-height: 170px;
  }

  .form .btn {
    width: 100%;
    min-height: 50px;
  }
}