:root {
  color-scheme: dark;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(120% 120% at 50% 0%, rgba(94, 234, 212, 0.18) 0%, rgba(15, 23, 42, 1) 58%), #0f172a;
  color: #e2e8f0;
}

a {
  color: inherit;
}

.bamboo-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 96px 24px 48px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.bamboo-hero {
  display: grid;
  gap: 24px;
  text-align: center;
  justify-items: center;
}

.bamboo-hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.bamboo-hero p {
  margin: 0;
  max-width: 720px;
  color: #cbd5f5;
  font-size: 1.1rem;
}

.bamboo-hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  font-size: 0.85rem;
  color: #94a3b8;
}

.bamboo-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  letter-spacing: 0.08em;
}

.bamboo-pill strong {
  color: #38bdf8;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
}

.bamboo-pill .label {
  color: #cbd5f5;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.bamboo-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.bamboo-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.bamboo-cta.primary {
  background: linear-gradient(135deg, #38bdf8, #10b981);
  color: #0f172a;
  box-shadow: 0 12px 32px rgba(56, 189, 248, 0.35);
}

.bamboo-cta.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(16, 185, 129, 0.45);
}

.bamboo-cta.secondary {
  background: rgba(148, 163, 184, 0.18);
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #e2e8f0;
}

.bamboo-cta.secondary:hover {
  background: rgba(148, 163, 184, 0.35);
  transform: translateY(-1px);
}

.bamboo-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.bamboo-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 22px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
}

.bamboo-card span.icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  background: rgba(56, 189, 248, 0.18);
  color: #38bdf8;
  font-size: 1.2rem;
}

.bamboo-card h3 {
  margin: 0;
  font-size: 1.25rem;
  color: #f8fafc;
}

.bamboo-card p {
  margin: 0;
  color: #cbd5f5;
  font-size: 0.98rem;
}

.bamboo-stats {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.bamboo-stat {
  background: rgba(15, 23, 42, 0.68);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 20px;
  padding: 18px 22px;
}

.bamboo-stat dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
}

.bamboo-stat dd {
  margin: 10px 0 0;
  font-size: 1.35rem;
  font-weight: 600;
  color: #f8fafc;
}

.bamboo-faq {
  display: grid;
  gap: 18px;
}

.bamboo-faq h2 {
  margin: 0;
  font-size: 1.75rem;
  text-align: center;
  color: #f8fafc;
}

.bamboo-faq-item {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 20px;
  overflow: hidden;
}

.bamboo-faq-question {
  margin: 0;
  width: 100%;
  background: transparent;
  border: none;
  color: #f8fafc;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease, color 0.2s ease;
}

.bamboo-faq-question:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.45);
}

.bamboo-faq-question:hover {
  background: rgba(56, 189, 248, 0.08);
}

.bamboo-faq-question::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 500;
  color: #38bdf8;
  transition: transform 0.25s ease, color 0.25s ease;
}

.bamboo-faq-question[aria-expanded="true"]::after {
  content: '–';
  transform: rotate(180deg);
}

.bamboo-faq-answer {
  overflow: hidden;
  height: 0;
  padding: 0 26px;
  background: rgba(15, 23, 42, 0.35);
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.bamboo-faq-item.is-open .bamboo-faq-answer {
  padding: 18px 26px 24px;
}

.bamboo-faq-answer p {
  margin: 0;
  padding: 0 0 6px;
  color: #cbd5f5;
  font-size: 0.96rem;
  line-height: 1.55;
}

@media (prefers-reduced-motion: reduce) {
  .bamboo-faq-question,
  .bamboo-faq-question::after {
    transition-duration: 0.01ms !important;
  }
}

.bamboo-snippet {
  position: relative;
  background: rgba(15, 23, 42, 0.78);
  border-radius: 26px;
  padding: 32px;
  border: 1px solid rgba(56, 189, 248, 0.22);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.5);
  overflow: hidden;
}

.bamboo-snippet::before {
  content: "";
  position: absolute;
  inset: -40% 45% 20% -20%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.6), transparent 60%);
  opacity: 0.8;
  transform: rotate(18deg);
  pointer-events: none;
}

.bamboo-snippet pre {
  margin: 0;
  font-family: 'Fira Code', 'JetBrains Mono', 'SFMono-Regular', Menlo, monospace;
  font-size: 0.95rem;
  color: #a5f3fc;
  position: relative;
  z-index: 1;
  white-space: pre-wrap;
}

.bamboo-footer {
  margin-top: auto;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}

.bamboo-footer a {
  color: #38bdf8;
  text-decoration: none;
}

.bamboo-footer a:hover {
  text-decoration: underline;
}

.bamboo-loading {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  color: #94a3b8;
}

.bamboo-spinner {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 3px solid rgba(148, 163, 184, 0.2);
  border-top-color: #38bdf8;
  animation: bamboo-spin 1s linear infinite;
}

.bamboo-loading .label {
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

.bamboo-error {
  text-align: center;
  background: rgba(153, 27, 27, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #fecaca;
  border-radius: 18px;
  padding: 32px;
}

@keyframes bamboo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 640px) {
  .bamboo-page {
    padding: 72px 18px 36px;
  }

  .bamboo-hero h1 {
    font-size: clamp(2.25rem, 9vw, 3rem);
  }

  .bamboo-snippet {
    padding: 26px;
  }
}
