@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;700&family=IBM+Plex+Mono:wght@400;500&display=swap");

:root {
  --bg: #060d0d;
  --bg-elev: rgba(255, 255, 255, 0.03);
  --bg-elev-strong: rgba(255, 255, 255, 0.06);
  --text: #edf7f7;
  --muted: #9eb8b8;
  --accent: #0df2f2;
  --accent-deep: #039090;
  --line: rgba(255, 255, 255, 0.12);
  --warning: #f97316;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% -10%, rgba(13, 242, 242, 0.16) 0%, transparent 42%),
    radial-gradient(circle at 84% 10%, rgba(13, 242, 242, 0.1) 0%, transparent 36%),
    radial-gradient(circle at 50% 112%, rgba(13, 242, 242, 0.1) 0%, transparent 40%),
    var(--bg);
  min-height: 100dvh;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-wrap {
  width: min(1120px, calc(100% - 2.2rem));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(6, 13, 13, 0.65);
}

.topbar-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 300;
}

.brand-mark {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  flex: 0 0 auto;
  background-image: url("logo-mark-dark.png?v=4");
  background-repeat: no-repeat;
  background-size: 190%;
  background-position: 50% 8%;
  mix-blend-mode: screen;
  box-shadow: 0 0 20px rgba(13, 242, 242, 0.12);
}

.brand-copy {
  display: inline-flex;
  align-items: baseline;
  gap: 0.12rem;
}

.brand span {
  color: var(--accent);
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 1.4rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c4d4d4;
  transition: color 160ms ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  padding: 0.86rem 1.2rem;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: #032020;
  box-shadow: 0 0 30px rgba(13, 242, 242, 0.24);
}

.btn-primary:hover {
  box-shadow: 0 0 40px rgba(13, 242, 242, 0.38);
}

.btn-demo {
  background: #0b7f7f;
  color: #efffff;
  border-color: rgba(13, 242, 242, 0.16);
  box-shadow: 0 0 26px rgba(11, 127, 127, 0.28);
}

.btn-demo:hover {
  background: #0c9090;
  box-shadow: 0 0 34px rgba(12, 144, 144, 0.34);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text);
}

.hero {
  padding: clamp(3.2rem, 7vw, 6rem) 0 4rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(13, 242, 242, 0.22);
  background: rgba(13, 242, 242, 0.08);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.14;
}

h1 {
  margin-top: 1rem;
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  letter-spacing: 0.01em;
  font-weight: 300;
  text-transform: uppercase;
}

h1 strong {
  color: var(--accent);
  font-weight: 700;
}

.lead {
  margin-top: 1rem;
  max-width: 52ch;
  color: var(--muted);
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.neural-orb {
  aspect-ratio: 1;
  width: min(340px, 100%);
  margin-inline: auto;
  border-radius: 999px;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid rgba(13, 242, 242, 0.26);
  box-shadow: inset 0 0 70px rgba(13, 242, 242, 0.12), 0 0 40px rgba(13, 242, 242, 0.18);
  animation: pulse 4.6s ease-in-out infinite;
}

.neural-orb::before,
.neural-orb::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: inherit;
  border: 1px solid rgba(13, 242, 242, 0.26);
}

.neural-orb::after {
  inset: 38px;
  border-top-color: var(--accent);
  border-right-color: transparent;
  border-bottom-color: rgba(13, 242, 242, 0.2);
  border-left-color: transparent;
  animation: spin 4s linear infinite;
}

.neural-core {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 34px rgba(13, 242, 242, 0.6);
}

.section {
  margin-top: clamp(2.2rem, 6vw, 4.6rem);
}

.section-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.section-head::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--accent);
}

.section-head span {
  font-size: 0.62rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--accent);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.9rem;
}

.card {
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow);
  padding: 1.1rem;
}

.card h3 {
  margin-top: 0.5rem;
  font-size: 1.1rem;
  font-weight: 500;
}

.card p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.col-4 {
  grid-column: span 4;
}

.col-6 {
  grid-column: span 6;
}

.col-8 {
  grid-column: span 8;
}

.col-12 {
  grid-column: span 12;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.stat {
  background: var(--bg-elev);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 0.9rem;
}

.stat strong {
  display: block;
  font-size: 1.5rem;
  color: var(--accent);
}

.stat span {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.steps {
  display: grid;
  gap: 0.9rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem;
}

.step-index {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--bg-elev-strong);
  border: 1px solid rgba(13, 242, 242, 0.25);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-family: "IBM Plex Mono", monospace;
}

.code-block {
  margin-top: 0.6rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.8rem;
  overflow-x: auto;
  font-family: "IBM Plex Mono", monospace;
  color: var(--accent);
  font-size: 0.86rem;
}

.tiers {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}

.tier {
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.2rem;
}

.tier.featured {
  border-color: rgba(13, 242, 242, 0.55);
  box-shadow: 0 0 40px rgba(13, 242, 242, 0.16);
  transform: translateY(-8px);
}

.tier h3 {
  font-size: 1.2rem;
  text-transform: uppercase;
}

.price {
  margin-top: 0.4rem;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.tier ul {
  margin: 0.9rem 0;
  padding-left: 1rem;
  color: var(--muted);
}

.tier li {
  margin: 0.4rem 0;
}

.cta {
  margin-top: 1.8rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(13, 242, 242, 0.14), rgba(13, 242, 242, 0.03));
  border: 1px solid rgba(13, 242, 242, 0.26);
  padding: 1.2rem;
  display: grid;
  gap: 0.8rem;
  align-items: center;
  justify-items: start;
}

.screen-category + .screen-category {
  margin-top: 1.6rem;
}

.screen-filters {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.screen-filter {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-radius: 999px;
  padding: 0.42rem 0.82rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.screen-filter:hover,
.screen-filter.is-active {
  border-color: rgba(13, 242, 242, 0.5);
  background: rgba(13, 242, 242, 0.14);
  color: var(--accent);
}

.screen-category h2 {
  margin-bottom: 0.8rem;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

.screen-card-featured {
  grid-column: span 2;
}

.screen-card {
  margin: 0;
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.screen-thumb {
  display: block;
  background: rgba(0, 0, 0, 0.32);
}

.screen-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.screen-card figcaption {
  padding: 0.75rem 0.85rem 0.9rem;
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.screen-viewer {
  width: min(96vw, 1600px);
  max-width: none;
  height: min(94vh, 1000px);
  border: 1px solid rgba(13, 242, 242, 0.4);
  border-radius: var(--radius-lg);
  background: rgba(6, 13, 13, 0.95);
  padding: 0.9rem;
  box-shadow: 0 0 60px rgba(13, 242, 242, 0.2);
}

.screen-viewer::backdrop {
  background: rgba(2, 7, 7, 0.84);
}

.screen-viewer-head {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.6rem;
}

.screen-viewer-body {
  width: 100%;
  height: calc(100% - 56px);
  overflow: auto;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.6rem;
}

.screen-viewer-body img {
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  display: block;
}

.demo-dialog {
  width: min(92vw, 720px);
  border: 1px solid rgba(13, 242, 242, 0.28);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top, rgba(13, 242, 242, 0.12), transparent 44%),
    rgba(6, 13, 13, 0.97);
  color: var(--text);
  padding: 0;
  box-shadow: 0 0 56px rgba(13, 242, 242, 0.18);
}

.demo-dialog::backdrop {
  background: rgba(2, 7, 7, 0.84);
}

.demo-dialog-panel {
  padding: 1.2rem;
}

.demo-dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.demo-dialog-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.demo-dialog-title {
  margin-top: 0.55rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300;
  text-transform: uppercase;
}

.demo-dialog-title strong {
  color: var(--accent);
  font-weight: 700;
}

.demo-dialog-copy {
  margin-top: 0.9rem;
  color: var(--muted);
  max-width: 48ch;
}

.demo-dialog-card {
  margin-top: 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  padding: 1rem;
}

.demo-dialog-card strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

.demo-dialog-actions {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

footer {
  margin-top: 4rem;
  border-top: 1px solid rgba(13, 242, 242, 0.18);
  background:
    linear-gradient(180deg, rgba(13, 242, 242, 0.04), rgba(13, 242, 242, 0) 28%),
    rgba(2, 8, 8, 0.92);
  backdrop-filter: blur(10px);
  padding: 2rem 0 2.2rem;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.25rem 0;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #d8e7e7;
}

.footer-links a:hover {
  color: var(--accent);
}

footer .brand {
  color: #f3ffff;
}

.mobile-toggle {
  display: none;
}

.mobile-menu {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 450ms ease, transform 450ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: inset 0 0 70px rgba(13, 242, 242, 0.12), 0 0 26px rgba(13, 242, 242, 0.14);
  }

  50% {
    box-shadow: inset 0 0 70px rgba(13, 242, 242, 0.18), 0 0 48px rgba(13, 242, 242, 0.32);
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .tiers {
    grid-template-columns: 1fr;
  }

  .tier.featured {
    transform: none;
  }

  .col-4,
  .col-6,
  .col-8 {
    grid-column: span 12;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }

  .screen-grid {
    grid-template-columns: 1fr;
  }

  .screen-card-featured {
    grid-column: span 1;
  }
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .mobile-menu {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
    padding-bottom: 0.9rem;
  }

  .mobile-menu a {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #c4d4d4;
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .demo-dialog-head {
    flex-direction: column;
  }
}

/* ── Contact Cards ────────────────────────────────────────── */
.contact-card {
  display: flex;
  flex-direction: column;
}

.contact-card-label {
  font-size: 0.72rem;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.15rem;
}

.contact-card h3 {
  margin-top: 0.25rem;
}

.contact-email {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--accent);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.88rem;
  word-break: break-all;
  transition: opacity 0.15s;
}

.contact-email:hover {
  opacity: 0.72;
  text-decoration: underline;
}

.contact-email.secondary {
  color: var(--muted);
  margin-top: 0.3rem;
  font-size: 0.82rem;
}

.contact-email.secondary:hover {
  color: var(--accent);
  opacity: 1;
}

/* ── Link Cards ───────────────────────────────────────────── */
.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
}

.link-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.link-card:hover {
  border-color: rgba(13, 242, 242, 0.4);
  box-shadow: 0 0 28px rgba(13, 242, 242, 0.1), var(--shadow);
  transform: translateY(-2px);
}

.link-card-chrome {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.link-card-dots {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.link-card-dots i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  font-style: normal;
}

.link-card-favicon {
  flex-shrink: 0;
}

.link-card-favicon img {
  width: 16px;
  height: 16px;
  display: block;
  border-radius: 2px;
}

.link-card-url {
  font-size: 0.72rem;
  font-family: var(--mono);
  color: var(--muted);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.18s;
}

.link-card:hover .link-card-url {
  color: var(--accent);
}

.link-card-body {
  padding: 1rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.link-card-body h3 {
  margin: 0 0 0.4rem;
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--text);
}

.link-card-body p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.55;
  flex: 1;
}

.link-card-visit {
  font-size: 0.82rem;
  font-family: var(--mono);
  color: var(--accent);
  margin-top: auto;
  transition: letter-spacing 0.18s;
}

.link-card:hover .link-card-visit {
  letter-spacing: 0.04em;
}
