:root {
  --bg: #0b0b12;
  --bg-2: #0e111a;
  --text: #eaf4ff;
  --muted: #a6b4c7;
  --accent: #6ee7ff;
  --accent-2: #9bd7ff;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-strong: rgba(255, 255, 255, 0.16);
  --border: rgba(255, 255, 255, 0.25);
  --shadow: 0 8px 28px rgba(0,0,0,.40);
  --focus: 2px solid var(--accent);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

html, body {
  margin: 0;
  color: var(--text);
  background-color: var(--bg);
  /* Layered future-cyberpunk background: gradient + subtle scanlines/noise */
  background-image:
    radial-gradient(circle at 20% -10%, rgba(110,231,255,.12), transparent 40%),
    linear-gradient(135deg, var(--bg-2) 0%, #0a0a0f 60%, #0b0b12 100%),
    repeating-linear-gradient(to bottom, rgba(255,255,255,.04) 0 1px, transparent 1px 4px);
  background-size: cover;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color-scheme: dark;
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: clamp(320px, 88vw, 1100px);
  padding-inline: 1rem;
  margin-inline: auto;
}
.grid { display: grid; gap: 1rem; }
.card { background: var(--glass); border: 1px solid var(--border); border-radius: 12px; padding: 1rem; box-shadow: var(--shadow); }

/* Glass panel helpers (fallback included via background color) */
.glass {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
@supports not (backdrop-filter: blur(10px)) {
  .glass { background: rgba(255,255,255,.08); }
}

/* Header / Hero */
header {
  margin: 1rem auto;
  padding: 1.25rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.08);
  box-shadow: 0 6px 24px rgba(0,0,0,.25);
}
header h1 {
  font-size: clamp(1.5rem, 2.6vw + 1rem, 2.75rem);
  line-height: 1.15;
  margin: 0 0 .25rem;
  font-weight: 700;
}
header .meta {
  color: var(--muted);
  font-size: clamp(0.8rem, 1.6vw, 0.95rem);
}

/* Main content */
main { padding: 0; }
article {
  padding: 1rem;
  display: grid;
  gap: 1rem;
  align-items: start;
}
.image-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
}
.image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Typography content */
p { color: #e9f0ff; margin: .5rem 0; }
h2, h3 { margin: .75rem 0 .5rem; font-weight: 700; color: #eaf2ff; }
blockquote {
  margin: .75rem 0;
  padding: .75rem 1rem;
  border-left: 3px solid var(--accent);
  color: #eaf6ff;
  background: rgba(0,0,0,.15);
  border-radius: 6px;
}
ul { margin: .25rem 0 1rem 1.1rem; padding: 0; }
li { margin: .25rem 0; }

/* Product ad / footer region */
footer {
  padding: 1rem;
  margin-top: 1rem;
}
.product-ad {
  display: grid;
  place-items: center;
  padding: 1rem;
  text-align: center;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin: 1rem 0;
  box-shadow: var(--shadow);
}
.product-ad h3 { margin: 0 0 .5rem; font-size: 1.05rem; }
.product-ad a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .65rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(110,231,255,.9);
  color: #eaffff;
  text-decoration: none;
  background: linear-gradient(to bottom right, rgba(110,231,255,.25), rgba(155,215,255,.15));
  transition: transform .2s ease, background .2s ease;
}
.product-ad a:hover { transform: translateY(-1px); background: linear-gradient(to bottom right, rgba(110,231,255,.35), rgba(155,215,255,.25)); text-decoration: underline; }
.product-ad a p { margin: 0; }

p, a, li, h1, h2, h3,blockquote {
  color: var(--text);
}
a { color: var(--accent); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

/* Buttons & CTAs */
.btn, button, .cta {
  display: inline-block;
  padding: .6rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.12);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover, button:hover, .cta:hover { transform: translateY(-1px); }
.btn:focus-visible, button:focus-visible, .cta:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn--solid {
  background: rgba(110,231,255,.25);
  border-color: rgba(110,231,255,.75);
}
.btn--outline {
  background: transparent;
  border-color: rgba(110,231,255,.9);
}
.btn + .btn { margin-left: .5rem; }

/* Utility: tag, grid, etc. */
.tag {
  display: inline-block;
  padding: .15em .5em;
  border-radius: 999px;
  font-size: .75rem;
  background: rgba(110,231,255,.25);
  border: 1px solid rgba(110,231,255,.6);
  color: #eaffff;
}
.container + .container { margin-top: .25rem; }

/* Navigation placeholder (styling reserved for potential nav) */
nav { display: none; }

/* Print styles */
@media print {
  body { background: #fff; color: #000; }
  header, main, footer { background: transparent; box-shadow: none; border: none; }
  a { text-decoration: underline; color: #000; }
}

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