/* CSS: Hacker/Cyberpunk landing page styling (mobile-first, single stylesheet) */

:root{
  --bg: #0b1020;
  --bg-alt: #0a1220;
  --card: rgba(20,26,46,.68);
  --card-border: rgba(255,255,255,.15);
  --text: #e6f0ff;
  --muted: #a6b4cc;
  --accent: #33e2ff;
  --accent-2: #7af;
  --shadow: 0 12px 40px rgba(0,0,0,.5);
  --radius: 14px;
}

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

html, body { margin: 0; padding: 0; height: 100%; }

body {
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  background: var(--bg);
  line-height: 1.4;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  isolation: isolate;
}

/* Abstract gray blur background (mobile-first) */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
body::before {
  /* layered soft glow/blur to evoke gray abstract backdrop */
  background:
    radial-gradient(circle at 20% 10%, rgba(80,120,200,.25), transparent 40%),
    radial-gradient(circle at 75% 40%, rgba(120,140,210,.15), transparent 40%),
    linear-gradient(135deg, rgba(8,12,28,.92), rgba(15,22,40,.92) 60%);
  filter: saturate(0.9);
  mix-blend-mode: normal;
  opacity: .95;
}
body::after {
  /* subtle grid / scanline vibe for cyberpunk */
  background: linear-gradient(to bottom, rgba(255,255,255,.04) 0 1px, transparent 1px 100%);
  background-size: 100% 24px;
  opacity: .6;
  transform: translateZ(0);
  height: 100%;
  width: 100%;
  content: "";
  top: 0;
  left: 0;
}

/* Layout */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 6rem);
}

.image-frame {
  width: min(92%, 700px);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(12,18,40,.72);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Responsive image */
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: auto;
  /* subtle hint of neon glow on the image edges when it sits on dark bg */
  filter: saturate(0.95);
}

/* Footer with product ad (CTA emphasis) */
footer {
  width: 100%;
  display: grid;
  justify-items: center;
  padding: 1.5rem 1rem;
  gap: 0.75rem;
}

.product-ad {
  width: min(92%, 680px);
  padding: 1rem;
  border-radius: 16px;
  background: rgba(15,22,40,.68);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
}

.product-ad h3 {
  margin: 0 0 .4rem 0;
  font-size: 1.05rem;
  color: #eaf4ff;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.product-ad p {
  margin: 0;
  padding: .25rem 0;
  color: #dbeaff;
  font-weight: 500;
}

.product-ad a {
  display: block;
  text-decoration: none;
  color: #eaffff;
  padding: .75rem 1rem;
  border-radius: 999px;
  text-align: center;
  margin-top: .6rem;
  border: 1px solid rgba(80,230,255,.7);
  background: linear-gradient(135deg, rgba(0,210,255,.22), rgba(0,100,255,.22));
}
.product-ad a:hover {
  background: linear-gradient(135deg, rgba(0,210,255,.32), rgba(0,100,255,.32));
}
.product-ad a:focus-visible {
  outline: 3px solid #6ae0ff;
  outline-offset: 2px;
}

footer p {
  text-align: center;
  color: #96a6ba;
  font-size: .9rem;
  margin: .25rem 0 0;
}

/* Accessibility: ensure focus visibility for interactive elements */
:focus-visible {
  outline: 3px solid #6ae0ff;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Small helpers for readability and crispness on mobile */
@media (max-width: 420px){
  .product-ad { padding: .9rem; }
  .product-ad h3 { font-size: 1rem; }
}
