html {
  scroll-behavior: smooth;
}
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fff;
  color: #111827;
}
.page-noise {
  background-image:
    radial-gradient(rgba(0, 0, 0, 0.03) 0.8px, transparent 0.8px),
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.98));
  background-size: 18px 18px, auto;
}
.soft-card {
  background: rgba(255,255,255,0.92);
  border: 1px solid #ececec;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.04);
}
.soft-shadow {
  box-shadow: 0 18px 60px rgba(17, 24, 39, 0.08);
}
.hero-glow {
  background:
    radial-gradient(circle at center, rgba(255, 191, 0, 0.15), transparent 34%),
    radial-gradient(circle at 50% 20%, rgba(255, 107, 107, 0.12), transparent 28%);
}
.line-pink {
  background: linear-gradient(90deg, #ff5ca8, #ff85c4);
}
.line-cyan {
  background: linear-gradient(90deg, #1ec8ff, #4fd7ff);
}
.line-purple {
  background: linear-gradient(90deg, #8b7dff, #ae8cff);
}
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}
.faq-item.active .faq-content {
  max-height: 420px;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}
.review-track::-webkit-scrollbar {
  display: none;
}
.review-track {
  scrollbar-width: none;
}
.orbit {
  position: relative;
  width: 440px;
  height: 440px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}
.orbit-outer-spin {
  animation: orbitSpin 28s linear infinite;
  transform-origin: center;
}
.orbit-inner-spin {
  animation: orbitSpinReverse 20s linear infinite;
  transform-origin: center;
}
.orbit-outer-spin .orbit-node i,
.orbit-outer-spin .orbit-node span,
.orbit-inner-spin .orbit-node i,
.orbit-inner-spin .orbit-node span {
  animation: orbitSpinReverse 28s linear infinite;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.orbit-inner-spin .orbit-node i,
.orbit-inner-spin .orbit-node span {
  animation: orbitSpin 20s linear infinite;
}
.orbit-ring {
  position: absolute;
  inset: 82px;
  border: 1px solid #ececec;
  border-radius: 9999px;
}
.orbit-ring.outer {
  inset: 0;
}
.orbit-node {
  position: absolute;
  width: 54px;
  height: 54px;
  margin-left: -27px;
  margin-top: -27px;
  border: 1px solid #ececec;
  background: #fff;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.05);
  font-size: 18px;
}
.orbit-center {
  position: absolute;
  inset: 150px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: transparent;
}
.mock-window {
  background: linear-gradient(180deg, #ffffff, #fbfbfb);
  border: 1px solid #ececec;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(17, 24, 39, 0.08);
}
.contributor {
  border: 1px solid #ececec;
  border-radius: 14px;
  background: #fff;
  padding: 14px 8px;
  text-align: center;
}
.theme-chip {
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #71717a;
  transition: all .2s ease;
}
.theme-chip.active {
  background: #f8fafc;
  color: #111827;
  border-color: #cbd5f5;
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.18), 0 2px 6px rgba(17, 24, 39, 0.08);
}
.contact-icon {
  position: relative;
}
.contact-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(4px);
  background: #111827;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  padding: 7px 10px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.contact-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #111827;
}
.contact-icon:hover .contact-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.contact-trigger.active {
  border-color: #111827;
  color: #111827;
  box-shadow: 0 4px 14px rgba(17, 24, 39, 0.08);
}
.qr-fade {
  transition: opacity .28s ease, transform .28s ease;
}
.qr-fade.is-switching {
  opacity: 0;
  transform: scale(.94);
}
.qr-grid {
  display: grid;
  width: 100%;
  height: 100%;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}
.qr-cell {
  border-radius: 2px;
}
.floating-contact {
  position: fixed;
  right: 20px;
  top: 84px;
  z-index: 60;
  width: min(340px, calc(100vw - 32px));
  transition: transform .32s ease, opacity .32s ease;
}
.floating-contact.is-center {
  left: 50%;
  right: auto;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(380px, calc(100vw - 32px));
  box-shadow: 0 28px 80px rgba(17, 24, 39, 0.22);
}
.floating-contact.is-collapsed {
  transform: translateX(calc(100% - 40px));
}
.floating-contact.is-hidden {
  opacity: 0;
  transform: translateX(20px);
  pointer-events: none;
}
.floating-contact-card {
  position: relative;
  border-radius: 28px;
  padding: 24px;
}
.floating-contact-handle {
  position: absolute;
  left: -46px;
  top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 110px;
  border: 1px solid #ececec;
  border-right: none;
  border-radius: 16px 0 0 16px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
  color: #111827;
}
.floating-contact-handle i {
  transition: transform .28s ease;
}
.floating-contact.is-collapsed .floating-contact-handle i {
  transform: rotate(180deg);
}
.floating-contact-backdrop {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(17, 24, 39, 0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}
.floating-contact-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(17, 24, 39, 0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.mobile-nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}
.hero-tab {
  border-radius: 9999px;
  transition: all .22s ease;
  cursor: pointer;
}
.hero-tab.active {
  background: #eef2ff;
  color: #111827;
  font-weight: 500;
  box-shadow: inset 0 0 0 1px #dbe4ff;
}
.hero-panel {
  transition: opacity .24s ease, transform .24s ease;
}
.hero-panel.is-switching {
  opacity: 0;
  transform: translateY(8px);
}
@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes orbitSpinReverse {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}
body.theme-dark {
  background: #0b0b0c;
  color: #f3f4f6;
}
body.theme-dark .page-noise {
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.04) 0.8px, transparent 0.8px),
    linear-gradient(180deg, rgba(12,12,13,0.98), rgba(12,12,13,1));
}
body.theme-dark header,
body.theme-dark footer,
body.theme-dark section,
body.theme-dark .soft-card,
body.theme-dark .mock-window,
body.theme-dark .contributor,
body.theme-dark .orbit-center,
body.theme-dark .orbit-node,
body.theme-dark .theme-chip,
body.theme-dark .faq-item {
  background: #111214 !important;
  border-color: #26272b !important;
  color: #f3f4f6 !important;
}
body.theme-dark .mock-window {
  background: linear-gradient(180deg, #111214, #0f1012) !important;
}
body.theme-dark .orbit-ring,
body.theme-dark .border-zinc-100,
body.theme-dark .border-zinc-200 {
  border-color: #26272b !important;
}
body.theme-dark .bg-white,
body.theme-dark .bg-zinc-50,
body.theme-dark .bg-zinc-50\/70,
body.theme-dark .bg-zinc-50\/80 {
  background: #15161a !important;
}
body.theme-dark .text-zinc-900,
body.theme-dark .text-zinc-800,
body.theme-dark .text-zinc-700,
body.theme-dark .text-zinc-600 {
  color: #f3f4f6 !important;
}
body.theme-dark .text-zinc-500,
body.theme-dark .text-zinc-400 {
  color: #a1a1aa !important;
}
body.theme-dark .bg-black {
  background: #f3f4f6 !important;
  color: #111214 !important;
}
body.theme-dark .theme-chip.active {
  background: #f3f4f6 !important;
  color: #111214 !important;
  border-color: #f3f4f6 !important;
}
body.theme-dark .contact-trigger.active {
  border-color: #f3f4f6 !important;
  color: #f3f4f6 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
}
body.theme-dark .orbit-center {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
body.theme-dark .hero-tab {
  color: #a1a1aa !important;
}
body.theme-dark .hero-tab.active {
  background: #272a36 !important;
  color: #f3f4f6 !important;
  box-shadow: inset 0 0 0 1px #3a3f52 !important;
}
body.theme-dark .floating-contact-handle {
  background: rgba(17,18,20,.96) !important;
  border-color: #26272b !important;
  color: #f3f4f6 !important;
}
@media (max-width: 640px) {
  body {
    overflow-x: hidden;
    background:
      radial-gradient(circle at top, rgba(255, 106, 99, 0.08), transparent 34%),
      linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
  }
  header {
    background: rgba(255,255,255,.92) !important;
  }
  header .mx-auto {
    height: 64px !important;
  }
  #mobileMenu {
    position: static;
    z-index: 46;
    border-top: 1px solid #ececec;
    background: rgba(255,255,255,.99);
    box-shadow: 0 18px 36px rgba(17, 24, 39, 0.08);
    backdrop-filter: blur(18px);
  }
  #mobileMenu .mx-auto {
    max-width: none;
    justify-content: flex-start;
    gap: 14px;
    padding: 18px 16px 28px;
  }
  #mobileMenu a {
    border-radius: 18px;
    padding: 14px 16px;
    background: #f6f7f9;
    font-size: 15px;
    font-weight: 600;
    color: #18181b;
  }
  main {
    padding-bottom: 92px;
  }
  main > section {
    scroll-margin-top: 84px;
  }
  .orbit {
    width: 280px;
    height: 280px;
  }
  .orbit-ring {
    inset: 52px;
  }
  .orbit-center {
    inset: 98px;
  }
  .orbit-node {
    width: 36px;
    height: 36px;
    margin-left: -18px;
    margin-top: -18px;
    font-size: 12px;
  }
  .floating-contact {
    right: 12px;
    left: 12px;
    top: auto;
    bottom: 76px;
    width: auto;
  }
  .floating-contact.is-center {
    left: 50%;
    right: auto;
    top: 12px;
    bottom: auto;
    transform: translateX(-50%);
    width: min(380px, calc(100vw - 24px));
  }
  .floating-contact.is-collapsed {
    transform: translateY(calc(100% + 18px));
    opacity: 0;
    pointer-events: none;
  }
  .floating-contact-card {
    max-height: calc(100vh - 96px);
    padding: 18px;
    overflow-y: auto;
    border-radius: 28px 28px 22px 22px;
    box-shadow: 0 24px 60px rgba(17, 24, 39, 0.16);
  }
  .floating-contact-handle {
    left: auto;
    right: 16px;
    top: 14px;
    width: 40px;
    height: 40px;
    border: 1px solid #ececec;
    border-radius: 9999px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.12);
    z-index: 3;
  }
  .floating-contact.is-collapsed .floating-contact-handle i {
    transform: rotate(90deg);
  }
  .floating-contact.is-collapsed .floating-contact-handle {
    pointer-events: none;
  }
  .floating-contact .floating-contact-handle i {
    font-size: 12px;
  }
  .floating-contact .qr-fade {
    height: 188px !important;
    width: 188px !important;
  }
  .floating-contact .contact-trigger {
    height: 42px !important;
    width: 42px !important;
  }
  .floating-contact h2 {
    font-size: 1.5rem !important;
    line-height: 1.25 !important;
    padding-right: 36px;
  }
  .floating-contact p {
    line-height: 1.7;
  }
  .floating-contact .grid.sm\:grid-cols-2 {
    grid-template-columns: 1fr;
  }
  .hero-tab-strip {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    border-radius: 24px;
    padding: 8px;
    background: rgba(255,255,255,.95);
  }
  .hero-tab {
    width: 100%;
    padding: 10px 12px !important;
    font-size: 13px;
    text-align: center;
  }
  .hero-tab i {
    margin-right: 6px !important;
  }
  .hero-glow {
    background:
      radial-gradient(circle at 50% 0%, rgba(255, 191, 0, 0.18), transparent 36%),
      radial-gradient(circle at 50% 18%, rgba(255, 107, 107, 0.12), transparent 30%);
  }
  .hero-panel {
    border-radius: 24px;
  }
  .hero-window-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-window-sidebar {
    border-right: none;
    border-bottom: 1px solid #ececec;
    padding: 14px;
  }
  #heroSidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .hero-window-body {
    padding: 18px;
  }
  .hero-metrics {
    grid-template-columns: 1fr;
  }
  .hero-metrics-label,
  .hero-metrics-bars {
    grid-column: span 1 / span 1;
  }
  .hero-metrics-label {
    margin-bottom: 6px;
  }
  .mobile-tight-section {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }
  .mobile-tight-title {
    font-size: 1.9rem !important;
    line-height: 1.15 !important;
    letter-spacing: -0.03em;
  }
  .mobile-hero-copy {
    max-width: 100%;
  }
  .mobile-hero-actions {
    align-items: stretch !important;
  }
  .mobile-hero-actions a {
    width: 100%;
    justify-content: center;
  }
  .mobile-review-grid,
  .mobile-reason-grid {
    gap: 16px !important;
  }
  .mobile-review-grid,
  .mobile-reason-grid,
  .mobile-feature-grid {
    grid-template-columns: 1fr !important;
  }
  .mobile-review-grid article,
  .mobile-reason-grid article,
  .mobile-feature-grid article {
    padding: 18px !important;
  }
  .mobile-review-grid article p,
  .mobile-reason-grid article p,
  .mobile-feature-grid article p {
    font-size: 14px;
    line-height: 1.85 !important;
  }
  .mobile-review-grid article .font-semibold,
  .mobile-reason-grid article h3,
  .mobile-feature-grid article h3 {
    font-size: 1.125rem !important;
    line-height: 1.35 !important;
  }
  .mobile-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px !important;
  }
  .contributor {
    padding: 12px 8px;
    border-radius: 16px;
  }
  .mock-window,
  .soft-card,
  .faq-item {
    border-radius: 24px;
  }
  .soft-card {
    box-shadow: 0 14px 36px rgba(17, 24, 39, 0.05);
  }
  .faq-trigger {
    padding: 18px 18px !important;
  }
  .faq-content > div {
    padding: 16px 18px !important;
    font-size: 14px !important;
    line-height: 1.9 !important;
  }
  footer .mx-auto.grid {
    gap: 24px;
  }
  footer .lg\:col-span-2 {
    padding-bottom: 8px;
    border-bottom: 1px solid #ececec;
  }
  footer ul {
    display: grid;
    gap: 10px;
  }
  #contactFab {
    height: 54px;
    width: 54px;
    bottom: 16px;
    right: 16px;
    box-shadow: 0 14px 28px rgba(59, 130, 246, 0.35);
  }
  body.theme-dark #mobileMenu {
    background: rgba(17,18,20,.98) !important;
    border-color: #26272b !important;
  }
  body.theme-dark #mobileMenu a {
    background: #1a1b1f !important;
    color: #f3f4f6 !important;
  }
}
