/* Global reset (light) */
*, *::before, *::after {
  box-sizing: border-box;
}
html, body {
  height: 100%;
}
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: #e9f1ff;
  background: #0b1020;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-attachment: fixed;
  position: relative;
}

/* Green abstract blur background (futura cyberpunk) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% -10%, rgba(0,255,120,.25), transparent 40%),
    radial-gradient(circle at 80% 10%, rgba(0,180,80,.25), transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(0,255,100,.25), transparent 40%);
  filter: blur(40px);
  transform: scale(1.05);
  pointer-events: none;
  /* Slight vignette for depth */
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 60%, rgba(0,0,0,0.7) 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 60%, rgba(0,0,0,0.7) 100%);
  opacity: 0.95;
}

/* Theme tokens */
:root {
  --indigo: #4f46e5;          /* indigo-600 */
  --indigo-700: #3730a3;       /* indigo-700 */
  --focus: 0 0 0 3px rgba(56,189,248,.9);
  --card: rgba(8,12,28,.6);
  --card-border: rgba(99,102,241,.25);
  --text: #e9f1ff;
  --muted: rgba(233,246,255,.75);
  --shadow: 0 10px 28px rgba(0,0,0,.35);
}

/* Header (clear hero) */
header {
  padding: 2rem 1rem;
  text-align: center;
  background: rgba(8,12,28,.55);
  border-bottom: 1px solid rgba(99,102,241,.25);
  backdrop-filter: saturate(120%) blur(6px);
  -webkit-backdrop-filter: saturate(120%) blur(6px);
}
header h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.08;
  margin-bottom: .25rem;
  color: #e9fbff;
  letter-spacing: .5px;
  text-shadow: 0 0 12px rgba(99,102,241,.5);
}
header .meta {
  display: inline-block;
  margin-top: .25rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .92rem;
  color: rgba(232,239,255,.85);
  opacity: .95;
  padding: 0 .25rem;
}

/* Layout container for content */
main {
  display: grid;
  place-items: center;
  padding: 1.25rem 1rem 2rem;
}

/* Fresher frosted glass card for article */
article {
  width: 100%;
  max-width: 760px;
  padding: 1rem;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
  color: #eaf4ff;
}
.featured-image {
  width: 100%;
  margin: 1rem 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.15);
}
.featured-image img {
  display: block;
  width: 100%;
  height: auto;
}
article p, article div, article blockquote {
  margin: 0 0 1rem 0;
  color: #eaf2ff;
}
article p { font-size: 1rem; }
article p:last-child { margin-bottom: 0; }

/* Footer with a prominent CTA section */
footer {
  padding: 1.75rem 1rem;
  display: grid;
  gap: 1rem;
  justify-items: center;
  text-align: center;
  background: rgba(8,12,28,.5);
  border-top: 1px solid rgba(99,102,241,.25);
}
.product-ad {
  padding: .75rem;
  border-radius: 12px;
  border: 1px solid rgba(99,102,241,.25);
  background: rgba(8,12,28,.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.product-ad h3 {
  margin: 0 0 .25rem;
  font-size: 1.05rem;
  color: #d8ffe6;
}
.product-ad a {
  display: inline-block;
  text-decoration: none;
  padding: .5rem 1rem;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--indigo), #1e40af);
  color: white;
  border: 1px solid rgba(255,255,255,.25);
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
}
.product-ad a:focus-visible {
  outline: var(--focus);
  outline-offset: 2px;
}
footer p {
  color: rgba(234,246,255,.85);
  font-size: .95rem;
  margin: 0;
}

/* Accessibility: focus styles for links and buttons */
a:focus-visible, button:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 6px;
}

/* Responsive (mobile-first) */
@media (min-width: 640px) {
  article { padding: 1.25rem 1.25rem; }
  header { padding: 2.5rem 1.5rem; }
}
@media (min-width: 900px) {
  main { padding: 2rem 0 2.5rem; }
  article { padding: 1.5rem 1.75rem; }
  header h1 { font-size: 4rem; }
}
