:root {
  color-scheme: dark;
  color: #e7f5ff;
  background: #03060d;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100vh;
  background: #03060d;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: #7ff4e1;
}
img,
svg {
  max-width: 100%;
  display: block;
}
.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 1rem;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(6, 11, 20, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(34, 194, 183, 0.4));
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #f8fcff;
}
.header-end {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.topbar-menu {
  position: relative;
  display: inline-block;
}
.hamburger-icon {
  list-style: none;
  cursor: pointer;
  padding: 0.5rem;
  font-size: 1.5rem;
  color: #d4e4f4;
  border: none;
  background: none;
}
.hamburger-icon:hover {
  color: #7ff4e1;
}
.topbar-menu[open] .hamburger-icon {
  color: #7ff4e1;
}
.menu-panel {
  position: absolute;
  left: 0;
  right: auto;
  top: calc(100% + 0.6rem);
  background: rgba(6, 10, 18, 0.98);
  border-radius: 14px;
  padding: 0.6rem;
  min-width: 180px;
  max-width: min(90vw, 260px);
  max-height: calc(100vh - 5rem);
  overflow-y: auto;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.04);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.menu-panel a {
  color: #a7d5ea;
  font-size: 0.95rem;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  transition: background-color 0.2s ease, color 0.2s ease;
}
@media (max-width: 720px) {
  .menu-panel {
    gap: 0.15rem;
    padding: 0.4rem;
    max-height: calc(100vh - 3.5rem);
  }
  .menu-panel a {
    padding: 0.45rem 0.75rem;
    font-size: 0.92rem;
  }
}
.menu-panel a:hover {
  background: rgba(34, 194, 183, 0.12);
  color: #7ff4e1;
}
.header-cta {
  background: #22c2b7 !important;
  color: #041519 !important;
  box-shadow: 0 8px 20px rgba(34, 194, 183, 0.28);
  font-weight: 600;
  padding: 0.8rem 1.2rem;
  white-space: nowrap;
}
.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(34, 194, 183, 0.34);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.45rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.button:hover {
  transform: translateY(-1px);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.8rem;
}
.hero-subtext {
  margin-top: 1rem;
  color: #9cdbe8;
  font-size: 0.98rem;
}
.primary {
  background: #22c2b7;
  color: #041519;
  box-shadow: 0 18px 45px rgba(34, 194, 183, 0.24);
}
.secondary {
  background: rgba(34, 194, 183, 0.12);
  color: #d4f7f0;
  border: 1px solid rgba(34, 194, 183, 0.2);
}
.hero-grid,
.feature-grid,
.section-grid,
.docs-grid {
  display: grid;
  gap: 1.5rem;
}
.hero-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}
.split-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
}
.hero-visual {
  display: grid;
  place-items: center;
}
@media (max-width: 860px) {
  .hero-grid,
  .split-section {
    grid-template-columns: 1fr;
  }
}
.hero-card,
.visual-card,
.feature-grid article,
.docs-grid article,
.page-content .faq-item,
.page-content .preview-card {
  border-radius: 28px;
  background: rgba(12, 20, 34, 0.9);
  border: 1px solid rgba(34, 194, 183, 0.12);
  padding: 1.8rem;
}
.hero-card,
.visual-card {
  min-height: 320px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #c7effb;
}
.hero-card img,
.visual-card img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  object-fit: cover;
}
.section-grid,
.feature-grid,
.docs-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.page-content {
  margin: 2rem auto;
  padding: 3rem;
  background: rgba(6, 10, 18, 0.96);
  border-radius: 32px;
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.3);
}
.page-content h1,
.page-content h2,
.page-content h3 {
  color: #f8fcff;
}
.page-content p,
.page-content li,
.page-content a,
.page-content td,
.page-content th {
  color: #d1e2f2;
}
.page-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}
.page-content h2 {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  margin-top: 2.5rem;
}
.page-content h3 {
  margin-top: 1.5rem;
}
.page-content ul,
.page-content ol {
  padding-left: 1.5rem;
}
.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.75rem 0;
}
.page-content th,
.page-content td {
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 1.2rem;
  text-align: left;
}
.page-content th {
  background: rgba(14, 26, 45, 0.96);
}
.page-content tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.03);
}
.page-content pre {
  background: rgba(10, 18, 29, 0.98);
  padding: 1rem;
  overflow-x: auto;
  border-radius: 20px;
  margin: 1rem 0;
}
.page-content code {
  color: #8ad7ff;
}
.page-content .note {
  padding: 1rem 1.2rem;
  background: rgba(34, 194, 183, 0.08);
  border-left: 4px solid #22c2b7;
  border-radius: 18px;
  color: #d4f7f2;
}
.site-footer {
  padding: 2rem 0;
  background: rgba(7, 12, 20, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: #9bcad6;
}
.footer-inner a {
  color: #d3f4ff;
}
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .topbar-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .topbar-nav {
    justify-content: center;
  }
  .page-content {
    padding: 2rem;
  }
}
.post-preview p {
  margin: 0;
}
.meta {
  color: #93b7c6;
  font-size: 0.95rem;
  margin-top: 0.55rem;
}
.site-footer {
  padding: 2rem 0 3rem;
  background: rgba(5, 10, 20, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}
.site-footer p {
  margin: 0;
  color: #94b8ca;
  font-size: 0.95rem;
}
.button.secondary {
  color: #d4f7f0;
}
@media (max-width: 900px) {
  .page-content {
    padding: 2.5rem;
  }
}
@media (max-width: 720px) {
  .topbar-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .site-banner {
    padding: 3rem 0 4rem;
  }
  .page-content {
    padding: 2rem;
  }
  .feature-grid,
  .footer-inner {
    gap: 1rem;
  }
}

/* Simple yes/no indicators for comparison tables */
.checkmark {
  color: #22c2b7;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(34, 194, 183, 0.4);
}
.no-mark {
  color: #ff6b76;
  font-weight: 700;
}
.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;
}

/* --- Premium Theme Enhancements --- */

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #03060d;
}
::-webkit-scrollbar-thumb {
  background: rgba(34, 194, 183, 0.25);
  border-radius: 6px;
  border: 2px solid #03060d;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(34, 194, 183, 0.45);
}

/* Glowing Border and Safe Lift Animation on Cards */
.hero-card,
.visual-card,
.feature-grid article,
.docs-grid article,
.page-content .faq-item,
.page-content .preview-card {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.hero-card:hover,
.visual-card:hover,
.feature-grid article:hover,
.docs-grid article:hover,
.page-content .faq-item:hover,
.page-content .preview-card:hover {
  border-color: rgba(34, 194, 183, 0.35) !important;
  box-shadow: 0 12px 30px rgba(34, 194, 183, 0.08);
  transform: translateY(-2px);
}

/* Polished Table Layouts */
.page-content table {
  margin: 2.2rem 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.page-content th {
  border-bottom: 2px solid rgba(34, 194, 183, 0.3);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #fff;
}
.page-content td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* Upgraded Lists & Details Panels */
.page-content li {
  margin-bottom: 0.65rem;
}
.page-content li::marker {
  color: #22c2b7;
}

/* Clean Inline and Block Code Elements */
.page-content code {
  background: rgba(34, 194, 183, 0.08);
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  font-size: 0.88em;
  border: 1px solid rgba(34, 194, 183, 0.15);
  font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
}
.page-content pre code {
  background: transparent;
  padding: 0;
  border-radius: 0;
  border: none;
}

/* Highlight column styles for bussin */
.page-content td.highlight-bussin {
  background: rgba(34, 194, 183, 0.05);
  border-left: 1px dashed rgba(34, 194, 183, 0.15);
  border-right: 1px dashed rgba(34, 194, 183, 0.15);
}
.page-content th.highlight-bussin {
  background: rgba(14, 26, 45, 0.96) linear-gradient(180deg, rgba(34, 194, 183, 0.08) 0%, rgba(34, 194, 183, 0.03) 100%) !important;
  border-left: 1px dashed rgba(34, 194, 183, 0.15);
  border-right: 1px dashed rgba(34, 194, 183, 0.15);
  font-weight: 700;
  color: #7ff4e1 !important;
}

/* Mobile-friendly frozen first column for comparison tables */
@media (max-width: 860px) {
  .page-content table th:first-child,
  .page-content table td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    box-shadow: 3px 0 6px rgba(0, 0, 0, 0.3);
  }
  .page-content th:first-child {
    background: #0e1a2d !important;
  }
  .page-content td:first-child {
    background: #060a12 !important;
  }
  .page-content tr:nth-child(even) td:first-child {
    background: #090f1a !important;
  }
}


