/* Global reset (light) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Theme and utility vars */
:root {
  --bg: #0b0f14;
  --card: rgba(255,255,255,.08);
  --cardBorder: rgba(255,255,255,.22);
  --text: #e5e7eb;
  --muted: #aab4c0;
  --neon: #00e6ff;
  --neon2: #7c3aed;
  --shadow: 0 12px 40px rgba(0,0,0,.45);
}

html, body { height: 100%; }

/* Light reset for typography */
body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Helvetica Neue", sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.5;
  position: relative;
  overflow-x: hidden;
}

/* Abstract white blur background (soft frosted glow) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(255,255,255,.18), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.15), transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(255,255,255,.12), transparent 40%);
  filter: blur(40px);
  transform: translateZ(0);
  z-index: 0;
  pointer-events: none;
  opacity: .95;
}

/* Main layout (mobile-first hero area) */
main {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 4rem 1rem 2rem;
  min-height: 60vh;
}

.image-frame {
  width: min(92%, 860px);
  background: var(--card);
  border: 1px solid var(--cardBorder);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.hint { /* optional helper if content appears */
  text-align: center;
  color: var(--muted);
  font-size: .9rem;
  margin-top: .75rem;
}

/* Optional hero content container (if used) */
.hero {
  text-align: center;
  padding: 2rem 1rem;
}

h1 {
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: .3px;
  margin-bottom: .75rem;
}

.lede {
  color: #d9e2ee;
  max-width: 48ch;
  margin: 0 auto 1.5rem;
}

.actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Glassy buttons (accessible focus) */
.btn {
  display: inline-block;
  padding: .95rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  text-decoration: none;
  color: #e7f0ff;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform .2s ease, background .2s ease, box-shadow .2s;
  outline: none;
}

.btn:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 2px;
  border-color: rgba(0,230,255,.6);
}

.btn:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,.12);
}

.btn.primary {
  background: rgba(0, 230, 255, .38);
  border-color: rgba(0,230,255,.7);
  color: #001018;
  text-shadow: 0 1px 0 rgba(255,255,255,.5);
  box-shadow: 0 6px 24px rgba(0, 230, 255, .4);
}
.btn.primary:hover {
  background: rgba(0,230,255,.56);
}

.btn.secondary {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
  color: #e7f0ff;
}
.btn.secondary:hover {
  background: rgba(255,255,255,.12);
}

/* Footer and product ad (frosted glass card) */
footer {
  padding: 2rem 1rem 3rem;
  background: #0b0f14;
}

.product-ad {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1rem;
  border-radius: 12px;
  max-width: 900px;
  margin: 0 auto 1rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(6px);
}
.product-ad h3 {
  font-size: .9rem;
  margin: 0;
}
.product-ad a {
  color: #e6f0ff;
  text-decoration: none;
}
.product-ad a:hover {
  text-decoration: underline;
}

/* Desktop tweaks for a more cyberpunk vibe */
@media (min-width: 768px) {
  main { padding: 6rem 0; }
  .image-frame { width: min(60%, 800px); }
  h1 { font-size: 3rem; }
  .lede { font-size: 1.05rem; }

  /* Optional: emphasize hero area if content appears */
  .hero { padding: 4rem 1rem; }
}
@media (min-width: 1024px) {
  h1 { font-size: 3.5rem; }
  .image-frame { border-radius: 22px; padding: 1.25rem; }
}