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

/* -----------------------------
   Tokens
------------------------------ */
:root{
  --bg: #0a0a12;
  --bg-2: #0b1020;
  --text: #e8f3ff;
  --muted: #a8c4e8;
  --accent: #ff2f92;       /* hot pink */
  --accent-2: #58d1ff;     /* pastel blue */
  --glass: rgba(255,255,255,0.08);
  --glass-2: rgba(255,255,255,0.14);
  --border: rgba(255,255,255,0.25);
  --shadow: 0 6px 20px rgba(0,0,0,.25);
  --focus: 2px solid #7bdfff;
}

/* -----------------------------
   Base / Reset
------------------------------ */
* { box-sizing: border-box; }
html, body { height: 100%; }
html { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif; }
body {
  margin: 0;
  color: var(--text);
  background:
    /* subtle hot-pink glow */
    radial-gradient(circle at 20% 0%, rgba(255, 47, 146, 0.25), transparent 40%),
    radial-gradient(circle at 85% 15%, rgba(88, 209, 255, 0.25), transparent 40%),
    linear-gradient(#090912 0%, #0a0a16 60%, #0b0e1a 100%),
    repeating-linear-gradient(to bottom, rgba(255,255,255,0.04) 0 1px, transparent 1px 2px);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: var(--accent-2); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

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

/* -----------------------------
   Layout utilities
------------------------------ */
.container {
  width: 100%;
  max-width: clamp(320px, 90vw, 1100px);
  margin-inline: auto;
  padding-inline: 1rem;
}
.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card { background: var(--glass); border: 1px solid var(--border); border-radius: 12px; padding: 1rem; box-shadow: var(--shadow); }

/* -----------------------------
   Global sections styling
------------------------------ */
header, nav, main, article, aside, footer {
  display: block;
}
header {
  padding: 1rem 0.75rem;
  text-align: center;
  margin: 0.5rem auto;
  /* glass panel */
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 14px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}
header h1 { font-size: clamp(1.6rem, 3.2vw, 2.6rem); line-height: 1.15; margin: 0.25rem 0 0.25rem; }
header .meta { color: var(--muted); font-size: 0.92rem; margin-top: .25rem; }
nav { padding-top: .25rem; }
nav a { padding: .25rem .5rem; border-radius: 6px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); color: #e9f5ff; }
main { padding: 1rem 0; }
article {
  padding: 1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.featured-image, .image-frame { margin: 0.75rem 0; border-radius: 12px; overflow: hidden; }
.featured-image img { width: 100%; height: auto; display: block; }
.image-frame { aspect-ratio: 16 / 9; border: 1px solid rgba(255,255,255,.4); box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Supporting text & lists */
h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); margin: .75rem 0 .25rem; }
h3 { font-size: clamp(1.05rem, 2vw, 1.25rem); margin: .6rem 0; }
p { margin: .6rem 0; color: #e8f2ff; }
blockquote {
  border-left: 3px solid var(--accent-2);
  padding-left: .75rem;
  margin: .75rem 0;
  color: var(--muted);
  font-style: italic;
}
ol, ul { padding-left: 1.25rem; margin: .6rem 0; }
li { margin: .25rem 0; }

/* Practical quick-start recap & next steps text emphasis */
strong { color: #fff; }

/* -----------------------------
   Product ads / footer sections
------------------------------ */
footer { padding: 0.75rem 0; display: flex; flex-direction: column; gap: .75rem; }
.product-ad, .sponsored-page { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.25); border-radius: 12px; padding: .75rem; text-align: center; }
.product-ad a, .sponsored-page a { display: block; padding: .5rem 0; color: var(--text); text-decoration: none; }
.product-ad p, .sponsored-page p { margin: 0; }

@media (min-width: 700px) {
  main { padding: 1.5rem 0 2rem; }
  footer { flex-direction: row; align-items: stretch; }
  .product-ad, .sponsored-page { flex: 1 1 45%; min-width: 240px; }
  header { margin: 1rem auto; }
}

/* -----------------------------
   Interactive states
------------------------------ */
button, .btn, .cta {
  display: inline-block;
  font: inherit;
  color: #041018;
  background: var(--accent-2);
  border: 1px solid rgba(0,0,0,.1);
  padding: 0.65rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
button:hover, .btn:hover, .cta:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.25); }
button:active, .btn:active, .cta:active { transform: translateY(0); }
.btn.outline, .cta.outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--accent-2);
}
.btn:focus-visible, .cta:focus-visible, a:focus-visible, button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(88,209,255,0.6);
  border-radius: 6px;
}
a:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; border-radius: 4px; }

/* -----------------------------
   Print styles (basic readability)
------------------------------ */
@media print {
  body { background: #fff; color: #000; }
  header, nav, footer { display: none; }
  article { background: #fff; border: none; padding: 0; }
}
