/* Minimal reset and a cyberpunk, frosted-glass landing style with maroon stripes */

/* Color tokens and pattern */
:root{
  --navy: #0b1b2b;
  --maroon-dark: #52070f;
  --maroon: #7a0d16;
  --glow: #00e5ff;
  --text: #eaf2ff;
  --muted: #a9b6d8;
  --glass: rgba(12, 20, 46, 0.65);
  --border: rgba(255,255,255,0.22);
}

*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; padding: 0; }

/* Light reset for a clean base */
html { font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue"; }
body {
  color: var(--text);
  background-color: #0b0f1a;
  /* Maroon striped pattern background (mobile-first) */
  background-image: repeating-linear-gradient(135deg,
    #7a0d16 0 16px,
    #3b0b12 16px 32px);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Layout baseline: mobile-first hero container centered */
main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  min-height: 60vh;
  position: relative;
  z-index: 0;
}

/* Frosted-glass framed image container (hero) */
.image-frame {
  width: min(92vw, 900px);
  padding: 14px;
  border-radius: 20px;
  background: rgba(12, 20, 46, 0.68);
  border: 1px solid var(--border);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow:
    0 12px 40px rgba(0,0,0,.55),
    inset 0 1px rgba(255,255,255,.05);
  overflow: hidden;
}

/* Image inside the frosted frame */
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  filter: saturate(1.05);
  pointer-events: none;
}

/* Footer with a prominent CTA area */
footer {
  padding: 1.75rem 1rem;
  text-align: center;
  color: #d9e6ff;
  background: linear-gradient(to top, rgba(10,15,40,.9), rgba(10,15,40,.6) 60%, rgba(10,15,40,.9));
  border-top: 1px solid rgba(255,255,255,.08);
}

/* Product Ad block (CTA area) */
.product-ad {
  display: inline-block;
  padding: .5rem;
  border-radius: 10px;
  background: rgba(6,15,40,.65);
  border: 1px solid rgba(255,255,255,.25);
  margin-bottom: .75rem;
}

.product-ad h3 {
  font-size: 0.95rem;
  margin: 0 0 .4rem;
  letter-spacing: .3px;
  text-shadow: 0 0 6px rgba(0, 229, 255, 0.6);
}

.product-ad p {
  margin: 0;
}

.product-ad a {
  display: inline-block;
  padding: .65rem 1rem;
  margin-top: .25rem;
  border-radius: 6px;
  text-decoration: none;
  color: #eaffff;
  background: linear-gradient(135deg, #0b2140, #0b1a3d);
  border: 1px solid rgba(255,255,255,.25);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #0b2a53, #0b1a3d);
  box-shadow: 0 0 12px rgba(0, 214, 255, 0.9);
}
.product-ad a:focus {
  outline: 2px solid var(--glow);
  outline-offset: 2px;
}

/* Global link focus (accessible) */
a:focus, button:focus, [tabindex]:focus { outline: 2px solid var(--glow); outline-offset: 2px; }

/* Subtle neon glow for hacker vibe on text */
h1, h2, h3, h4, h5 {
  text-shadow: 0 0 6px rgba(0, 229, 255, 0.75);
}
h3 { color: #eaffff; }

/* Small decorative accents (neon lines) for depth */
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 30px rgba(0, 214, 255, 0.15);
  mix-blend-mode: screen;
}

/* Accessibility: ensure high contrast for body text on stripes */
@media (prefers-contrast: more) {
  body { color-scheme: dark; }
}

/* Responsive tweaks: larger hero on wider viewports (still mobile-first) */
@media (min-width: 768px) {
  main { padding: 3rem 2rem; min-height: 70vh; }
  .image-frame { width: min(860px, 72vw); padding: 20px; }
  .product-ad { font-size: 0.98rem; }
}
