:root {
  --bg: #06080f;
  --bg-soft: #101624;
  --card: #141d2e;
  --line: #1f2c44;
  --text: #eaf0ff;
  --muted: #9ca9c8;
  --accent: #f6d94d;
  --accent-2: #63d279;
  --accent-3: #49a9ff;
  --radius: 20px;
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

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

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

body {
  position: relative;
  background:
    radial-gradient(circle at 10% -5%, rgba(246, 217, 77, 0.24), transparent 32%),
    radial-gradient(circle at 95% 0%, rgba(73, 169, 255, 0.22), transparent 34%),
    linear-gradient(160deg, var(--bg) 0%, #0b1020 50%, #06080f 100%);
  color: var(--text);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  overflow-x: hidden;
}

.page-glow {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.2;
  pointer-events: none;
  z-index: -1;
}

.page-glow-left {
  left: -120px;
  bottom: 10%;
  background: var(--accent-2);
}

.page-glow-right {
  right: -120px;
  top: 20%;
  background: var(--accent-3);
}

.topbar,
main,
footer {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
}

.topbar-actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.42rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(247, 247, 248, 0.95);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.brand-logo {
  width: 24px;
  height: 24px;
  display: block;
}

.brand-wordmark {
  height: 20px;
  width: auto;
  display: block;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(90deg, var(--accent-2), var(--accent-3));
  color: #071019;
  padding: 0.78rem 1.25rem;
  box-shadow: 0 10px 25px rgba(73, 169, 255, 0.4);
}

.button-outline {
  border-color: rgba(246, 217, 77, 0.6);
  color: var(--text);
  padding: 0.62rem 1rem;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.2rem;
  align-items: center;
  margin: 1.2rem 0 3rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  margin: 0 0 0.45rem;
  font-size: 0.88rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

.lead {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.55;
}

.hero-chips {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin: 1.25rem 0;
}

.hero-chips span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.43rem 0.82rem;
  color: #ced8f2;
  background: rgba(20, 29, 46, 0.55);
  font-size: 0.9rem;
}

.note {
  margin: 0.65rem 0 0;
  color: #a4b4d6;
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  min-height: 480px;
}

.shot {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.shot img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.shot-main {
  height: 100%;
  min-height: 480px;
}

.shot-float {
  position: absolute;
  width: 42%;
  right: -2%;
  bottom: -9%;
  border-color: rgba(246, 217, 77, 0.5);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

.metrics article,
.feature-card,
.workflow li {
  background: linear-gradient(160deg, rgba(20, 29, 46, 0.8), rgba(12, 18, 31, 0.85));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.metrics article {
  padding: 1.2rem;
}

.metrics h2 {
  font-size: 1.65rem;
}

.metrics p {
  margin: 0.65rem 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.tester-signup {
  margin: 0 0 3rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(20, 29, 46, 0.8), rgba(12, 18, 31, 0.85));
  box-shadow: var(--shadow);
}

.tester-lead {
  margin: 0 0 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

.signup-form {
  margin: 0;
}

.signup-label {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: #ced8f2;
  font-weight: 600;
  font-size: 0.95rem;
}

.signup-row {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  flex-wrap: wrap;
}

.signup-row input[type="email"] {
  flex: 1;
  min-width: 230px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(6, 10, 18, 0.75);
  color: var(--text);
  padding: 0.82rem 1rem;
  font-size: 0.98rem;
}

.signup-row input[type="email"]::placeholder {
  color: #8ea1cc;
}

.signup-row input[type="email"]:focus {
  outline: none;
  border-color: var(--accent-3);
  box-shadow: 0 0 0 3px rgba(73, 169, 255, 0.18);
}

.signup-note {
  margin: 0.7rem 0 0;
  color: #9db0d9;
  font-size: 0.92rem;
}

.tester-links {
  margin-top: 0.95rem;
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.signup-feedback {
  min-height: 1.2rem;
  margin: 0.75rem 0 0;
  color: #b9c8ea;
  font-size: 0.93rem;
}

.signup-feedback.error {
  color: #ffb7b7;
}

.section-title {
  margin-bottom: 1.25rem;
}

.section-title h2 {
  font-size: clamp(1.7rem, 4vw, 2.8rem);
}

.features {
  margin: 0 0 3rem;
}

.video-showcase {
  margin: 0 0 3rem;
}

.video-frame {
  background: linear-gradient(160deg, rgba(20, 29, 46, 0.8), rgba(12, 18, 31, 0.85));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}

.promo-proof {
  margin: 0 0 3rem;
}

.promo-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
}

.promo-card {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(20, 29, 46, 0.8), rgba(12, 18, 31, 0.85));
  box-shadow: var(--shadow);
}

.promo-card img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.promo-card-wide img {
  object-fit: contain;
  background: #111;
}

.promo-card figcaption {
  padding: 0.72rem 0.9rem 0.82rem;
  color: #cad6f5;
  font-size: 0.92rem;
  line-height: 1.4;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-card {
  overflow: hidden;
}

.feature-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.zoomable-media {
  cursor: zoom-in;
}

.zoomable-media img {
  transition: transform 0.25s ease, filter 0.25s ease;
}

.zoomable-media:hover img {
  transform: scale(1.02);
  filter: brightness(1.04);
}

.image-lightbox {
  position: relative;
  width: min(94vw, 1100px);
  max-width: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--text);
  overflow: visible;
}

.image-lightbox::backdrop {
  background: rgba(3, 5, 10, 0.84);
  backdrop-filter: blur(8px);
}

.image-lightbox img {
  display: block;
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: calc(var(--radius) - 2px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
  background: #05070d;
}

.image-lightbox-close {
  position: absolute;
  top: -0.85rem;
  right: -0.85rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(10, 14, 24, 0.95);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  box-shadow: var(--shadow);
}

.image-lightbox-caption {
  margin: 0.8rem 0 0;
  color: #cad6f5;
  text-align: center;
  font-size: 0.95rem;
}

.feature-card div {
  padding: 1rem;
}

.feature-card h3 {
  font-size: 1.5rem;
}

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

.workflow {
  margin-bottom: 3rem;
}

.workflow ol {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.workflow li {
  padding: 1.2rem;
}

.workflow li::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-block;
  color: var(--accent);
  font-family: "Rajdhani", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.workflow h3 {
  font-size: 1.45rem;
}

.workflow p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

footer {
  border-top: 1px solid var(--line);
  padding: 1.3rem 0 2rem;
  color: #cad5f4;
}

.footnote {
  margin-top: 0.35rem;
  color: #8898bc;
  font-size: 0.9rem;
}

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

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

  .shot-main {
    min-height: 380px;
  }

  .shot-float {
    width: 38%;
    right: 1%;
    bottom: -10%;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .promo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .promo-card-wide {
    grid-column: 1 / -1;
  }

  .feature-grid,
  .workflow ol {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .topbar {
    padding: 1rem 0;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }

  .topbar-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .brand {
    padding: 0.35rem 0.62rem;
  }

  .brand-logo {
    width: 20px;
    height: 20px;
  }

  .brand-wordmark {
    height: 16px;
  }

  .feature-grid,
  .promo-grid,
  .workflow ol {
    grid-template-columns: 1fr;
  }

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

  .shot-main {
    min-height: 310px;
  }

  .shot-float {
    width: 44%;
    bottom: -7%;
  }

  .signup-row {
    flex-direction: column;
    align-items: stretch;
  }

  .signup-row .button {
    width: 100%;
  }

  .image-lightbox {
    width: min(94vw, 700px);
  }

  .image-lightbox-close {
    top: -0.6rem;
    right: -0.6rem;
  }
}

.howto {
  margin: 0 0 3rem;
}

.howto-intro {
  margin-bottom: 1rem;
}

.howto-toc {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 0 0 1rem;
}

.howto-toc a {
  display: block;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.52rem 0.82rem;
  color: #ced8f2;
  background: rgba(20, 29, 46, 0.55);
  text-align: center;
  font-size: 0.9rem;
}

.howto-stack {
  display: grid;
  gap: 1rem;
}

.howto-card {
  background: linear-gradient(160deg, rgba(20, 29, 46, 0.8), rgba(12, 18, 31, 0.85));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.howto-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  align-items: start;
}

.howto-card h3 {
  font-size: 1.45rem;
  margin: 0 0 0.62rem;
}

.howto-card p,
.howto-card li {
  color: var(--muted);
  line-height: 1.55;
}

.howto-card ul,
.howto-card ol {
  margin: 0.6rem 0 0;
  padding-left: 1.2rem;
}

.howto-media {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.howto-media img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.howto-checklist {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.howto-check {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.62rem 0.72rem;
  color: #cad6f5;
  background: rgba(6, 10, 18, 0.55);
  font-size: 0.92rem;
}

@media (max-width: 1020px) {
  .howto-toc {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .howto-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .howto-toc,
  .howto-checklist {
    grid-template-columns: 1fr;
  }
}
