* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-primary: #10b981;
  --color-primary-dark: #059669;
  --color-secondary: #fbbf24;
  --color-accent: #f59e0b;
  --color-background: oklch(.99 .01 85);
  --color-foreground: #1f2937;
  --color-muted: #6b7280;
  --color-muted-bg: #f9fafb;
  --color-border: #e5e7eb;
  --color-card: #ffffff;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--color-foreground);
  background-color: var(--color-background);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  background-color: transparent;
}

#header.scrolled {
  background-color: var(--color-background);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: rgba(251, 191, 36, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.875rem;
}

.logo-icon img {
  width: 32px;
  height: 32px;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-foreground);
}

.nav {
  display: none;
  gap: 2rem;
}

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

.nav-link {
  background: none;
  border: none;
  color: rgba(31, 41, 55, 0.8);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.2s;
  font-family: inherit;
}

.nav-link:hover {
  color: var(--color-foreground);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.625rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-foreground);
  border-color: var(--color-border);
}

.btn-outline:hover {
  background-color: var(--color-muted-bg);
  border-color: var(--color-foreground);
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1.125rem;
}

.btn-full {
  width: 100%;
}

@media (min-width: 640px) {
  .btn-full {
    width: auto;
  }
}

/* Hero Section */
.hero {
  padding-top: 8rem;
  padding-bottom: 5rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .hero-content {
    flex-direction: row;
    gap: 5rem;
  }
}

.hero-text {
  flex: 1;
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-text {
    text-align: left;
  }
}

.hero-badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  background-color: rgba(245, 158, 11, 0.2);
  border-radius: 9999px;
}

.hero-badge span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-foreground);
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-highlight {
  color: var(--color-primary);
  position: relative;
  display: inline-block;
}

.hero-underline {
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 100%;
  height: 12px;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--color-muted);
  margin-bottom: 2rem;
}

@media (min-width: 1024px) {
  .hero-description {
    font-size: 1.5rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .hero-buttons {
    justify-content: flex-start;
  }
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--color-muted);
  justify-content: center;
}

@media (min-width: 1024px) {
  .hero-stats {
    justify-content: flex-start;
  }
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stat-icon {
  font-size: 1.5rem;
}

.hero-image {
  flex: 1;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 512px;
  aspect-ratio: 1;
  margin: 0 auto;
}

.hero-bg-blur {
  position: absolute;
  inset: 0;
  background-color: rgba(251, 191, 36, 0.3);
  border-radius: 9999px;
  filter: blur(60px);
  animation: pulse 2s infinite;
}

.hero-panda {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5rem;
  animation: bounce-slow 3s infinite;
}

.hero-float-icon {
  position: absolute;
  background-color: var(--color-card);
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
  font-size: 2.5rem;
}

.hero-float-1 {
  top: 2.5rem;
  right: 2.5rem;
  animation: float 3s ease-in-out infinite;
}

.hero-float-2 {
  bottom: 5rem;
  left: 2.5rem;
  animation: float 3s ease-in-out infinite 1.5s;
}

/* Features Section */
.features {
  padding: 5rem 0;
  background-color: rgba(249, 250, 251, 0.3);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-description {
  font-size: 1.25rem;
  color: var(--color-muted);
  max-width: 42rem;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background-color: var(--color-card);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  transition: all 0.3s;
}

.feature-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background-color: rgba(16, 185, 129, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-foreground);
}

.feature-description {
  color: var(--color-muted);
  line-height: 1.6;
}

/* Pricing Section */
.pricing {
  padding: 5rem 0;
}

.pricing-card-wrapper {
  max-width: 42rem;
  margin: 0 auto;
  position: relative;
}

.pricing-bg-blur {
  position: absolute;
  inset: 0;
  background-color: rgba(251, 191, 36, 0.2);
  border-radius: 1.5rem;
  filter: blur(40px);
}

.pricing-card {
  position: relative;
  background-color: var(--color-card);
  border: 4px solid var(--color-secondary);
  border-radius: 1.5rem;
  padding: 3rem;
  box-shadow: var(--shadow-2xl);
  text-align: center;
}

.pricing-badge {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 0.75rem 1.5rem;
  background-color: rgba(245, 158, 11, 0.2);
  border-radius: 9999px;
  animation: bounce 2s infinite;
}

.pricing-badge span {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-foreground);
}

.pricing-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-foreground);
}

.pricing-price {
  margin-bottom: 2rem;
}

.price {
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.price-description {
  font-size: 1.25rem;
  color: var(--color-muted);
}

.pricing-features {
  margin-bottom: 2rem;
  text-align: left;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.pricing-check {
  width: 24px;
  height: 24px;
  background-color: var(--color-secondary);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-foreground);
  font-weight: 700;
}

.pricing-note {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--color-muted);
  font-style: italic;
}

/* Testimonials Section */
.testimonials {
  padding: 5rem 0;
  background-color: rgba(249, 250, 251, 0.3);
}

.testimonials-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background-color: var(--color-card);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  transition: all 0.3s;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-xl);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  background-color: rgba(251, 191, 36, 0.2);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.875rem;
}

.testimonial-name {
  font-weight: 700;
  color: var(--color-foreground);
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--color-muted);
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.star {
  font-size: 1.25rem;
}

.testimonial-text {
  color: var(--color-muted);
  line-height: 1.6;
  font-style: italic;
}

/* CTA Section */
.cta {
  padding: 5rem 0;
}

.cta-content {
  text-align: center;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  padding: 4rem;
  background-color: var(--color-card);
  border-radius: 1rem;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 1024px) {
  .cta-title {
    font-size: 3rem;
  }
}

.cta-description {
  font-size: 1.25rem;
  color: var(--color-muted);
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-note {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--color-muted);
}

/* FAQ Section */
.faq {
  padding: 5rem 0;
}

.faq-list {
  max-width: 48rem;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-foreground);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-primary);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer p {
  color: var(--color-muted);
  line-height: 1.6;
  margin: 0;
}

/* Footer */
.footer {
  background-color: rgba(249, 250, 251, 0.5);
  border-top: 1px solid var(--color-border);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.footer-brand-section {
  grid-column: span 1;
}

@media (min-width: 768px) {
  .footer-brand-section {
    grid-column: span 1;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background-color: rgba(251, 191, 36, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.footer-logo-icon img {
  width: 24px;
  height: 24px;
}

.footer-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-foreground);
}

.footer-description {
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  max-width: 28rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: var(--color-card);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
  font-size: 1.25rem;
}

.social-link:hover {
  background-color: var(--color-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-heading {
  font-weight: 700;
  color: var(--color-foreground);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  background: none;
  border: none;
  color: var(--color-muted);
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  text-align: left;
  padding: 0;
}

.footer-link:hover {
  color: var(--color-foreground);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  color: var(--color-muted);
  font-size: 0.875rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.875rem;
}

.footer-bottom-link {
  color: var(--color-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom-link:hover {
  color: var(--color-foreground);
}

/* Docs and Terms */
.doc {
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  padding: 4rem;
  margin: 2rem;
  background-color: var(--color-card);
  border-radius: 1rem;
}

.doc hr {
  border: 0;
  border-top: 1px solid #eee;
  margin: 1.5rem 0;
}

.doc h1 {
    margin: 0 0 8px 0;
    font-weight: 800;
    font-size: 2.5rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.doc h2 {
  margin: 1.75rem 0 .5rem;
  font-size: 1.3rem;
}

.doc ul {
  padding-inline-start: 2rem;
}

.doc-note {
  font-size: 0.875rem;
  color: var(--color-muted);
}

.code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  background: var(--color-border);
  padding: .1rem .35rem;
  border-radius: 1rem;
}

/* Animations */
@keyframes bounce-slow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}