/* Minimal reset and cyberpunk styling for a pink circuit board, frosted glass, hacker themed landing page */

/* CSS Variables */
:root {
  --bg-dark: #0b0b14;
  --card: rgba(255, 255, 255, 0.08);
  --glass: rgba(255, 255, 255, 0.12);
  --text: #ffd7e6;
  --accent: #ff2d55;
  --shadow: 0 10px 30px rgba(0,0,0,.45);
  --radius: 14px;
}

/* Light reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  color: var(--text);
  background-color: var(--bg-dark);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Pink circuit board background (mobile-first, subtle pattern) */
  background-image:
    linear-gradient(to right, rgba(255, 0, 122, 0.25) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 0, 122, 0.25) 1px, transparent 1px),
    radial-gradient(circle at 20% 0%, rgba(255, 0, 120, 0.08), transparent 40%),
    radial-gradient(circle at 80% 100%, rgba(0, 180, 255, 0.08), transparent 40%);
  background-size: 20px 20px, 20px 20px, 120px 120px, 120px 120px;
  background-blend-mode: overlay;
  box-sizing: border-box;
  min-height: 100vh;
}

/* Layout */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem;
}

/* Freshed frosted glass image frame (hero) */
.image-frame {
  width: min(92%, 720px);
  margin: 2rem auto;
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(12, 0, 20, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow), 0 20px 60px rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  position: relative;
  overflow: hidden;
}
.image-frame:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  /* subtle circuit glow overlays */
  background: radial-gradient(circle at 25% 20%, rgba(255, 0, 120, 0.25), transparent 25%),
              radial-gradient(circle at 70% 70%, rgba(0, 180, 255, 0.25), transparent 25%);
  mix-blend-mode: overlay;
  pointer-events: none;
}
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Footer and CTA styling (prominent call-to-action) */
footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem 2rem;
}

.product-ad {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  text-align: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  max-width: 90vw;
}
.product-ad h3 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  color: #ffd6e0;
}
.product-ad a { text-decoration: none; }
.product-ad a p {
  display: inline-block;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff2d2d, #ff4d4d);
  color: #fff;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.45);
  box-shadow: 0 6px 14px rgba(0,0,0,.4);
}
.product-ad a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

a { color: #ffd7e6; text-decoration: none; }
a:focus { outline: 2px dashed #fff; outline-offset: 2px; }

/* Focus styles for keyboard accessibility on all interactive elements */
:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks (mobile-first) */
@media (min-width: 640px) {
  .image-frame { width: min(860px, 78%); margin: 3rem auto; }
  .product-ad h3 { font-size: 1.02rem; }
}

@media (min-width: 1024px) {
  body { padding: 0; }
  main { padding-top: 2rem; }
}
