:root {
  --pb-coral: #ff6b66;
  --pb-yellow: #ffc933;
  --pb-blue: #19a9e5;
  --pb-orange: #ff7a00;
  --pb-cream: #fdfbf7;
  --pb-dark: #1a1a1a;
  --pb-white: #ffffff;
  --pb-gray-100: #f3f4f6;
  --pb-gray-500: #6b7280;
  --pb-font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* Feature Container */
.pb-features-container {
  background-color: var(--pb-cream);
  color: var(--pb-dark);
  font-family: var(--pb-font);
  padding: 4rem 0 0 0; /* Launch section takes care of its own bottom padding */
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.pb-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Accent Rule */
.pb-accent-rule {
  display: flex;
  width: 60px;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.pb-accent-rule span {
  flex: 1;
  height: 100%;
}
.pb-color-coral { background-color: var(--pb-coral); }
.pb-color-yellow { background-color: var(--pb-yellow); }
.pb-color-blue { background-color: var(--pb-blue); }
.pb-color-orange { background-color: var(--pb-orange); }

.pb-text-coral { color: var(--pb-coral); }

/* Row Layouts */
.pb-row {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 6rem;
  align-items: center;
}

@media (min-width: 900px) {
  .pb-row {
    flex-direction: row;
    gap: 4rem;
    margin-bottom: 8rem;
  }
  .pb-row-reverse {
    flex-direction: row-reverse;
  }
  .pb-row > * {
    flex: 1;
    min-width: 0;
  }
}

/* Typography */
.pb-msg h2 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  color: var(--pb-dark);
}
@media (min-width: 768px) {
  .pb-msg h2 { font-size: 3rem; }
}
.pb-lead {
  font-size: 1.25rem;
  line-height: 1.5;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--pb-dark);
}
.pb-support {
  font-size: 1.125rem;
  color: var(--pb-gray-500);
  line-height: 1.5;
}

/* Compare Visual */
.pb-vis-compare {
  display: flex;
  position: relative;
  gap: 1rem;
  align-items: stretch;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto;
}
.pb-vs-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--pb-dark);
  color: var(--pb-white);
  font-weight: 800;
  font-size: 1.125rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 4px solid var(--pb-cream);
  z-index: 2;
}
.pb-card-compare {
  flex: 1;
  padding: 2rem 1.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 40px -10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.pb-card-compare h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  text-align: center;
}
.pb-card-compare ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.pb-card-compare li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.3;
}
.pb-card-compare svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}
.pb-card-coral {
  background-color: var(--pb-coral);
  color: var(--pb-white);
  transform: scale(1.05);
  z-index: 1;
}
.pb-card-coral li svg { fill: var(--pb-white); }
.pb-card-faded {
  background-color: var(--pb-white);
  color: var(--pb-gray-500);
}
.pb-card-faded h3 {
  color: var(--pb-dark);
}
.pb-card-faded li svg { fill: #d1d5db; }

/* Search Visual */
.pb-vis-search {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}
.pb-card-search {
  background-color: var(--pb-white);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 15px 50px -10px rgba(0,0,0,0.08);
  position: relative;
}
.pb-search-bar {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background-color: var(--pb-gray-100);
  padding: 1.25rem;
  border-radius: 1rem;
}
.pb-search-bar svg {
  width: 24px;
  height: 24px;
  fill: var(--pb-coral);
  flex-shrink: 0;
  margin-top: 2px;
}
.pb-search-bar p {
  font-size: 1.125rem;
  line-height: 1.6;
  font-weight: 500;
  color: var(--pb-dark);
  margin: 0;
}
.pb-bee-trail {
  position: absolute;
  top: -40px;
  right: -30px;
  width: 120px;
  pointer-events: none;
  animation: pb-float 4s ease-in-out infinite;
}
@keyframes pb-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Tiles Visual */
.pb-vis-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 480px;
  margin: 0 auto;
}
@media (min-width: 500px) {
  .pb-vis-tiles { grid-template-columns: repeat(3, 1fr); }
}
.pb-tile {
  background-color: var(--pb-white);
  padding: 1.5rem 1rem;
  border-radius: 1.25rem;
  text-align: center;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.2s ease;
}
.pb-tile:hover {
  transform: translateY(-3px);
}
.pb-tile-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pb-tile-icon svg {
  width: 24px;
  height: 24px;
}
.pb-tile span {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--pb-dark);
}
.pb-icon-coral { background-color: rgba(255, 107, 102, 0.1); color: var(--pb-coral); }
.pb-icon-coral svg { fill: var(--pb-coral); }
.pb-icon-yellow { background-color: rgba(255, 201, 51, 0.15); color: var(--pb-yellow); }
.pb-icon-yellow svg { fill: #d4a000; } /* slightly darker for contrast if needed, but fill is fine */
.pb-icon-blue { background-color: rgba(25, 169, 229, 0.1); color: var(--pb-blue); }
.pb-icon-blue svg { fill: var(--pb-blue); }
.pb-icon-orange { background-color: rgba(255, 122, 0, 0.1); color: var(--pb-orange); }
.pb-icon-orange svg { fill: var(--pb-orange); }

/* Reviews Strip */
.pb-reviews-strip {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--pb-white);
  padding: 0.75rem 1.25rem;
  border-radius: 99px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  margin-top: 1.5rem;
}
.pb-reviews-strip strong {
  display: block;
  color: var(--pb-dark);
  font-size: 1rem;
  line-height: 1.25;
  margin-bottom: 0.15rem;
}
.pb-g-icon svg {
  width: 28px;
  height: 28px;
}
.pb-reviews-strip p {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pb-dark);
  margin: 0;
}

/* Horizontal Rail */
.pb-vis-rail {
  width: 100%;
  position: relative;
}
.pb-rail {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 2rem; /* space for scrollbar/shadows */
  margin-bottom: -2rem;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  scroll-snap-type: x mandatory;
}
.pb-rail::-webkit-scrollbar { display: none; }
.pb-rail:focus-visible {
  outline: 3px solid var(--pb-blue);
  outline-offset: 5px;
  border-radius: 1rem;
}
.pb-rail-card {
  flex: 0 0 240px;
  background: var(--pb-white);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.08);
  scroll-snap-align: start;
}
.pb-rail-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.pb-rail-content {
  padding: 1.25rem;
}
.pb-rail-content h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.25rem 0;
  color: var(--pb-dark);
}
.pb-rating {
  font-size: 0.875rem;
  color: var(--pb-gray-500);
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.pb-rating span {
  color: var(--pb-yellow);
}
.pb-rail-content p {
  font-size: 0.875rem;
  color: var(--pb-gray-500);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Wide Launch Section */
.pb-launch-wide {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 6rem 0;
  margin-top: 4rem;
  color: var(--pb-white);
}
.pb-launch-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26,26,26,0.9) 0%, rgba(26,26,26,0.6) 50%, rgba(26,26,26,0.1) 100%);
}
@media (max-width: 767px) {
  .pb-launch-overlay {
    background: linear-gradient(to bottom, rgba(26,26,26,0.8) 0%, rgba(26,26,26,0.8) 100%);
  }
}
.pb-launch-content {
  position: relative;
  z-index: 2;
  display: flex;
}
.pb-launch-card {
  max-width: 480px;
}
.pb-launch-card h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--pb-white);
  margin: 0 0 1rem 0;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
@media (min-width: 768px) {
  .pb-launch-card h2 { font-size: 3.5rem; }
}
.pb-launch-card p {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}
.pb-stat-block {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.pb-stat {
  font-size: 4rem;
  font-weight: 800;
  color: var(--pb-yellow);
  line-height: 1;
  letter-spacing: -0.03em;
}
.pb-stat-label {
  font-size: 1.125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

@media (prefers-reduced-motion: reduce) {
  .pb-bee-trail { animation: none; }
  .pb-tile { transition: none; }
  .pb-tile:hover { transform: none; }
}
