/* Lightweight, mobile-first CSS with indigo dot background, hacker-meets-cyberpunk vibe,
   frosted glass accents, and accessible focus styles. */

:root{
  --bg-navy: #0b1020;
  --bg-navy-dark: #070b1a;
  --card: rgba(10, 14, 28, 0.66);
  --card-border: rgba(111, 132, 255, 0.65);
  --text: #e8eaff;
  --muted: #a8b2df;
  --indigo: #4f46e5;
  --indigo-glow: rgba(99,102,241,.9);
  --glow: 0 8px 28px rgba(49, 46, 129, 0.65);
  --cta-start: rgba(99,102,241,.95);
  --cta-end: rgba(37,99,235,.95);
  --shadow-neo: 0 20px 50px rgba(0,0,0,.45);
}

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

html, body{ height: 100%; }
html{ line-height: 1.2; }
body{
  margin: 0;
  padding: 0;
  color: var(--text);
  background: var(--bg-navy);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  /* Indigo dots pattern background */
  background-image: radial-gradient(circle at 1px 1px, rgba(79,70,229,.25) 2px, transparent 2px);
  background-size: 22px 22px;
  background-color: var(--bg-navy);
}

/* Simple reset for margins/padding in case of nested content */
main, footer { width: 100%; }

/* Hero area (using the existing image-frame as the focal piece) */
main{
  display: grid;
  place-items: center;
  padding: 6rem 1rem;
  flex: 1 1 auto;
  position: relative;
  z-index: 1;
}

/* Frosted-glass framed image container with subtle neon glow */
.image-frame{
  width: min(92%, 980px);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(111,132,255,.65);
  background: rgba(8,12,28,.66);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: var(--shadow-neo), inset 0 0 0 rgba(0,0,0,.0);
  position: relative;
  isolation: isolate;
}
.image-frame::after{
  /* soft neon glow around the frame for cyberpunk vibe */
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  border: 1px solid rgba(99,102,241,.25);
  box-shadow: 0 0 40px rgba(99,102,241,.55);
  pointer-events: none;
  z-index: -1;
}
.image-frame img{
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  /* subtle brightness tweak to feel moody */
  filter: saturate(1.05) contrast(1.02);
}

/* Footer area with a prominent CTA-style product ad */
footer{
  padding: 1.75rem 1rem;
  text-align: center;
  color: var(--muted);
  background: linear-gradient(to bottom, rgba(2,6,23,.9), rgba(2,6,23,.95) 60%);
  border-top: 1px solid rgba(99,102,241,.25);
  position: relative;
  z-index: 0;
}
.product-ad{
  display: inline-block;
  padding: .6rem;
  margin-bottom: .75rem;
  border-radius: 14px;
  background: rgba(2,6,23,.70);
  border: 1px solid rgba(99,102,241,.60);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.product-ad h3{
  font-size: .98rem;
  margin: 0 0 .4rem;
  color: #e8eaff;
}
.product-ad a{
  display: inline-block;
  padding: .55rem 1rem;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--cta-start), var(--cta-end));
  color: white;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .2px;
  border: 0;
  box-shadow: 0 6px 14px rgba(99,102,241,.65);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover{
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(99,102,241,.85);
}
.product-ad a:focus-visible{
  outline: 3px solid #93c5fd;
  outline-offset: 2px;
}
footer p{ margin: .35rem 0 0; font-size: .88rem; color: #97a2d1; }

/* Accessibility: focus styles for any focusable element (assuming CTAs) */
:focus-visible{
  outline: 3px solid #93c5fd;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Typography tweaks for narrow screens (mobile-first) */
@media (max-width: 768px){
  main{ padding: 2.5rem 1rem; }
  .image-frame{ width: 94%; border-radius: 18px; }
}
@media (max-width: 420px){
  footer{ padding: 1.25rem 0.5rem; }
  .product-ad h3{ font-size: .92rem; }
  .product-ad a{ padding: .5rem 0.9rem; font-size: .95rem; }
}
