/* Minimal, responsive CSS for a futuristic hacker-themed landing page */

/* Light reset and box sizing */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; padding: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial; color: #e9eaff; background: #0a0a14; }

/* Violet carbon fiber background with a navy hacker vibe */
body {
  /* base violet tint with carbon-fiber pattern overlays */
  background-color: #0a0a14;
  background-image:
    linear-gradient(135deg, rgba(0,0,0,.55) 25%, transparent 25%),
    linear-gradient(315deg, rgba(0,0,0,.55) 25%, transparent 25%),
    linear-gradient(45deg, rgba(120,0,255,.15) 0, rgba(120,0,255,.15) 50%, transparent 50%),
    linear-gradient(315deg, rgba(120,0,255,.15) 0, rgba(120,0,255,.15) 50%, transparent 50%),
    radial-gradient(circle at 20% 20%, rgba(115,0,190,.25), transparent 40%);
  background-size: 40px 40px, 40px 40px, 40px 40px, 40px 40px, 100% 100%;
  background-position: 0 0, 20px 20px, 0 0, 0 0, 0 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 1.25rem;
  padding: 1rem;
}

/* Hero area / main content centering (mobile-first) */
main {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Glassy card container for the image (frosted glass) */
.image-frame {
  width: 100%;
  max-width: 960px;
  border-radius: 18px;
  padding: 1rem;
  background: rgba(14, 20, 44, 0.6); /* frosted glass base */
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
}

.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.04);
  max-width: 100%;
}

/* Footer with frosted glass CTA block (featured product) */
footer {
  margin-top: auto;
  padding: 1rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: #dbe3ff;
  background: linear-gradient(to top, rgba(10,12,40,.8), rgba(10,12,40,.4) 60%, transparent);
  border-top: 1px solid rgba(255,255,255,.08);
}

.product-ad {
  width: 100%;
  max-width: 520px;
  padding: 0.75rem;
  border-radius: 14px;
  background: rgba(14, 18, 40, 0.6);
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
}

.product-ad h3 {
  font-size: 1rem;
  margin: 0;
  color: #e8eaff;
  letter-spacing: .2px;
}

.product-ad a {
  text-decoration: none;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-ad a p {
  margin: 0;
  /* CTA button style derived from inner element to keep HTML unchanged */
  display: inline-block;
  padding: 0.72rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(#6a6cff, #4b53ff);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid rgba(255,255,255,.25);
  text-align: center;
  box-shadow: 0 6px 14px rgba(90, 105, 255, 0.5);
}

.product-ad a:hover p,
.product-ad a:focus-visible p {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(90,105,255,.6);
  outline: 0;
}

.product-ad a:focus-visible p {
  outline: 2px solid #9b83ff;
  outline-offset: 2px;
}

/* Small helper text under the product (footer) */
footer p {
  font-size: 0.9rem;
  color: rgba(221, 234, 255, 0.85);
  margin: 0;
}

/* Focus styles for accessibility on links and inputs/buttons if any */
a, button {
  color: inherit;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid #9b83ff;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Responsive tweaks (desktop/tablet) */
@media (min-width: 768px) {
  body {
    padding: 2rem 2.5rem;
  }
  main {
    justify-content: center;
  }
  .image-frame {
    padding: 1.25rem;
  }
  .product-ad {
    align-items: center;
  }
}
