/* ProDigit public storefront */

.store-page {
  --store-accent: #22d3ee;
  --store-accent-dim: rgba(34, 211, 238, 0.12);
  --store-border: rgba(255, 255, 255, 0.1);
  --store-surface: rgba(15, 23, 42, 0.72);
  background: radial-gradient(ellipse 120% 80% at 50% -20%, rgba(0, 116, 179, 0.18), transparent 55%),
    var(--color-bg, #020617);
  color: var(--color-text, #f8fafc);
  min-height: 100vh;
}

.store-wrap {
  width: min(100% - 2rem, 72rem);
  margin: 0 auto;
  padding: 1.5rem 0 4rem;
}

.store-beta-banner {
  margin-bottom: 1.25rem;
  padding: 0.875rem 1rem;
  border-radius: 0.875rem;
  border: 1px solid rgba(251, 191, 36, 0.28);
  background: rgba(251, 191, 36, 0.08);
}

.store-beta-banner p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #fde68a;
}

.store-beta-banner strong {
  color: #fef3c7;
}

.store-hero {
  margin-bottom: 2.5rem;
  padding: 2rem 0 1rem;
}

.store-hero__inner {
  max-width: 42rem;
}

.store-hero__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6ee7b7;
}

.store-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.store-hero__lead {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-text-muted, #94a3b8);
}

.store-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.store-hero__note {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text-subtle, #64748b);
}

.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.store-btn:active {
  transform: scale(0.98);
}

.store-btn--primary {
  background: linear-gradient(135deg, #0891b2, #0074b3);
  color: #fff;
  border-color: rgba(34, 211, 238, 0.35);
}

.store-btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--store-border);
  color: inherit;
}

.store-btn--block {
  width: 100%;
}

.store-section {
  margin-bottom: 3rem;
}

.store-section h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.store-section__lead {
  margin: 0 0 1.25rem;
  color: var(--color-text-muted, #94a3b8);
  max-width: 42rem;
}

.store-section__foot {
  margin: 1.25rem 0 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted, #94a3b8);
}

.store-link {
  color: var(--store-accent);
  text-decoration: none;
}

.store-link:hover {
  text-decoration: underline;
}

.store-chips-wrap {
  margin: 0 -1rem 1.25rem;
  padding: 0 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.store-chips-wrap::-webkit-scrollbar {
  display: none;
}

.store-chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  min-width: min-content;
  padding-bottom: 0.25rem;
}

.store-chip {
  flex: 0 0 auto;
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--store-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-text-muted, #94a3b8);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.store-chip.is-active {
  color: #fff;
  border-color: rgba(34, 211, 238, 0.45);
  background: var(--store-accent-dim);
}

.store-chip--soon {
  opacity: 0.92;
}

.store-chip__badge {
  display: inline-block;
  margin-left: 0.25rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.1);
  color: #fde68a;
}

.store-grid--primary {
  grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
  gap: 1.1rem;
}

.store-card--primary {
  gap: 0.75rem;
  padding: 1.25rem;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}

.store-card--primary:hover {
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  transform: translateY(-2px);
}

.store-card__outcome {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-text-muted, #94a3b8);
}

.store-card--primary .store-card__actions {
  margin-top: auto;
  padding-top: 0.35rem;
}

.store-section--more {
  margin-bottom: 2.5rem;
}

.store-more {
  border: 1px solid var(--store-border);
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.45);
  overflow: hidden;
}

.store-more__summary {
  padding: 1rem 1.15rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.store-more__summary::-webkit-details-marker {
  display: none;
}

.store-more__summary::after {
  content: "+";
  float: right;
  color: var(--store-accent);
  font-weight: 700;
}

.store-more[open] .store-more__summary::after {
  content: "−";
}

.store-more__lead {
  margin: 0;
  padding: 0 1.15rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text-muted, #94a3b8);
}

.store-more__list {
  margin: 0;
  padding: 0 1.15rem;
  list-style: none;
  border-top: 1px solid var(--store-border);
}

.store-more__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
}

.store-more__item:last-child {
  border-bottom: none;
}

.store-more > .store-btn {
  margin: 1rem 1.15rem 1.15rem;
}

.store-btn--small {
  min-height: 2.25rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.8125rem;
}

.store-enterprise-feature {
  padding: 2rem 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(34, 211, 238, 0.22);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95) 0%, rgba(8, 47, 73, 0.55) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 20px 48px rgba(0, 0, 0, 0.28);
}

.store-enterprise-feature__label {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6ee7b7;
}

.store-enterprise-feature h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  max-width: 28rem;
}

.store-enterprise-feature > p {
  margin: 0 0 1.25rem;
  max-width: 36rem;
  line-height: 1.6;
  color: var(--color-text-muted, #94a3b8);
}

.store-enterprise-feature__list {
  margin: 0 0 1.5rem;
  padding-left: 1.15rem;
  color: var(--color-text-muted, #cbd5e1);
  line-height: 1.6;
}

.store-enterprise-feature__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: 1rem;
}

.store-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.15rem;
  border-radius: 1rem;
  border: 1px solid var(--store-border);
  background: var(--store-surface);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.store-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.store-card__category {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6ee7b7;
}

.store-card__availability {
  font-size: 0.75rem;
  font-weight: 600;
  color: #a5b4fc;
  white-space: nowrap;
  text-align: right;
}

.store-card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
}

.store-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-text-muted, #94a3b8);
}

.store-card__best {
  font-size: 0.8125rem !important;
}

.store-card__best span {
  color: var(--color-text-subtle, #64748b);
}

.store-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.store-tag {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text-muted, #94a3b8);
}

.store-card__actions {
  display: grid;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.store-card__actions .store-btn {
  cursor: pointer;
}

.store-empty {
  grid-column: 1 / -1;
  color: var(--color-text-muted, #94a3b8);
}

.store-coming-soon {
  position: relative;
  min-height: 14rem;
  border-radius: 1rem;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.store-coming-soon__blur {
  filter: blur(6px);
  opacity: 0.45;
  pointer-events: none;
  user-select: none;
  padding: 1rem;
}

.store-grid--placeholder {
  pointer-events: none;
}

.store-card--placeholder {
  min-height: 12rem;
  background: rgba(255, 255, 255, 0.04);
  cursor: default;
}

.store-coming-soon__label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  text-align: center;
}

.store-coming-soon__label span {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fde68a;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(2, 6, 23, 0.72);
}

.store-coming-soon__label p {
  margin: 0;
  max-width: 28rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--color-text-muted, #94a3b8);
}

.store-section--future {
  margin-top: 1rem;
}

.store-section--enterprise {
  padding-top: 0.5rem;
}

.store-enterprise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 0.875rem;
  margin-bottom: 1.25rem;
}

.store-enterprise-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.15rem;
  border-radius: 1rem;
  border: 1px solid rgba(34, 211, 238, 0.18);
  background: linear-gradient(160deg, rgba(0, 116, 179, 0.1), rgba(15, 23, 42, 0.55));
}

.store-enterprise-card h3 {
  margin: 0;
  font-size: 1rem;
}

.store-enterprise-card p {
  margin: 0;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--color-text-muted, #94a3b8);
}

.store-enterprise-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.store-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  background: rgba(2, 6, 23, 0.78);
}

.store-modal[hidden] {
  display: none;
}

.store-modal__panel {
  position: relative;
  width: min(100%, 32rem);
  max-height: min(92vh, 40rem);
  overflow: auto;
  margin: 0;
  padding: 1.25rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom));
  border-radius: 1.25rem 1.25rem 0 0;
  border: 1px solid var(--store-border);
  border-bottom: none;
  background: #0f172a;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.35);
}

.store-modal__panel--quote {
  max-height: min(80vh, 24rem);
}

.store-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.store-modal__body h2,
.store-modal__panel > h2 {
  margin: 0 1.75rem 0.75rem 0;
  font-size: 1.25rem;
  line-height: 1.3;
}

.store-modal__category {
  margin: 0 0 0.35rem;
  font-size: 0.8125rem;
  color: var(--store-accent);
}

.store-modal__body p,
.store-modal__lead {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-text-muted, #94a3b8);
}

.store-modal__compat {
  padding: 0.75rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(251, 191, 36, 0.25);
  background: rgba(251, 191, 36, 0.08);
  color: #fde68a !important;
  font-size: 0.8125rem !important;
}

.store-modal__body h3 {
  margin: 1rem 0 0.35rem;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-subtle, #64748b);
}

.store-modal__body ul {
  margin: 0 0 0.75rem;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--color-text-muted, #94a3b8);
}

.store-modal__note {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  color: var(--color-text-subtle, #64748b);
}

.store-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.store-modal__actions .store-btn {
  flex: 1 1 8rem;
}

body.store-modal-open {
  overflow: hidden;
}

@media (min-width: 640px) {
  .store-modal {
    align-items: center;
    padding: 1rem;
  }

  .store-modal__panel {
    border-radius: 1rem;
    border-bottom: 1px solid var(--store-border);
    margin: auto;
    padding-bottom: 1.25rem;
  }
}

@media (min-width: 900px) {
  .store-wrap {
    padding-top: 2rem;
  }

  .store-hero {
    padding: 2.5rem 0 1.5rem;
  }
}
