:root {
  --Black: #000;
  --White: #fff;
  --ThemeColor: #e32726;
  --ThemeColor2: #000000;
  --ThemeColor3: #080dcc;
  --ThemeColor4: #000000;
  --TitleText: #000000;
  --CardShadow: 0px 4px 11px rgba(217, 216, 216, 0.6);
  --TitleFont: "Emotional Rescue";
  --ThemeFont: "Open Sans", serif;
  --ThemeFontTwo: "Poppins", serif;
  --Radius: 8px;
}

/* Base primitives scoped to the AI Page Builder */
body,
body.ai-preview {
  font-family: var(--ThemeFont, "Open Sans", serif);
  color: var(--TitleText, #111);
  background-color: var(--White, #fff);
  line-height: 1.6;
}

body.ai-preview h1,
body.ai-preview h2,
body.ai-preview h3,
body.ai-preview h4,
.pb-heading {
  font-family: var(--TitleFont, "Poppins", sans-serif);
  color: var(--TitleText, #000);
  letter-spacing: -0.01em;
}

.pb-section {
  padding: 48px 24px;
  background: var(--White, #fff);
}

.pb-shell {
  max-width: 1100px;
  margin: 0 auto;
}

.pb-card {
  background: var(--White, #fff);
  border-radius: var(--Radius, 8px);
  box-shadow: var(--CardShadow, 0 4px 11px rgba(0, 0, 0, 0.08));
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 20px;
}

.pb-card-ghost {
  border-radius: var(--Radius, 8px);
  border: 1px dashed rgba(0, 0, 0, 0.12);
  padding: 18px;
}

.pb-stack {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.pb-grid {
  display: grid;
  gap: 18px;
}

.pb-grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pb-grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.pb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--Radius, 8px);
  padding: 10px 16px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
  font-family: var(--ThemeFontTwo, "Poppins", sans-serif);
}

.pb-btn:hover { transform: translateY(-1px); }

.pb-btn-primary {
  background: var(--ThemeColor, #e32726);
  color: var(--White, #fff);
  border-color: var(--ThemeColor, #e32726);
}

.pb-btn-secondary {
  background: var(--ThemeColor2, #111);
  color: var(--White, #fff);
  border-color: var(--ThemeColor2, #111);
}

.pb-btn-ghost {
  background: transparent;
  color: var(--ThemeColor, #e32726);
  border-color: rgba(0, 0, 0, 0.1);
}

.pb-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: calc(var(--Radius, 8px) * 0.75);
  font-weight: 600;
  background: rgba(0, 0, 0, 0.04);
  color: var(--ThemeColor2, #000);
}

.pb-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.05);
  color: var(--ThemeColor2, #000);
}

.pb-input {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--Radius, 8px);
  border: 1px solid rgba(0, 0, 0, 0.14);
  font-family: var(--ThemeFont, "Open Sans", serif);
}

.pb-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pb-feature-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.pb-feature-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.05);
  color: var(--ThemeColor, #e32726);
  font-weight: 700;
}

.pb-hero {
  padding: 72px 20px;
  text-align: center;
  background: linear-gradient(135deg, rgba(0,0,0,0.02), rgba(0,0,0,0.08));
}

.pb-hero-title {
  font-size: clamp(32px, 5vw, 46px);
  margin: 0 0 12px;
}

.pb-hero-subtitle {
  font-size: 18px;
  margin: 0 0 22px;
  color: rgba(0, 0, 0, 0.75);
}

.pb-tagline {
  font-family: var(--ThemeFontTwo, "Poppins", serif);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ThemeColor4, #000);
  font-weight: 700;
  margin-bottom: 6px;
}
