/* Mobile-first, single stylesheet for a futuristic hacker-themed landing */

/* Light reset */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
html { line-height: 1.15; }
body {
  margin: 0;
  color: #f5f7fb;
  /* brown diagonal lines background (diagonal stripes) */
  background: 
    linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)),
    repeating-linear-gradient(135deg,
      #593617 0 8px,
      #3b2510 8px 16px);
  background-attachment: fixed;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout container resets for consistency */
main { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; padding: 2rem 1.25rem 0; width: 100%; }

/* Frosted glass utility for panels */
.glass {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  color: #f6faff;
}

/* Image frame as the hero visual */
.image-frame {
  width: 100%;
  max-width: 720px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
  display: block;
}
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  image-rendering: auto;
  filter: saturate(1.05);
}

/* Hero baseline typography tweaks */
h1, h2, h3, p {
  margin: 0;
}
h3 {
  font-size: 1.05rem;
  letter-spacing: 0.6px;
  color: #eaffff;
  text-shadow: 0 0 6px rgba(0, 255, 225, 0.6);
}
p { color: #e9f0ff; }

/* Product ad as a prominent CTA block */
.product-ad {
  width: min(92%, 640px);
  padding: 1rem 1rem 0.75rem;
  text-align: center;
}
.product-ad h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
  color: #eaffff;
  text-shadow: 0 0 8px rgba(0, 210, 255, 0.9);
}
.product-ad a {
  text-decoration: none;
  color: inherit;
}
.product-ad a p {
  margin: 0;
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  color: #0a0a0a;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(0,0,0,0.15);
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.4) inset;
}
.product-ad a p:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(0, 210, 255, 0.6) inset, 0 6px 14px rgba(0,0,0,0.25);
}
.product-ad a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  border-radius: 999px;
}
.product-ad a:focus-visible p {
  background: rgba(255,255,255,0.95);
  color: #0a0a0a;
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.6);
}

/* Footer styling to reinforce hacker vibe */
footer {
  width: 100%;
  margin-top: 1.25rem;
  padding: 1.25rem 0;
  text-align: center;
  color: #e8f0ff;
  opacity: 0.95;
  background: linear-gradient(to top, rgba(0,0,0,0.25), rgba(0,0,0,0.0));
  border-top: 1px solid rgba(255,255,255,0.15);
}

/* Accessibility helper: ensure high contrast for focus */
:focus { outline: none; }
a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Responsive, mobile-first refinements */
@media (min-width: 640px) {
  main { padding-top: 2.5rem; gap: 1.75rem; }
  .image-frame { border-radius: 18px; }
}
@media (min-width: 900px) {
  main { padding: 3.5rem 2rem 2rem; flex-direction:column; }
  .product-ad { margin-top: 0.25rem; }
}
