@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Noto+Sans+SC:wght@400;500;600;700;900&display=swap');

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.35);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.55);
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

body.page-plaza,
body.content-page {
  background-color: #020617;
  color: #f8fafc;
  min-height: 100vh;
  font-family: Inter, 'Noto Sans SC', sans-serif;
}

.page-plaza::before,
.page-plaza::after,
.content-page::before,
.content-page::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.page-plaza::before,
.content-page::before {
  width: 520px;
  height: 520px;
  top: -160px;
  left: -80px;
  background: rgba(37, 99, 235, 0.18);
}

.page-plaza::after,
.content-page::after {
  width: 420px;
  height: 420px;
  top: 220px;
  right: -120px;
  background: rgba(59, 130, 246, 0.12);
}

.page-plaza > *,
.content-page > * {
  position: relative;
  z-index: 1;
}

.site-header-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(248, 250, 252, 0.08);
}

.site-header {
  padding: 0;
}

.site-header-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  min-height: 5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .site-header-inner {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .site-header-inner {
    padding: 0 2rem;
  }
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  text-decoration: none;
}

.site-brand-mark {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.site-brand-mark img {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.4rem;
}

.site-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.site-brand-kicker {
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #60a5fa;
}

.site-brand-name {
  margin-top: 0.15rem;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  color: #fff;
}

.site-brand-name span {
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.site-nav-main {
  flex: 1;
  justify-content: center;
}

@media (min-width: 768px) {
  .site-nav {
    display: flex;
  }
}

.site-nav.is-open {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 0.25rem;
  padding: 0.75rem 1rem 1rem;
  background: rgba(15, 23, 42, 0.96);
  border-bottom: 1px solid rgba(248, 250, 252, 0.08);
}

@media (min-width: 768px) {
  .site-nav.is-open {
    position: static;
    flex-direction: row;
    padding: 0;
    background: transparent;
    border: 0;
  }
}

.site-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  margin-left: auto;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(248, 250, 252, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
  border-radius: 0.75rem;
  cursor: pointer;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
}

.site-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.625rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0.75rem;
}

.editor-save-status {
  display: none;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  color: #94a3b8;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .editor-save-status {
    display: flex;
  }
}

.site-header-settings {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  transition: color 0.15s;
}

.site-header-settings:hover {
  color: #e2e8f0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  border-radius: 0.625rem;
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
  white-space: nowrap;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-link:hover,
.nav-link.is-active {
  color: #fff;
}

.nav-link .fa-chevron-down {
  font-size: 0.6rem;
  opacity: 0.7;
}

.nav-dropdown {
  position: relative;
}

.nav-menu {
  display: none;
  min-width: 11rem;
  padding: 0.5rem;
  background: #0f172a;
  border: 1px solid rgba(248, 250, 252, 0.1);
  border-radius: 1rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.nav-dropdown:hover .nav-menu,
.nav-dropdown.is-open .nav-menu {
  display: block;
}

@media (min-width: 768px) {
  .nav-menu {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 50%;
    transform: translateX(-50%);
  }
}

.nav-menu a {
  display: block;
  padding: 0.55rem 0.75rem;
  color: rgba(248, 250, 252, 0.72);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.625rem;
}

.nav-menu a:hover {
  color: #fff;
  background: rgba(37, 99, 235, 0.18);
}

.plaza-hero {
  text-align: center;
  padding: 2.5rem 0 2.75rem;
}

.plaza-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 1rem;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}

.plaza-title {
  font-size: clamp(2.4rem, 6vw, 3.75rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  color: #f8fafc;
  line-height: 1;
}

.plaza-title span {
  color: #2563eb;
}

.plaza-subtitle {
  margin: 1rem auto 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(248, 250, 252, 0.5);
  max-width: 40rem;
  line-height: 1.7;
}

.plaza-count {
  display: none;
}

.filter-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(248, 250, 252, 0.08);
  border-radius: 1.75rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}

.filter-row + .filter-row {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(248, 250, 252, 0.06);
}

.filter-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.45);
  margin-bottom: 0.75rem;
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-tag {
  padding: 0.4rem 0.9rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.65);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(248, 250, 252, 0.1);
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}

.filter-tag:hover {
  border-color: rgba(37, 99, 235, 0.45);
  color: #fff;
}

.filter-tag.is-active {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

.trusted-bar {
  margin-top: 5rem;
  padding-bottom: 4rem;
  text-align: center;
}

.trusted-bar h3 {
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.2);
  margin-bottom: 1.75rem;
}

.trusted-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.75rem 2.75rem;
  opacity: 0.22;
  filter: grayscale(1);
}

.trusted-logos span {
  font-size: clamp(1.25rem, 3vw, 1.85rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  color: #f8fafc;
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid rgba(248, 250, 252, 0.08);
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-footer-main {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem 1.5rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  max-width: 20rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 800;
}

.footer-logo img {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
}

.footer-tagline {
  margin: 0.75rem 0 1rem;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: rgba(248, 250, 252, 0.45);
}

.footer-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-cta .btn-primary,
.footer-cta .btn-secondary {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

.footer-col h4 {
  margin: 0 0 0.875rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #e2e8f0;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li + li {
  margin-top: 0.5rem;
}

.footer-col a {
  font-size: 0.8125rem;
  color: rgba(248, 250, 252, 0.5);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-col a:hover {
  color: #60a5fa;
}

.site-footer-bottom {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid rgba(248, 250, 252, 0.06);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: rgba(248, 250, 252, 0.35);
}

.site-footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer-bottom-links a {
  color: rgba(248, 250, 252, 0.35);
  text-decoration: none;
}

.site-footer-bottom-links a:hover {
  color: #60a5fa;
}

.lang-select {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(248, 250, 252, 0.1);
  border-radius: 9999px;
  padding: 0.375rem 0.875rem;
}

.site-header .lang-select {
  padding: 0.4rem 0.75rem;
  flex-shrink: 0;
}

.lang-select select {
  background: transparent;
  border: none;
  font-size: 0.75rem;
  font-weight: 500;
  color: #cbd5e1;
  cursor: pointer;
  outline: none;
  appearance: none;
  padding-right: 1rem;
}

.site-header .lang-select select {
  color: #e2e8f0;
  font-size: 0.8125rem;
}

@media (max-width: 639px) {
  .site-header .lang-select {
    position: relative;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    justify-content: center;
    border-radius: 0.75rem;
    gap: 0;
  }

  .site-header .lang-select select {
    position: absolute;
    inset: 0;
    opacity: 0;
    max-width: none;
    width: 100%;
    height: 100%;
    padding: 0;
  }

  .site-header .lang-select .fa-chevron-down {
    display: none;
  }
}

.modal-backdrop {
  background: rgba(2, 6, 23, 0.62);
  backdrop-filter: blur(6px);
}

#custom-modal .bg-white {
  background: #0f172a !important;
  border: 1px solid rgba(248, 250, 252, 0.1);
}

#custom-modal #modal-msg,
#custom-modal p {
  color: #94a3b8 !important;
}

.prose-aura h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #f8fafc;
  margin: 1.75rem 0 0.75rem;
  scroll-margin-top: 5rem;
}

.prose-aura h2:first-child {
  margin-top: 0;
}

.prose-aura h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 1.25rem 0 0.5rem;
}

.prose-aura p,
.prose-aura li {
  color: rgba(248, 250, 252, 0.55);
  font-size: 0.95rem;
  line-height: 1.75;
}

.prose-aura p {
  margin: 0 0 0.85rem;
}

.prose-aura a {
  color: #60a5fa;
}

.prose-aura strong {
  color: #f8fafc;
  font-weight: 600;
}

.prose-aura code {
  font-size: 0.85em;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.1em 0.35em;
  border-radius: 0.25rem;
  color: #e2e8f0;
}

.prose-aura table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin: 0.75rem 0 1.25rem;
}

.prose-aura th,
.prose-aura td {
  border: 1px solid rgba(248, 250, 252, 0.1);
  padding: 0.55rem 0.75rem;
  text-align: left;
  color: rgba(248, 250, 252, 0.55);
}

.prose-aura th {
  background: rgba(255, 255, 255, 0.04);
  color: #f8fafc;
}

.faq-hero h1 {
  font-size: 1.875rem;
  font-weight: 900;
  color: #f8fafc;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .faq-hero h1 {
    font-size: 2.5rem;
  }
}

.faq-hero-lead {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  color: rgba(248, 250, 252, 0.5);
  line-height: 1.7;
  max-width: 36rem;
}

.faq-search-wrap {
  position: relative;
  margin-top: 1.5rem;
}

.faq-search-wrap i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 0.875rem;
  pointer-events: none;
}

.faq-search {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1px solid rgba(248, 250, 252, 0.1);
  border-radius: 0.875rem;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.875rem;
  color: #f8fafc;
}

.faq-search:focus {
  outline: none;
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.faq-topic-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.faq-topic-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid rgba(248, 250, 252, 0.1);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #cbd5e1;
  text-decoration: none;
}

.faq-topic-pill:hover {
  border-color: rgba(37, 99, 235, 0.45);
  color: #fff;
}

.faq-section + .faq-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(248, 250, 252, 0.08);
}

.faq-section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 0.85rem;
}

details.faq-item {
  border: 1px solid rgba(248, 250, 252, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

details.faq-item[open] {
  border-color: rgba(37, 99, 235, 0.4);
}

details.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: #f8fafc;
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  font-size: 0.9375rem;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.7rem;
  color: #64748b;
  margin-top: 0.25rem;
}

details.faq-item .faq-answer,
details.faq-item > p {
  padding: 0 1.15rem 1rem;
  margin: 0;
  color: rgba(248, 250, 252, 0.5);
  font-size: 0.875rem;
  line-height: 1.75;
}

details.faq-item .faq-answer a {
  color: #60a5fa;
}

details.faq-item.is-hidden {
  display: none;
}

.faq-empty {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
  color: #64748b;
  font-size: 0.875rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(248, 250, 252, 0.1);
  border-radius: 1rem;
}

.faq-empty.is-visible {
  display: block;
}

.content-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(248, 250, 252, 0.08);
  border-radius: 1.5rem;
  padding: 2rem;
}

.content-card h1 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #f8fafc;
}

.seo-crumb {
  font-size: 0.75rem;
  color: rgba(248, 250, 252, 0.35);
  margin-bottom: 1.5rem;
}

.seo-crumb a {
  color: #60a5fa;
  text-decoration: none;
}

.editor-header {
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(248, 250, 252, 0.08);
}

.btn-primary {
  background: #2563eb;
  color: #fff;
  font-weight: 700;
  border-radius: 0.75rem;
  transition: background 0.15s, transform 0.15s;
}

.btn-primary:hover {
  background: #1d4ed8;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  border: 1px solid rgba(248, 250, 252, 0.12);
  font-weight: 600;
  border-radius: 0.75rem;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.btn-secondary:hover {
  border-color: rgba(37, 99, 235, 0.45);
  color: #fff;
  background: rgba(37, 99, 235, 0.12);
}

.editor-page .site-header-bar {
  background: rgba(15, 23, 42, 0.94);
}

.content-page h1,
.content-page .text-slate-900 {
  color: #f8fafc !important;
}

.content-page .text-slate-400 a:hover {
  color: #60a5fa !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;
}

/* seo-home */
.seo-home {
  margin: 3.5rem 0 0;
  padding: 1.75rem 1.5rem 1.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(248, 250, 252, 0.1);
  border-radius: 1.5rem;
}
.seo-home h2 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: -0.03em;
}
.seo-home p {
  margin: 0;
  color: rgba(248, 250, 252, 0.58);
  line-height: 1.75;
  font-size: 0.95rem;
}
.seo-home-facts {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: rgba(248, 250, 252, 0.62);
  line-height: 1.8;
  font-size: 0.95rem;
}
.seo-home-facts a,
.seo-home-links a {
  color: #93c5fd;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.seo-home-links { margin-top: 1rem !important; }
.fact-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}
.fact-chips span {
  padding: 0.45rem 0.9rem;
  border-radius: 9999px;
  border: 1px solid rgba(248, 250, 252, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(248, 250, 252, 0.7);
  font-size: 0.8125rem;
  font-weight: 700;
}
.trusted-bar .fact-chips,
.trusted-logos.fact-chips {
  opacity: 1;
  filter: none;
}
