/* FeedGrove product page */
:root {
  --brand: #4f7f3f;
  --brand-strong: #315f33;
  --brand-soft: #edf5e8;
  --grove-gold: #d69438;
}

:root[data-theme="dark"] {
  --brand: #9ace82;
  --brand-strong: #b4e09e;
  --brand-soft: #203524;
  --grove-gold: #f2b85c;
}

.feedgrove-hero {
  background:
    radial-gradient(circle at 88% 4%, color-mix(in srgb, var(--grove-gold) 14%, transparent), transparent 34%),
    radial-gradient(circle at 10% 8%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 38%);
}

.feedgrove-hero .hero-grid {
  align-items: center;
}

.feedgrove-hero .hero-glow-one {
  background: radial-gradient(circle, color-mix(in srgb, var(--brand) 23%, transparent), transparent 68%);
}

.feedgrove-hero .button-primary,
.final-card {
  box-shadow: 0 18px 44px color-mix(in srgb, var(--brand) 24%, transparent);
}

.brand img {
  border-radius: 12px;
  box-shadow: 0 7px 18px color-mix(in srgb, var(--brand) 24%, transparent);
}

.test-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--line));
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: .75rem;
  font-weight: 850;
}

:root[data-theme="dark"] .test-badge {
  color: var(--brand);
}

.feedgrove-visual {
  display: grid;
  gap: 16px;
}

.feature-banner {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.feature-banner img {
  width: 100%;
}

.hero-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 72%;
  margin: -54px auto 0;
  position: relative;
}

.hero-preview img {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: #0d1117;
  box-shadow: var(--shadow-soft);
}

.hero-preview img:first-child { transform: rotate(-3deg); }
.hero-preview img:last-child { transform: rotate(3deg); }

.feature-card .feature-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 1.15rem;
  font-weight: 900;
}

.feature-card-gold {
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--grove-gold) 16%, transparent), transparent 44%),
    var(--surface);
}

.feature-card-purple .detail-shot {
  width: min(100%, 290px);
  max-height: 620px;
  justify-self: center;
}

.screens-section {
  border-top: 1px solid var(--line);
  background: var(--page-alt);
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.screen-grid figure { margin: 0; }

.screen-grid figure > div {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 19px;
  background: #10151b;
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, box-shadow .18s ease;
}

.screen-grid figure:hover > div {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.screen-grid img { width: 100%; }

.screen-grid figcaption {
  padding: 14px 3px 0;
}

.screen-grid figcaption strong,
.screen-grid figcaption span { display: block; }
.screen-grid figcaption strong { font-size: .88rem; }
.screen-grid figcaption span { color: var(--muted); font-size: .72rem; }

.testing-section { background: var(--surface); }

.testing-note {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 4px solid var(--grove-gold);
  border-radius: 0 12px 12px 0;
  background: color-mix(in srgb, var(--grove-gold) 10%, var(--surface));
  color: var(--muted);
  font-size: .84rem;
}

.testing-note strong { color: var(--ink); }

.workflow-list .step-action {
  display: inline-flex;
  margin-top: 12px;
  color: var(--brand);
  font-size: .8rem;
  font-weight: 800;
}

.trust-list a {
  color: var(--brand);
  font-weight: 750;
}

.final-card {
  background:
    radial-gradient(circle at 100% 0, rgba(255, 215, 128, .25), transparent 34%),
    linear-gradient(120deg, #315f33, #4f7f3f 58%, #396d5a);
}

.final-actions { max-width: 250px; }

@media (max-width: 980px) {
  .feedgrove-visual { width: min(760px, 94%); margin: 0 auto; }
  .screen-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 18px; }
}

@media (max-width: 740px) {
  .feature-banner { border-radius: 16px; transform: none; }
  .hero-preview { width: 86%; margin-top: -30px; }
  .hero-preview img { border-radius: 13px; }
  .screen-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .screen-grid figure:last-child { grid-column: 1 / -1; width: calc(50% - 6px); margin: 0 auto; }
  .final-actions { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .feature-banner,
  .hero-preview img { transform: none; }
  .screen-grid figure > div { transition: none; }
  .screen-grid figure:hover > div { transform: none; }
}
