/* MintCollect — Landing page (static)
   Derived from src/pages/Landing.tsx. */

:root {
  /* Colors (hsl tokens from src/index.css) */
  --background: hsl(215 28% 7%);
  --foreground: hsl(0 0% 95%);
  --surface: hsl(215 25% 10%);
  --surface-alt: hsl(215 20% 14%);
  --muted: hsl(215 10% 50%);
  --border: hsl(215 18% 18%);
  --teal: hsl(193 90% 55%);
  --teal-10: hsl(193 90% 55% / 0.10);
  --teal-20: hsl(193 90% 55% / 0.20);
  --teal-30: hsl(193 90% 55% / 0.30);
  --teal-40: hsl(193 90% 55% / 0.40);
  --teal-glow: hsl(193 90% 55% / 0.40);
  --warning: hsl(45 93% 47%);
  --warning-10: hsl(45 93% 47% / 0.10);
  --warning-20: hsl(45 93% 47% / 0.20);
  --warning-30: hsl(45 93% 47% / 0.30);
  --warning-40: hsl(45 93% 47% / 0.40);
  --warning-glow: hsl(45 93% 47% / 0.40);
  --white-04: hsl(0 0% 100% / 0.04);
  --white-06: hsl(0 0% 100% / 0.06);
  --white-10: hsl(0 0% 100% / 0.10);
  --white-20: hsl(0 0% 100% / 0.20);

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

* { box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  scroll-behavior: smooth;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; padding: 0; margin: 0; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.container-sm { max-width: 64rem; }

/* ============================ Header ============================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: hsl(215 28% 7% / 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--white-06);
}
.site-header .container {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand img { height: 28px; }
.nav-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.nav-links a { transition: color 0.15s; }
.nav-links a:hover { color: var(--foreground); }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
@media (min-width: 768px) {
  .nav-links { display: flex; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-sm);
  transition: opacity 0.15s, border-color 0.15s, background 0.15s;
  border: none;
}
.btn-teal {
  background: var(--teal);
  color: var(--background);
}
.btn-teal:hover { opacity: 0.9; }
.btn-warning {
  background: var(--warning);
  color: var(--background);
}
.btn-warning:hover { opacity: 0.9; }
.btn-ghost {
  display: none;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  color: var(--muted);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-sm);
}
.btn-ghost:hover {
  color: var(--foreground);
  border-color: var(--teal-30);
}
@media (min-width: 640px) {
  .btn-ghost { display: inline-flex; }
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}
.btn-outline {
  background: var(--surface);
  color: var(--foreground);
  border: 1px solid var(--white-10);
}
.btn-outline:hover { border-color: var(--white-20); }

/* ============================ Hero ============================ */
.hero {
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.4;
  pointer-events: none;
  background: radial-gradient(60% 50% at 50% 0%, hsl(193 90% 55% / 0.25), transparent 70%);
}
.hero-inner {
  padding: 8rem 1.25rem;
  text-align: center;
  max-width: 72rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .hero-inner { padding: 12rem 1.25rem; }
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: var(--teal-10);
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--teal-20);
}
.hero h1 {
  margin: 1.25rem 0 0;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.hero h1 .accent { color: var(--teal); }
@media (min-width: 768px) {
  .hero h1 { font-size: 3.75rem; }
}
.hero-lede {
  max-width: 42rem;
  margin: 1.25rem auto 0;
  color: var(--muted);
  font-size: 1rem;
}
@media (min-width: 768px) {
  .hero-lede { font-size: 1.125rem; }
}
.cta-row {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.cta-row > * { width: 100%; }
@media (min-width: 640px) {
  .cta-row { flex-direction: row; }
  .cta-row > * { width: auto; }
}
.hero-fine {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.75rem;
}

/* ============================ Section headings ============================ */
section.padded {
  padding: 4rem 0;
}
@media (min-width: 768px) {
  section.padded { padding: 6rem 0; }
}
.section-head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto;
}
.section-head h2 {
  margin: 0;
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
@media (min-width: 768px) {
  .section-head h2 { font-size: 2.25rem; }
}
.section-head p {
  margin-top: 0.75rem;
  color: var(--muted);
}

/* ============================ Features ============================ */
.features-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--white-06);
  background: var(--surface);
  padding: 1.5rem;
  transition: border-color 0.15s;
}
.feature-card:hover { border-color: var(--teal-30); }
.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  background: var(--teal-10);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-card h3 {
  margin: 1rem 0 0;
  font-weight: 600;
  font-size: 1rem;
}
.feature-card p {
  margin: 0.375rem 0 0;
  color: var(--muted);
  font-size: 0.875rem;
}
.badge-soon {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  background: var(--teal-10);
  color: var(--teal);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--teal-20);
}

/* ============================ Marketplace strip ============================ */
.market-strip {
  border-top: 1px solid var(--white-06);
  border-bottom: 1px solid var(--white-06);
  background: hsl(215 25% 10% / 0.4);
}
.market-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 4rem 0;
}
@media (min-width: 768px) {
  .market-grid { grid-template-columns: repeat(2, 1fr); padding: 5rem 0; }
}
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.market-strip h2 {
  margin: 0.5rem 0 0;
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
@media (min-width: 768px) {
  .market-strip h2 { font-size: 2.25rem; }
}
.market-strip p {
  margin-top: 0.75rem;
  color: var(--muted);
}
.market-list {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
}
.market-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.market-list svg { color: var(--teal); }
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.card-tile {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--white-06);
  background: var(--surface);
  aspect-ratio: 3 / 4;
}
.card-tile img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Marketplace: "Coming Soon" treatment ---- */
.eyebrow-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.badge-coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  background:
    linear-gradient(135deg,
      hsl(193 90% 55% / 0.18) 0%,
      hsl(193 90% 65% / 0.18) 100%);
  color: hsl(193 90% 78%);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid hsl(193 90% 55% / 0.4);
  box-shadow:
    0 0 0 1px hsl(193 90% 55% / 0.08) inset,
    0 4px 20px -8px hsl(193 90% 55% / 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.pulse-dot {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: hsl(193 90% 70%);
  box-shadow: 0 0 8px hsl(193 90% 70% / 0.8);
}
.pulse-dot::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 9999px;
  background: hsl(193 90% 70% / 0.5);
  animation: pulse-ring 1.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.pulse-dot-lg { width: 12px; height: 12px; }
.pulse-dot-lg::before { inset: -5px; }
@keyframes pulse-ring {
  0%   { transform: scale(0.9); opacity: 0.9; }
  70%  { transform: scale(2.0); opacity: 0;   }
  100% { transform: scale(2.0); opacity: 0;   }
}
@media (prefers-reduced-motion: reduce) {
  .pulse-dot::before { animation: none; }
}

/* Soft-dim the card preview tiles so the overlay reads as the focal point. */
.card-grid-wrap {
  position: relative;
  isolation: isolate;
}
.card-grid--soon {
  opacity: 0.55;
  filter: saturate(0.85) brightness(0.85);
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.market-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.market-overlay-card {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 2rem;
  border-radius: var(--radius);
  background: hsl(215 25% 8% / 0.72);
  border: 1px solid hsl(193 90% 55% / 0.35);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow:
    0 20px 60px -20px hsl(0 0% 0% / 0.6),
    0 0 0 1px hsl(193 90% 55% / 0.1) inset,
    0 0 40px -10px hsl(193 90% 55% / 0.4);
  text-align: center;
  max-width: 80%;
}
.market-overlay-title {
  margin: 0.25rem 0 0;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: hsl(0 0% 98%);
}
.market-overlay-sub {
  margin: 0;
  font-size: 0.825rem;
  color: var(--muted);
  line-height: 1.4;
}
.market-notify {
  margin-top: 1.25rem !important;
  font-size: 0.8rem !important;
  color: var(--muted) !important;
}
.market-notify a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid hsl(193 90% 55% / 0.3);
  transition: border-color 0.2s ease;
}
.market-notify a:hover { border-bottom-color: var(--teal); }

/* Nav-link "soon" indicator — discreet teal dot trailing the label. */
.nav-soon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.nav-soon-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: var(--teal);
  box-shadow: 0 0 6px hsl(193 90% 55% / 0.7);
}

/* ============================ Pricing ============================ */
.pricing {
  max-width: 64rem;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}
@media (min-width: 768px) {
  .pricing { padding: 6rem 1.25rem; }
}
.tiers {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
}
@media (min-width: 768px) {
  .tiers { grid-template-columns: repeat(2, 1fr); }
}
.tier {
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  border: 1px solid var(--white-06);
  background: var(--surface);
}
.tier.is-teal {
  /* default already */
}
.tier.is-gold.is-primary {
  border-color: var(--warning-40);
  background: hsl(45 93% 47% / 0.04);
  box-shadow: 0 0 60px -20px var(--warning-glow);
}
.tier.is-teal.is-primary {
  border-color: var(--teal-40);
  background: hsl(193 90% 55% / 0.04);
  box-shadow: 0 0 60px -20px var(--teal-glow);
}
.tier-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.tier-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.is-teal .tier-icon { background: var(--teal-10); color: var(--teal); }
.is-gold .tier-icon { background: var(--warning-10); color: var(--warning); }
.tier-title {
  min-width: 0;
  flex: 1 1 auto;
}
.tier-title h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.2;
}
.tier-title p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
}
.popular {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.is-teal .popular { color: var(--teal); }
.is-gold .popular { color: var(--warning); }

.tier-features {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
}
.tier-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.tier-features li.is-off { opacity: 0.4; }
.feat-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: var(--white-04);
  border: 1px solid var(--white-06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feat-label { flex: 1 1 auto; font-weight: 500; }
.is-teal .feat-check { color: var(--teal); }
.is-gold .feat-check { color: var(--warning); }

.price-box {
  margin-top: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--white-06);
  background: hsl(215 28% 7% / 0.4);
  padding: 1rem;
}
.badge {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.is-teal .badge { background: var(--teal-10); color: var(--teal); border-color: var(--teal-20); }
.is-gold .badge { background: var(--warning-10); color: var(--warning); border-color: var(--warning-20); }
.price-row {
  margin-top: 0.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
}
.price { font-size: 1.875rem; font-weight: 800; }
.price-period { font-size: 0.875rem; color: var(--muted); }
.price-fine {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.tier-cta {
  margin-top: 1.25rem;
  display: block;
  text-align: center;
  padding: 0.625rem 0;
  border-radius: 8px;
  font-weight: 600;
}
.is-teal .tier-cta.is-primary {
  background: var(--teal);
  color: var(--background);
}
.is-gold .tier-cta.is-primary {
  background: var(--warning);
  color: var(--background);
}
.tier-cta.is-outline {
  border: 1px solid;
}
.is-teal .tier-cta.is-outline { border-color: var(--teal-30); color: var(--foreground); }
.is-gold .tier-cta.is-outline { border-color: var(--warning-30); color: var(--foreground); }
.is-teal .tier-cta.is-outline:hover { border-color: hsl(193 90% 55% / 0.6); }
.is-gold .tier-cta.is-outline:hover { border-color: hsl(45 93% 47% / 0.6); }
.tier-cta:hover { opacity: 0.9; }

/* ============================ Download CTA ============================ */
.download {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem 6rem;
}
.download-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--white-06);
  background: linear-gradient(135deg, hsl(193 90% 55% / 0.10), var(--surface), var(--surface));
  padding: 2rem;
  text-align: center;
}
@media (min-width: 768px) {
  .download-card { padding: 3rem; }
}
.download-card h2 {
  margin: 1rem 0 0;
  font-size: 1.5rem;
  font-weight: 800;
}
@media (min-width: 768px) {
  .download-card h2 { font-size: 1.875rem; }
}
.download-card p {
  margin: 0.5rem auto 0;
  max-width: 36rem;
  color: var(--muted);
}
.download-card .icon-lg {
  color: var(--teal);
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto;
}

/* ============================ Footer ============================ */
.site-footer {
  border-top: 1px solid var(--white-06);
}
.site-footer .container {
  padding: 2rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--muted);
}
@media (min-width: 768px) {
  .site-footer .container { flex-direction: row; }
}
.brand-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand-row img { height: 20px; }
.footer-links {
  display: flex;
  gap: 1.25rem;
}
.footer-links a:hover { color: var(--foreground); }

/* ============================ Icon sizing helpers ============================ */
.icon-3 { width: 0.75rem; height: 0.75rem; }
.icon-4 { width: 1rem; height: 1rem; }
.icon-5 { width: 1.25rem; height: 1.25rem; }
