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

/* Light reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; padding: 0; font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue"; color: #e9e0f7; background-color: #0b0b12; }

/* Maroon dot pattern background (subtle glow) */
body {
  background-image:
    radial-gradient(circle at 1px 1px, rgba(128,0,0,.65) 1px, transparent 1.2px),
    radial-gradient(circle at 6px 6px, rgba(120,0,0,.22) 1px, transparent 1.2px),
    radial-gradient(circle, rgba(255,255,255,.04) 2px, transparent 2px);
  background-size: 12px 12px, 24px 24px, 100% 100%;
  background-position: 0 0, 7px 7px, 0 0;
  background-color: #0b0b12;
  color: #e9e0f7;
}

/* Layout containers */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: 60vh;
}

.image-frame {
  width: 100%;
  max-width: 980px;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 18px 50px rgba(0,0,0,.6);
  display: grid;
  place-items: center;
  transition: transform .4s ease;
  backdrop-filter: saturate(1.05);
  -webkit-backdrop-filter: saturate(1.05);
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
  transform: scale(1.0);
}
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.0) 40%, rgba(0,0,0,.25) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
  /* Frosted glass hint overlay */
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.image-frame:hover { transform: scale(1.01); }

/* Frosted glass panels for future content (overlay hint) */
.frost-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(255,255,255,.25), rgba(255,255,255,.08) 60%, rgba(255,255,255,0));
  border-top: 1px solid rgba(255,255,255,.25);
  color: #fbeaff;
  font-weight: 600;
  letter-spacing: .3px;
  display: none; /* not shown by default; reserved for future hero text */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.image-frame.has-overlay .frost-panel { display: block; }

/* Footer / product ad (prominent CTA) */
footer {
  width: 100%;
  padding: 1.75rem 1rem 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  background: rgba(8, 8, 16, .55);
  border-top: 1px solid rgba(255,255,255,.08);
}
.product-ad {
  width: min(92%, 720px);
  padding: 1rem;
  text-align: center;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.product-ad h3 {
  margin: 0 0 .6rem;
  font-size: 1rem;
  letter-spacing: .4px;
  color: #ffd9e3;
}
.product-ad a {
  display: inline-block;
  margin-top: .2rem;
  padding: .9rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #7b1fa2 0%, #4b0db5 60%, #2a0a6e 100%);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 6px 16px rgba(123, 31, 162, .6);
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(123,31,162,.85);
}
.product-ad a:focus-visible {
  outline: 3px solid #ffd166;
  outline-offset: 2px;
}
footer p {
  color: #c9c0d9;
  font-size: .92rem;
  opacity: .9;
}

/* Accessibility: focus styles for interactive elements beyond the CTA */
a, button {
  color: inherit;
  text-decoration: none;
}
:focus-visible {
  outline: 3px solid #ffd166;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks (mobile-first) */
@media (min-width: 640px) {
  main { padding: 3rem 1.5rem; }
  .image-frame { border-radius: 26px; aspect-ratio: 16 / 9; max-width: 920px; }
  footer { padding: 2rem 1rem 2.5rem; }
}
@media (min-width: 900px) {
  .image-frame { border-radius: 30px; }
  .product-ad { padding: 1.25rem 1.5rem; }
}
