:root {
  --bg: #0b0d12;
  --surface: #131825;
  --surface-2: #0f1420;
  --stroke: rgba(255, 255, 255, 0.12);
  --text: #edf2fa;
  --muted: #9aa8bd;
  --accent: #65b5ff;
  --accent-2: #64e3be;
  --danger: #ff9a62;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Space Grotesk", "Segoe UI", Roboto, sans-serif;
  background:
    radial-gradient(1300px 500px at 20% -10%, rgba(101, 181, 255, 0.18), transparent),
    radial-gradient(900px 380px at 95% 0%, rgba(100, 227, 190, 0.11), transparent),
    var(--bg);
  color: var(--text);
  line-height: 1.45;
  min-height: 100vh;
}

.wrap {
  width: min(1440px, calc(100% - 40px));
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  /* position: sticky; */
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  margin: 0 auto;
  /* background: rgba(11, 13, 18, 0.8); */
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

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

.topbar nav {
  display: inline-flex;
  gap: 14px;
}

.topbar nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

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

main section {
  margin: 34px auto;
  padding: 26px;
  background: linear-gradient(180deg, rgba(19, 24, 37, 0.94), rgba(15, 20, 32, 0.9));
  border: 1px solid var(--stroke);
  border-radius: 16px;
}

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

h1 {
  margin: 0;
  font-size: clamp(30px, 6vw, 50px);
  line-height: 1.04;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 4vw, 32px);
}

h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.lead {
  margin: 14px 0 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--stroke);
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  transition: background 120ms ease, transform 120ms ease;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.btn.primary {
  background: linear-gradient(135deg, rgba(101, 181, 255, 0.3), rgba(100, 227, 190, 0.22));
  border-color: rgba(101, 181, 255, 0.55);
}

.btn.disabled {
  opacity: 0.6;
  pointer-events: none;
}

.demo-card {
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.25);
}

.demo-screen {
  height: 260px;
  border-radius: 12px;
  background:
    linear-gradient(120deg, rgba(101, 181, 255, 0.1), transparent 55%),
    linear-gradient(180deg, #111722, #080b12);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
}

.demo-overlay {
  min-width: 280px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 11, 16, 0.82);
  text-align: center;
  display: grid;
  gap: 8px;
}

.demo-overlay strong {
  font-size: 22px;
}

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

.demo-overlay button {
  margin: 4px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: #1f2635;
  color: var(--text);
  padding: 8px 12px;
}

.screenshots .subtle-text {
  margin: 0 0 12px;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.shot-card {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.shot-open {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  line-height: 0;
  cursor: zoom-in;
}

.shot-card img {
  width: 100%;
  height: auto;
  display: block;
}

.shot-card figcaption {
  font-size: 14px;
  color: var(--muted);
  padding: 10px 12px 12px;
}

.lightbox-open {
  overflow: hidden;
}

.shot-lightbox[hidden] {
  display: none;
}

.shot-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
}

.shot-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 14, 0.85);
  backdrop-filter: blur(2px);
}

.shot-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  max-height: 90vh;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 10px;
}

.shot-lightbox-image {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.35);
}

.shot-lightbox-caption {
  margin: 0;
  color: #dce6f7;
  text-align: center;
  font-size: 15px;
  line-height: 1.35;
}

.shot-lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(12, 18, 30, 0.95);
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.shot-lightbox-nav {
  position: absolute;
  top: calc(50% - 36px);
  width: 44px;
  height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  background: rgba(12, 18, 30, 0.9);
  color: #ffffff;
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
}

.shot-lightbox-prev {
  left: -60px;
}

.shot-lightbox-next {
  right: -60px;
}

.demo-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

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

.feature-grid article {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.feature-grid p,
.summary p,
.support p,
.trust p {
  margin: 0;
  color: var(--muted);
}

.summary-note {
  margin-top: 12px !important;
  padding: 12px 14px;
  border: 1px solid rgba(101, 181, 255, 0.35);
  border-radius: 10px;
  background: rgba(101, 181, 255, 0.08);
  color: #d9e9ff !important;
}

.summary-note strong {
  color: #eef5ff;
}

.trust ul {
  margin: 0 0 12px;
  padding-left: 20px;
  color: var(--muted);
}

.trust code {
  color: var(--accent);
}

a {
  color: var(--accent);
}

.support-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.support-links a {
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.support-links a:hover {
  background: rgba(255, 255, 255, 0.07);
}

.subtle-text {
  color: var(--muted);
}

.support-form {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.support-form-row {
  display: grid;
  gap: 6px;
}

.support-form label {
  font-size: 14px;
  color: #d8e0ee;
}

.support-form input,
.support-form select,
.support-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(10, 15, 24, 0.9);
  color: var(--text);
  padding: 10px 12px;
  font: inherit;
}

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

.support-form input:focus,
.support-form select:focus,
.support-form textarea:focus {
  outline: none;
  border-color: rgba(101, 181, 255, 0.8);
  box-shadow: 0 0 0 2px rgba(101, 181, 255, 0.18);
}

.form-alert {
  margin-top: 14px;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid transparent;
}

.form-alert-success {
  color: #d7f5e9;
  background: rgba(26, 79, 58, 0.45);
  border-color: rgba(100, 227, 190, 0.35);
}

.form-alert-error {
  color: #ffd6d6;
  background: rgba(92, 27, 27, 0.42);
  border-color: rgba(255, 108, 108, 0.38);
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.faq details {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 12px 0;
}

.faq details:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq p {
  margin: 8px 0 0;
  color: var(--muted);
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 0 34px;
  color: var(--muted);
  margin: 0 auto;
}

.footer div {
  display: inline-flex;
  gap: 14px;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

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

@media (max-width: 720px) {
  .topbar {
    position: static;
  }

  .topbar,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  main section {
    padding: 20px;
  }

  .demo-screen {
    height: 210px;
  }

  .demo-overlay {
    min-width: 0;
    width: 100%;
  }

  .shot-lightbox {
    padding: 12px;
  }

  .shot-lightbox-close {
    top: 6px;
    right: 6px;
    width: 34px;
    height: 34px;
    font-size: 22px;
  }

  .shot-lightbox-nav {
    width: 38px;
    height: 58px;
    font-size: 30px;
    top: calc(50% - 29px);
  }

  .shot-lightbox-prev {
    left: 6px;
  }

  .shot-lightbox-next {
    right: 6px;
  }
}
