/* Cyberpunk, frosted-glass landing — single stylesheet (mobile-first) */

/* Light reset */
* { box-sizing: border-box; }
html, body { height: 100%; }
html, body { margin: 0; padding: 0; }

/* Theme & background: silver circuit board with purple accents */
:root {
  --bg: #0b0f14;
  --surface: rgba(255,255,255,.08);
  --surface-strong: rgba(255,255,255,.18);
  --text: #e9e9ff;
  --muted: #cbd0ff;
  --purple: #7c3aed;
  --purple-dark: #5b21b6;
  --glow: 0 6px 20px rgba(124,58,237,.6);
}

body {
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 20% 0, rgba(110, 110, 140, .15) 0, transparent 40%),
    linear-gradient(#0b0f14, #0b0f14);
  background-attachment: fixed;
  line-height: 1.4;
  overflow-x: hidden;
}

/* Subtle silver circuit grid overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(#8b8b8b 1px, transparent 1px),
    linear-gradient(90deg, #8b8b8b 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .15;
  mix-blend-mode: overlay;
}

/* Layout */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 6vmin 4vmin 2rem;
  min-height: 60vh;
  position: relative;
  z-index: 1;
  text-align: center;
}

/* Frosted glass card around the hero/image */
.image-frame {
  width: min(92vw, 900px);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 22px;
  padding: 1.25rem;
  backdrop-filter: blur(6px) saturate(1.15);
  -webkit-backdrop-filter: blur(6px) saturate(1.15);
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
  transition: transform .2s ease;
}
.image-frame:focus-within { transform: translateY(-2px); }

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  object-fit: cover;
  /* subtle neon edge */
  box-shadow: inset 0 0 0 1px rgba(124,58,237,.25);
}

/* Footer & product ad (CTA) */
footer {
  width: 100%;
  margin-top: 2rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(to top, rgba(8,8,14,.95), rgba(8,8,14,.6));
  border-top: 1px solid rgba(255,255,255,.15);
  position: relative;
  z-index: 1;
}

.product-ad {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  padding: .75rem 1rem;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  width: max-content;
}

.product-ad h3 {
  font-size: 1rem;
  margin: 0 0 .25rem;
  color: #e9e7ff;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.product-ad a {
  text-decoration: none;
  display: inline-block;
  padding: .65rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #7c3aed, #9b5cff);
  color: #fff;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 6px 14px rgba(124,58,237,.6);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(124,58,237,.7);
}
.product-ad a:focus-visible {
  outline: 3px solid #b999ff;
  outline-offset: 2px;
}
footer p {
  text-align: center;
  margin: 0;
  font-size: .9rem;
  opacity: .8;
  color: #cbd0ff;
}

/* Accessibility helpers for keyboard focus on links/buttons */
a:focus-visible,
button:focus-visible {
  outline: 3px solid #b1a0ff;
  outline-offset: 2px;
}

/* Responsive tweaks */
@media (min-width: 768px) {
  main { padding: 6vmin 6vmin 2rem; }
  .image-frame { padding: 1.75rem; border-radius: 26px; }
  footer { padding: 2rem 6rem 2rem; }
  .product-ad { flex-direction: row; align-items: center; gap: 1rem; }
}
