/* Cyberpunk neon, frosted-glass landing styles (mobile-first) */

/* Reset & base variables */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
:root {
  --bg-navy: #0b1020;
  --fg: #e6fbff;
  --glass: rgba(255,255,255,.08);
  --glass-border: rgba(0,255,255,.25);
  --cyan: #00e6ff;
}
html { font-size: 16px; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--fg);
  background: var(--bg-navy);
  line-height: 1.5;
  min-height: 100dvh;
  position: relative;
  overflow-x: hidden;
}

/* Cyan neon glow background (large, responsive) */
body::before,
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1; }

body::before {
  background: radial-gradient(circle at 20% 20%, rgba(0,255,255,.25), transparent 40%),
              radial-gradient(circle at 80% 10%, rgba(0,255,255,.15), transparent 40%),
              radial-gradient(circle at 50% 80%, rgba(0,170,255,.15), transparent 40%);
  filter: blur(40px);
}
body::after {
  background: radial-gradient(circle at 50% 50%, rgba(0,255,255,.10), transparent 50%),
              conic-gradient(from 180deg at 50% 50%, rgba(0,255,255,.07), rgba(0,0,0,0) 40%);
  mix-blend-mode: screen;
  filter: blur(30px);
  animation: glow 20s linear infinite;
}
@keyframes glow { to { transform: rotate(360deg); } }

/* Layout: hero image and frosted glass card */
main {
  display: grid;
  place-items: center;
  padding: 1.25rem;
  min-height: 60vh;
}

.image-frame {
  width: min(92vw, 720px);
  border-radius: 16px;
  padding: 0.75rem;
  background: rgba(10, 15, 30, 0.60);
  border: 1px solid rgba(0, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 20px 60px rgba(0, 255, 255, 0.25);
}

/* Image within frosted card */
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  max-width: 100%;
}

/* Footer with frosted glass product ad */
footer {
  padding: 1.75rem 1rem;
  display: grid;
  justify-items: center;
  gap: 0.75rem;
}

.product-ad {
  display: inline-block;
  padding: 0.75rem;
  border-radius: 12px;
  background: rgba(8, 12, 28, 0.60);
  border: 1px solid rgba(0, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 20px rgba(0, 255, 255, 0.25);
  text-align: center;
}

.product-ad h3 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: #bdfaff;
  font-weight: 600;
}

.product-ad a { color: inherit; text-decoration: none; }

/* CTA button style inside the ad (neon pill) */
.product-ad a p {
  margin: 0;
  padding: 0.62rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  color: #001018;
  background: linear-gradient(135deg, rgba(0,255,255,.95), rgba(0,128,255,.95));
  display: inline-block;
  user-select: none;
  transition: transform .2s ease;
}
.product-ad a p:hover { transform: translateY(-1px); }

/* Focus styles for accessibility */
a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Small screens: tighten, ensure readability */
@media (min-width: 640px) {
  main { padding: 2rem; }
  .image-frame { border-radius: 20px; padding: 1rem; }
  .product-ad h3 { font-size: 1rem; }
}
