:root {
  color-scheme: dark;
  --background: #0b0c12;
  --surface: #11131c;
  --surface-raised: #151722;
  --border: rgba(255, 255, 255, 0.085);
  --text: #f2f1f8;
  --muted: #9293a3;
  --purple: #a58bfa;
  --cyan: #6ce5dc;
  --font-body: "DM Sans", sans-serif;
  --font-display: "Space Grotesk", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.site-header {
  width: min(1180px, calc(100% - 64px));
  height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.055);
  position: relative;
  z-index: 2;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: 700 16px var(--font-display);
  letter-spacing: .06em;
}
.brand-mark {
  color: var(--cyan);
  font-size: 25px;
  line-height: 1;
  text-shadow: 0 0 18px rgba(108,229,220,.4);
}
.brand-accent { color: var(--cyan); }
.header-nav { display: flex; gap: 36px; margin-left: 8%; }
.nav-link { color: var(--muted); font-size: 13px; transition: color .2s; }
.nav-link:hover, .nav-link.active { color: var(--text); }
.header-cta {
  padding: 10px 15px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  transition: border-color .2s, background .2s;
}
.header-cta:hover { border-color: rgba(108,229,220,.5); background: rgba(108,229,220,.06); }
.header-cta span { color: var(--cyan); margin-left: 5px; }

.hero {
  width: min(1180px, calc(100% - 64px));
  min-height: 520px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr .9fr;
  align-items: center;
  position: relative;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  width: 560px;
  height: 430px;
  top: 20px;
  right: 4%;
  background: radial-gradient(ellipse, rgba(112,79,216,.14), transparent 68%);
  pointer-events: none;
}
.hero-content { z-index: 1; padding: 43px 0 70px; }
.eyebrow {
  color: #9b9baa;
  font: 600 10px var(--font-display);
  letter-spacing: .19em;
  display: flex;
  align-items: center;
  gap: 9px;
}
.eyebrow-dot, .count-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(108,229,220,.65);
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 24px 0 17px;
  font: 600 clamp(48px, 6.2vw, 74px)/1.04 var(--font-display);
  letter-spacing: -.065em;
}
.gradient-text {
  color: #a998ff;
  background: linear-gradient(100deg, #b39bff 9%, #91c4fa 54%, #71e5d7 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-copy { max-width: 440px; color: #a4a4b1; font-size: 14px; line-height: 1.8; }
.hero-button {
  display: inline-flex;
  align-items: center;
  gap: 23px;
  margin-top: 15px;
  padding: 13px 17px;
  border-radius: 7px;
  background: #edeaff;
  color: #171326;
  font-size: 12px;
  font-weight: 700;
  transition: transform .2s, box-shadow .2s;
}
.hero-button:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(174,154,255,.2); }
.hero-button span { color: #7154d9; font-size: 16px; }
.hero-proof { display: flex; align-items: center; gap: 11px; margin-top: 30px; color: #888995; font-size: 10px; }
.proof-avatars { display: flex; padding-left: 3px; }
.proof-avatars span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-left: -3px;
  border: 2px solid var(--background);
  border-radius: 50%;
  background: #27213e;
  color: #c5baff;
  font-size: 9px;
}
.proof-avatars span:nth-child(2) { background: #173330; color: var(--cyan); }
.proof-avatars span:nth-child(3) { background: #33233c; color: #e8a7ee; }

.hero-art { position: relative; display: grid; place-items: center; height: 410px; }
.orbit {
  position: absolute;
  border: 1px solid rgba(169,152,255,.1);
  border-radius: 50%;
  transform: rotate(-24deg);
}
.orbit-one { width: 340px; height: 180px; }
.orbit-two { width: 290px; height: 290px; transform: rotate(30deg) scaleX(1.15); border-color: rgba(108,229,220,.10); }
.orbit-three { width: 230px; height: 230px; border-style: dashed; border-color: rgba(169,152,255,.11); }
.orbit-core {
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(183,167,255,.3);
  border-radius: 28px;
  background: linear-gradient(145deg, #28213f, #151825 80%);
  box-shadow: 0 0 65px rgba(143,112,255,.22), inset 0 1px 0 rgba(255,255,255,.1);
  color: #c1b1ff;
  font-size: 43px;
}
.orbit-node {
  position: absolute;
  z-index: 1;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 14px;
  background: #171925;
  box-shadow: 0 8px 30px rgba(0,0,0,.3);
  font-size: 19px;
}
.node-chat { top: 53px; left: 47%; color: #c5afff; }
.node-image { top: 46%; right: 2%; color: #88d9f1; }
.node-audio { bottom: 49px; left: 44%; color: #f0a3d2; }
.node-video { top: 42%; left: 1%; color: #80e0cd; }
.orbit-spark { position: absolute; color: #9f8bfb; font-size: 20px; }
.spark-one { right: 14%; top: 18%; }
.spark-two { left: 16%; bottom: 17%; color: var(--cyan); }

.hero-stats {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 19px 0;
}
.hero-stats div:not(.stat-divider) { display: flex; align-items: baseline; gap: 8px; }
.hero-stats strong { font: 600 19px var(--font-display); color: #e7e1ff; }
.hero-stats span { font-size: 10px; color: var(--muted); }
.stat-divider { height: 21px; width: 1px; background: var(--border); }

.tool-section { width: min(1180px, calc(100% - 64px)); margin: 0 auto; padding: 75px 0 60px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 31px; }
.section-eyebrow { color: #9b8bd2; }
h2 { margin: 12px 0 7px; font: 600 37px/1.15 var(--font-display); letter-spacing: -.05em; }
.section-copy { margin: 0; color: var(--muted); font-size: 13px; }
.tool-count { display: flex; align-items: center; gap: 8px; padding-bottom: 7px; color: #a6a5b3; font-size: 11px; }
.count-dot { width: 5px; height: 5px; }
.explore-controls { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 22px; }
.category-list { display: flex; gap: 7px; flex-wrap: wrap; }
.category-button {
  padding: 9px 11px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #a2a2af;
  font-size: 11px;
  cursor: pointer;
  transition: color .18s, background .18s, border-color .18s;
}
.category-button span { margin-left: 5px; color: #767786; font-size: 9px; }
.category-button:hover { color: var(--text); background: rgba(255,255,255,.04); }
.category-button.active { color: #d7ceff; background: rgba(160,137,255,.12); border-color: rgba(160,137,255,.21); }
.category-button.active span { color: #b5a4ff; }
.search-box {
  width: 204px;
  height: 36px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 9px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(255,255,255,.018);
  color: #858593;
}
.search-icon { font-size: 20px; line-height: 1; }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 11px; }
.search-box input::placeholder { color: #777887; }
.search-box kbd { padding: 2px 5px; border: 1px solid var(--border); border-radius: 3px; color: #828391; font: 10px var(--font-body); }

.tool-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.tool-card {
  min-height: 181px;
  display: flex;
  flex-direction: column;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(255,255,255,.027), rgba(255,255,255,.009));
  transition: transform .2s, border-color .2s, background .2s;
}
.tool-card:hover { transform: translateY(-3px); border-color: rgba(170,149,255,.35); background: linear-gradient(145deg, rgba(155,131,255,.075), rgba(255,255,255,.015)); }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.tool-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 11px;
  background: var(--icon-bg, rgba(163,139,250,.11));
  color: var(--icon-color, #c0adff);
  font: 600 15px var(--font-display);
}
.category-tag { padding: 5px 7px; border-radius: 4px; background: rgba(255,255,255,.045); color: #a1a0ae; font-size: 9px; }
.tool-card h3 { margin: 13px 0 5px; font: 600 14px var(--font-display); letter-spacing: -.02em; }
.tool-card p { margin: 0; color: #9293a0; font-size: 10px; line-height: 1.55; }
.card-link { display: inline-flex; align-items: center; gap: 5px; margin-top: auto; padding-top: 14px; color: #b7a6ff; font-size: 10px; font-weight: 600; }
.card-link span { transition: transform .18s; }
.card-link:hover span { transform: translate(2px,-2px); }
.empty-state { padding: 60px 20px; text-align: center; }
.empty-state[hidden] { display: none; }
.empty-icon { color: #a58bfa; font-size: 32px; }
.empty-state h3 { margin: 10px 0 6px; font: 600 18px var(--font-display); }
.empty-state p { color: var(--muted); font-size: 12px; }
.reset-button { padding: 9px 13px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface-raised); color: var(--text); font-size: 11px; cursor: pointer; }
.disclaimer { margin: 22px 0 0; color: #747582; font-size: 10px; }
.site-footer {
  width: min(1180px, calc(100% - 64px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
}
.footer-brand { font-size: 13px; }
.footer-brand .brand-mark { font-size: 21px; }
.site-footer p, .footer-copy { margin: 0; color: #7f808e; font-size: 10px; }
.social-links { display: flex; gap: 15px; }
.social-links a { color: #a5a4b1; font-size: 10px; transition: color .2s; }
.social-links a:hover { color: var(--cyan); }
.social-links a span { color: var(--cyan); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1.05fr .8fr; min-height: 490px; }
  .hero-art { transform: scale(.84); }
  .tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .explore-controls { align-items: flex-start; flex-direction: column; }
  .search-box { width: min(100%, 360px); }
}
@media (max-width: 620px) {
  .site-header, .hero, .tool-section, .site-footer { width: min(100% - 36px, 480px); }
  .site-header { height: 68px; }
  .header-nav { display: none; }
  .header-cta { padding: 9px 10px; font-size: 10px; }
  .hero { display: block; min-height: 0; padding-bottom: 70px; }
  .hero-content { padding: 62px 0 0; }
  h1 { font-size: clamp(49px, 13vw, 66px); }
  .hero-copy { max-width: 390px; font-size: 13px; }
  .hero-art { position: absolute; top: 65px; right: -128px; width: 290px; height: 290px; transform: scale(.7); opacity: .45; }
  .hero-proof { margin-top: 22px; }
  .hero-stats { gap: 13px; padding: 16px 0; }
  .hero-stats div:not(.stat-divider) { flex-direction: column; gap: 2px; }
  .hero-stats strong { font-size: 16px; }
  .hero-stats span { font-size: 9px; }
  .tool-section { padding: 54px 0 42px; }
  .section-heading { align-items: flex-start; }
  h2 { font-size: 32px; }
  .tool-count { padding-top: 20px; white-space: nowrap; }
  .category-list { gap: 5px; }
  .category-button { padding: 8px 9px; font-size: 10px; }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .tool-card { min-height: 185px; padding: 12px; }
  .tool-card h3 { font-size: 13px; }
  .tool-card p { font-size: 9px; }
  .site-footer { flex-wrap: wrap; gap: 8px; padding: 16px 0; }
  .site-footer p { order: 3; width: 100%; }
  .social-links { margin-left: auto; }
  .footer-copy { font-size: 9px; }
}
@media (max-width: 360px) {
  .tool-grid { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .tool-count { padding-top: 13px; }
  .hero-stats { gap: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}