/* Cyberpunk landing page styling - single stylesheet (mobile-first) */

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

/* Theme tokens */
:root {
  --bg: #0a0f1a;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-border: rgba(255, 255, 255, 0.25);
  --text: #eaf2ff;
  --muted: #b8c6ff;
  --magenta: #ff00ff;
  --blue: #3ab0ff;
  --glow: 0 0 14px rgba(255, 0, 255, .75);
  --shadow: 0 8px 26px rgba(0,0,0,.4);
}

/* Global layout and background with blue diagonal lines + hacker vibe */
html, body {
  height: 100%;
  background-color: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  line-height: 1.4;
  /* blue diagonal lines background */
  background-image:
    repeating-linear-gradient(135deg, rgba(63, 126, 255, 0.25) 0 12px, transparent 12px 24px),
    repeating-linear-gradient(-135deg, rgba(0, 255, 255, 0.08) 0 8px, transparent 8px 16px);
  background-size: 100% 100%, 100% 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout containers */
main {
  width: min(1100px, 92%);
  margin: 40px auto 20px;
  display: grid;
  gap: 1.75rem;
  align-items: center;
  justify-items: center;
  padding-bottom: 2rem;
}

/* Frosted glass image frame (hero) */
.image-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: inset 0 0 40px rgba(0,0,0,.25);
  overflow: hidden;
}

.image-frame img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  filter: saturate(1.05);
  transform: scale(1);
  transition: transform .5s ease;
}
.image-frame:hover img { transform: scale(1.03); }

/* Footer area with Product Ad and copyright */
footer {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--muted);
  background: rgba(0,0,0,0.25);
  border-top: 1px solid rgba(255,255,255,.08);
  width: 100%;
}

.product-ad {
  display: inline-block;
  text-align: center;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 0, 255, 0.6);
  margin: 0 auto 1rem;
  width: max-content;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.4);
  backdrop-filter: saturate(1.1);
  -webkit-backdrop-filter: saturate(1.1);
}

.product-ad h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: #fff;
  letter-spacing: .3px;
  display: inline-block;
  padding: 0 0.25rem;
}
.product-ad a {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  text-decoration: none;
  color: #0a0a0a;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(255,0,255,0.95), rgba(0,128,255,0.95));
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow: 0 0 20px rgba(255,0,255,.65);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(255,0,255,.8);
}
.product-ad a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* Typography tweaks for hacker/cyberpunk vibe */
h1, h2, h3 {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  letter-spacing: .5px;
  text-shadow: 0 0 2px rgba(255,0,255,.6);
}
p { color: #dbe6ff; }

/* Focus styles for accessibility on interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
area:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive layout (mobile-first) */
@media (min-width: 640px) {
  main { margin-top: 60px; }
  .image-frame { aspect-ratio: 21 / 9; padding: 1.5rem; border-radius: 18px; }
}
@media (min-width: 900px) {
  main { width: 92%; grid-template-columns: 1fr; gap: 2.5rem; }
  .image-frame { border-radius: 20px; padding: 2rem; }
  .product-ad { padding: 1.25rem 1.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}