/* Reset and base */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  color: #e8f0ff;
  background-color: #140b22;
  /* purple striped pattern + dark techno backdrop */
  background-image:
    repeating-linear-gradient(135deg,
      rgba(166, 255, 0, 0.08) 0px,
      rgba(166, 255, 0, 0.08) 12px,
      rgba(0, 0, 0, 0) 12px,
      rgba(0, 0, 0, 0) 24px),
    linear-gradient(to bottom, #130a1e 0%, #0b0712 100%);
  background-attachment: fixed;
  line-height: 1.5;
}

/* Accent tokens for hacker/cyberpunk vibe */
:root {
  --lime: #a6ff00;
  --lime-dark: #89ff00;
  --purple: #8a5cff;
  --panel: rgba(255, 255, 255, 0.14);
  --text: #eaf3ff;
}

/* Focus accessibility for links/buttons */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
  border-radius: 4px;
}
a, button {
  text-decoration: none;
  color: inherit;
}
img { max-width: 100%; height: auto; display: block; }

/* Layout: mobile-first, single column hero framing the image */
main {
  display: grid;
  place-items: center;
  padding: 1.5rem 1rem;
  min-height: calc(100vh - 140px);
}

.image-frame {
  width: min(92vw, 860px);
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.15); /* frosted glass feel */
  border: 1px solid rgba(255, 255, 255, 0.45);
  overflow: hidden;
  padding: 0;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.6);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}

/* CTA helper (if used in hero) */
.btn {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 0;
  font-weight: 800;
  color: #04130f;
  background: linear-gradient(135deg, #7b2cff 0%, #00ff88 100%);
  box-shadow: 0 6px 14px rgba(0, 255, 136, 0.55);
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }

/* Footer with a subtle hacker-ad panel */
footer {
  margin-top: 1.75rem;
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  color: var(--text);
}

.product-ad {
  display: grid;
  gap: 0.4rem;
  justify-items: center;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  text-align: center;
  width: min(90%, 560px);
}
.product-ad h3 { 
  font-size: 1.05rem;
  margin: 0;
  color: #f3f7ff;
  text-shadow: 0 0 6px rgba(166,255,0,0.6);
}
.product-ad p {
  margin: 0;
  font-weight: 800;
  color: var(--lime);
}
.product-ad a {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  color: #041010;
  background: #d5ff66;
  font-weight: 800;
}
.product-ad a:hover { filter: saturate(120%); }

@media (min-width: 768px) {
  main { padding: 2rem; min-height: calc(100vh - 160px); }
  .image-frame { width: min(60vw, 860px); }
}