/* Onisecure — black chrome / gradient storefront */
@import url("https://fonts.googleapis.com/css2?family=Outfit:ital,wght@0,300..900;1,300..900&family=Sora:wght@500;600;700&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --void: #040405;
  --ink: #0a0a0c;
  --panel: rgba(16, 16, 20, 0.78);
  --chrome-light: #e4e9f0;
  --chrome-mid: #6b7280;
  --chrome-dark: #27272f;
  --accent-a: #22d3ee;
  --accent-b: #818cf8;
  --accent-c: #c084fc;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --radius: 16px;
  --radius-sm: 10px;
  --font-body: "Outfit", system-ui, sans-serif;
  --font-display: "Sora", system-ui, sans-serif;
  --font-card: "Outfit", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  background-color: #050506;
  scrollbar-width: thin;
  scrollbar-color: rgba(100, 190, 228, 0.55) rgba(10, 10, 13, 0.96);
}

html::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

html::-webkit-scrollbar-track {
  background: linear-gradient(180deg, rgba(6, 6, 9, 0.98), rgba(14, 14, 18, 0.99));
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

html::-webkit-scrollbar-thumb {
  background: linear-gradient(165deg, var(--accent-a), var(--accent-b) 52%, var(--accent-c));
  border-radius: 999px;
  border: 3px solid rgba(8, 8, 11, 0.95);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.15);
}

html::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(165deg, #3ee8ff, #9aa6ff 50%, #d4a5ff);
  box-shadow: 0 0 16px rgba(129, 140, 248, 0.25);
}

html::-webkit-scrollbar-corner {
  background: rgba(8, 8, 11, 0.98);
}

body {
  font-family: var(--font-body);
  background: var(--void);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Animated mesh + scanlines */
.bg-stage {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: linear-gradient(165deg, #050506 0%, #0c0c10 35%, #08080b 70%, #050506 100%);
  animation: mesh-drift 24s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
}

@keyframes mesh-drift {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.018);
  }
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  animation: grid-pan 32s linear infinite;
  pointer-events: none;
}

@keyframes grid-pan {
  0% {
    background-position: 0 0, 0 0;
    opacity: 0.48;
  }
  50% {
    opacity: 0.82;
  }
  100% {
    background-position: 48px 48px, 48px 48px;
    opacity: 0.48;
  }
}

.bg-shine {
  display: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(6, 6, 8, 0.94) 0%, rgba(6, 6, 8, 0.78) 100%);
  backdrop-filter: blur(20px) saturate(1.35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04),
    0 24px 48px rgba(0, 0, 0, 0.45);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand-logo {
  height: 52px;
  width: auto;
  max-width: min(280px, 62vw);
  display: block;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 0 22px rgba(34, 211, 238, 0.14));
  transition: filter 0.35s ease, transform 0.35s ease;
}

.brand:hover .brand-logo {
  filter: drop-shadow(0 0 28px rgba(129, 140, 248, 0.22));
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--panel);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle-label span {
  display: block;
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle:checked + .nav-toggle-label span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle:checked + .nav-toggle-label span:nth-child(2) {
  opacity: 0;
}

.nav-toggle:checked + .nav-toggle-label span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-list a {
  color: #d1d5db;
  text-decoration: none;
  padding: 0.35rem 0.65rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-list a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-a) 0%, var(--accent-b) 55%, var(--accent-c) 100%);
  color: var(--void);
  box-shadow: 0 4px 24px rgba(34, 211, 238, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(129, 140, 248, 0.35);
  filter: brightness(1.05);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-ghost:hover {
  border-color: rgba(34, 211, 238, 0.45);
  background: rgba(34, 211, 238, 0.06);
}

/* Hero — centered like .section-head */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 5.25rem) 1.5rem clamp(3.5rem, 6vw, 4.75rem);
  position: relative;
  text-align: center;
}

.hero-copy {
  min-width: 0;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .hero {
    padding-top: clamp(2.75rem, 6vw, 3.5rem);
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
  text-wrap: balance;
  background: linear-gradient(120deg, #fff 0%, var(--chrome-light) 22%, var(--accent-a) 52%, var(--accent-b) 82%, var(--accent-c) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: title-in 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes title-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-lead {
  color: rgba(228, 228, 231, 0.88);
  font-size: clamp(1.02rem, 2.2vw, 1.12rem);
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.72;
  margin-bottom: 2rem;
  font-weight: 400;
  animation: fade-up 0.9s 0.15s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 0;
  transform: translateY(16px);
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  animation: fade-up 0.9s 0.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 0;
  transform: translateY(16px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 2.2vw, 1.15rem);
  margin-top: 2.75rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 42rem;
  padding-top: 0;
  border-top: none;
  animation: fade-up 0.9s 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 0;
  transform: translateY(16px);
  align-items: stretch;
}

@media (max-width: 520px) {
  .hero-stats {
    grid-template-columns: 1fr;
    max-width: 20rem;
  }
}

@media (max-width: 900px) and (min-width: 521px) {
  .hero-stats {
    max-width: 34rem;
  }
}

.hero-stats .stat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 5.75rem;
  padding: 1.15rem 1.15rem 1.2rem;
  border-radius: calc(var(--radius-sm) + 2px);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.018) 48%, rgba(12, 14, 22, 0.45) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 -1px 0 rgba(0, 0, 0, 0.35) inset,
    0 14px 44px rgba(0, 0, 0, 0.28);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.hero-stats .stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b) 52%, var(--accent-c));
  opacity: 0.88;
  z-index: 0;
}

.hero-stats .stat::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 80% at 50% 0%, rgba(34, 211, 238, 0.09) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}

.hero-stats .stat:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, 0.22);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 20px 50px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(129, 140, 248, 0.12);
}

.hero-stats .stat:hover::after {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero-stats .stat {
    transition: none;
  }

  .hero-stats .stat:hover {
    transform: none;
  }
}

.hero-stats .stat-value {
  position: relative;
  z-index: 1;
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.8vw, 1.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  background: linear-gradient(100deg, #fff 0%, var(--chrome-light) 38%, var(--accent-a) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-stats .stat-label {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 12rem;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: rgba(161, 161, 170, 0.95);
}

/* Sections */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

.section-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 28%);
}

.section-head {
  text-align: center;
  margin-bottom: 2.75rem;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-a);
  margin-bottom: 0.65rem;
  opacity: 0.95;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.2vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
  background: linear-gradient(95deg, var(--text) 0%, var(--chrome-light) 35%, var(--accent-a) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head p {
  color: var(--muted);
  max-width: 46ch;
  margin: 0 auto;
  font-size: 1.02rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.category-card {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s, box-shadow 0.35s;
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, transparent 40%, rgba(255, 255, 255, 0.06) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.category-card:hover::before {
  transform: translateX(100%);
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 40px rgba(34, 211, 238, 0.08);
}

.cat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.15), rgba(129, 140, 248, 0.15));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.category-card h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.category-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.product-card {
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(22, 22, 28, 0.9) 0%, rgba(12, 12, 16, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.product-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(129, 140, 248, 0.4);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 30px rgba(129, 140, 248, 0.12);
}

.product-thumb {
  height: 140px;
  background:
    linear-gradient(160deg, rgba(34, 211, 238, 0.12) 0%, transparent 50%),
    linear-gradient(90deg, #27272a, #18181b);
  display: grid;
  place-items: center;
  font-size: 2.5rem;
  position: relative;
}

.product-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 60%, rgba(0, 0, 0, 0.4));
}

.product-body {
  padding: 1.1rem 1.25rem 1.25rem;
}

.product-body h3 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  letter-spacing: -0.02em;
}

.product-body .meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
}

/* Features strip */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.feature {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  transition: background 0.3s, border-color 0.3s;
}

.feature:hover {
  background: rgba(34, 211, 238, 0.05);
  border-color: rgba(34, 211, 238, 0.2);
}

.feature h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--chrome-light);
  letter-spacing: -0.02em;
}

.feature p {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Newsletter */
.newsletter {
  position: relative;
  overflow: hidden;
  margin: 2rem 1.5rem 4rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 2.85rem 2rem;
  border-radius: calc(var(--radius) + 6px);
  background:
    linear-gradient(145deg, rgba(34, 211, 238, 0.07) 0%, rgba(129, 140, 248, 0.06) 50%, rgba(192, 132, 252, 0.05) 100%),
    var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35) inset,
    0 32px 64px rgba(0, 0, 0, 0.35);
}

.newsletter-glow {
  position: absolute;
  width: 120%;
  height: 80%;
  left: -10%;
  top: -40%;
  background: radial-gradient(ellipse at 50% 100%, rgba(34, 211, 238, 0.15), transparent 55%);
  pointer-events: none;
}

.newsletter h2 {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
}

.newsletter p {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 0.98rem;
  margin-bottom: 1.35rem;
  max-width: 40ch;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1 1 200px;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-family: inherit;
}

.newsletter-form input::placeholder {
  color: var(--muted);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent-a);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.5rem 1.5rem;
  background: rgba(0, 0, 0, 0.35);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0;
}

.footer-logo {
  height: 42px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  object-position: left center;
  opacity: 0.9;
  filter: grayscale(0.12) brightness(1.06);
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-a);
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-toggle-label {
    display: flex;
  }

  .nav-list {
    position: fixed;
    top: 73px;
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    padding: 1rem;
    background: rgba(10, 10, 12, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    backdrop-filter: blur(12px);
    gap: 0;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list a {
    display: block;
    padding: 0.85rem 1rem;
  }

  .nav-toggle:checked ~ .nav-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* Skip link & a11y */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 1000;
  padding: 0.65rem 1rem;
  background: var(--accent-a);
  color: var(--void);
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
}

.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;
}

/* Topic map (home) */
.topic-map-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.topic-map-card {
  display: block;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--panel);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.topic-map-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.topic-map-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent-a);
  margin-bottom: 0.5rem;
}

.topic-map-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.topic-map-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Risk showcase cards (education “product” layout) */
.risk-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.risk-card {
  display: flex;
  flex-direction: column;
  font-family: var(--font-card);
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(165deg, rgba(22, 22, 28, 0.95) 0%, rgba(10, 10, 12, 0.98) 100%);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s, box-shadow 0.35s;
}

.risk-card:hover {
  transform: translateY(-5px);
  border-color: rgba(129, 140, 248, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(34, 211, 238, 0.06);
}

.risk-card-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  background:
    radial-gradient(ellipse 80% 120% at 20% 0%, rgba(34, 211, 238, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.risk-card-brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 8px 24px rgba(0, 0, 0, 0.4);
}

.risk-card-tag {
  font-family: var(--font-card);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-a);
  text-align: right;
  line-height: 1.35;
}

.risk-card-body {
  padding: 1.2rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.65rem;
}

.risk-card-label {
  font-family: var(--font-card);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a5b4fc;
  margin: 0 0 0.4rem;
  line-height: 1.35;
}

.risk-card-body h3 {
  font-family: var(--font-card);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: #f4f4f5;
}

.risk-card-scope {
  font-size: 0.9375rem;
  font-weight: 400;
  color: #d4d4d8;
  line-height: 1.65;
  flex: 1;
}

.risk-card-btn {
  align-self: flex-start;
  margin-top: 0.35rem;
  text-decoration: none;
}

.risk-card-ref {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.74rem;
  font-family: ui-monospace, monospace;
  font-weight: 500;
  color: #a1a1aa;
  letter-spacing: 0.04em;
}

.risk-card-ref code {
  font-size: inherit;
  color: var(--accent-a);
  background: rgba(34, 211, 238, 0.08);
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  border: 1px solid rgba(34, 211, 238, 0.2);
}

.risk-card-url {
  font-size: 0.72rem;
  font-weight: 500;
  color: #8b8b94;
  opacity: 0.95;
  word-break: break-all;
}

.risk-card-url code {
  font-size: inherit;
  color: #a1a1aa;
}

/* Topic categories on home */
.topic-category {
  margin-bottom: 3rem;
}

.topic-category:last-of-type {
  margin-bottom: 0;
}

.topic-category-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topic-category-head h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(95deg, var(--text), var(--accent-a));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.topic-category-desc {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 36ch;
  line-height: 1.5;
}

.topic-ref-inline {
  font-family: ui-monospace, monospace;
  font-size: 0.85em;
  font-weight: 600;
  color: var(--accent-a);
  background: rgba(34, 211, 238, 0.1);
  padding: 0.1rem 0.4rem;
  border-radius: 6px;
  border: 1px solid rgba(34, 211, 238, 0.25);
}

.topic-url-pill {
  margin: 1.5rem 0 0;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: var(--muted);
}

.topic-url-pill code {
  font-size: 0.78rem;
  color: #a3a3a3;
}

/* Expandable info on topic pages (not selectors for harmful tools) */
.topic-expander {
  margin: 1.35rem 0;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(129, 140, 248, 0.25);
  background: rgba(129, 140, 248, 0.06);
  overflow: hidden;
}

.topic-expander summary {
  cursor: pointer;
  list-style: none;
  padding: 0.85rem 1rem;
  font-family: var(--font-card);
  font-weight: 600;
  font-size: 0.88rem;
  color: #c4b5fd;
  user-select: none;
}

.topic-expander summary::-webkit-details-marker {
  display: none;
}

.topic-expander summary::after {
  content: " +";
  opacity: 0.7;
  font-weight: 800;
}

.topic-expander[open] summary::after {
  content: " −";
}

.topic-expander-body {
  padding: 0 1rem 1rem;
  font-family: var(--font-card);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
  border-top: 1px solid rgba(129, 140, 248, 0.12);
}

.topic-expander-body p {
  margin: 0;
  padding-top: 0.75rem;
}

/* Topic detail pages */
.topic-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.topic-page-head {
  margin-bottom: 2rem;
}

.topic-page-mark {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin-bottom: 1rem;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 12px 40px rgba(0, 0, 0, 0.45);
}

.topic-page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.65rem;
  background: linear-gradient(100deg, #fff, var(--accent-a));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.topic-page-lead {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 58ch;
  font-family: var(--font-card);
}

.topic-page-body {
  font-family: var(--font-card);
}

.topic-page-body h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.5rem 0 0.65rem;
  color: var(--chrome-light);
}

.topic-page-body ul {
  margin: 0 0 0.5rem;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

.topic-page-body li + li {
  margin-top: 0.35rem;
}

.topic-page-more {
  margin-top: 1.75rem;
  font-size: 0.95rem;
}

.topic-page-more a {
  color: var(--accent-a);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(34, 211, 238, 0.35);
}

.topic-page-more a:hover {
  color: var(--text);
  border-color: var(--text);
}

.topic-page-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.topic-page-actions a {
  text-decoration: none;
}

.feature a {
  color: var(--accent-a);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.feature a:hover {
  color: var(--text);
}

/* Guide page */
.guide-main {
  max-width: 820px;
  margin: 0 auto;
  padding-bottom: 2rem;
}

.guide-page-head {
  padding-top: 2.5rem;
  text-align: left;
}

.guide-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  background: linear-gradient(105deg, #fff, var(--accent-a));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.guide-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 62ch;
  line-height: 1.65;
}

.guide-lead strong {
  color: var(--chrome-light);
}

.toc {
  padding-top: 0;
  padding-bottom: 2rem;
}

.toc-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.toc-list a {
  display: block;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: border-color 0.25s, background 0.25s;
}

.toc-list a:hover {
  border-color: rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.06);
}

.topic-block {
  padding-top: 2.75rem;
  padding-bottom: 2.75rem;
}

.topic-head {
  margin-bottom: 1.5rem;
}

.topic-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--accent-b);
  margin-bottom: 0.5rem;
}

.topic-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.topic-intro {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 65ch;
}

.topic-intro strong {
  color: var(--chrome-light);
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.tool-card {
  padding: 1.2rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.25s;
}

.tool-card:hover {
  border-color: rgba(129, 140, 248, 0.25);
}

.tool-card h3 {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--chrome-light);
  letter-spacing: -0.02em;
}

.tool-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

.tool-card code {
  font-size: 0.82em;
  padding: 0.12rem 0.35rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--accent-a);
}

.tool-card-warn {
  border-color: rgba(251, 191, 36, 0.25);
  background: rgba(251, 191, 36, 0.05);
}

.checklist {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.checklist li + li {
  margin-top: 0.35rem;
}

.official-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(34, 211, 238, 0.2);
  background: rgba(34, 211, 238, 0.05);
}

.official-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-a);
}

.official-strip a {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: color 0.2s, border-color 0.2s;
}

.official-strip a:hover {
  color: var(--accent-a);
  border-color: var(--accent-a);
}

.guide-foot {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.callout-final {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.callout-final strong {
  color: var(--chrome-light);
}

.guide-back {
  text-align: center;
}

.guide-back .btn {
  text-decoration: none;
}

/* Hold-to-verify overlay (products + product/* pages) */
html.hold-verify-active body {
  overflow: hidden;
}

.hold-verify-root {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(4, 4, 5, 0.94);
  backdrop-filter: blur(8px);
}

html.hold-verify-passed .hold-verify-root {
  display: none !important;
}

.hold-verify-panel {
  width: min(100%, 400px);
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(34, 211, 238, 0.25);
  background: linear-gradient(160deg, rgba(22, 22, 28, 0.98), rgba(8, 8, 12, 0.99));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  text-align: center;
}

.hold-verify-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.65rem;
}

.hold-verify-desc {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.hold-verify-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.hold-verify-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
  transition: width 0.05s linear;
}

.hold-verify-btn {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  display: block;
  cursor: pointer;
  touch-action: none;
  user-select: none;
}

.hold-verify-active .skip-link {
  visibility: hidden;
  pointer-events: none;
}

html.pw-hold-active body {
  overflow: hidden;
}

.pw-hold-root[hidden] {
  display: none !important;
}

/* Product page: bottom bar — Back (left) + Download (right) */
.malware-topic-head {
  margin-bottom: 2rem;
}

.malware-topic-head-text {
  min-width: 0;
}

.malware-topic-actions--bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.malware-topic-actions--bar .btn-download {
  min-width: 11rem;
  white-space: nowrap;
  box-shadow: 0 8px 28px rgba(34, 211, 238, 0.18);
}

@media (max-width: 560px) {
  .malware-topic-actions--bar {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .malware-topic-actions--bar .btn-download {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

.btn-download {
  min-width: 10rem;
}

/* download-file.html */
.page-download-gate .download-gate-main {
  max-width: 640px;
  margin: 0 auto;
  padding: 2.25rem 1.25rem 3rem;
}

.download-gate-head {
  margin-bottom: 2rem;
}

.download-gate-head h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 0.65rem;
}

.download-gate-lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 42ch;
}

.download-gate-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  margin-bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
}

.download-gate-h2 {
  font-family: var(--font-card);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-b);
  margin-bottom: 0.65rem;
}

.download-gate-p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 1.1rem;
}

.download-gate-host-btn {
  display: inline-flex;
  text-decoration: none;
}

.download-gate-back {
  margin-top: 2rem;
  font-size: 0.92rem;
}

.download-gate-back .link-back {
  color: var(--accent-a);
  text-decoration: none;
  font-weight: 600;
}

.download-gate-back .link-back:hover {
  color: var(--text);
}

.pw-result {
  margin-top: 1.25rem;
}

.pw-result-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.pw-result-box {
  margin: 0;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.06);
}

.pw-result-box code {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-a);
  letter-spacing: 0.12em;
  font-family: ui-monospace, "Cascadia Code", monospace;
}

/* Product hub (products.html) + product detail pages (product/.../*.html) */
.page-topic-hub .topic-hub-main,
.page-malware-topic .malware-topic-main {
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 3rem;
}

.topic-hub-hero {
  padding-top: 2.25rem;
  margin-bottom: 2rem;
}

.topic-hub-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0.5rem 0 1rem;
  background: linear-gradient(105deg, #fff, var(--accent-a));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.topic-hub-lead,
.topic-hub-note {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 70ch;
  line-height: 1.65;
}

.topic-hub-note {
  margin-top: 1rem;
  font-size: 0.95rem;
}

.topic-hub-note code,
.topic-hub-lead strong {
  color: var(--chrome-light);
}

.topic-hub-filters-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5rem;
  padding-bottom: 6px;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

.topic-hub-filters-scroll .topic-hub-filters {
  margin-bottom: 0;
}

.topic-hub-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.35);
}

.topic-hub-filters-label {
  font-family: var(--font-card);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 0.35rem;
}

.topic-filter-btn {
  font-family: var(--font-card);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--chrome-light);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.topic-filter-btn:hover {
  border-color: rgba(34, 211, 238, 0.45);
  color: var(--text);
}

.topic-filter-btn.is-active {
  border-color: rgba(34, 211, 238, 0.55);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(129, 140, 248, 0.12));
  color: var(--text);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.08);
}

.topic-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.15rem;
}

@media (max-width: 720px) {
  .page-topic-hub .topic-hub-main.section {
    padding-top: 2rem;
    padding-bottom: 2.5rem;
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
  }

  .topic-hub-title {
    text-wrap: balance;
  }

  .topic-hub-filters-scroll {
    overflow-x: visible;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 1.25rem;
  }

  .topic-hub-filters {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 9rem), 1fr));
    gap: 0.5rem;
    width: 100%;
    max-width: none;
    padding: 0.85rem 0.85rem;
    align-items: stretch;
  }

  .topic-hub-filters-label {
    grid-column: 1 / -1;
    margin-right: 0;
    margin-bottom: 0.2rem;
  }

  .topic-filter-btn {
    min-height: 44px;
    width: 100%;
    padding: 0.45rem 0.6rem;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.25;
    hyphens: auto;
    overflow-wrap: anywhere;
  }

  .topic-hub-card-link {
    padding: 1.1rem 1.15rem 1.25rem;
  }

  .topic-hub-hero {
    padding-top: 1.25rem;
    margin-bottom: 1.25rem;
  }

  .topic-hub-lead {
    font-size: 0.98rem;
  }

  .topic-hub-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .topic-hub-load-more-wrap {
    margin-top: 1.25rem;
    padding: 0;
  }

  .topic-hub-load-more {
    width: 100%;
    max-width: none;
    min-width: 0;
    min-height: 48px;
  }

  .topic-hub-count {
    font-size: 0.85rem;
    padding: 0 0.15rem;
  }
}

.topic-hub-card {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(155deg, rgba(22, 22, 28, 0.92), rgba(10, 10, 14, 0.88));
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.topic-hub-card:hover {
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  transform: translateY(-2px);
}

.topic-hub-card-link {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.35rem 1.4rem;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.topic-hub-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.topic-hub-card-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(120% 120% at 20% 10%, rgba(34, 211, 238, 0.22), rgba(129, 140, 248, 0.12) 45%, rgba(10, 10, 14, 0.9) 100%),
    linear-gradient(155deg, rgba(22, 22, 28, 0.88), rgba(10, 10, 14, 0.92));
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  opacity: 0.95;
  user-select: none;
}

.topic-hub-card-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.topic-hub-card-badge {
  font-family: var(--font-card);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-a);
}

.topic-hub-card-title {
  font-family: var(--font-card);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin-bottom: 0.55rem;
  color: var(--text);
}

.topic-hub-card-text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.topic-hub-card-cta {
  font-family: var(--font-card);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-a);
  margin-top: auto;
}

.topic-hub-card-link:hover .topic-hub-card-cta {
  color: var(--text);
}

.topic-hub-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.topic-hub-load-more-wrap[hidden] {
  display: none !important;
}

.topic-hub-load-more {
  min-width: 11rem;
}

.topic-hub-count {
  margin-top: 1.25rem;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}

/* Inner malware topic article */
.malware-topic {
  max-width: min(920px, 100%);
  margin: 0 auto;
  padding-top: 2.25rem;
}

.malware-topic-mark {
  display: block;
  margin-bottom: 1rem;
  opacity: 0.95;
}

.malware-topic-platform {
  font-family: var(--font-card);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-b);
  margin-bottom: 0.35rem;
}

.malware-topic-head h1 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text);
}

.malware-topic-intro {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.malware-topic-intro strong,
.malware-topic-intro em {
  color: var(--chrome-light);
}

.malware-topic-section {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.malware-topic-section:last-of-type {
  border-bottom: none;
}

.malware-topic-section h2 {
  font-family: var(--font-card);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--chrome-light);
  margin-bottom: 0.85rem;
}

.malware-topic-section p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0.65rem;
}

.malware-topic-section p:last-child {
  margin-bottom: 0;
}

.malware-topic-banner {
  margin: 2rem 0 1.5rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(192, 132, 252, 0.25);
  background: rgba(129, 140, 248, 0.08);
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

.malware-topic-banner strong {
  color: var(--chrome-light);
}

.malware-topic-actions .btn,
.malware-topic-actions--bar .btn {
  text-decoration: none;
}

.malware-topic-actions--bar .btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
