/* Global reset (light) */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }

/* Color and theme variables (green hacker aesthetic) */
:root {
  --green: #2bd56d;
  --green-dark: #0f7c3a;
  --bg-start: #ffffff;
  --bg-mid: #f6fff7;
  --bg-end: #eafff0;
  --text: #0b2a16;
  --shadow: 0 8px 28px rgba(0,0,0,.08);
  --blur: 6px;
  --glass: rgba(255,255,255,.72);
  --glass-border: rgba(0,0,0,.08);
}

/* Accessible base colors and white-gradient background */
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: var(--text);
  background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(246,255,247,1) 60%, rgba(235,252,241,1) 100%);
}

/* Focus visibility for accessibility */
a:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 6px; }

/* Layout: mobile-first hero framing */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 120px);
  width: 100%;
}

/* Frosted glass image frame */
.image-frame {
  position: relative;
  width: 100%;
  max-width: 720px;
  border-radius: 20px;
  overflow: hidden;
  background: #f7faf7;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.08);
  /* cyber vibe glow */
  box-shadow: 0 0 40px rgba(43,213,109,.15);
}
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.image-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(255,255,255,.28);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border-radius: inherit;
  border: 1px solid rgba(0,0,0,.08);
  pointer-events: none;
}
.image-frame { border: 1px solid rgba(0,255,136,.25); }

/* Hero content container (simple, keeps focus on image) */
.pane {
  display: grid;
  gap: 1.25rem;
  width: 100%;
  justify-items: center;
  align-items: center;
}

/* Featured product ad (CTA) with frosted-glass feel */
.product-ad {
  display: inline-block;
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 6px 20px rgba(0,0,0,.05);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  text-align: left;
}
.product-ad h3 {
  font-size: 1.05rem;
  margin-bottom: .5rem;
  color: #0e4f1f;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.product-ad a { display: inline-block; }

/* CTA button style within the ad (neon green pill) */
.product-ad a p {
  margin: 0;
  padding: .62rem .9rem;
  border-radius: 999px;
  color: #06291a;
  background: linear-gradient(90deg, #18c36d, #2bd56d, #19b86d);
  font-weight: 700;
  letter-spacing: .2px;
  display: inline-block;
  box-shadow: 0 6px 14px rgba(43,213,109,.4);
}
.product-ad a:hover p { transform: translateY(-1px); }

/* Footer */
footer { padding: 1.75rem 1rem; text-align: center; color: #2a3f2b; }

/* Responsive behavior (mobile-first) */
@media (min-width: 640px) {
  main { padding: 3rem 1.75rem; }
  .image-frame { max-width: 820px; }
}
@media (min-width: 1024px) {
  main {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 4rem 2rem;
  }
  footer { text-align: left; padding-left: 2rem; }
  .product-ad { display: inline-block; vertical-align: top; margin-top: 0; }
}