/* Reset & base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #021217;
  --teal: #13f0e4;
  --cyan: #00e6ff;
  --text: #eaffff;
  --muted: #b7f2ff;
  --glass: rgba(12, 25, 34, 0.6);
  --border: rgba(0, 210, 230, 0.4);
  --shadow: 0 8px 28px rgba(0,0,0,.25);
}

html, body { height: 100%; }

/* Teal galaxy starscape background (mobile-first, responsive) */
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Inter", Arial;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.4;
  min-height: 100vh;
  overflow-x: hidden;
  /* subtle cyan/teal speckled stars */
  background-image:
    radial-gradient(circle at 2px 2px, rgba(0,255,255,.9) 0 1px, transparent 1px),
    radial-gradient(circle at 12px 32px, rgba(0,255,200,.7) 0 1px, transparent 1px),
    radial-gradient(circle at 40px 14px, rgba(0,255,255,.6) 0 1px, transparent 1px),
    radial-gradient(circle at 100px 60px, rgba(0,180,255,.5) 0 1px, transparent 1px);
  background-size: 120px 60px, 140px 80px, 160px 100px, 180px 120px;
  background-attachment: fixed;
  /* vignette to edge (subtle) */
  mask-image: radial-gradient(circle at center, black 60%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at center, black 60%, transparent 70%);
}

/* Frosted glass glow over the hero image frame */
.image-frame {
  position: relative;
  width: min(92vw, 980px);
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  margin: 2rem auto;
  border: 1px solid rgba(0, 230, 230, 0.4);
  background: rgba(0,0,0,0.15);
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}

/* Frosted glass layer over the image to create hacker-cyberpunk feel */
.image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 26, 28, 0.25);
  backdrop-filter: blur(6px) saturate(1.2);
  -webkit-backdrop-filter: blur(6px) saturate(1.2);
  border: 1px solid rgba(0, 230, 230, 0.25);
  z-index: 1;
  pointer-events: none;
  box-shadow: inset 0 0 40px rgba(0, 255, 255, 0.15);
}

@media (min-width: 768px) {
  .image-frame {
    width: min(84vw, 1100px);
    margin: 3rem auto;
    border-radius: 18px;
  }
}

/* Footer with frosted glass feel & CTA styling */
footer {
  padding: 1.75rem 1rem;
  text-align: center;
  background: rgba(4, 12, 16, 0.55);
  border-top: 1px solid rgba(0, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--muted);
}

/* Product ad block inside footer - CTA button style */
.product-ad {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: .75rem;
  border-radius: 12px;
  background: rgba(5, 14, 20, 0.5);
  border: 1px solid rgba(0, 255, 255, 0.25);
  margin: 0.75rem auto 0;
  max-width: 720px;
  box-shadow: inset 0 0 20px rgba(0,0,0,.15);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.product-ad h3 {
  font-size: .95rem;
  font-weight: 700;
  color: #d6feff;
  letter-spacing: .4px;
}
.product-ad a { text-decoration: none; color: inherit; }
.product-ad a p {
  margin: 0;
  padding: .55rem .95rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .8rem;
  line-height: 1;
  color: #00272b;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.95), rgba(0, 198, 204, 0.95));
  text-transform: uppercase;
  border: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}
.product-ad a p:hover { filter: brightness(1.05); transform: translateY(-1px); }

footer p { margin-top: .75rem; font-size: .8rem; color: #a7f0ff; }

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
area:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}