:root {
  --bg: #fff8f0;
  --card: #ffffff;
  --text: #2d2d2d;
  --muted: #6b6b6b;
  --accent: #8FBC8F;
  --accent-2: #7ac4cd;
  --accent-3: #a5d5a5;
  --border: #f0e6d8;
  --shadow: 0 10px 40px rgba(143, 188, 143, 0.15);
  --panda-placeholder: #f5f0e8;
}

[data-theme="dark"] {
  --bg: #1a1a1a;
  --card: #2a2a2a;
  --text: #e8e8e8;
  --muted: #a0a0a0;
  --accent: #8FBC8F;
  --accent-2: #7ac4cd;
  --accent-3: #a5d5a5;
  --border: #3a3a3a;
  --shadow: 0 10px 40px rgba(143, 188, 143, 0.25);
  --panda-placeholder: #2d2d2d;
}

* {
  box-sizing: border-box;
}

html {
  transition: background 0.3s ease;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: radial-gradient(1200px 600px at 20% -10%, rgba(143, 188, 143, 0.15), transparent),
              radial-gradient(1000px 500px at 90% -10%, #e5f5f6, transparent),
              var(--bg);
  color: var(--text);
  transition: background 0.3s ease, color 0.3s ease;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  padding: 24px 40px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.3px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
  padding: 40px;
}

.kicker {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.hero h1 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin: 0 0 12px;
}

.subhead {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 560px;
}

.hero-card {
  background: linear-gradient(135deg, #fff5eb, #ffecd6);
  border: 2px solid var(--border);
  border-radius: 24px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.hero-card-inner {
  background: var(--card);
  border-radius: 16px;
  padding: 24px;
}

.hero-card ul {
  padding-left: 18px;
  color: var(--muted);
}

.section {
  padding: 24px 40px 56px;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

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

.feature {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(143, 188, 143, 0.2);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.pricing-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(143, 188, 143, 0.2);
}

.pricing-card.highlight {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(143, 188, 143, 0.2), 0 12px 35px rgba(143, 188, 143, 0.25);
}

.price {
  font-size: 2rem;
  margin: 8px 0;
}

.price span {
  color: var(--muted);
  font-size: 1rem;
}

.price-sub {
  color: var(--muted);
}

.cta {
  text-align: center;
  background: linear-gradient(135deg, #fff5eb, #ffecd6);
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}

.cta-note {
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 25px rgba(143, 188, 143, 0.35);
  font-weight: 700;
}

.btn-outline {
  border-color: var(--border);
  color: var(--text);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(143, 188, 143, 0.4);
}

.footer {
  padding: 28px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  border-top: 2px solid var(--border);
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.footer a {
  color: var(--accent);
  transition: color 0.2s ease;
}

.footer a:hover {
  color: var(--accent-2);
}

/* Panda placeholder styles */
.panda-placeholder {
  background: var(--panda-placeholder);
  border: 3px dashed var(--border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  color: var(--muted);
  font-style: italic;
}

.panda-placeholder-hero {
  min-height: 400px;
  background: linear-gradient(135deg, #fff9f5, #f5f0e8);
}

.panda-placeholder-footer {
  min-height: 120px;
  max-width: 200px;
}

.panda-placeholder-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  opacity: 0.6;
}

.panda-asset-note {
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 280px;
}

/* Theme toggle button */
.theme-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 24px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.theme-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  border-color: var(--accent);
}