/* Cyberpunk hacker landing styling (single stylesheet, mobile-first) */

/* Light reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html, body {
  height: 100%;
}
html {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial;
}
body {
  margin: 0;
  padding: 0;
  color: #eafff0;
  /* turquoise waves background with lime accents for a hacker vibe */
  background:
    radial-gradient(circle at 15% 100%, rgba(0, 255, 210, 0.25) 0 40%, rgba(0,0,0,0) 40%),
    radial-gradient(circle at 85% 100%, rgba(0, 255, 170, 0.25) 0 40%, rgba(0,0,0,0) 40%),
    linear-gradient(135deg, #042a2a 0%, #041f1f 40%, #032626 100%);
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  /* subtle neon glow around the page */
  text-shadow: 0 0 6px rgba(0, 255, 150, 0.25);
}

/* Layout wrapper (hero-like) */
main {
  width: 100%;
  max-width: 1100px;
  display: block;
  margin: 0 auto;
  padding: 0 0.5rem;
}

/* Frosted glass "card" around the image (turquoise glow, cyberpunk vibe) */
.image-frame {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.15); /* frosted tint */
  border: 1px solid rgba(180, 255, 210, 0.45);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.35),
    0 0 40px rgba(0, 255, 170, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow: hidden;
}

/* The image inside the frosted frame */
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.15);
  max-width: 100%;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* Subtle neon accent around the image on larger screens */
@media (min-width: 700px) {
  .image-frame {
    padding: 1.25rem;
    border-radius: 22px;
  }
  .image-frame img {
    border-radius: 16px;
  }
}

/* Product ad section styled as a glass panel with a neon lime CTA */
.product-ad {
  width: min(100%, 900px);
  margin: 2rem auto 0;
  padding: 1rem 1rem;
  border-radius: 16px;
  background: rgba(3, 15, 15, 0.4);
  border: 1px solid rgba(0, 255, 230, 0.5);
  color: #eafff0;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.25);
}
.product-ad h3 {
  margin: 0 0 0.5rem;
  padding: 0;
  font-size: 1.05rem;
  color: #caffb7;
  text-shadow: 0 0 6px rgba(0, 255, 150, 0.25);
}
.product-ad a {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  /* neon lime CTA button */
  background: linear-gradient(135deg, #2cffb5 0%, #16d47b 100%);
  color: #052e1b;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25), 0 0 12px rgba(0,255,150,0.4);
}
.product-ad a:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}
.product-ad a:focus-visible {
  outline: 3px solid #b3ff00;
  outline-offset: 2px;
}
.product-ad p {
  margin: 0;
  font-size: 0.95rem;
  color: #eafff0;
  opacity: 0.95;
}

/* Footer with contrast and subtle glow */
footer {
  width: 100%;
  text-align: center;
  padding: 1.5rem 0 0.75rem;
  color: rgba(234, 255, 238, 0.95);
  background: linear-gradient(to bottom, rgba(2, 6, 6, 0.25), rgba(2, 6, 6, 0.55));
  border-top: 1px solid rgba(0, 255, 230, 0.4);
}
footer p {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: rgba(230, 255, 234, 0.95);
}
footer .product-ad {
  margin-top: 0.75rem;
}

/* Focus visibility for any link/button on keyboard navigation */
a:focus-visible,
button:focus-visible {
  outline: 3px solid #9eff3d;
  outline-offset: 2px;
  border: none;
  border-radius: 6px;
}

/* Small screens: ensure content remains legible and centered */
@media (max-width: 520px) {
  .product-ad h3 { font-size: 1rem; }
  .product-ad a { padding: 10px 16px; }
  footer { padding: 1.25rem 0 0.75rem; }
}