/* CSS for the provided landing page: cyberpunk hacker vibe, lime polka dots, frosted glass, gold accents */

/* Reset and base tokens */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
:root {
  --bg: #0b0f12;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.18);
  --glass: rgba(255, 255, 255, 0.08);
  --text: #eafff5;
  --lime: rgba(168, 255, 100, 0.25);
  --gold: #ffd700;
  --gold2: #f5c400;
  --shadow: 0 12px 40px rgba(0,0,0,.45);
  --blur: blur(6px);
}
* { margin: 0; padding: 0; }

/* Lime polka dots background + dark base for cyberpunk vibe */
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background-color: var(--bg);
  /* Lime polka dots pattern */
  background-image:
    radial-gradient(circle at 8px 8px, rgba(168, 255, 100, 0.25) 2px, transparent 3px),
    radial-gradient(circle at 28px 16px, rgba(168, 255, 100, 0.15) 2px, transparent 3px);
  background-size: 56px 56px;
  background-position: 0 0, 14px 8px;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
  line-height: 1.4;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
}

/* Light reset for layout */
*, *::before, *::after { box-sizing: border-box; }

/* Layout: mobile-first, clear hero, prominent CTA in footer */
main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  min-height: 64vh;
}

.image-frame {
  width: min(92vw, 900px);
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: var(--shadow);
  isolation: isolate;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* subtle glow to emphasize hacker vibe on image edges */
  filter: saturate(1.05);
}
.image-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.25);
  pointer-events: none;
  mix-blend-mode: screen;
}

/* Footer with frosted glass card for CTA */
footer {
  padding: 1.75rem 1rem 2rem;
}

.product-ad {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: .9rem 1rem;
  border-radius: 14px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--text);
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
}
.product-ad h3 {
  font-size: 1rem;
  margin: 0 0 .25rem;
  color: var(--gold);
  text-shadow: 0 0 6px rgba(255, 215, 0, .9);
}
.product-ad p {
  margin: 0;
  color: #eafff5;
  font-weight: 700;
  padding: .25rem .6rem;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.25);
  background: linear-gradient(135deg, rgba(255,215,0,.25), rgba(0,0,0,0));
  display: inline-block;
}
.product-ad a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.product-ad a:hover .cta {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,.5);
}
.product-ad .cta {
  display: inline-block;
  padding: .6rem 1rem;
  border-radius: 8px;
  margin-left: .2rem;
  border: 1px solid rgba(0,0,0,.4);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.95), rgba(212, 176, 0, 0.95));
  color: #0a0a0a;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .4px;
  box-shadow: 0 2px 8px rgba(0,0,0,.4);
  transition: transform .15s ease, box-shadow .15s ease;
}
.product-ad a:focus-visible .cta,
.product-ad .cta:focus-visible {
  outline: 3px solid rgba(168, 255, 100, 0.95);
  outline-offset: 2px;
}
.product-ad .cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,.5);
}
.product-ad a:focus-visible { outline: none; }

/* Footer credit */
footer p {
  text-align: center;
  color: #a0a0a0;
  font-size: .85rem;
  margin: .9rem 0 0;
  letter-spacing: .2px;
}

/* Typography tweaks for cyberpunk glow on small screens */
@media (min-width: 768px) {
  main { padding: 3rem 2rem; }
  .image-frame { border-radius: 22px; }
  .product-ad h3 { font-size: 1.05rem; }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
