/* Frosted cyberpunk landing styles (green waves, white UI, hacker vibe) */
/* Light reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  color: #eafff7;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  background-color: #0b0f0b;
  /* green waves background (layered SVG data-URIs) */
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 600'><path fill='%2300b36b' fill-opacity='0.18' d='M0,420 C180,360 360,480 540,420 C720,360 900,480 900,480 L900,600 L0,600 Z'/></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 600'><path fill='%2300a050' fill-opacity='0.28' d='M0,380 C180,340 360,420 540,380 C720,340 900,320 900,360 L900,600 L0,600 Z'/></svg>");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout reset to mobile-first defaults */
main { display: grid; place-items: center; padding: 2rem 1rem; min-height: calc(100vh - 120px); }

/* Frosted glass hero frame for the image */
.image-frame {
  width: min(92vw, 980px);
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: saturate(120%) blur(8px);
  -webkit-backdrop-filter: saturate(120%) blur(8px);
  box-shadow: 0 14px 40px rgba(0,0,0,.5);
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  filter: saturate(1.05);
}

/* Footer product ad (glassy card) */
footer { width: 100%; padding: 1.5rem 1rem 2rem; }
.product-ad {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 14px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  max-width: 640px;
  margin: 1.25rem auto;
  color: #eafff7;
  text-align: left;
  box-shadow: 0 6px 22px rgba(0,0,0,0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.product-ad h3 {
  font-family: ui-monospace, SFMono-Regular, "Roboto Mono", monospace;
  font-size: 1.05rem;
  margin: 0 0 .5rem 0;
  color: #eafff7;
}
.product-ad a { text-decoration: none; }
.product-ad a p {
  /* CTA button style inside link */
  display: inline-block;
  margin: 0;
  padding: .75rem 1.05rem;
  border-radius: 8px;
  font-weight: 700;
  color: #041d0c;
  background: linear-gradient(135deg, #33ff80 0%, #0bd55a 100%);
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
  transition: transform .15s ease;
}
.product-ad a p:hover { transform: translateY(-1px); }

/* Focus styles for accessibility */
:focus-visible { outline: 3px solid #00ff88; outline-offset: 2px; border-radius: 6px; }
a:focus-visible, button:focus-visible { outline: 3px solid #00ff88; outline-offset: 2px; }

/* Responsive tweaks (mobile-first → scale up gracefully) */
@media (min-width: 600px) {
  main { padding: 3rem 2rem; }
  .image-frame { width: min(860px, 78vw); }
}
@media (min-width: 1024px) {
  .image-frame { width: min(980px, 65vw); }
  .product-ad { margin: 1.5rem auto; }
  .product-ad h3 { font-size: 1.15rem; }
}