/* Hacker / cyberpunk landing styling (mobile-first, single stylesheet) */

/* Reset & root variables */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --bg-start: #0a0a0a;
  --bg-mid:   #141414;
  --bg-end:   #0b0b0b;
  --glass: rgba(12,12,12,.55);
  --glass-border: rgba(255,255,255,.18);
  --text: #e9f5ff;
  --muted: #a6b4c2;
  --accent: #00ffd5;
  --glow: 0 0 12px rgba(0,255,212,.6);
  --radius: 14px;
}

/* Light reset for page background (black sunset gradient) */
html, body { height: 100%; }
body {
  margin: 0;
  padding: 0;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: radial-gradient(circle at 70% -10%, rgba(255,120,0,.15) 0 40%, transparent 40%),
              linear-gradient(135deg, var(--bg-start) 0%, var(--bg-mid) 60%, var(--bg-end) 100%);
  background-color: #000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout base (mobile-first) */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem 1.5rem;
  width: 100%;
}
.image-frame {
  width: min(720px, 92vw);
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.25);
  backdrop-filter: saturate(160%) blur(6px);
  -webkit-backdrop-filter: saturate(160%) blur(6px);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.08),
    0 20px 40px rgba(0,0,0,.6);
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* slight parallax-like dim on load for hacker vibe */
  filter: saturate(110%);
}
footer {
  padding: 1.5rem 1rem;
  width: 100%;
  display: grid;
  justify-items: center;
  gap: .75rem;
  text-align: center;
  color: #cbd5e1;
  background: rgba(0,0,0,.28);
  border-top: 1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.product-ad {
  display: inline-block;
  padding: .65rem;
  background: rgba(8,8,8,.65);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  backdrop-filter: blur(8px) saturate(180%);
  -webkit-backdrop-filter: blur(8px) saturate(180%);
  text-align: center;
  box-shadow: 0 6px 24px rgba(0,0,0,.5);
}
.product-ad h3 {
  margin: 0 0 .35rem;
  font-size: .95rem;
  font-weight: 600;
  color: #eaffff;
  text-shadow: 0 0 6px rgba(0,255,212,.7);
}
.product-ad a { text-decoration: none; display: inline-block; }
.product-ad a p {
  margin: 0;
  padding: .55rem .95rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0,0,0,.6), rgba(20,20,20,.92));
  color: #eaffff;
  border: 1px solid rgba(0,255,212,.6);
  box-shadow: 0 0 12px rgba(0,255,212,.6);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover p { transform: translateY(-1px); box-shadow: 0 0 18px rgba(0,255,212,.9); }

/* Focus styles for accessibility */
.product-ad a:focus-visible, .product-ad p:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
footer p { margin: .75rem 0 0; font-size: .85rem; color: var(--muted); }

/* Typography tweaks for hero clarity on small screens */
@media (min-width: 640px) {
  main { padding-top: 3rem; padding-bottom: 1.5rem; }
}
@media (min-width: 900px) {
  .image-frame { width: min(980px, 86vw); }
  .product-ad { margin-top: .75rem; }
}
