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

/* Light reset and helpers */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
:focus-visible { outline: 3px solid #00e5ff; outline-offset: 2px; border-radius: 4px; }

:root {
  --bg: #0a0f22;
  --indigo: #4b5ad6;
  --indigo-dark: #2a2f6a;
  --cyan: #00e5ff;
  --cyan-soft: rgba(0, 229, 255, 0.25);
  --glass: rgba(255, 255, 255, 0.08);
  --text: #e8f0ff;
  --muted: #a8b6ff;
  --shadow: 0 8px 28px rgba(0,0,0,.5);
}

html, body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: var(--text);
  background: var(--bg);
  /* Cyan radial gradient background layering for hacker vibe */
  background-image:
    radial-gradient(circle at 15% 10%, rgba(0, 229, 255, .28) 0 14%, rgba(0,0,0,0) 16%),
    radial-gradient(circle at 85% 0%, rgba(0, 229, 255, .18) 0 28%, rgba(0,0,0,0) 34%),
    radial-gradient(circle at 50% 100%, rgba(0, 229, 255, .10) 0 32%, rgba(0,0,0,0) 40%);
  background-blend-mode: screen, overlay, normal;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* Layout */
main {
  flex: 1 1 auto;
  display: grid;
  place-items: center;
  padding: 1.75rem 1rem;
}

.image-frame {
  width: min(860px, 94vw);
  aspect-ratio: 21 / 9;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, rgba(6,8,28,.95), rgba(14,20,40,.95));
  border: 1px solid rgba(150, 170, 255, 0.25);
  box-shadow: var(--shadow);
  backdrop-filter: saturate(1.05);
  -webkit-backdrop-filter: blur(2px);
}
.image-frame img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  filter: saturate(1.05);
}

/* Simple frosted-glass feel for potential overlays (subtle) */
.image-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom right, rgba(255,255,255,.08), rgba(255,255,255,.02));
  mix-blend-mode: screen;
  pointer-events: none;
  border-radius: 22px;
  opacity: 0.6;
}

/* Footer / call-to-action area */
footer {
  padding: 1rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.15));
  border-top: 1px solid rgba(255,255,255,.08);
  color: var(--text);
}

/* Frosted glass card for the ad/CTA */
.product-ad {
  display: flex; align-items: center; gap: .75rem;
  padding: .6rem .9rem;
  border-radius: 12px;
  background: rgba(11, 14, 36, 0.60);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(100, 120, 255, 0.25);
}
.product-ad h3 {
  margin: 0; font-size: .95rem; color: #a8f6ff;
  letter-spacing: .2px;
}
.product-ad a {
  text-decoration: none;
  display: inline-block;
  padding: .5rem .75rem;
  border-radius: 8px;
  /* Cyan button look */
  background: linear-gradient(135deg, #0ff0f0 0%, #00d6ff 100%);
  color: #021a24;
  font-weight: 700;
  font-size: .88rem;
  box-shadow: 0 2px 6px rgba(0, 232, 255, .5);
}
.product-ad a p { margin: 0; }

/* Closed caption / small print in footer */
footer p { margin: 0; font-size: .85rem; color: #a9baff; }

/* Focus styles for accessibility on links/buttons inside footer */
.product-ad a:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 8px;
}

/* Responsive tweaks (mobile-first) */
@media (min-width: 640px) {
  main { padding: 3.5rem 2rem; }
  .image-frame { border-radius: 28px; }
  .product-ad { padding: .8rem 1rem; }
}
@media (min-width: 1024px) {
  main { padding: 4rem 4rem; }
  .image-frame { width: min(980px, 85vw); aspect-ratio: 16 / 9; }
  footer { justify-content: space-between; }
}