/* Deep Woods Hacker Teal Frosted Glass Landing (mobile-first) */

/* 1) Global reset and color tokens */
:root{
  --bg: #0b3d3d;            /* solid teal background */
  --glass: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.20);
  --text: #eaffff;
  --muted: #bfeeee;
  --accent: #2bd6bd;          /* teal/cyan accent for CTAs */
  --accent-dark: #0fb7a7;
  --shadow: 0 8px 36px rgba(0,0,0,.25);
}

*,
*::before,
*::after{ box-sizing: border-box; }

/* 2) Base typography and layout reset */
html, body { height: 100%; }
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Inter", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  min-height: 100vh;
  position: relative;
}

/* Subtle hacker/grid feel (gentle) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
      90deg,
      rgba(0, 255, 230, 0.04) 0px,
      rgba(0, 255, 230, 0.04) 1px,
      transparent 1px,
      transparent 40px
    );
  mix-blend-mode: overlay;
  opacity: 0.25;
  z-index: 0;
}

/* 3) Page structure helpers (centered hero) */
main {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vmin 1rem;
  min-height: 60vh;
}

/* 4) Frosted glass hero container for the image */
.image-frame {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 1rem;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: block;
  transition: transform .3s ease;
}
.image-frame:hover { transform: translateY(-2px); }

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(0, 255, 255, 0.45);
  box-shadow: inset 0 0 40px rgba(0,0,0,.25);
  display: block;
}

/* 5) Footer + product ad (CTA styled as button) */
footer {
  padding: 2rem 1rem;
  text-align: center;
  color: #e1ffff;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

.product-ad {
  display: inline-block;
  padding: .6rem 0;
  border-radius: 999px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin-bottom: .75rem;
}

.product-ad h3 {
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .4px;
  margin: 0 0 .25rem;
  padding: 0 0.25rem;
}

.product-ad a {
  text-decoration: none;
  color: inherit;
  display: inline-block;
  padding: 0;
  margin: 0;
}

/* CTA pill inside the ad (the <p> inside <a>) */
.product-ad a > p {
  display: inline-block;
  margin: 0;
  padding: .55rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .92rem;
  background: rgba(27,212,195,.25);
  color: #eaffff;
  border: 1px solid rgba(27,212,195,.7);
  transition: transform .2s ease, background .2s ease;
}
.product-ad a > p:hover {
  transform: translateY(-1px);
  background: rgba(27,212,195,.35);
}
.product-ad a > p:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Focus styles for accessibility on links/buttons elsewhere */
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}
a:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

/* 6) Responsive adjustments (mobile-first) */
@media (min-width: 768px) {
  main { padding: 6vmin 2rem; }
  .image-frame { padding: 1.25rem; border-radius: 22px; }
  .product-ad h3 { font-size: 1rem; }
}
@media (min-width: 1024px) {
  main { justify-content: center; min-height: 70vh; }
  .image-frame { border-radius: 26px; }
  footer { padding-bottom: 3rem; }
}

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