/* Marketing layout helpers — visual language from subscription.html (buttons/cards/pricing CSS modules) */

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: 1.25rem 0;
  border-block: 1px solid var(--border-subtle);
  color: var(--text-subtle);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  box-sizing: border-box;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex: 1 1 auto;
  justify-content: center;
}

.trust-pill:first-child {
  justify-content: flex-start;
}

.trust-pill:last-child {
  justify-content: flex-end;
}

.trust-pill i {
  color: var(--color-warning);
}

/* Company logo strip — full container width, edge-aligned */
@media (max-width: 900px) {
  .trust-strip {
    justify-content: center;
  }

  .trust-pill,
  .trust-pill:first-child,
  .trust-pill:last-child {
    justify-content: center;
    flex: 0 1 auto;
  }
}

.feature-list {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .feature-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .feature-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card,
.step-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature-card h3,
.step-card h3 {
  margin: 0.85rem 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.3;
}

.feature-card p,
.step-card p {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-body);
  flex: 1;
}

.feature-row {
  display: grid;
  gap: 2rem;
  align-items: start;
  margin-bottom: var(--feature-row-gap);
}

.feature-row:last-child {
  margin-bottom: 0;
}

@media (min-width: 900px) {
  .feature-row {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }

  .feature-row .feature-copy {
    order: 1;
  }

  .feature-row .mock-panel,
  .feature-row .product-shot {
    order: 2;
  }

  .feature-row.reverse .feature-copy {
    order: 2;
  }

  .feature-row.reverse .mock-panel,
  .feature-row.reverse .product-shot {
    order: 1;
  }
}

.feature-copy h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin-bottom: 0.75rem;
  font-weight: 800;
  line-height: 1.25;
}

.feature-copy p {
  max-width: 42ch;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.feature-bullets {
  margin-top: 1.15rem;
  display: grid;
  gap: 0.55rem;
}

.feature-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-body);
}

.feature-bullets i {
  color: var(--color-success);
  margin-top: 0.1rem;
}

/* Real product screenshots framed like a live app window */
.product-shot {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  background: var(--color-base-200);
  box-shadow: var(--shadow-elevated);
  width: 100%;
}

.product-shot-chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
}

[data-theme="light"] .product-shot-chrome {
  background: #f8fafc;
}

.product-shot-chrome .mock-dot:nth-child(1) { background: #f43f5e; }
.product-shot-chrome .mock-dot:nth-child(2) { background: #f59e0b; }
.product-shot-chrome .mock-dot:nth-child(3) { background: #10b981; }

.product-shot-label {
  margin-left: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-subtle);
  letter-spacing: 0.02em;
}

.product-shot img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

.feature-row .product-shot {
  min-height: 0;
}

.mock-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  background: var(--color-base-200);
  box-shadow: var(--shadow-elevated);
  min-height: 280px;
  padding: 1.25rem;
  width: 100%;
}

.mock-panel > :last-child {
  margin-bottom: 0;
}

.mock-panel-top {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

[data-theme="light"] .mock-dot {
  background: rgba(15, 23, 42, 0.18);
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
}

[data-theme="light"] .mock-row {
  background: #f8fafc;
}

.mock-avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-curvy);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.35);
  display: grid;
  place-items: center;
  color: #818cf8;
  font-size: 0.7rem;
  font-weight: 700;
}

.mock-meta strong {
  display: block;
  color: var(--text-heading);
  font-size: 0.8125rem;
}

.mock-meta span {
  color: var(--text-subtle);
  font-size: 0.7rem;
}

.mock-badge {
  margin-left: auto;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--color-success);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mock-badge.warn {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.3);
  color: var(--color-warning);
}

.mock-badge.info {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.3);
  color: var(--color-info);
}

.mock-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-top: 1rem;
}

.mock-stat {
  padding: 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.25);
}

.mock-stat span {
  display: block;
  color: var(--text-subtle);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.mock-stat strong {
  color: var(--text-heading);
  font-size: 1.05rem;
}

.steps {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 0.85rem;
  border-radius: var(--radius-curvy);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.45);
  color: #818cf8;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 0 14px -2px rgba(99, 102, 241, 0.25);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 720px;
  margin-inline: 0;
}

.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  background: var(--color-base-200);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  color: var(--text-heading);
  font-weight: 700;
  font-size: 0.875rem;
  transition: background 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  background: var(--bg-hover);
}

.faq-item summary i {
  color: var(--text-subtle);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item[open] summary i {
  transform: rotate(180deg);
}

.faq-item .faq-body {
  padding: 0 1.15rem 1.1rem;
  color: var(--text-body);
  font-size: 0.8125rem;
  line-height: 1.55;
}

.cta-band {
  text-align: center;
  padding: clamp(2.5rem, 5vw, 3.75rem);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  background: var(--color-base-200);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.14) 0%, transparent 60%);
  pointer-events: none;
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  max-width: 18ch;
  margin-inline: auto;
  font-weight: 800;
}

.cta-band p {
  margin: 0.85rem auto 1.5rem;
  max-width: 42ch;
  font-size: 0.875rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

[data-theme="light"] .cta-band::before {
  background: radial-gradient(circle at 50% 0%, rgba(79, 70, 229, 0.1) 0%, transparent 60%);
}

/* Marketing padding helper for option-cards used as content cards */
.option-card.card-pad {
  padding: 1.35rem 1.25rem;
  cursor: default;
}

.option-card.card-pad:hover {
  cursor: pointer;
}

.icon-badge {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-curvy);
  border: 1px solid rgba(99, 102, 241, 0.35);
  background: rgba(99, 102, 241, 0.12);
  color: #818cf8;
  flex-shrink: 0;
}

.icon-badge i {
  font-size: var(--icon-size-primary);
}

.icon-badge.sky {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.35);
  color: #38bdf8;
}

.icon-badge.emerald {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  color: #34d399;
}

.icon-badge.purple {
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.35);
  color: #c084fc;
}

.icon-badge.orange {
  background: rgba(249, 115, 22, 0.12);
  border-color: rgba(249, 115, 22, 0.35);
  color: #fb923c;
}
