/* App landing — extras synced with site/dmccaguard/index.html */

.stats-bar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.stats-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-cell {
  padding: 1.375rem 1.5rem;
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.stat-cell:last-child { border-right: none; }
.stat-icon {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  display: block;
}
.stat-num {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.15rem;
}
.stat-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 780px;
  margin: 0 auto;
}
.price-card {
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem;
  background: var(--bg);
  position: relative;
}
.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.875rem;
  border-radius: 999px;
  white-space: nowrap;
}
.price-name {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.875rem;
}
.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.price-amount span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0;
}
.price-sub {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}
.price-features {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.4;
}
.price-features li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
}
.price-features li.muted-item { color: var(--text-muted); }
.price-features li.muted-item::before { color: var(--gray-300); }

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
  cursor: pointer;
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
}
.faq-a {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1), margin 0.3s ease;
}
.faq-item.open .faq-a {
  max-height: 320px;
  margin-top: 0.6rem;
}
.faq-toggle {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--text-muted);
  flex-shrink: 0;
  line-height: 1.1;
  transition: transform 0.3s ease, color 0.2s;
}
.faq-item:hover .faq-toggle { color: var(--accent); }
.faq-item.open .faq-toggle {
  transform: rotate(45deg);
  color: var(--accent);
}
.faq-a a { color: var(--accent); }
.faq-more { text-align: center; margin-top: 2rem; }

.enforcement-strip {
  background: var(--green-900);
  color: white;
  padding: 0.875rem 2rem;
  text-align: center;
  font-size: 0.875rem;
}
.enforcement-strip strong { color: var(--green-400); }
.enforcement-strip a { color: var(--green-200); text-decoration: underline; }

@keyframes bell-ring {
  0%, 100% { transform: rotate(0deg); }
  15% { transform: rotate(18deg); }
  30% { transform: rotate(-14deg); }
  45% { transform: rotate(9deg); }
  60% { transform: rotate(-5deg); }
  75% { transform: rotate(3deg); }
}
#hero-bell {
  transform-origin: 50% 0;
  animation: bell-ring 1.8s ease-out 0.7s both;
}

@keyframes card-rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hp-mail { animation: card-rise 0.55s ease-out 0.2s both; }
.hp-score { animation: card-rise 0.55s ease-out 0.55s both; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.steps-row .reveal:nth-child(2) { transition-delay: 0.1s; }
.steps-row .reveal:nth-child(3) { transition-delay: 0.2s; }
.steps-row .reveal:nth-child(4) { transition-delay: 0.3s; }
.features-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.features-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.features-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.features-grid .reveal:nth-child(5) { transition-delay: 0.32s; }

/* Shop connect form (app-only) */
.connect-form {
  margin-bottom: 1.25rem;
  max-width: 32rem;
}
.connect-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0.5rem;
}
.connect-row {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
}
.connect-input {
  flex: 1;
  min-width: 12rem;
  padding: 0.6875rem 0.875rem;
  border-radius: var(--r);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 0.9375rem;
  outline: none;
}
.connect-input::placeholder { color: rgba(255, 255, 255, 0.45); }
.connect-input:focus {
  border-color: var(--green-400);
  box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.25);
}
.connect-submit {
  padding: 0.6875rem 1.25rem;
  border: none;
  border-radius: var(--r);
  background: white;
  color: var(--green-800);
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: box-shadow 0.15s, transform 0.15s;
}
.connect-submit:hover { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18); }
.connect-submit:active { transform: translateY(1px); }
.hero-hint {
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

#how-it-works,
#pricing {
  scroll-margin-top: 5rem;
}

.how-more {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.how-more a { font-weight: 600; }

.landing-page { min-height: 100vh; }

@media (max-width: 720px) {
  .stats-bar-inner { grid-template-columns: 1fr 1fr; }
  .stat-cell { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-cell:nth-child(odd) { border-right: 1px solid var(--border); }
  .pricing-grid { grid-template-columns: 1fr; }
  .connect-row { flex-direction: column; }
  .connect-submit { width: 100%; }
}
@media (max-width: 480px) {
  .stats-bar-inner { grid-template-columns: 1fr; }
  .stat-cell { border-right: none; }
}
