/* Reset and base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

/* Palette and background: teal low-poly triangles with olive accents */
:root {
  --teal: #0b8e88;
  --teal-dark: #0a6f66;
  --olive: #6b7a2d;
  --olive-dark: #4e5f1e;
  --text: #e9f6f0;
  --muted: #cbe6c9;
  --glass: rgba(255,255,255,0.14);
  --shadow: 0 12px 40px rgba(0,0,0,.25);
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: var(--text);
  background-color: #0b5d57;
  background-image:
    linear-gradient(135deg, rgba(0,0,0,.08) 25%, transparent 25%),
    linear-gradient(315deg, rgba(0,0,0,.08) 25%, transparent 25%),
    linear-gradient(45deg, rgba(0,0,0,.08) 25%, transparent 25%),
    linear-gradient(225deg, rgba(0,0,0,.08) 25%, transparent 25%);
  background-size: 60px 60px;
  background-position: 0 0, 30px 0, 15px 30px, 45px 30px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout */
main {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 160px);
  padding: 2rem;
}

.image-frame {
  position: relative;
  width: min(860px, 92vw);
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  box-shadow: var(--shadow);
}

/* Image behavior */
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform .5s ease;
}
.image-frame:hover img { transform: scale(1.04); }

/* Frosted glass overlay to emulate glass hero feel atop the image */
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(2,20,15,.18), rgba(2,20,15,.68));
  backdrop-filter: blur(6px);
  pointer-events: none;
  mix-blend-mode: overlay;
  border-radius: 20px;
  border: 1px solid rgba(120, 255, 230, 0.25);
  box-shadow: inset 0 0 60px rgba(0,0,0,.15);
}

/* Footer and product ad panel (CTA) */
footer {
  padding: 1.25rem;
  text-align: center;
  color: #d7e8c9;
  background: rgba(5, 15, 10, 0.6);
  border-top: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(4px);
}

.product-ad {
  display: inline-block;
  padding: .6rem .9rem;
  background: rgba(0,0,0,.25);
  border-radius: 12px;
  border: 1px solid rgba(46, 255, 212, 0.25);
  margin-bottom: .9rem;
  text-align: left;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.product-ad h3 {
  font-size: .95rem;
  margin-bottom: .25rem;
  color: var(--muted);
}
.product-ad a { text-decoration: none; color: inherit; }
.product-ad a p {
  display: inline-block;
  padding: .4rem .75rem;
  border-radius: 999px;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(110,255,230,.95), rgba(60,210,150,.95));
  color: #04150b;
  transition: transform .2s ease;
  box-shadow: inset 0 0 6px rgba(0,0,0,.25);
}
.product-ad a p:hover { transform: translateY(-1px); }

/* Accessibility: focus styles for keyboard navigation */
a:focus-visible, button:focus-visible { 
  outline: 3px solid #b6ffdb; 
  outline-offset: 2px; 
  border-radius: 6px;
}

footer p { margin-top: .25rem; font-size: .875rem; color: #a8c8a2; }

/* Responsive tweaks (mobile-first) */
@media (max-width: 768px) {
  main { padding: 1.25rem; }
  .image-frame { width: 92vw; }
  footer { padding: .75rem; }
}