/* Mobile-first, single CSS stylesheet for a cyberpunk hacker-themed landing page */

:root {
  --bg-dark: #0b1020;
  --bg-darker: #060a17;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-2: rgba(0, 160, 255, 0.25);
  --card: rgba(12, 26, 60, 0.65);
  --text: #e9f6ff;
  --muted: rgba(233, 246, 255, 0.8);
  --blue: #4aa3ff;
  --blue-dark: #0b6bd6;
  --coral: #FF7F50;
  --shadow: 0 8px 28px rgba(0,0,0,0.28);
  --ring: 2px solid rgba(90, 210, 255, 0.75);
}

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

/* Light reset for margins/padding */
html, body {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  background-color: var(--bg-dark);
  /* Coral-noise texture feel via layered gradients */
  background-image:
    radial-gradient(circle at 5% 20%, rgba(255,127,80,.25) 0.6px, transparent 0.6px),
    radial-gradient(circle at 70% 40%, rgba(255,159,100,.15) 0.8px, transparent 0.8px),
    radial-gradient(circle at 40% 70%, rgba(0,0,0,.15) 0.6px, transparent 0.6px);
  background-size: 12px 12px, 12px 12px, 6px 6px;
  background-repeat: repeat, repeat, repeat;
  background-blend-mode: overlay, overlay, normal;
  /* Subtle color shift for cyber glow */
  text-shadow: 0 0 1px rgba(0,0,0,.25);
  min-height: 100vh;
}

/* Layout: mobile-first hero area centered content */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  width: 100%;
}

/* Frosted-glass framed image as hero visual */
.image-frame {
  width: 100%;
  max-width: 980px;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
  isolation: isolate;
}

/* The image fills the frame */
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  mix-blend-mode: screen;
}

/* Frosted-glass overlay on top of the image for depth */
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: saturate(1.1) blur(6px);
  -webkit-backdrop-filter: saturate(1.1) blur(6px);
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* Footer with a prominent CTA panel (featured product) */
footer {
  padding: 2rem 1rem;
  width: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(to bottom, rgba(2,6,23,.0), rgba(2,6,23,.12) 60%);
}

/* Glass-like product ad block */
.product-ad {
  width: min(960px, 100%);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  color: var(--text);
  background: rgba(12, 26, 60, 0.68);
  border: 1px solid rgba(60, 150, 255, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}

/* Title in the ad with a small icon feel */
.product-ad h3 {
  margin: 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  letter-spacing: .2px;
  color: #e8f7ff;
}

/* CTA as a button-like link inside the ad */
.product-ad a {
  text-decoration: none;
  display: inline-block;
}

.product-ad a p {
  margin: 0;
  padding: .75rem 1.05rem;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(68,164,255,.95), rgba(0,190,255,.85));
  color: #06223a;
  font-weight: 700;
  font-size: .95rem;
  line-height: 1;
  white-space: nowrap;
  transition: transform .15s ease;
}
.product-ad a:hover p {
  transform: translateY(-1px);
}
.product-ad a:focus-visible {
  outline: 2px solid #9ce6ff;
  outline-offset: 2px;
  border-radius: 8px;
}

/* Footer copyright text */
footer p {
  margin: .75rem 0 0;
  color: rgba(230, 240, 255, 0.9);
  font-size: .9rem;
  text-align: center;
}

/* Focus styles for accessibility on interactive elements */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #5bdcff;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Responsive tweaks for larger screens to emphasize hero and CTA */
@media (min-width: 600px) {
  .image-frame {
    border-radius: 24px;
  }
}

@media (min-width: 900px) {
  main {
    padding: 3rem;
  }
  .product-ad {
    grid-template-columns: auto 1fr;
    align-items: center;
  }
  .product-ad h3 {
    font-size: 1.05rem;
  }
}