/* CSS for turquoise polka-dot hacker-tone landing (mobile-first, single stylesheet) */

/* Reset and root tokens */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --bg: #0b0b0b;
  --surface: rgba(255,255,255,0.08);
  --text: #eaf7ff;
  --muted: #a9e6ff;
  --cyan: #2ffbd5;
  --cyan-deep: #15e2c7;
  --card: rgba(0,0,0,0.28);
  --border: rgba(255,255,255,0.25);
}
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial;
  color: var(--text);
  background-color: var(--bg);
  /* turquoise polka dots background */
  background-image:
    radial-gradient(circle at 10px 10px, rgba(47,251,213,.65) 2px, transparent 3px),
    radial-gradient(circle at 60px 60px, rgba(47,251,213,.35) 2px, transparent 3px);
  background-size: 60px 60px;
  background-position: 0 0, 0 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout - mobile-first hero */
main {
  display: grid;
  place-items: center;
  padding: 1.5rem;
  min-height: 60vh;
}

/* Frosted glass container around the image (hero frame) */
.image-frame {
  width: 100%;
  max-width: 720px;
  padding: 1.5rem;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow:
    0 8px 26px rgba(0,0,0,.45),
    0 0 0 1px rgba(255,255,255,.04) inset;
}

/* Hero image styling */
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  image-rendering: auto;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}

/* Footer with a prominent CTA "card" */
footer {
  padding: 1.75rem 1rem;
  display: grid;
  gap: 0.75rem;
  align-items: start;
  justify-items: start;
  color: #e9fbff;
  /* slight glassy footer look */
  background: rgba(0,0,0,.25);
  border-top: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.product-ad {
  background: var(--card);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 12px;
  padding: .75rem 1rem;
  width: 100%;
  max-width: 420px;
}
.product-ad h3 {
  margin: 0 0 .5rem;
  font-size: 1.05rem;
  color: #9ff;
}
.product-ad a {
  text-decoration: none;
  display: inline-block;
  padding: .75rem 1.05rem;
  border-radius: 999px;
  min-width: 180px;
  text-align: center;
  font-weight: 700;
  color: #041010;
  background: linear-gradient(135deg, rgba(0,255,230,.95), rgba(0,180,210,.95));
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 6px 14px rgba(0,255,230,.6);
}
.product-ad a:hover { transform: translateY(-1px); }
.product-ad a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

/* Footer small text */
footer p { font-size: .85rem; opacity: .85; margin: 0; }

/* Focus accessibility for all links/buttons */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}

/* Responsive tweaks */
@media (min-width: 768px) {
  main { padding: 2.5rem; min-height: 72vh; }
  .image-frame { padding: 2rem; border-radius: 20px; }
  .product-ad { max-width: 520px; }
}
