:root {
  --bg: #050b18;
  --bg-soft: #09142a;
  --surface: rgba(255, 255, 255, 0.065);
  --surface-strong: rgba(255, 255, 255, 0.11);
  --border: rgba(255, 255, 255, 0.13);
  --text: #f6f8ff;
  --muted: #aab5ce;
  --primary: #6b7dff;
  --primary-2: #2da7ff;
  --contalab: #4769ff;
  --infra: #0d9cff;
  --shadow: 0 25px 80px rgba(0, 0, 0, 0.38);
  --radius: 28px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(56, 83, 213, .18), transparent 30%),
    radial-gradient(circle at 100% 15%, rgba(0, 145, 255, .12), transparent 28%),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 32px), var(--max));
  margin: 16px auto 0;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(5, 11, 24, .72);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 40px rgba(0,0,0,.18);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 750;
  letter-spacing: -.02em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 8px 26px rgba(51, 110, 255, .35);
  font-size: .85rem;
}
.main-nav {
  display: flex;
  gap: 6px;
}
.main-nav a {
  padding: 9px 13px;
  border-radius: 11px;
  color: var(--muted);
  font-size: .94rem;
}
.main-nav a:hover {
  color: var(--text);
  background: var(--surface);
}
.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 0;
  border-radius: 11px;
  background: var(--surface);
}
.menu-button span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: white;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 760px;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 110px 0 80px;
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow {
  margin: 0 0 18px;
  color: #8ea4ff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 700px;
  margin-bottom: 24px;
  font-size: clamp(3.3rem, 7vw, 6.7rem);
  line-height: .94;
  letter-spacing: -.067em;
}
h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -.05em;
}
h3 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -.045em;
}
.hero-text, .section-heading > p:last-child, .product-lead, .about-copy, .contact-card > p {
  color: var(--muted);
  font-size: 1.08rem;
}
.hero-text {
  max-width: 620px;
  margin-bottom: 32px;
}
.hero-actions, .contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 750;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 12px 36px rgba(67, 110, 255, .35);
}
.button-secondary, .button-ghost {
  border-color: var(--border);
  background: var(--surface);
}
.button-light {
  background: white;
  color: #081126;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
  color: #8794b0;
  font-size: .85rem;
}
.hero-meta span::before {
  content: "•";
  margin-right: 7px;
  color: #4ca6ff;
}
.hero-showcase {
  position: relative;
  min-height: 520px;
}
.floating-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #101a2f;
  box-shadow: var(--shadow);
}
.floating-card img { width: 100%; height: 100%; object-fit: cover; }
.floating-card-main {
  top: 5%;
  right: 0;
  width: 91%;
  transform: rotate(2deg);
}
.floating-card-small {
  bottom: 2%;
  left: 0;
  width: 63%;
  transform: rotate(-5deg);
}
.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
  opacity: .34;
}
.hero-glow-one {
  top: 140px;
  right: 13%;
  width: 260px;
  height: 260px;
  background: #275fff;
}
.hero-glow-two {
  bottom: 80px;
  left: 8%;
  width: 220px;
  height: 220px;
  background: #0c9eff;
}

.section {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 100px 0;
}
.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}
.product {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 44px;
  align-items: center;
  margin-bottom: 64px;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(255,255,255,.085), rgba(255,255,255,.025)),
    var(--bg-soft);
  box-shadow: var(--shadow);
}
.product-infragraph { grid-template-columns: .82fr 1.18fr; }
.product-title-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
}
.product-logo {
  width: 78px;
  height: 78px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 12px 35px rgba(0,0,0,.3);
}
.product-kicker {
  margin-bottom: 8px;
  color: #8fa1bd;
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.product-lead { margin-bottom: 24px; }
.feature-list {
  display: grid;
  gap: 9px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.feature-list li {
  position: relative;
  padding-left: 24px;
}
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #57b6ff;
  font-weight: 900;
}
.product-note {
  margin-bottom: 22px;
  padding: 15px 16px;
  border: 1px solid rgba(95, 135, 255, .22);
  border-radius: 14px;
  background: rgba(66, 102, 216, .09);
  color: #b9c5dc;
  font-size: .9rem;
}
.text-link {
  display: inline-flex;
  gap: 7px;
  color: #8fc7ff;
  font-weight: 750;
}
.text-link:hover span { transform: translateX(3px); }
.text-link span { transition: transform .2s ease; }
.product-media {
  display: grid;
  gap: 14px;
}
.media-main {
  width: 100%;
  aspect-ratio: 16 / 8.5;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #081126;
}
.media-main.media-poster {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.media-grid.two { grid-template-columns: repeat(2, 1fr); }
.gallery-item {
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: #091327;
  cursor: zoom-in;
}
.gallery-item img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  transition: transform .35s ease;
}
.gallery-item:hover img { transform: scale(1.035); }

.about-card, .contact-card {
  padding: clamp(30px, 6vw, 68px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.about-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  background: rgba(255,255,255,.035);
}
.about-copy p:last-child { margin-bottom: 0; }
.contact-card {
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(33, 166, 255, .28), transparent 34%),
    linear-gradient(135deg, #4054e9, #102b6d 70%);
}
.contact-card > p { max-width: 680px; color: #d9e4ff; }
.small-note {
  margin: 22px 0 0 !important;
  color: rgba(255,255,255,.68) !important;
  font-size: .82rem !important;
}
code {
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(0,0,0,.22);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 32px 0 48px;
  border-top: 1px solid var(--border);
  color: #8490aa;
  font-size: .85rem;
}
.footer-brand { color: var(--text); }

.lightbox {
  width: min(96vw, 1400px);
  max-height: 92vh;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #060d1d;
  box-shadow: var(--shadow);
}
.lightbox::backdrop {
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(6px);
}
.lightbox img {
  width: 100%;
  max-height: calc(92vh - 28px);
  object-fit: contain;
  border-radius: 10px;
}
.lightbox-close {
  position: fixed;
  z-index: 2;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  background: rgba(0,0,0,.65);
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 90px;
  }
  .hero-showcase { min-height: 500px; }
  .product, .product-infragraph {
    grid-template-columns: 1fr;
  }
  .product-copy { order: 1; }
  .product-media { order: 2; }
  .about-card { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 680px) {
  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
  }
  .menu-button { display: block; }
  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #081126;
  }
  .main-nav.open { display: flex; }
  .hero, .section, footer { width: calc(100% - 24px); }
  .hero { min-height: auto; padding: 82px 0 60px; }
  h1 { font-size: clamp(3rem, 16vw, 4.8rem); }
  .hero-showcase { min-height: 350px; margin-top: 30px; }
  .floating-card-main { width: 95%; }
  .floating-card-small { width: 68%; }
  .section { padding: 70px 0; }
  .product { padding: 20px; gap: 28px; }
  .product-logo { width: 62px; height: 62px; border-radius: 16px; }
  .media-grid { grid-template-columns: 1fr; }
  .media-grid.two { grid-template-columns: 1fr; }
  .gallery-item img { height: 170px; }
  .contact-actions { flex-direction: column; }
  .button { width: 100%; }
  footer { align-items: flex-start; flex-direction: column; gap: 18px; }
}

/* Community */
.community-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  padding: clamp(30px, 6vw, 64px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 90% 10%, rgba(40, 162, 255, .2), transparent 34%),
    linear-gradient(135deg, rgba(69, 84, 229, .22), rgba(11, 25, 58, .72));
}

.community-copy {
  max-width: 730px;
}

.community-copy h2 {
  max-width: 690px;
}

.community-copy p {
  color: #b7c3d9;
}

.community-copy p:last-child {
  margin-bottom: 0;
}

.community-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 205px;
}

.free-promise {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 17px;
  align-items: start;
  margin-top: 18px;
  padding: 22px 24px;
  border: 1px solid rgba(67, 196, 147, .22);
  border-radius: 18px;
  background: rgba(38, 145, 106, .08);
}

.free-promise-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(53, 211, 154, .14);
  color: #52dda9;
  font-weight: 900;
}

.free-promise-title {
  margin-bottom: 4px;
  color: #edf6f2;
  font-weight: 800;
}

.free-promise p:last-child {
  margin-bottom: 0;
  color: #9fb2aa;
  font-size: .92rem;
}

@media (max-width: 920px) {
  .community-panel {
    grid-template-columns: 1fr;
  }

  .community-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 680px) {
  .community-actions {
    flex-direction: column;
  }
}


/* Current release */
.release-heading {
  display: grid;
  grid-template-columns: 1fr .82fr;
  gap: 56px;
  align-items: end;
  max-width: none;
}
.release-heading > p {
  margin-bottom: 12px;
  color: var(--muted);
}
.release-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.release-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background:
    linear-gradient(160deg, rgba(255,255,255,.075), rgba(255,255,255,.022)),
    var(--bg-soft);
  box-shadow: 0 22px 65px rgba(0,0,0,.24);
}
.release-card::after {
  content: "";
  position: absolute;
  inset: auto -90px -120px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  filter: blur(8px);
  pointer-events: none;
  opacity: .18;
}
.contalab-release::after {
  background: #536dff;
}
.infragraph-release::after {
  background: #28b3ff;
}
.release-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.release-product {
  color: #9dadca;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.release-card h3 {
  margin: 8px 0 4px;
  font-size: clamp(2.15rem, 4vw, 3.25rem);
}
.release-status {
  margin: 0;
  color: #a9b6cb;
}
.release-badge {
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid rgba(82, 218, 168, .25);
  border-radius: 999px;
  color: #69dfb0;
  background: rgba(36, 173, 123, .1);
  font-size: .74rem;
  font-weight: 850;
}
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  margin: 34px 0 30px;
}
.timeline-dot {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  width: 18px;
  height: 18px;
  border: 4px solid #0c1428;
  border-radius: 50%;
  background: #53d9a7;
  box-shadow: 0 0 0 4px rgba(83,217,167,.18), 0 0 28px rgba(83,217,167,.42);
}
.timeline-line {
  grid-column: 1 / -1;
  grid-row: 1;
  height: 2px;
  margin-left: 17px;
  background: linear-gradient(90deg, #53d9a7 0%, rgba(99,123,170,.35) 56%, rgba(99,123,170,.08) 100%);
}
.timeline-label {
  grid-column: 1;
  grid-row: 2;
  margin-top: 10px;
  color: #dfe8f6;
  font-size: .78rem;
  font-weight: 850;
}
.release-content {
  position: relative;
  z-index: 1;
}
.release-subtitle {
  margin-bottom: 16px;
  color: #8796b2;
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.feature-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature-checklist li {
  position: relative;
  padding-left: 24px;
  color: #dbe4f3;
}
.feature-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #51dda9;
  font-weight: 900;
}
.release-meta {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.release-meta div {
  min-width: 0;
}
.release-meta span,
.release-meta strong {
  display: block;
}
.release-meta span {
  margin-bottom: 5px;
  color: #7e8ca7;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.release-meta strong {
  color: #eef3fb;
  font-size: .92rem;
}
.next-milestone {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 48px;
  align-items: center;
  margin-top: 22px;
  padding: 28px 30px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255,255,255,.025);
}
.next-milestone h3 {
  margin-bottom: 0;
}
.next-milestone > p {
  margin: 0;
  color: #9eabc1;
}

@media (max-width: 980px) {
  .release-heading,
  .release-grid,
  .next-milestone {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 680px) {
  .release-card {
    padding: 22px;
  }
  .release-card-top {
    flex-direction: column;
  }
  .feature-checklist,
  .release-meta {
    grid-template-columns: 1fr;
  }
}
