/* Cyberpunk, frosted-glass landing page CSS (mobile-first, single stylesheet) */

/* Light reset */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Root palette (purple hacker vibe) */
:root {
  --bg1: #2b2b2b;
  --bg2: #3a3a3a;
  --bg3: #1e1e1e;
  --text: #e9e6ff;
  --muted: #c8c2da;
  --accent: #7a5dff;
  --accent-dark: #5a2bd1;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-border: rgba(255, 255, 255, 0.25);
  --glass-shadow: 0 8px 40px rgba(0,0,0,.45);
}

/* Checkerboard gray background */
html, body {
  height: 100%;
}
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Helvetica Neue",
               "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--text);
  background-color: #0b0b12;
  /* Gray checkerboard pattern */
  background-image:
    linear-gradient(45deg, var(--bg1) 25%, var(--bg2) 25%, var(--bg2) 50%, var(--bg1) 50%, var(--bg1) 75%, var(--bg2) 75%, var(--bg2) 100%),
    linear-gradient(-45deg, var(--bg1) 25%, var(--bg2) 25%, var(--bg2) 50%, var(--bg1) 50%, var(--bg1) 75%, var(--bg2) 75%, var(--bg2) 100%);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout containers (mobile-first) */
header {
  text-align: center;
  padding: 1rem 1rem;
  position: relative;
}

header h1 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .4px;
  color: #f1e6ff;
  text-shadow: 0 0 10px rgba(122, 93, 255, 0.6);
}

/* Subtle neon glow around the header title for cyberpunk vibe */
header::after {
  content: "";
  display: block;
  height: 6px;
  width: 60%;
  margin: 0.5rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(122,93,255,.9), transparent);
  filter: blur(0.5px);
  opacity: .9;
}

/* Main content area */
main {
  display: grid;
  place-items: center;
  padding: 1rem 1rem 2rem;
}

/* Frosted-glass image frame */
.image-frame {
  width: 100%;
  max-width: 680px;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  padding: 0.75rem;
  display: grid;
  align-items: center;
  justify-items: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: var(--glass-shadow);
}

.image-frame img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.25);
}

/* Footer with featured product (CTA) */
footer {
  padding: 1.25rem 1rem 2rem;
  display: grid;
  gap: .75rem;
  justify-items: center;
  align-items: center;
}

/* Glassy product advertisement block (CTA area) */
.product-ad {
  width: 100%;
  max-width: 720px;
  border-radius: 12px;
  padding: .95rem;
  text-align: center;
  background: rgba(18, 12, 40, 0.65);
  border: 1px solid rgba(138, 92, 255, 0.6);
  color: var(--text);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: inset 0 0 40px rgba(0,0,0,.25), 0 6px 18px rgba(0,0,0,.4);
}

.product-ad h3 {
  font-size: .95rem;
  margin-bottom: .35rem;
}
.product-ad p {
  margin-top: .15rem;
  font-size: .98rem;
  color: var(--muted);
  line-height: 1.3;
}

/* CTA button (styled link) */
.product-ad a {
  display: inline-block;
  padding: .72rem 1.25rem;
  margin-top: .4rem;
  border-radius: 999px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #7a5cff 0%, #5a1bd1 100%);
  border: 1px solid rgba(255,255,255,.35);
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 6px 14px rgba(122, 92, 255, .55);
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(122, 92, 255, .75);
}
.product-ad a:focus-visible {
  outline: 3px solid #9db4ff;
  outline-offset: 2px;
}

/* Footer small print */
footer p {
  font-size: .82rem;
  color: var(--muted);
  text-align: center;
}

/* Focus visibility for all focusable elements for accessibility */
:focus-visible {
  outline: 3px solid #9db4ff;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive adjustments (desktop/tablet) */
@media (min-width: 768px) {
  header h1 {
    font-size: 1.6rem;
  }
  main { padding: 1.5rem 1.25rem; }
  .image-frame { max-width: 760px; }
  .product-ad { padding: 1.1rem; }
}

@media (min-width: 1024px) {
  header h1 {
    font-size: 1.9rem;
  }
  .image-frame { max-width: 860px; }
}