/* Production-ready CSS for the provided landing page (mobile-first, glassy cyberpunk aesthetic) */

/* Palette & tokens */
:root{
  --bg: #04161a;
  --bg-2: #0a1e22;
  --text: #eaffff;
  --muted: #a6d9d9;
  --accent: #2ee3d0;      /* turquoise glow */
  --accent-2: #ff2b2b;    /* scarlet accent */
  --surface: rgba(255,255,255,0.08);
  --surface-2: rgba(0,0,0,0.25);
  --border: rgba(255,255,255,0.32);
  --card-glow: 0 8px 22px rgba(0,0,0,0.28);
  --radius: 12px;
  --focus: 2px solid rgba(46, 227, 208, 0.95);
}

/* Layout & reset-ish baseline */
* { 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; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  isolation: isolate;
  font-size: 16px;
}

/* Layered animated-esque background: gradient + subtle noise/scanlines (pure CSS) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 10%, rgba(40, 255, 240, 0.18), transparent 40%),
    radial-gradient(circle at 78% 0%, rgba(255, 60, 60, 0.15), transparent 40%),
    linear-gradient(135deg, rgba(3,9,12,0.95) 0%, rgba(2,12,16,0.88) 60%, rgba(0,0,0,0.92) 100%),
    repeating-linear-gradient(to bottom,
      rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px,
      transparent 1px, transparent 4px);
  background-blend-mode: screen, overlay, normal, overlay;
  pointer-events: none;
  filter: saturate(110%);
}

/* Page chrome containers */
.header, .main, .footer, aside, header, nav, article {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem;
  margin: 0.75rem auto;
  width: calc(100% - 2rem);
  max-width: clamp(680px, 88vw, 1120px);
  box-shadow: var(--card-glow);
}
.header { padding: 1.25rem; text-align: center; }
.header h1 { margin: 0 0 .25rem; font-size: clamp(1.6rem, 0.9rem + 2vw, 2.4rem); line-height: 1.15; letter-spacing: .2px; }
.header .meta { color: var(--muted); font-size: 0.95rem; margin-top: .25rem; }
nav { display: flex; justify-content: center; gap: 0.5rem; margin-top: .5rem; }
nav a { color: var(--accent); text-decoration: none; padding: .4rem .6rem; border-radius: 999px; border: 1px solid rgba(46, 227, 208, 0.5); }
nav a:hover, nav a:focus-visible { text-decoration: underline; outline: none; }

/* Main content area */
.main { padding-top: .75rem; padding-bottom: 2rem; }
article { display: block; }

/* Featured image frame styling */
.image-frame { width: 100%; aspect-ratio: 16/9; overflow: hidden; border-radius: 12px; border: 1px solid rgba(255,255,255,0.35); box-shadow: 0 6px 18px rgba(0,0,0,0.25); margin: .5rem 0 1rem; }
.image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Content helper for potential uses */
.content { padding: 0; }

/* Titles & typography scale */
h2, h3 { color: var(--text); margin-top: 1rem; font-weight: 600; }
h2 { font-size: clamp(1.25rem, 0.9rem + 1.2vw, 1.75rem); }
h3 { font-size: clamp(1.05rem, 0.7rem + 1vw, 1.25rem); }

/* Paragraphs & lists */
p { font-size: clamp(1rem, 0.8rem + 0.6vw, 1.15rem); color: var(--text); margin: .4rem 0 .8rem; }
ul, ol { padding-left: 1.25rem; margin: .25rem 0 0.75rem; }
li { margin: .25rem 0; }

/* Glass panel fallback for non-supporting browsers */
@supports not (backdrop-filter: blur(12px)) {
  header, main, footer, aside, article { background: rgba(255,255,255,0.18); }
}

/* Product ad / utility blocks */
.product-ad, .sponsored-page { display: block; text-align: center; padding: .75rem; margin: .75rem 0; }
.product-ad a, .sponsored-page a { color: var(--text); text-decoration: none; display: inline-block; padding: .5rem .75rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.4); background: rgba(0,0,0,0.15); }

/* Interactive elements: anchor, button, .btn, .cta */
a, button, .btn, .cta {
  color: #eaffff;
  text-decoration: none;
  border-radius: 999px;
  outline: none;
}
a { transition: color .15s ease; }
a:hover { text-decoration: underline; color: #aaf0ee; }
a:focus-visible, button:focus-visible, .btn:focus-visible, .cta:focus-visible {
  outline: var(--focus);
  outline-offset: 3px;
}
.btn, .cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .7rem 1rem; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.45);
  background: linear-gradient(135deg, rgba(46,227,208,0.95), rgba(0,214,200,0.85));
  color: #041b1a; /* high contrast text over turquoise */
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover, .cta:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,0.25); }
.btn:active, .cta:active { transform: translateY(0); }
.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(46,227,208,0.85);
}
.btn--outline:hover { background: rgba(46,227,208,0.15); }

/* Utility grid & card rail */
.container { width: 100%; max-width: clamp(680px, 88vw, 1120px); margin: 0 auto; padding: 0 1rem; }
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* Simple card styling for sections that resemble panels */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 2px);
  padding: 1rem;
  box-shadow: var(--card-glow);
  min-height: 90px;
}
.tag {
  display: inline-block; padding: .15em .6em; border-radius: 999px;
  font-size: .8em; background: rgba(46,227,208,0.25); color: #eaffff; border: 1px solid rgba(46,227,208,0.65);
}

/* Images in glass panels (if used in content) */
.image-frame--shadow { box-shadow: 0 6px 20px rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,0.4); border-radius: 12px; overflow: hidden; }

/* Print styles: basic readability */
@media print {
  body { background: #fff; color: #000; }
  nav, .sponsored-page { display: none; }
  a { text-decoration: underline; color: #000; }
  header, main, footer { page-break-inside: avoid; }
}

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