/* Reset and base */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
:root {
  --bg: #04061b;
  --fg: #eaf6ff;
  --glass: rgba(8,12,28,.55);
  --accent: #00e5ff;
  --shadow: rgba(0,0,0,.5);
}
body {
  color: var(--fg);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  background-color: var(--bg);
  /* navy noise texture look via layered gradients */
  background-image:
    radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    radial-gradient(rgba(0,0,0,.08) 1px, transparent 1px);
  background-size: 6px 6px, 6px 6px;
  background-position: 0 0, 3px 3px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a, button { color: inherit; text-decoration: none; }

/* Layout: mobile-first hero with frosted glass frame for the image */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: 60vh;
}
.image-frame {
  width: 100%;
  max-width: 860px;
  background: rgba(8,12,28,.60);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  padding: 1rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
}
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  /* subtle image flourish */
  filter: saturate(1.05);
}

/* Footer with frosted glass product ad and CTA styling */
footer {
  padding: 1.25rem;
  text-align: center;
}
.product-ad {
  display: inline-block;
  width: min(92%, 720px);
  background: rgba(8,12,28,.60);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  padding: .9rem;
  margin-top: .75rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 22px rgba(0,0,0,.4);
}
.product-ad h3 {
  margin: 0 0 .5rem;
  font-size: 1.05rem;
  color: #eaffff;
}
.product-ad a {
  color: #d6fbff;
  text-decoration: none;
}
.product-ad a p {
  margin: 0;
  font-weight: 700;
  display: inline-block;
  padding: .5rem 1rem;
  border-radius: 6px;
  background: rgba(0,170,255,.25);
  border: 1px solid rgba(0,170,255,.6);
}
.product-ad a:focus-visible, .product-ad a:focus {
  outline: 2px solid #7af;
  outline-offset: 2px;
  border-radius: 6px;
}
footer p {
  color: #95a4b9;
  font-size: .85rem;
  margin: .25rem 0 0;
}

/* CTA button utility (for future hero CTAs) */
.btn, .cta {
  display: inline-block;
  padding: .75rem 1.15rem;
  border-radius: 8px;
  border: 1px solid rgba(0,170,255,.6);
  background: linear-gradient(#00224a, #001a33);
  color: #eaffff;
  font-weight: 700;
  text-transform: none;
  cursor: pointer;
}
.btn.primary, .cta.primary {
  background: linear-gradient(135deg, rgba(0,170,255,.95), rgba(0,120,230,.95));
  border: 1px solid rgba(0,170,255,.95);
  box-shadow: 0 6px 14px rgba(0,170,255,.4);
}
.btn:focus-visible, .cta:focus-visible, a.btn:focus-visible {
  outline: 2px solid #7af;
  outline-offset: 2px;
  border-radius: 8px;
}
.btn:hover, .cta:hover {
  filter: brightness(1.05);
}

/* Accessibility: reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* Responsive tweaks for larger screens */
@media (min-width: 700px) {
  main { padding: 3rem 2rem; min-height: 70vh; }
  .image-frame { padding: 1.25rem; }
  .product-ad { margin-top: 1.25rem; }
}
