:root {
  --bg: #fff;
  --text: #222;
  --sidebar-bg: #f7f8fa;
  --sidebar-border: #e0e4e8;
  --accent: #388e3c;
  --accent-light: #e8f5e9;
  --main-max-width: 1280px;
  --code-bg: #f3f5f7;
  --code-color: #2d3a4a;
  --font-main: 'IBM Plex Sans', 'Segoe UI', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Mono', 'Menlo', 'Consolas', monospace;
  --header-height: 56px;
}


html .dark, body.dark {
  --bg: #18181b;
  --text: #e5e7eb;
  --sidebar-bg: #23272f;
  --sidebar-border: #23272f;
  --accent: #4ade80;
  --accent-light: #1e293b;
  --code-bg: #23272f;
  --code-color: #e5e7eb;
}
html, body {
  height: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

body {
  min-height: 100vh;
  height: 100vh;
  display: flex;
  flex-direction: column;
}
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: var(--bg);
  border-bottom: 1px solid var(--sidebar-border);
  display: flex;
  align-items: center;
  z-index: 1001;
  box-shadow: 0 1px 8px rgba(60,60,60,0.04);
  padding: 0 1.5em;
  justify-content: space-between;
}
.header .logo {
  font-size: 1.3em;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -1px;
}
.header .theme-toggle {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 1.3em;
  cursor: pointer;
  border-radius: 6px;
  padding: 0.3em 0.5em;
  transition: background 0.15s;
}
.header .theme-toggle:hover {
  background: var(--accent-light);
}
.container {
  width: 100%;
  height: 100%;
}
.sidebar {
  width: 260px;
  background: var(--bg);
  border-right: 1px solid var(--sidebar-border);
  box-sizing: border-box;
  padding: 2em 1.2em 2em 1.2em;
  position: fixed;
  top: var(--header-height);
  left: 0; bottom: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 2em;
  height: calc(100vh - var(--header-height));
  overflow-y: auto;
  transition: left 0.2s;
}
.sidebar .nav {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
}
.sidebar .nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.08em;
  padding: 0.4em 0.7em;
  border-radius: 6px;
  transition: background 0.13s, color 0.13s;
  display: inline-block;
  width: 100%;
  position: relative;
}
.sidebar .nav a.active, .sidebar .nav a:hover {
  background: none;
  color: var(--accent);
  font-weight: 700;
}
.sidebar .github-btn {
  margin-top: 2em;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  padding: 0.6em 1.2em;
  font-weight: 600;
  font-size: 1em;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, color 0.2s;
  display: block;
}
.sidebar .github-btn:hover {
  background: #256029;
  color: #fff;
}
.sidebar .on-this-page {
  margin-top: 2em;
  font-size: 0.98em;
  color: #888;
}
.sidebar .on-this-page ul {
  list-style: none;
  padding: 0;
  margin: 0.5em 0 0 0;
}
.sidebar .on-this-page li {
  margin-bottom: 0.2em;
}
.sidebar .on-this-page a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.98em;
  padding: 0.1em 0.2em;
  border-radius: 4px;
  transition: background 0.13s;
}
.sidebar .on-this-page a:hover {
  background: var(--accent-light);
}
.sidebar-toggle {
  display: none;
  position: fixed;
  top: 1.2em;
  left: 1.2em;
  z-index: 2001;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.4em 0.7em;
  font-size: 1.3em;
  cursor: pointer;
}
.main section{
  max-width: var(--main-max-width) !important;
}

.main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  margin-left: 260px;
  width: 100%;
  max-width: calc(100% - 260px) !important;
  margin-right: auto;
  padding: 2.5em 2.5em 3em 2.5em;
  box-sizing: border-box;
  background: var(--bg);
}
.main > * {
  flex-shrink: 0;
}
.main h1, .main h2, .main h3, .main h4 {
  color: var(--accent);
  font-weight: 700;
  margin-top: 2em;
  margin-bottom: 0.7em;
  letter-spacing: -0.5px;
}
.main h1 { font-size: 2.2em; margin-top: 0.5em; }
h2 { font-size: 1.5em; }
.main h3 { font-size: 1.2em; }
.main h4 { font-size: 1.08em; }
.main p, .main ul, .main ol {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
}
.features-section {
  padding-top: 4em;
  padding-bottom: 4em;
  background: linear-gradient(90deg, rgba(56,142,60,0.025) 0%, rgba(76,175,80,0.02) 100%);
  margin-bottom: 2.5em;
  margin-top: 2.5em;
  border-radius: 1.5em;
  box-shadow: 0 2px 24px rgba(60,60,60,0.03);
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 2em;
  font-weight: 800;
  color: var(--accent);
  text-align: center;
  margin-bottom: 0.7em;
  margin-top: 0;
  letter-spacing: -1px;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2.2em 2.2em;
  justify-content: center;
  max-width: 900px;
  margin: 4em auto 0 auto;
  padding: 0 1em;
}
.feature-card {
  background: var(--bg);
  border-radius: 1.2em;
  box-shadow: 0 2px 16px rgba(60,60,60,0.07);
  min-width: 210px;
  max-width: 250px;
  flex: 1 1 210px;
  padding: 2.1em 1.3em 1.5em 1.3em;
  text-align: center;
  font-size: 1.08rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7em;
  border: 1.5px solid var(--sidebar-border);
  transition: box-shadow 0.18s, transform 0.18s, border 0.18s;
  position: relative;
}
.feature-card:hover {
  box-shadow: 0 8px 32px rgba(56,142,60,0.13);
  transform: translateY(-6px) scale(1.035);
  border-color: var(--accent);
  z-index: 2;
}
.feature-card .icon {
  font-size: 2.3em;
  color: var(--accent);
  margin-bottom: 0.3em;
  filter: drop-shadow(0 2px 6px rgba(56,142,60,0.08));
}
.feature-card .title {
  font-weight: 700;
  font-size: 1.13em;
  margin-bottom: 0.2em;
  color: #256029;
  letter-spacing: -0.5px;
}
.feature-card .desc {
  font-size: 1em;
  color: #444;
  margin-top: 0.2em;
  line-height: 1.6;
}
.demo-card {
  background: var(--sidebar-bg);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(60,60,60,0.07);
  margin: 2.5em 0 2.5em 0;
  max-width: 600px;
  width: 100%;
  padding: 2em 1.5em 1.5em 1.5em;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s;
}
.demo-card h3 {
  margin-top: 0;
  color: var(--accent);
  font-size: 1.2em;
  font-weight: 600;
  margin-bottom: 1.2em;
  letter-spacing: 0.01em;
}
.demo-card .demo-tree {
  margin-bottom: 1.2em;
  width: 100%;
  min-height: 60px;
  display: flex;
  justify-content: center;
}
.demo-card .code-block {
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  position: relative;
  background: var(--code-bg);
  border-radius: 8px;
  padding: 1.1em 1.2em 1.1em 1.2em;
  text-align: left;
  font-size: 0.98em;
  margin-bottom: 0.2em;
  overflow-x: auto;
  border: 1px solid var(--sidebar-border);
}
.code-block pre {
  margin: 0;
  background: none;
  font-family: var(--font-mono);
  font-size: 1em;
  color: var(--code-color);
  line-height: 1.6;
  overflow-x: auto;
}

.scroll-to-top {
  position: fixed;
  right: 2em;
  bottom: 2em;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.5em;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(60,60,60,0.13);
  cursor: pointer;
  z-index: 2002;
}
.scroll-to-top.show {
  display: flex;
}
.footer {
  text-align: center;
  color: #888;
  font-size: 0.98em;
  padding: 2em 0 1em 0;
  border-top: 1px solid var(--sidebar-border);
  background: var(--bg);
  margin-top: 2em;
}
@media (max-width: 900px) {
  .main {
    padding: 0 1em 2em 1em;
  }
  .sidebar {
    padding: 2em 0.5em 1em 0.5em;
  }
  .features-grid {
    gap: 1.2em 1.2em;
    max-width: 100vw;
  }
  .feature-card {
    min-width: 160px;
    max-width: 98vw;
    padding: 1.3em 0.7em 1em 0.7em;
  }
}
@media (max-width: 700px) {
  .sidebar {
    position: fixed;
    left: -100vw;
    width: 80vw;
    min-width: 180px;
    max-width: 320px;
    z-index: 2000;
    box-shadow: 2px 0 16px rgba(60,60,60,0.08);
    transition: left 0.2s;
  }
  .sidebar.open {
    left: 0;
  }
  .sidebar-toggle {
    display: block;
  }
  .main {
    margin-left: 0;
    padding: 0 0.5em 2em 0.5em;
  }
}
.main section.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5.5em 2em;
  max-width: 950px !important;
  margin: 100px auto 2.5em auto;
  width: 100%;
  text-align: center;
  background: linear-gradient(90deg, rgba(56,142,60,0.04) 0%, rgba(76,175,80,0.03) 100%);
  border-radius: 1.5em;
  box-shadow: 0 2px 24px rgba(60,60,60,0.04);
}
.hero h1 {
  font-size: 2.8em;
  font-weight: 900;
  color: var(--accent);
  margin: 0 0 0.7em 0;
  letter-spacing: -1.5px;
  line-height: 1.1;
  padding-bottom: 0.2em;
}
.hero .tagline {
  font-size: 1.35em;
  color: #256029;
  font-weight: 600;
  margin-bottom: 1.3em;
  margin-top: 0.2em;
  letter-spacing: -0.5px;
}
.hero .desc {
  font-size: 1.13em;
  color: #444;
  margin-bottom: 2.2em;
  margin-top: 0.2em;
  max-width: 600px;
  line-height: 1.7;
}
.hero .hero-btns {
  margin-top: 1.7em;
  display: flex;
  gap: 1.2em;
  justify-content: center;
}
.hero-btn {
  display: inline-block;
  font-size: 1.18em;
  font-weight: 700;
  padding: 0.95em 2.2em;
  border-radius: 2em;
  box-shadow: 0 2px 12px rgba(56,142,60,0.08);
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, border 0.18s;
  margin: 0;
  letter-spacing: 0.01em;
}
.hero-btn.primary {
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
  box-shadow: 0 4px 18px rgba(56,142,60,0.13);
}
.hero-btn.primary:hover, .hero-btn.primary:focus {
  background: #256029;
  color: #fff;
  box-shadow: 0 6px 24px rgba(56,142,60,0.18);
}
.hero-btn.secondary {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  box-shadow: none;
}
.hero-btn.secondary:hover, .hero-btn.secondary:focus {
  background: var(--accent-light);
  color: #256029;
  border-color: #256029;
}

.dark .hero-btn.secondary:hover, .dark .hero-btn.secondary:focus {
  background: #256029;
  color: #fff;
  border-color: #256029;
}

.sidebar .nav div.sidebar-children{
  padding-top: 0px;
}
.sidebar .nav div.sidebar-children a {
  position: relative;
  display: block;
  padding-left: 28px !important;
  font-size: 16px;
}
#guide-children {
  display: none;
}
.on-this-page-title {
  font-weight: 600;
  margin-bottom: 0.5em;
}
#guide-children.open {
  display: block;
}
.section-subtitle {
  font-size: 1.3em;
  font-weight: 700;
  margin-bottom: 0.7em;
  color: var(--accent);
  text-align: left;
  margin-top: 80px;
}
.section-divider {
  border: none;
  border-top: 1.5px solid #3333;
  margin: 1.5em 0 1.5em 0;
}
.section-intro {
  font-size: 16px;
  color: #314158;
  line-height: 20px;
  margin-bottom: 1em;
  font-weight: 400;
}
.code-card {
  background: #f1f1f1;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(60,60,60,0.13);
  padding: 0;
  margin: 1.5em 0 0.7em 0;
  color: #23272f;
  position: relative;
  overflow: hidden;
}
.code-card-header {
  background: #f6f3f4;
  color: #23272f;
  font-size: 1em;
  font-weight: 600;
  padding: 16px 1.2em;
  border-bottom: 1px solid #ddd;
  display: flex;
  align-items: center;
  gap: 0.7em;
}
.code-card-icon {
  font-size: 1.1em;
}
.code-card-icon svg {
  vertical-align: middle;
  margin-right: 0.5em;
  width: 1.1em;
  height: 1.1em;
}
.code-block {
  background: none;
  color: #23272f;
  font-family: var(--font-mono);
  font-size: 1em;
  padding: 1.2em 1.5em 1.2em 1.5em;
  margin: 0;
  border: none;
  border-radius: 0;
  overflow-x: auto;
}
.copy-btn {
  position: absolute;
  top: 0.9em;
  right: 1.2em;
  background: #f1f1f1;
  color: #23272f;
  border: 1px solid #d1d5dc;
  border-radius: 5px;
  padding: 0.3em 0.8em;
  font-size: 0.95em;
  cursor: pointer;
  z-index: 2;
  width: 28px;
  height: 28px;
  transition: background 0.15s, color 0.15s;
}
.copy-btn:hover {
  background: var(--accent);
  color: #fff;
}
.copy-btn svg {
  display: block;
  margin: 0;
  width: 14px;
  height: 14px;
  margin-left: -5px;
}
.output-divider {
  border: none;
  border-top: 1.5px solid #3333;
  margin: 2em 0 1.2em 0;
}
.output-card {
  background: var(--sidebar-bg);
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(60,60,60,0.07);
  padding: 2em 1.5em 1.5em 1.5em;
  margin-bottom: 2.5em;
}
.output-card-header {
  font-size: 1.08em;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.2em;
}

.accordion-arrow{
  position: absolute;
  top: 10px;
  right: 18px;
}

.sidebar-children{
  position: relative;
}

.sidebar-children::after{
  content: "";
  position: absolute;
  top: 8px;
  left: 14px;
  width: 1px;
  height: calc(100% - 16px);
  background-color: var(--sidebar-border);
}

/* FAQ Section Styles */
.faq-section {
  margin-top: 4em;
  padding: 0 1.5em;
  padding-bottom: 4em;
}
.faq-title {
  font-size: 2.1em;
  font-weight: 700;
  margin-bottom: 0.2em;
  color: var(--accent);
  letter-spacing: -0.5px;
  margin-top: 0px !important;
}
.faq-divider {
  border: none;
  border-top: 2px solid #ececec;
  margin: 1.2em 0 1.5em 0;
}
.faq-desc {
  font-size: 1.05em;
  color: #314158;
  margin-bottom: 2.2em;
  line-height: 1.7;
}
.faq-desc a {
  color: #2563eb;
  text-decoration: underline;
  font-weight: 500;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.2em;
}
.faq-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(60,60,60,0.07);
  border: 1.5px solid #f1f1f1;
  padding: 0;
  transition: box-shadow 0.18s;
  overflow: hidden;
}
.faq-card.open {
  box-shadow: 0 4px 16px rgba(60,60,60,0.10);
  border-color: #e0e4e8;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  display: flex;
  align-items: center;
  gap: 1.1em;
  font-size: 1.1em;
  font-weight: 500;
  color: #223;
  padding: 1.1em 1.5em 1.1em 1.2em;
  cursor: pointer;
  transition: background 0.13s;
  position: relative;
  text-align: left;
}
.faq-question:hover {
  background: #f7f8fa;
}
.dark .faq-question:hover {
  background: #23272f;
}
.dark .faq-answer {
  border-color: #515458;
}

.faq-question code {
  background: #f3f5f7;
  color: #2d3a4a;
  font-size: 0.95em;
  border-radius: 5px;
  padding: 0.13em 0.5em;
  margin: 0 0.2em;
}
.faq-chevron {
  display: flex;
  align-items: center;
  transition: transform 0.22s cubic-bezier(.4,1.4,.6,1);
}
.faq-card.open .faq-chevron {
  transform: rotate(180deg);
}
.faq-link {
  margin-left: auto;
  display: flex;
  align-items: center;
  opacity: 0.7;
  transition: opacity 0.13s;
}
.faq-question:hover .faq-link {
  opacity: 1;
}
.faq-answer {
  font-size: 1.08em;
  color: #3a3a3a;
  background: #fcfcfd;
  border-top: 1px solid #f1f1f1;
  padding: 1.1em 2.2em 1.2em 3.2em;
  display: none;
  animation: fadeInFaq 0.25s;
}
.faq-card.open .faq-answer {
  display: block;
}
@keyframes fadeInFaq {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 900px) {
  .faq-section { padding: 0 0.5em; }
}
.sidebar-faq-link {
  display: block;
  color: var(--text);
  text-decoration: none;
  font-size: 1.08em;
  padding: 0.4em 0.7em;
  border-radius: 6px;
  margin-top: 0em;
  margin-bottom: 0.2em;
  transition: background 0.13s, color 0.13s;
}
.sidebar-faq-link:hover, .sidebar-faq-link.active {
  color: var(--accent);
  background: none;
}

/* Troubleshooting Section Styles */
.troubleshooting-section {
  margin-top: 4em;
  padding: 0 1.5em;
  padding-bottom: 2em;
}

.troubleshooting-list {
  display: flex;
  flex-direction: column;
  gap: 2em;
  margin-top: 2em;
}

.troubleshooting-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(60,60,60,0.07);
  border: 1.5px solid #f1f1f1;
  padding: 1.5em 2em;
  transition: box-shadow 0.18s;
}

.troubleshooting-item:hover {
  box-shadow: 0 4px 16px rgba(60,60,60,0.10);
  border-color: #e0e4e8;
}

.troubleshooting-item h3 {
  color: var(--accent);
  font-size: 1.1em;
  font-weight: 600;
  margin: 0 0 0.8em 0;
  letter-spacing: -0.3px;
}

.troubleshooting-item p {
  margin: 0;
  font-size: 1em;
  line-height: 1.6;
  color: #3a3a3a;
}

.troubleshooting-item code {
  background: #f3f5f7;
  color: #2d3a4a;
  font-size: 0.95em;
  border-radius: 4px;
  padding: 0.2em 0.5em;
  font-family: var(--font-mono);
}

/* Contributing Section Styles */
.contributing-section {
  margin-top: 4em;
  padding: 0 1.5em;
  padding-bottom: 4em;
}

.contributing-content {
  margin-top: 2em;
}

.contributing-content h3 {
  color: var(--accent);
  font-size: 1.3em;
  font-weight: 600;
  margin: 1.5em 0 0.8em 0;
  letter-spacing: -0.3px;
}

.contributing-content h3:first-child {
  margin-top: 0;
}

.contributing-content ol, .contributing-content ul {
  margin: 1em 0;
  padding-left: 1.5em;
}

.contributing-content li {
  margin-bottom: 0.5em;
  line-height: 1.6;
  color: #3a3a3a;
}

.contributing-content code {
  background: #f3f5f7;
  color: #2d3a4a;
  font-size: 0.95em;
  border-radius: 4px;
  padding: 0.2em 0.5em;
  font-family: var(--font-mono);
}

.contributing-content .code-block {
  background: #f1f1f1;
  border-radius: 6px;
  padding: 1em 1.5em;
  margin: 1em 0;
  overflow-x: auto;
}

.contributing-content .code-block pre {
  margin: 0;
  color: #e5e7eb;
  font-family: var(--font-mono);
  font-size: 0.95em;
}

.contributing-note {
  background: #f8f9fa;
  border-left: 4px solid var(--accent);
  padding: 1em 1.5em;
  margin: 2em 0;
  border-radius: 6px;
}

.contributing-note p {
  margin: 0;
  color: #3a3a3a;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .troubleshooting-section,
  .contributing-section {
    padding: 0 0.5em;
  }
  
  .troubleshooting-item {
    padding: 1.2em 1.5em;
  }
}
.text-center{
  text-align: center;
}

/* Utility classes for card backgrounds and borders */
.card-bg {
  background: var(--sidebar-bg);
}
.card-border {
  border: 1.5px solid var(--sidebar-border);
}

/* 1. Ensure .main fills the available height */
.main {
  margin-left: 260px;
  width: 100%;
  max-width: var(--main-max-width);
  margin-right: auto;
  padding: 2.5em 2.5em 3em 2.5em;
  box-sizing: border-box;
  background: var(--bg);
  min-height: calc(100vh - var(--header-height));
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

/* 2. Card backgrounds and borders for both themes */
.feature-card,
.faq-card,
.troubleshooting-item,
.contributing-note {
  background: var(--sidebar-bg);
  border: 1.5px solid var(--sidebar-border);
}

.faq-card.open,
.troubleshooting-item:hover {
  box-shadow: 0 4px 16px rgba(60,60,60,0.10);
  border-color: var(--accent);
}

/* 3. Text color fixes for dark mode */
body.dark .feature-card .desc,
body.dark .faq-answer,
body.dark .troubleshooting-item p,
body.dark .contributing-note p,
body.dark .contributing-content li {
  color: #e5e7eb;
}
body.dark .faq-answer,
body.dark .troubleshooting-item,
body.dark .contributing-note {
  background: #23272f;
}
body.dark .faq-card {
  background: #23272f;
  border-color: #23272f;
}
body.dark .feature-card {
  background: #23272f;
  border-color: #23272f;
}
body.dark .output-card {
  background: #23272f;
}
body.dark .code-card,
body.dark .contributing-content .code-block {
  background: #18181b;
  color: #e5e7eb;
}
body.dark .code-card-header {
  background: #23272f;
  color: #e5e7eb;
}
body.dark .faq-question {
  color: #e5e7eb;
}
body.dark .faq-question code,
body.dark .troubleshooting-item code,
body.dark .contributing-content code {
  background: #23272f;
  color: #b2dfdb;
}
body.dark .section-intro,
body.dark .faq-desc {
  color: #b2dfdb;
}
body.dark .section-title,
body.dark .faq-title {
  color: var(--accent);
}

/* 4. Ensure .main flexes to fill height, but content is top-aligned */
.main > * {
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .main {
    padding: 0 1em 2em 1em;
  }
}
@media (max-width: 700px) {
  .main {
    margin-left: 0;
    padding: 0 0.5em 2em 0.5em;
  }
}

.dark .features-section{
  background: none !important;
}

.dark .tagline{
  color: #f1f1f1 !important;
}

.dark .desc{
  color: #ccc4c4;
}

.dark .feature-card .title{
  color: #f1f1f1 !important;
}

.dark .feature-card .desc{
  color: #ccc4c4 !important;
}

.dark .code-block{
  color: #f1f1f1 !important;
  background: #23272f !important;
}

.dark .code-card-header{
  background: #141414 !important;
  border-bottom: 1px solid #23272f !important;
}

.dark .copy-btn{
  background: #23272f !important;
  color: #f1f1f1 !important;
}

.dark .copy-btn:hover{
  background: var(--accent) !important;
  color: #f1f1f1 !important;
}

.installation-section{
  margin-bottom: 100px;
}

.logo-icon svg {
  transition: filter 0.2s, stroke 0.2s, fill 0.2s;
}

.badges-row {
  display: flex;
  gap: 0.7em;
  align-items: center;
  margin: 0.7em 0 0.7em 0;
  flex-wrap: wrap;
  justify-content: center;
}
.badges-row img {
  height: 28px;
  margin: 0;
  vertical-align: middle;
  background: none;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(60,60,60,0.04);
  transition: box-shadow 0.15s;
}
.badges-row a:hover img {
  box-shadow: 0 2px 8px rgba(56,142,60,0.13);
}
@media (max-width: 700px) {
  .badges-row {
    gap: 0.4em;
    margin: 0.5em 0 0.5em 0;
  }
  .badges-row img {
    height: 22px;
  }
}

.showcase-section {
  margin: 4em auto 2em auto;
  max-width: 700px;
  padding: 0 1.5em;
  text-align: center;
}
.showcase-list {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  align-items: center;
  margin: 2em 0;
}
.showcase-item {
  display: flex;
  align-items: center;
  gap: 1.2em;
  background: var(--sidebar-bg);
  border-radius: 8px;
  padding: 1em 2em;
  box-shadow: 0 2px 8px rgba(60,60,60,0.07);
}
.showcase-logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
  border: 1px solid #eee;
}
.showcase-link {
  font-weight: 700;
  color: var(--accent);
  font-size: 1.1em;
  text-decoration: none;
}
.showcase-desc {
  color: #444;
  font-size: 0.98em;
  margin-top: 0.2em;
}
.showcase-cta {
  margin-top: 2em;
  font-size: 1.08em;
}
.showcase-cta a {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 500;
}

.showcase-list.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5em;
  align-items: stretch;
  margin: 2em 0;
}
@media (max-width: 700px) {
  .showcase-list.showcase-grid {
    grid-template-columns: 1fr;
    gap: 1em;
  }
}

.testimonials-section {
  margin-top: 3em;
  text-align: center;
}
.testimonials-title {
  font-size: 1.3em;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.2em;
}
.testimonials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  justify-content: center;
}
.testimonial {
  background: var(--sidebar-bg);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(60,60,60,0.07);
  padding: 1.3em 1.7em;
  max-width: 340px;
  min-width: 220px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1.5px solid #e0e4e8;
}
.testimonial-quote {
  font-size: 1.08em;
  font-style: italic;
  color: #314158;
  margin-bottom: 0.7em;
}
.testimonial-user {
  font-size: 0.98em;
  color: #388e3c;
  font-weight: 600;
  margin-top: 0.2em;
}
@media (max-width: 900px) {
  .testimonials-list {
    flex-direction: column;
    align-items: center;
    gap: 1em;
  }
  .testimonial {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
}

/* Testimonials grid: 2 columns on desktop, 1 on mobile */
.testimonials-list.improved {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2em;
  justify-items: center;
  margin-top: 2em;
}

@media (max-width: 700px) {
  .testimonials-list.improved {
    grid-template-columns: 1fr;
    gap: 1em;
  }
}

.testimonial.improved {
  display: flex;
  align-items: flex-start;
  background: var(--sidebar-bg);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(60,60,60,0.10);
  padding: 2em 1.5em 1.5em 1.5em;
  max-width: 500px;
  min-width: 0;
  border: 1.5px solid #e0e4e8;
  position: relative;
  transition: box-shadow 0.18s, border 0.18s;
}

.testimonial-logo {
  flex-shrink: 0;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 16px;
  background-color: #f1f1f1;
  padding: 8px 12px;
  border-radius: 8px;
}
.testimonial-logo img {
  width: 120px;
}

.testimonial-logo.effy img {
  width: 80px;
}

.testimonial-content {
  flex: 1;
}

.testimonial-quote {
  font-size: 1em;
  font-style: italic;
  color: #314158;
  margin-bottom: 1em;
  position: relative;
  padding-left: 1.2em;
}

/* .testimonial-quote:before {
  content: '“';
  font-size: 2.5em;
  color: var(--accent);
  position: absolute;
  left: 0;
  top: -0.2em;
  line-height: 1;
}

.testimonial-quote::after {
  content: '”';
  font-size: 2.5em;
  color: var(--accent);
  position: absolute;
  right: 0;
  bottom: -0.2em;
  line-height: 1; */
}

.testimonial-user {
  font-size: 1em;
  color: #388e3c;
  font-weight: 600;
  margin-top: 0.2em;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.testimonial-user a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 0.1em;
}
.testimonial-person {
  font-size: 0.98em;
  color: #555;
  font-weight: 400;
  margin-left: 0;
}

@media (max-width: 700px) {
  .testimonial.improved {
    flex-direction: column;
    align-items: center;
    padding: 1.2em 1em;
  }
  .testimonial-logo {
    margin-right: 0;
    margin-bottom: 1em;
  }
  .testimonial-content {
    text-align: center;
  }
}

.dark .testimonial-quote{
  color: #f1f1f1 !important;
}

.dark .testimonial-person{
  color: #ccc4c4 !important;
}

.radix-tree .tree li::after, .radix-tree .tree summary::before{
  margin-top: 2px !important;
}

.dark .radix-tree label:focus, .radix-tree label:hover {
  background: #2d3a4a !important;
}