/* Hacker-y, frosted-glass landing styling with white-noise backdrop */

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

/* Theme tokens */
:root {
  --bg: #0b0f14;
  --fg: #e9f1ff;
  --muted: #a8b7e6;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-strong: rgba(255, 255, 255, 0.16);
  --frame: rgba(0, 0, 0, 0.25);
  --cyan: #3af0ff;
  --shadow: 0 10px 40px rgba(0,0,0,.45);
  --ring: 0 0 0 3px rgba(58,240,255,.25);
}

/* White-noise-esque background and base typography */
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: var(--fg);
  background-color: var(--bg);
  line-height: 1.5;
  /* subtle noise texture using layered gradients (lightweight) */
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.08) 1px, transparent 1px),
    radial-gradient(circle at 3px 3px, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 4px 4px, 4px 4px;
  background-position: 0 0, 1px 1px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout: mobile-first, centered hero */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 14px;
  min-height: calc(100vh - 120px);
  width: 100%;
}

/* Frosted glass frame around the hero image */
.image-frame {
  width: 100%;
  max-width: 860px;
  padding: 14px;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  /* subtle glow for cyber vibe */
  outline: none;
}
.image-frame:focus-within { box-shadow: 0 0 0 2px rgba(58,240,255,.55), var(--shadow); }

/* Image styling */
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.45);
  background: #111;
}

/* Footer with a prominent CTA-like section */
footer {
  width: 100%;
  max-width: 860px;
  padding: 20px 14px 40px;
  text-align: center;
  margin: 0 auto;
}
.product-ad {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  margin: 14px auto 6px;
}
.product-ad h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #eaffff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.product-ad a { text-decoration: none; display: inline-block; }
.product-ad a p {
  margin: 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(0,0,0,.25);
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  font-weight: 600;
}
footer p { color: #9fb3ff; margin: 6px 0 0; }

/* Focus accessibility: visible focus ring for keyboard nav */
:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks: tablet and up provide a bit more breathing room */
@media (min-width: 768px) {
  main { padding: 48px 24px; min-height: 60vh; }
  .image-frame { padding: 22px; }
  .product-ad { flex-direction: row; align-items: center; gap: 12px; }
  .product-ad h3 { font-size: 1.05rem; }
  .product-ad a p { padding: 12px 16px; }
}
@media (min-width: 1024px) {
  .image-frame { padding: 26px; max-width: 900px; }
  footer { padding: 24px 0 40px; }
  .product-ad { padding: 14px 20px; }
  .product-ad a p { padding: 12px 18px; }
}