:root {
  --bg: #050108;
  --bg2: #0b0312;
  --panel: rgba(16, 8, 26, 0.72);
  --panelStrong: rgba(20, 10, 34, 0.90);
  --glass: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.105);
  --linePurple: rgba(154, 92, 255, 0.42);
  --text: #fcf8ff;
  --muted: #c7b7df;
  --muted2: #8f7aa8;
  --purple: #8b5cf6;
  --purpleDark: #5b21b6;
  --pink: #d946ef;
  --green: #64f4b4;
  --cyan: #58f6df;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.46);
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body::selection { color: #fff; background: rgba(139, 92, 246, 0.72); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { border: 0; }
h1, h2, h3, p { margin: 0; }

.srOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.siteBackdrop {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(139, 92, 246, 0.34), transparent 34%),
    radial-gradient(circle at 84% 20%, rgba(217, 70, 239, 0.20), transparent 28%),
    radial-gradient(circle at 12% 88%, rgba(88, 246, 223, 0.12), transparent 28%),
    linear-gradient(180deg, #050108 0%, #07020f 45%, #0d0616 100%);
}

.siteBackdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 280 280' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

.gridLayer {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.048) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.048) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.96), transparent 94%);
}

.scanline {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .14;
  background: linear-gradient(to bottom, transparent 0, transparent 48%, rgba(100, 244, 180, .24) 50%, transparent 52%, transparent 100%);
  background-size: 100% 9px;
}

.orb {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  filter: blur(68px);
  opacity: 0.25;
  animation: floatOrb 11s ease-in-out infinite alternate;
}
.orbOne { top: 8%; left: -160px; background: var(--purple); }
.orbTwo { right: -190px; top: 28%; background: var(--pink); animation-delay: -4s; }
.orbThree { bottom: -200px; left: 36%; background: var(--cyan); opacity: 0.11; animation-delay: -7s; }
@keyframes floatOrb {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(34px, -30px, 0) scale(1.08); }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  width: min(1180px, calc(100% - 32px));
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 14px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.105);
  border-radius: 24px;
  background: rgba(7, 2, 13, 0.72);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(20px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}
.brandMark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.40);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.18), rgba(217, 70, 239, 0.10));
  box-shadow: inset 0 0 20px rgba(139, 92, 246, 0.15);
}
.brandMark img { width: 36px; height: 36px; object-fit: contain; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 14px; font-weight: 950; letter-spacing: -0.02em; }
.brand small {
  margin-top: 2px;
  color: var(--muted2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.navLinks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.navLinks a {
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
  transition: color .2s ease, background .2s ease;
}
.navLinks a:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }

.rightControls {
  display: flex;
  align-items: center;
  gap: 9px;
}
.languageSwitch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.105);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.052);
}
.langButton {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  cursor: pointer;
  border-radius: 999px;
  background: transparent;
  font-size: 17px;
  filter: saturate(.8) brightness(.82);
  transition: transform .2s ease, filter .2s ease, background .2s ease;
}
.langButton:hover, .langButton.active {
  background: rgba(139, 92, 246, 0.22);
  filter: saturate(1.1) brightness(1.05);
  transform: translateY(-1px);
}

.topCta, .primaryButton, .secondaryButton, .courseCard a, .virusCard a, .downloadButton, .copyButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 950;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.topCta {
  min-width: max-content;
  min-height: 44px;
  padding: 0 18px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.94), rgba(217, 70, 239, 0.86));
  box-shadow: 0 12px 32px rgba(139, 92, 246, 0.24);
  font-size: 13px;
}
.topCta:hover, .primaryButton:hover, .courseCard a:hover, .downloadButton:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(139, 92, 246, 0.32);
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.heroSection {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.76fr);
  gap: 28px;
  align-items: center;
  padding: 78px 0 28px;
}
.heroCopy { min-width: 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ddcbff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow span:first-child {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 22px var(--green);
}
.eyebrow.compact { letter-spacing: 0.14em; }
.heroCopy h1 {
  max-width: 850px;
  margin-top: 18px;
  font-size: clamp(52px, 9vw, 112px);
  line-height: .83;
  letter-spacing: -0.085em;
  font-weight: 950;
  text-transform: uppercase;
}
.heroLine {
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(17px, 2.3vw, 23px);
  font-weight: 850;
  letter-spacing: -0.03em;
}
.heroActions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.primaryButton, .secondaryButton {
  min-height: 54px;
  padding: 0 22px;
  font-size: 14px;
}
.primaryButton { color: #fff; background: linear-gradient(135deg, #7c3aed, #d946ef); }
.secondaryButton {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}
.secondaryButton:hover, .copyButton:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 92, 246, 0.52);
  background: rgba(139, 92, 246, 0.16);
}

.heroPanel, .workspace, .librarySurface, .sideCard, .toolCard, .marqueeShell {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.heroPanel {
  position: relative;
  min-height: 452px;
  padding: 22px;
  overflow: hidden;
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(139, 92, 246, 0.16), rgba(88, 246, 223, 0.055)),
    rgba(13, 8, 22, 0.74);
}
.heroPanel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, .08) 45%, transparent 58%);
  transform: translateX(-120%);
  animation: panelSweep 7s ease-in-out infinite;
}
@keyframes panelSweep { 45%, 100% { transform: translateX(135%); } }
.panelGlow {
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(217, 70, 239, 0.32);
  filter: blur(58px);
}
.panelHeader {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}
.panelHeader img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 23px;
  background: rgba(255, 255, 255, 0.055);
}
.panelHeader span, .panelHeader strong { display: block; }
.panelHeader span {
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .15em;
}
.panelHeader strong {
  margin-top: 5px;
  font-size: 29px;
  font-weight: 950;
  letter-spacing: -0.045em;
}
.terminalPreview {
  position: relative;
  min-height: 214px;
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid rgba(100, 244, 180, 0.20);
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.39);
  color: #d9ffef;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
.terminalPreview::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .11;
  background-image: linear-gradient(to bottom, transparent 0, rgba(100, 244, 180, .24) 50%, transparent 100%);
  background-size: 100% 6px;
}
.terminalTop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted2);
}
.terminalTop span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .24);
}
.terminalTop span:nth-child(1) { background: rgba(217, 70, 239, .85); }
.terminalTop span:nth-child(2) { background: rgba(139, 92, 246, .85); }
.terminalTop span:nth-child(3) { background: rgba(100, 244, 180, .85); }
.terminalTop strong {
  margin-left: auto;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.terminalLines {
  position: relative;
  display: grid;
  gap: 9px;
  padding: 15px 16px 10px;
  min-height: 124px;
  font-size: 12px;
  line-height: 1.4;
}
.termLine {
  display: flex;
  gap: 9px;
  color: #d8fff0;
  animation: lineIn .28s ease both;
}
.termTag {
  color: var(--green);
  font-weight: 950;
}
.termMuted { color: rgba(216, 255, 240, .64); }
@keyframes lineIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.terminalInput {
  position: relative;
  display: flex;
  gap: 8px;
  padding: 0 16px 16px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}
.terminalInput i {
  width: 8px;
  height: 16px;
  display: inline-block;
  background: var(--green);
  box-shadow: 0 0 18px rgba(100, 244, 180, .72);
  animation: blink .88s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.panelStats {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 17px;
}
.panelStats div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
}
.panelStats strong, .panelStats span { display: block; }
.panelStats strong { font-size: 38px; line-height: 1; font-weight: 950; }
.panelStats span {
  margin-top: 7px;
  color: var(--muted2);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.marqueeShell {
  overflow: hidden;
  margin: 2px 0 22px;
  border-color: rgba(139, 92, 246, 0.28);
  border-radius: 22px;
  background: rgba(12, 6, 20, .60);
}
.marqueeTrack {
  display: flex;
  width: max-content;
  gap: 12px;
  padding: 12px;
  animation: marquee 24s linear infinite;
}
.marqueeTrack span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 999px;
  color: #e8dcff;
  background: rgba(255, 255, 255, 0.045);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}
@keyframes marquee { to { transform: translateX(-50%); } }

.workspace {
  display: grid;
  grid-template-columns: 274px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 38px;
  padding: 14px;
  border-radius: 30px;
  background: rgba(8, 3, 14, 0.52);
}
.sidePanel {
  position: sticky;
  top: 102px;
  display: grid;
  gap: 12px;
}
.sideCard {
  padding: 15px;
  border-radius: 22px;
  background: var(--panel);
}
.brandCard {
  background:
    linear-gradient(145deg, rgba(139, 92, 246, 0.16), rgba(100, 244, 180, 0.05)),
    rgba(16, 9, 26, 0.78);
}
.miniBrand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.miniBrand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.06);
}
.miniBrand strong, .miniBrand span { display: block; }
.miniBrand strong { font-size: 15px; font-weight: 950; }
.miniBrand span {
  margin-top: 3px;
  color: var(--muted2);
  font-size: 12px;
  font-weight: 850;
}
.sideTitle {
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.sideCard p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.52;
}
.progressTop {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.progressTop strong { color: #fff; }
.progressTrack {
  height: 10px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}
#meterFill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--purple), var(--pink), var(--green));
  box-shadow: 0 0 22px rgba(139, 92, 246, 0.55);
  transition: width .25s ease;
}
.sideBadge, .toolCategory {
  color: #e3d6ff;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.courseCard { border-color: rgba(139, 92, 246, 0.38); }
.courseCard h3 {
  margin-top: 9px;
  font-size: 21px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.courseCard a, .virusCard a {
  width: 100%;
  min-height: 45px;
  margin-top: 14px;
  padding: 0 16px;
  font-size: 12px;
}
.courseCard a { background: linear-gradient(135deg, #7c3aed, #d946ef); }
.virusCard a {
  color: #d9fff2;
  border: 1px solid rgba(100, 244, 180, 0.28);
  background: rgba(100, 244, 180, 0.08);
}

.librarySurface {
  min-width: 0;
  padding: 18px;
  border-radius: 24px;
  background: var(--panelStrong);
}
.libraryHeader {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}
.libraryHeader h2 {
  margin-top: 9px;
  font-size: clamp(42px, 6vw, 68px);
  line-height: .88;
  letter-spacing: -0.072em;
  font-weight: 950;
  text-transform: uppercase;
}
.searchBox {
  width: min(360px, 100%);
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.searchBox:focus-within {
  border-color: rgba(139, 92, 246, 0.58);
  box-shadow: 0 0 0 5px rgba(139, 92, 246, 0.12);
}
.searchBox svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--muted2);
}
.searchBox input {
  width: 100%;
  border: 0;
  outline: none;
  color: var(--text);
  background: transparent;
}
.searchBox input::placeholder { color: var(--muted2); }
.categoryRail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}
.categoryPill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 13px;
  cursor: pointer;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  font-size: 13px;
  font-weight: 850;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}
.categoryPill strong {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  color: #fff;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.28);
  font-size: 11px;
}
.categoryPill:hover, .categoryPill.active {
  color: #fff;
  border-color: rgba(139, 92, 246, 0.54);
  background: rgba(139, 92, 246, 0.15);
  transform: translateY(-1px);
}
.summaryGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.summaryGrid div {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}
.summaryGrid strong, .summaryGrid span { display: block; }
.summaryGrid strong {
  overflow: hidden;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.summaryGrid span {
  margin-top: 7px;
  color: var(--muted2);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.toolGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.toolCard {
  position: relative;
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(8, 3, 14, 0.58);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.toolCard::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  opacity: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.8), rgba(217, 70, 239, 0.46), rgba(100, 244, 180, 0.3));
  transition: opacity .2s ease;
}
.toolCard:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.42);
  background: rgba(18, 9, 30, 0.78);
}
.toolCard:hover::before { opacity: .24; }
.toolTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.toolGlyph {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(139, 92, 246, 0.34);
  border-radius: 16px;
  color: #d8b4fe;
  background: rgba(139, 92, 246, 0.12);
}
.toolGlyph span {
  width: 22px;
  height: 22px;
  display: block;
  border: 2px solid currentColor;
}
.glyph-scope span { border-radius: 50%; box-shadow: 10px 10px 0 -7px currentColor; }
.glyph-terminal span { position: relative; width: 25px; height: 17px; border-radius: 5px; }
.glyph-terminal span::before { content: ">"; position: absolute; left: 4px; top: -1px; font-size: 12px; font-weight: 950; }
.glyph-disk span { position: relative; border-radius: 4px; }
.glyph-disk span::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 4px; height: 5px; border-radius: 2px; background: currentColor; }
.glyph-chip span { width: 20px; height: 20px; border-radius: 4px; box-shadow: 0 -6px 0 -4px currentColor, 0 6px 0 -4px currentColor, -6px 0 0 -4px currentColor, 6px 0 0 -4px currentColor; }
.glyph-pulse span { width: 25px; height: 15px; border: 0; border-bottom: 3px solid currentColor; border-radius: 0; transform: skewX(-16deg); }
.glyph-bolt span { width: 14px; height: 25px; border: 0; background: currentColor; clip-path: polygon(56% 0, 100% 0, 65% 42%, 96% 42%, 34% 100%, 44% 55%, 9% 55%); }
.glyph-grid span { width: 23px; height: 23px; border: 0; background: linear-gradient(currentColor 0 0) left top/9px 9px no-repeat, linear-gradient(currentColor 0 0) right top/9px 9px no-repeat, linear-gradient(currentColor 0 0) left bottom/9px 9px no-repeat, linear-gradient(currentColor 0 0) right bottom/9px 9px no-repeat; }
.glyph-shield span { width: 20px; height: 24px; border-radius: 12px 12px 7px 7px; clip-path: polygon(50% 0, 96% 16%, 87% 72%, 50% 100%, 13% 72%, 4% 16%); background: currentColor; border: 0; }
.toolIndex {
  color: rgba(255, 255, 255, 0.18);
  font-size: 32px;
  font-weight: 950;
  letter-spacing: -0.08em;
}
.toolContent { padding-top: 18px; }
.toolTitle {
  margin-top: 9px;
  color: #fff;
  font-size: 21px;
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -0.035em;
}
.toolDescription {
  margin-top: 9px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.46;
}
.fileName {
  margin-top: 12px;
  overflow: hidden;
  color: var(--muted2);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.toolActions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 18px;
}
.downloadButton, .copyButton {
  min-height: 42px;
  padding: 0 14px;
  cursor: pointer;
  font-size: 12px;
}
.downloadButton { color: #fff; background: linear-gradient(135deg, #7c3aed, #c026d3); }
.copyButton { color: var(--muted); border: 1px solid rgba(255, 255, 255, 0.10); background: rgba(255, 255, 255, 0.05); }
.emptyState, .loadError {
  grid-column: 1 / -1;
  padding: 28px;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
  text-align: center;
}
.footer {
  width: min(1180px, calc(100% - 32px));
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin: 0 auto;
  padding: 20px 0 32px;
  color: var(--muted2);
  font-size: 12px;
}

@media (max-width: 1040px) {
  .heroSection, .workspace { grid-template-columns: 1fr; }
  .heroPanel { min-height: 330px; }
  .sidePanel { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toolGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .topbar {
    width: min(100% - 20px, 1180px);
    min-height: unset;
    margin-top: 10px;
    flex-wrap: wrap;
    border-radius: 18px;
  }
  .navLinks {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-top: 2px;
  }
  .rightControls { margin-left: auto; }
  .topCta { display: none; }
  main, .footer { width: min(100% - 20px, 1180px); }
  .heroSection { padding-top: 48px; }
  .heroCopy h1 { letter-spacing: -0.065em; }
  .heroActions a { width: 100%; }
  .libraryHeader { align-items: stretch; flex-direction: column; }
  .sidePanel, .summaryGrid, .toolGrid { grid-template-columns: 1fr; }
  .workspace, .librarySurface { padding: 10px; border-radius: 22px; }
  .toolCard { min-height: 240px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
