/* Frosted-glass cyberpunk landing: mobile-first, single stylesheet, accessible focus, cyan circuit background, maroon accents */

/* Reset & root variables */
:root{
  --cyan: #00e5ff;
  --cyan-dark: #01a3bd;
  --maroon: #8b1e3f;
  --bg: #041018;
  --card: rgba(12,8,20,0.6);
  --text: #e9f7ff;
  --muted: #b6d0e0;
  --ring: rgba(0, 229, 255, 0.9);
}

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

html, body { height: 100%; }
html, body { margin: 0; padding: 0; }

/* Cyan circuit-board background + hacker vibe */
body {
  color: var(--text);
  background-color: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* layered cyan grid + circuit vibes */
  background-image:
    /* horizontal cyan lines */
    repeating-linear-gradient(0deg, rgba(0,230,255,.22) 0 1px, transparent 1px 22px),
    /* vertical cyan lines */
    repeating-linear-gradient(90deg, rgba(0,230,255,.22) 0 1px, transparent 1px 22px),
    /* subtle spread patterns for depth */
    radial-gradient(circle at 25% 25%, rgba(0,230,255,.12), transparent 60px),
    radial-gradient(circle at 75% 60%, rgba(0,230,255,.12), transparent 60px);
  background-blend-mode: overlay;
  background-size: auto;
  background-position: 0 0, 0 0, 0 0, 0 0;
  min-height: 100%;
}

/* Layout: mobile-first, clean hero area */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem 0;
}

/* Frosted glass card around the image (hero) */
.image-frame {
  width: min(720px, 92vw);
  background: rgba(8, 6, 12, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
}

.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  filter: saturate(1.05);
}

/* Footer area with a prominent CTA */
footer {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  color: #d9e8f7;
  font-size: 0.95rem;
  text-align: center;
  background: linear-gradient(to top, rgba(0,0,0,0.0), rgba(0,0,0,0.25));
}

/* Featured product card styled as a hacker CTA */
.product-ad {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: rgba(139,30,63,0.95); /* maroon base */
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 6px 18px rgba(0,0,0,.4);
  text-align: left;
}

.product-ad h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .2px;
}

.product-ad a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .6rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(0,230,255,1) 0%, rgba(0,180,255,0.95) 100%);
  color: #001018;
  font-weight: 800;
  border: 1px solid rgba(255,255,255,.5);
  transition: transform .15s ease, box-shadow .15s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,.4);
}
.product-ad a:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
}
.product-ad p {
  margin: 0;
  padding: 0;
  color: #fff;
  line-height: 1;
}
footer p { margin: 0; opacity: .9; }

/* Accessibility: visible focus for links and potential future buttons */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 4px;
  border-radius: 6px;
}

/* Small-screen tweaks */
@media (min-width: 768px) {
  main { padding-top: 3rem; padding-bottom: 2rem; }
  .image-frame { padding: 1.25rem; }
  .product-ad { padding: 0.8rem 1.4rem; }
  .product-ad h3 { font-size: 1rem; }
}