/* Muchcane — Warm Support Desk design system
   Cream canvas, emerald accents, Nunito, organic blobs */

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 5.5rem;
}

body {
  font-family: Nunito, Inter, system-ui, sans-serif;
  background: #fffdf8;
  color: #1c1917;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: Nunito, Inter, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-blur {
  background: rgba(255, 253, 248, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(5, 150, 105, 0.12);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.gradient-text {
  background: linear-gradient(135deg, #047857 0%, #059669 40%, #d97706 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-bg {
  position: relative;
  background:
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(253, 230, 138, 0.45), transparent 55%),
    radial-gradient(ellipse 50% 45% at 100% 0%, rgba(167, 243, 208, 0.5), transparent 50%),
    linear-gradient(165deg, #ecfdf5 0%, #fffbeb 45%, #fffdf8 100%);
  overflow: hidden;
}

.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
  z-index: 0;
}

.hero-bg::before {
  width: 280px;
  height: 280px;
  top: -40px;
  right: 8%;
  background: rgba(52, 211, 153, 0.22);
}

.hero-bg::after {
  width: 200px;
  height: 200px;
  bottom: 10%;
  left: 5%;
  background: rgba(251, 191, 36, 0.18);
}

.hero-bg > * {
  position: relative;
  z-index: 1;
}

.grid-bg {
  background-image: none;
}

.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 1.75rem !important;
  border: 1px solid rgba(214, 211, 209, 0.7) !important;
  background: #fff;
  box-shadow: 0 8px 30px rgba(28, 25, 23, 0.05);
}

.card-hover:hover {
  transform: translateY(-5px) rotate(-0.3deg);
  box-shadow: 0 20px 40px rgba(5, 150, 105, 0.12);
  border-color: rgba(5, 150, 105, 0.35) !important;
}

.pricing-popular {
  position: relative;
  border: none !important;
  background: linear-gradient(160deg, #ecfdf5 0%, #ffffff 40%, #fffbeb 100%) !important;
  box-shadow: 0 24px 48px rgba(5, 150, 105, 0.18);
  border-radius: 2rem !important;
  outline: 2px solid #059669;
  outline-offset: 0;
}

.pricing-popular::before {
  content: "Most Popular";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #059669, #d97706);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.35rem 1.1rem;
  border-radius: 9999px;
  white-space: nowrap;
  box-shadow: 0 8px 16px rgba(5, 150, 105, 0.3);
}

.fade-up {
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.float-anim {
  animation: bob 5.5s ease-in-out infinite;
}

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

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #fffdf8;
}

.mobile-menu.open {
  max-height: 28rem;
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1.25rem;
  background: linear-gradient(145deg, #d1fae5, #fef3c7);
  color: #047857;
  font-size: 1.25rem;
}

.dashboard-mock {
  background: #fff;
  border-radius: 1.75rem;
  border: 2px solid #a7f3d0;
  box-shadow:
    0 24px 48px rgba(5, 150, 105, 0.12),
    12px 12px 0 0 #fef3c7;
  overflow: hidden;
}

.mock-chart-bar {
  border-radius: 9999px;
  background: linear-gradient(180deg, #34d399, #059669);
  min-width: 1.25rem;
}

.logo-cane {
  color: #059669;
}

.btn-warm {
  border-radius: 9999px !important;
  background: linear-gradient(135deg, #059669, #047857) !important;
  box-shadow: 0 12px 24px -8px rgba(5, 150, 105, 0.5);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #059669;
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.15);
  border-radius: 1rem;
}

.code-block {
  background: #064e3b;
  color: #6ee7b7;
  border-radius: 1.25rem;
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  font-family: ui-monospace, monospace;
  font-size: 0.8125rem;
  line-height: 1.65;
}

.letter-tile {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: #047857;
  background: #d1fae5;
}

.form-success {
  display: none;
}

.form-success.show {
  display: block;
}

.section-cream {
  background: #fffbeb;
}

.section-mint {
  background: #ecfdf5;
}


.mock-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1rem;
  background: #ecfdf5;
  border-bottom: 1px solid #a7f3d0;
}
.mock-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 9999px;
  display: inline-block;
}
.mock-dot.red { background: #f87171; }
.mock-dot.amber { background: #fbbf24; }
.mock-dot.green { background: #34d399; }
