
/* reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #000;
  --surface: #0a0a0a;
  --text: #fff;
  --text-dim: #888;
  --accent: #fff;
  --border: rgba(255, 255, 255, 0.1);
  --spacing: 1rem;
  --radius: 12px;
  --max-width: 1200px;
  --font-mono: 'Share Tech Mono', 'Courier New', monospace;
  --font-sans: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

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

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: var(--bg);
  padding: 8px 16px;
  z-index: 10000;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
}

html {
  scroll-padding-top: 80px;
  overflow-x: hidden;
}

html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

body {
  background: transparent;
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* dot terrain canvas - behind everything */
#dotTerrain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background: #000;
}

/* Content sits above canvas */
nav { position: relative; z-index: 2000; }
.hero { position: relative; z-index: 1; }
.section { position: relative; z-index: 1; }
footer { position: relative; z-index: 1; }

/* utility */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing);
}

.section {
  padding: 3rem var(--spacing);
}

.section-alt {
  background: var(--surface);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  justify-content: center;
}

/* nav */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 2000;
  padding: 1rem 0;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 35px;
}

.nav-logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-logo img {
  height: 35px;
  width: auto;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-logo img:hover {
  transform: scale(1.08);
}

.nav-links {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  align-items: center;
  margin: 0 !important;
  padding: 0;
  height: 100%;
}

.nav-links a,
.nav-dropdown-toggle {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-block;
  position: relative;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  padding: 0.3rem 0.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}

.nav-dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 0.35rem;
  height: 0.35rem;
  margin-left: 0.45rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.7rem);
  left: 50%;
  min-width: 168px;
  padding: 0.55rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  list-style: none;
  background: rgba(0, 0, 0, 0.96);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.42);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -0.75rem;
  height: 0.75rem;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.nav-links > li > a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover,
.nav-dropdown-toggle:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.nav-links > li > a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 0.5rem;
  z-index: 101;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 120px var(--spacing) 60px;
  position: relative;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-logo {
  max-width: 350px;
  width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
}

.hero-tagline {
  font-size: 1.1rem;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 1.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* buttons */
.btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.9rem;
  font-family: var(--font-sans);
  position: relative;
  overflow: hidden;
  will-change: transform, box-shadow;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: 0;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn > * {
  position: relative;
  z-index: 1;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
}

.btn-primary:active {
  transform: translateY(-1px) scale(1.01);
  transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary {
  border-color: var(--border);
  color: var(--text);
  background: transparent;
}

.btn-secondary:hover {
  background: var(--surface);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.btn-secondary:active {
  transform: translateY(0);
  transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-show-all {
  margin-top: 1.5rem;
  width: auto;
  min-width: 200px;
  max-width: 100%;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-show-all:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-dim);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.08);
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(45deg, rgba(255, 20, 147, 0.04), rgba(0, 255, 128, 0.03), rgba(255, 20, 147, 0.04)),
    radial-gradient(1px 1px at 20px 20px, rgba(255, 255, 255, 0.015) 0, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 60px 60px;
  transform: translateX(-100%);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

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

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.08);
}

.card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

.card-icon {
  margin-bottom: 1rem;
  color: var(--accent);
  position: relative;
  z-index: 1;
}

.card-icon i {
  width: 24px;
  height: 24px;
}

.presskit-placeholder:hover {
  background: linear-gradient(45deg, #ff149344, #00ff8044) !important;
  border-color: var(--accent) !important;
  transform: scale(1.03);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(255, 20, 147, 0.2);
}

.card p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.5;
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
}

.card .btn {
  margin-top: auto;
}

/* getting started layouts */
.getting-started-primary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.getting-started-secondary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

/* card step numbers */
.card-step-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
  position: relative;
  z-index: 1;
}

/* primary cards - featured onboarding steps */
.card-primary {
  padding: 2rem;
  text-align: center;
}

.card-primary .card-icon {
  margin-bottom: 1rem;
}

.card-primary .card-icon i {
  width: 32px;
  height: 32px;
}

.card-primary h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.card-primary p {
  margin-bottom: 1.5rem;
}

/* secondary cards - compact resource links */
.card-secondary {
  padding: 1rem 1.25rem;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}

.card-secondary .card-step-number {
  display: none;
}

.card-secondary .card-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.card-secondary .card-icon i {
  width: 20px;
  height: 20px;
}

.card-secondary-content {
  flex: 1;
  text-align: left;
  position: relative;
  z-index: 1;
}

.card-secondary h3 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.card-secondary p {
  margin-bottom: 0;
  font-size: 0.85rem;
}

.card-secondary .btn {
  margin-top: 0;
  flex-shrink: 0;
}

/* release card */
.release-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 1rem;
}

.release-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.release-title {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.release-meta {
  display: flex;
  gap: 1rem;
  color: var(--text-dim);
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.release-body {
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  max-height: 200px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.release-body::-webkit-scrollbar {
  width: 4px;
}

.release-body::-webkit-scrollbar-track {
  background: transparent;
}

.release-body::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 2px;
}

.release-body h1,
.release-body h2,
.release-body h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1.1rem;
}

.release-body ul,
.release-body ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.release-body code {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-size: 0.9em;
}

.release-assets {
  display: grid;
  gap: 0.5rem;
}

.asset-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}

.asset-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.asset-link:hover::before {
  transform: translateX(100%);
}

.asset-link:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateX(6px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.06);
}

.asset-link:active {
  transform: translateX(3px);
  transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.asset-icon {
  opacity: 0.6;
}

/* loading */
.loading {
  text-align: center;
  padding: 2rem;
  color: var(--text-dim);
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--text);
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.6s linear infinite;
  margin-right: 0.5rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* partner */
.partner-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0.75rem 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 2;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.partner-marquee {
  display: flex;
  width: max-content;
  will-change: transform;
}

.partner-marquee-content {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  padding: 0 3.5rem;
  flex-shrink: 0;
}

.partner-separator {
  color: var(--text-dim);
  opacity: 0.3;
  font-size: 1rem;
  user-select: none;
}

.partner-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-dim);
  white-space: nowrap;
}

.partner-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.partner-link:hover {
  opacity: 0.7;
}

.partner-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
}

.partner-logo--sm {
  width: 22px;
  height: 22px;
}

.partner-name {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.3px;
}

.partner-tm {
  font-size: 0.55rem;
  vertical-align: super;
  opacity: 0.5;
  font-style: normal;
  margin-left: 1px;
}

.partner-strip--standalone {
  position: relative;
  margin-top: var(--nav-height, 60px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: none;
}

/* board cards */
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.board-card-full {
  display: flex;
  flex-direction: column;
}

.board-card-full img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.board-card-full:hover img {
  transform: scale(1.03);
}

.board-card-partner {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
  margin-bottom: 0.6rem;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  width: fit-content;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.4px;
  font-weight: 500;
  line-height: 1;
}

.board-card-partner .partner-tm {
  font-size: 0.55em;
  font-weight: 400;
  margin-left: 0.1rem;
  opacity: 0.7;
  position: static;
}

.board-card-partner--rabbit {
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.3);
  color: #a5d6a7;
}

.board-card-partner--twh {
  background: rgba(156, 39, 176, 0.1);
  border: 1px solid rgba(156, 39, 176, 0.3);
  color: #e1bee7;
}

.board-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0.5rem 0;
}

.board-tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-mono);
  transition: background 0.2s, border-color 0.2s;
}

.board-card-full:hover .board-tag {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.18);
}

.board-card-full .btn {
  margin-top: auto;
}

.tag-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
  margin: 0.75rem 0 1.5rem;
}

.tag-filter-btn {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--text-dim);
  padding: 0.25rem 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.tag-filter-btn:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
}

.tag-filter-btn.active {
  background: var(--text);
  color: #000;
  border-color: var(--text);
}

/* footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem var(--spacing);
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.footer a {
  color: var(--text);
  text-decoration: none;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
}

.footer a:hover {
  opacity: 0.7;
  transform: translateY(-2px);
}

.footer .support-link {
  display: block;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  margin-top: 0.5rem;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.footer-links .icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-links .icon-link:hover {
  transform: translateY(-3px) scale(1.1);
}

.footer-links .icon-link i {
  width: 20px;
  height: 20px;
  font-size: 1.15rem;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* comparison table */
.comparison-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.comparison-disclaimer {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.5;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.comparison-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 auto 1.5rem;
  padding: 0.6rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.comparison-toggle:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.03);
}

.comparison-toggle i {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.comparison-toggle.active i {
  transform: rotate(180deg);
}

.comparison-container {
  display: none;
  overflow-x: auto;
  overflow-y: auto;
  max-height: 75vh;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #0e0e0e;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.15) transparent;
}

.comparison-container::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.comparison-container::-webkit-scrollbar-track {
  background: transparent;
}

.comparison-container::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
}

.comparison-container::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.25);
}

.comparison-container.visible {
  display: block;
  animation: comparisonFadeIn 0.3s ease;
}

@keyframes comparisonFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  min-width: 640px;
}

.comparison-table thead {
  position: sticky;
  top: 0;
  z-index: 10;
}

.comparison-table thead tr {
  background: #0a0a0a;
}

.comparison-table th {
  background: #0a0a0a;
  padding: 0.75rem 0.5rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.85rem;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
  color: var(--text-dim);
}

.comparison-table th.ghostesp-col {
  color: #00ff80;
  background: #0a0a0a;
}

.comparison-table th:first-child {
  text-align: left;
  padding-left: 1rem;
  width: 35%;
  position: sticky;
  left: 0;
  z-index: 12;
  background: #0a0a0a;
}

.comparison-table td {
  padding: 0.5rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
}

.comparison-table td:first-child {
  text-align: left;
  padding-left: 1rem;
  color: var(--text);
  font-weight: 400;
  position: sticky;
  left: 0;
  z-index: 2;
  background: #0e0e0e;
}

.comparison-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.comparison-table tbody tr:hover td {
  color: var(--text);
}

.comparison-table tbody tr:hover td:first-child {
  background: #141414;
}

.comparison-table .category-row td {
  background: #111;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 1px;
  padding: 0.6rem 0.5rem;
  border-bottom: 1px solid var(--border);
}

.comparison-table .category-row td:first-child {
  background: #111;
}

.check-yes {
  color: #00ff80;
  font-weight: 700;
}

.check-no {
  color: var(--text-dim);
  opacity: 0.4;
}

.check-partial {
  color: #ffd700;
  font-size: 0.7rem;
}

.comparison-table .ghostesp-col {
  background: rgba(0, 255, 128, 0.03);
}

.comparison-table tbody tr:hover .ghostesp-col {
  background: rgba(0, 255, 128, 0.06);
}

@media (max-width: 768px) {
  .comparison-table {
    font-size: 0.72rem;
    min-width: 550px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.4rem 0.3rem;
  }

  .comparison-table th:first-child,
  .comparison-table td:first-child {
    padding-left: 0.6rem;
    width: 30%;
  }

  .comparison-container {
    max-height: 60vh;
    border-radius: 8px;
  }
}

/* typography */
h1 {
  font-size: 2.25rem;
  margin-bottom: 2rem;
  text-align: center;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.5px;
}

h3 {
  font-family: var(--font-sans);
  font-weight: 500;
}

/* legal banner */
.legal-banner {
  max-width: 700px;
  margin: 0 auto 1.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.5;
  text-align: center;
}

.legal-banner strong {
  color: var(--text);
}

/* trust grid - community & auditable */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* auditable section */
.auditable-card {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.auditable-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.08);
}

.auditable-card-icon {
  margin-bottom: 1rem;
  color: #00ff80;
}

.auditable-card-icon i {
  width: 28px;
  height: 28px;
}

.auditable-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.auditable-text {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.auditable-links {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* comparison summary */
.comparison-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.75rem;
  max-width: 900px;
  margin: 0 auto 2rem;
}

.comparison-summary-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.85rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text);
}

.comparison-summary-item i {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: #00ff80;
}

/* responsive */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  .nav-logo {
    height: 30px;
  }

  .nav-logo img {
    height: 30px;
  }

  nav {
    padding: 0.5rem 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 75%;
    max-width: 300px;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 72px 1.5rem 1.5rem;
    border-left: 1px solid var(--border);
    transition: right 0.3s ease;
    overflow-y: auto;
    z-index: 2100;
  }

  .nav-links.active {
    right: 0;
  }

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

  .nav-dropdown {
    display: block;
  }

  .nav-dropdown-toggle {
    width: 100%;
    padding: 0;
    color: var(--text);
    text-align: left;
    pointer-events: none;
  }

  .nav-dropdown-toggle::after {
    display: none;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    margin-top: 0.45rem;
    padding: 0 0 0 0.85rem;
    border: 0;
    border-left: 1px solid var(--border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none !important;
  }

  .nav-dropdown-menu::before {
    display: none;
  }

  .nav-dropdown-menu a:hover {
    background: transparent;
  }

  .nav-links a {
    display: block;
    padding: 0.25rem 0;
    font-size: 0.95rem;
    transform: none !important;
    transition: none !important;
    overflow: hidden;
  }

  .nav-links a:hover,
  .nav-dropdown-toggle:hover {
    transform: none !important;
    transition: none !important;
  }

  .nav-links a::after,
  .nav-links > li > a::after {
    display: none !important;
    width: 0 !important;
  }

  .hero {
    min-height: 90vh;
    padding: 100px var(--spacing) 40px;
  }

  .hero-logo {
    max-width: 240px;
  }

  .hero-tagline {
    font-size: 0.95rem;
    padding: 0 1rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .section {
    padding: 2.5rem var(--spacing);
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .getting-started-primary {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .getting-started-secondary {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .card-primary {
    padding: 1.5rem;
  }

  .card-secondary {
    padding: 1rem;
  }

  .release-header {
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .legal-banner {
    font-size: 0.75rem;
  }

  .comparison-summary {
    grid-template-columns: 1fr;
  }

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

  .board-card-full img {
    height: 180px;
  }

  .partner-strip--standalone {
    margin-top: var(--nav-height, 60px);
  }
}

@media (max-width: 375px) {
  .nav-logo {
    height: 25px;
  }

  .nav-logo img {
    height: 25px;
  }

  .hero-logo {
    max-width: 200px;
  }

  .hero-tagline {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .card-secondary {
    flex-direction: column;
    text-align: center;
  }

  .card-secondary-content {
    text-align: center;
  }

  .board-grid {
    grid-template-columns: 1fr;
  }

  .board-card-full img {
    height: 200px;
  }

  .tag-filter {
    gap: 0.25rem;
  }

  .tag-filter-btn {
    font-size: 0.6rem;
    padding: 0.2rem 0.55rem;
  }
}

/* floating social group */
.floating-social {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 1999;
}

.floating-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-social-btn:hover {
  transform: scale(1.1) translateY(-1px);
  color: #fff;
  text-decoration: none !important;
}

.floating-social-btn--discord {
  background: #5865F2;
  box-shadow: 0 2px 10px rgba(88, 101, 242, 0.4);
}
.floating-social-btn--discord:hover {
  box-shadow: 0 4px 16px rgba(88, 101, 242, 0.6);
}

.floating-social-btn--github {
  background: #1f2328;
  box-shadow: 0 2px 10px rgba(31, 35, 40, 0.45);
}
.floating-social-btn--github:hover {
  background: #2d3137;
  box-shadow: 0 4px 16px rgba(31, 35, 40, 0.55);
}

.floating-social-btn--instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 2px 10px rgba(220, 39, 67, 0.4);
}
.floating-social-btn--instagram:hover {
  box-shadow: 0 4px 16px rgba(220, 39, 67, 0.6);
}

/* nav star button */
#nav-star-count {
  display: flex;
  align-items: center;
  margin-left: 0.25rem;
}

.nav-star-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  line-height: 1;
  vertical-align: middle;
}

.nav-star-btn:hover,
.nav-star-btn:focus,
.nav-star-btn:active {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background: #1f2328;
  transform: translateY(-1px);
  text-decoration: none !important;
}

.nav-star-btn > svg,
.nav-star-btn svg {
  width: 15px !important;
  height: 15px !important;
  min-width: 15px;
  flex-shrink: 0;
  margin-right: 0.5rem;
  display: inline-block;
  vertical-align: middle;
  position: static;
  top: 0;
}

.nav-star-btn span {
  line-height: 1;
  vertical-align: middle;
}

/* discord widget card */
.discord-widget-card {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid rgba(88, 101, 242, 0.2);
  border-radius: var(--radius);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.discord-widget-card:hover {
  transform: translateY(-4px);
  border-color: rgba(88, 101, 242, 0.4);
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.15);
}

.discord-widget-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.discord-widget-header h3 {
  margin-bottom: 0;
  font-size: 1.25rem;
}

.discord-widget-desc {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}

.discord-widget-count {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  margin-bottom: 0.5rem;
}

.discord-online-dot {
  width: 8px;
  height: 8px;
  background: #57F287;
  border-radius: 50%;
  display: inline-block;
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* post-flash modal */
.post-flash-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  animation: fadeIn 0.3s ease;
}

.post-flash-modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem 2rem;
  max-width: 420px;
  width: 90%;
  text-align: center;
  position: relative;
  animation: slideUp 0.3s ease;
}

.post-flash-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.post-flash-close:hover {
  color: var(--text);
}

.post-flash-icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 255, 128, 0.1);
  border: 2px solid #00ff80;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: #00ff80;
}

.post-flash-modal h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.post-flash-modal p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* contextual discord CTA */
.contextual-discord-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(88, 101, 242, 0.06);
  border: 1px solid rgba(88, 101, 242, 0.15);
  border-radius: var(--radius);
  margin-top: 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contextual-discord-cta:hover {
  background: rgba(88, 101, 242, 0.1);
  border-color: rgba(88, 101, 242, 0.3);
  transform: translateY(-2px);
}

.contextual-discord-cta-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(88, 101, 242, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5865F2;
}

.contextual-discord-cta-content {
  flex: 1;
}

.contextual-discord-cta-content h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
  color: var(--text);
}

.contextual-discord-cta-content p {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .floating-social {
    bottom: 14px;
    right: 14px;
    gap: 6px;
  }

  .floating-social-btn {
    width: 36px;
    height: 36px;
  }

  .floating-social-btn svg {
    width: 16px;
    height: 16px;
  }

  .post-flash-modal {
    padding: 2rem 1.5rem 1.5rem;
  }
}

/* cookie consent banner */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 1rem;
  animation: cookieSlideUp 0.3s ease-out;
}

@keyframes cookieSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-consent-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cookie-consent-text p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin: 0;
}

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

.cookie-consent-text a:hover {
  opacity: 0.8;
}

.cookie-consent-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-consent-btn {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.cookie-consent-btn-accept {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.cookie-consent-btn-accept:hover {
  opacity: 0.8;
}

.cookie-consent-btn-reject {
  background: transparent;
  color: var(--text-dim);
}

.cookie-consent-btn-reject:hover {
  color: var(--text);
  border-color: var(--text);
}

.cookie-settings-link {
  cursor: pointer;
  color: var(--text-dim);
  font-size: 0.8rem;
  text-decoration: none;
  background: none;
  border: none;
  font-family: var(--font-mono);
  padding: 0;
  margin-top: 0.75rem;
  display: inline-block;
  transition: color 0.2s ease;
}

.cookie-settings-link:hover {
  color: var(--text);
  text-decoration: none;
}

.cookie-settings-link + .cookie-settings-link {
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid var(--border);
}

.cookie-settings-link:hover {
  color: var(--text);
}

@media (max-width: 600px) {
  .cookie-consent-inner {
    flex-direction: column;
    text-align: center;
  }

  .cookie-consent-actions {
    width: 100%;
    justify-content: center;
  }
}
