:root {
  --bg: #050b14;
  --line: rgba(59, 130, 246, .24);
  --blue: #3b82f6;
  --text: #f8fafc;
  --muted: #aab4c0;
  --green: #22c55e;
  --danger: #ef4444;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 20% 0%, rgba(14, 165, 255, .24), transparent 34%),
    radial-gradient(circle at 92% 10%, rgba(59, 130, 246, .16), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0 45%, rgba(59, 130, 246, .07) 46%, transparent 48%),
    repeating-linear-gradient(110deg, rgba(59, 130, 246, .08) 0 1px, transparent 1px 48px);
  opacity: .42;
}

a {
  color: inherit;
}

.page {
  position: relative;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.header,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 800;
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.white {
  color: #fff;
}

.blue {
  color: var(--blue);
}

.back-link,
.button,
.button-disabled {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  text-decoration: none;
}

.back-link,
.button-disabled {
  background: rgba(15, 23, 42, .72);
  color: var(--muted);
}

.button {
  background: linear-gradient(180deg, #3b82f6, #1d4ed8);
  color: #fff;
  box-shadow: 0 0 24px rgba(59, 130, 246, .22);
  cursor: pointer;
}

.button-disabled {
  cursor: not-allowed;
  opacity: .78;
}

.hero {
  display: grid;
  gap: 26px;
  padding: 72px 0 38px;
}

.badge {
  width: fit-content;
  border: 1px solid rgba(34, 197, 94, .38);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(34, 197, 94, .12);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 8vw, 86px);
  line-height: .96;
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.card-feature {
  min-height: 100%;
}

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

.card,
.interest-modal-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(15, 23, 42, .92), rgba(5, 11, 20, .86));
  box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
}

.card {
  padding: 24px;
}

h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

p,
li {
  color: var(--muted);
  line-height: 1.65;
}

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

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

.placeholder {
  min-height: 150px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(59, 130, 246, .38);
  border-radius: 18px;
  padding: 18px;
  background: rgba(59, 130, 246, .06);
  color: var(--muted);
  text-align: center;
}

.card-trial {
  display: flex;
  flex-direction: column;
}

.card-functions,
.card-ecosystem {
  align-self: stretch;
}

.card-ecosystem {
  display: flex;
  flex-direction: column;
}

.ecosystem-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
}

.ecosystem-actions .button {
  width: 100%;
}

.button-secondary {
  border-color: rgba(59, 130, 246, .32);
  background: rgba(15, 23, 42, .78);
  color: var(--text);
  box-shadow: none;
}

.trial-request-button {
  width: 100%;
  margin-top: auto;
}

.indicator-media-frame {
  min-height: 180px;
  overflow: hidden;
  border: 1px solid rgba(59, 130, 246, .28);
  border-radius: 18px;
  background: rgba(59, 130, 246, .06);
}

.indicator-media {
  width: 100%;
  height: 100%;
  min-height: 180px;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: contain;
}

.indicator-media-frame .placeholder {
  min-height: 180px;
  border: 0;
  border-radius: 0;
}

.indicator-showcase {
  margin: 10px 0 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(15, 23, 42, .92), rgba(5, 11, 20, .86));
  box-shadow: 0 22px 60px rgba(0, 0, 0, .24);
}

.showcase-heading {
  margin-bottom: 18px;
}

.showcase-heading h2 {
  margin: 0;
}

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

.showcase-card {
  min-width: 0;
  margin: 0;
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(59, 130, 246, .22);
  border-radius: 18px;
  background: rgba(3, 7, 18, .48);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
}

.showcase-media {
  min-height: 0;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
}

.showcase-media .indicator-media {
  min-height: 0;
  aspect-ratio: auto;
}

.showcase-media .placeholder {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.showcase-card figcaption {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.showcase-card figcaption strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
}

.stack {
  display: grid;
  gap: 18px;
}

.footer {
  margin-top: 34px;
  border-top: 1px solid rgba(59, 130, 246, .18);
  color: var(--muted);
}

.interest-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(2, 6, 23, .72);
  backdrop-filter: blur(16px);
  overflow-y: auto;
}

.interest-modal.hidden {
  display: none;
}

.interest-modal-panel {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  padding: 24px;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.modal-header h2 {
  margin-bottom: 4px;
}

.close-button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 23, 42, .8);
  color: var(--text);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.form {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(59, 130, 246, .24);
  border-radius: 14px;
  padding: 13px 14px;
  background: rgba(3, 7, 18, .72);
  color: var(--text);
  font: inherit;
}

textarea {
  min-height: 112px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(59, 130, 246, .34);
  border-color: var(--blue);
}

.message {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.message.error {
  color: var(--danger);
}

.trial-auth-gate {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(59, 130, 246, .28);
  border-radius: 16px;
  background: rgba(3, 7, 18, .58);
}

.trial-auth-gate.hidden {
  display: none;
}

.trial-auth-gate p {
  margin: 0;
}

.image-lightbox-trigger {
  width: 100%;
  display: block;
  border: 0;
  border-radius: 18px;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.indicator-lightbox-target {
  cursor: zoom-in;
}

img.indicator-lightbox-target:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
  border-radius: 14px;
}

.image-lightbox-trigger .indicator-media-frame {
  display: block;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .28);
}

.image-lightbox-trigger:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.image-zoom-hint {
  color: var(--blue);
  font-size: 12px;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2, 6, 23, .86);
  backdrop-filter: blur(16px);
}

.image-lightbox.hidden {
  display: none;
}

.image-lightbox-dialog {
  position: relative;
  max-width: 92vw;
  max-height: 92vh;
  display: grid;
  place-items: center;
}

.image-lightbox-dialog img {
  display: block;
  max-width: 92vw;
  max-height: 88vh;
  border: 1px solid rgba(59, 130, 246, .34);
  border-radius: 20px;
  background: #050b14;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .58), 0 0 34px rgba(59, 130, 246, .12);
  object-fit: contain;
}

.image-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  background: rgba(5, 11, 20, .9);
}

@media (max-width: 820px) {
  .header,
  .footer,
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .content-grid,
  .media-grid,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .ecosystem-actions {
    grid-template-columns: 1fr;
  }

  .indicator-showcase {
    padding: 16px;
  }

  .hero {
    padding-top: 42px;
  }

  .image-lightbox {
    padding: 12px;
  }

  .image-lightbox-dialog img {
    max-width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
    border-radius: 14px;
  }
}
