/* Frosted glass cyberpunk landing page - single stylesheet (mobile-first) */

/* Reset & tokens */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --bg-dark: #04070b;
  --lime: #b7ff00;
  --lime-dark: #7bd12f;
  --turq: #1fe6d6;
  --turq-dark: #0ba0a0;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-border: rgba(255, 255, 255, 0.22);
  --text: #eafff5;
  --shadow: 0 8px 28px rgba(0,0,0,.25);
  --blur: blur(6px);
}
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: var(--text);
  background: var(--bg-dark);
  /* Lime waves background using lightweight inline SVG pattern */
  background-image:
    linear-gradient(135deg, rgba(0,0,0,0) 0 60%, rgba(0,0,0,0) 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='600' viewBox='0 0 1600 600'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop stop-color='%23a7ff00' offset='0'/%3E%3Cstop stop-color='%2370ff7f' offset='1'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0,260 C260,340 520,140 780,180 C1040,220 1320,360 1600,300 L1600,600 L0,600 Z' fill='url(%23g)' fill-opacity='.8'/%3E%3C/svg%3E");
  background-size: 1600px 600px;
  background-repeat: repeat;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
main, header, footer { width: 100%; }

/* Glassy container for hero-like sections (applies frost) */
.glass {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 18px;
  padding: 1.25rem;
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: var(--shadow);
}

/* Header (hero title) */
header {
  display: grid;
  place-items: center;
  padding: 1.75rem 1rem;
}
header h1 {
  font-size: clamp(1.8rem, 5vw + 1rem, 3.6rem);
  line-height: 1.05;
  text-align: center;
  margin: 0;
  letter-spacing: .2px;
  color: #e7fff0;
  text-shadow: 0 0 14px rgba(0, 240, 180, .65);
}
header .container { width: min(1100px, 92%); }

/* Main content: image frame with frosted border */
.image-frame {
  width: min(92%, 720px);
  margin: 1.75rem auto;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15);
}
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* Footer ad card with CTA */
footer {
  display: grid;
  justify-items: center;
  padding: 1.25rem;
  margin-top: 1.25rem;
}
.product-ad {
  display: grid;
  justify-items: center;
  align-items: center;
  gap: .5rem;
  padding: .9rem 1rem;
  width: min(92%, 600px);
  border-radius: 14px;
  background: rgba(0,0,20,.25);
  border: 1px solid rgba(0, 255, 200, 0.65);
  color: #eafff8;
  text-align: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.product-ad h3 { margin: 0; font-size: 1.1rem; color: #caffea; }

/* CTA button look for the ad link (accessible + prominent) */
.product-ad a { text-decoration: none; color: inherit; }
.product-ad a p {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0,255,170,.25), rgba(0,180,180,.35));
  border: 1px solid rgba(0,255,230,.8);
  color: #eaffff;
  transition: transform .2s ease;
}
.product-ad a:hover p { transform: translateY(-1px); }

/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid var(--turq);
  outline-offset: 2px;
  border-radius: 4px;
}
a:focus-visible, button:focus-visible { outline: 2px solid var(--turq); outline-offset: 2px; border-radius: 4px; }

/* Small helper: ensure the page scales nicely on phones */
@media (min-width: 768px) {
  header { padding: 2.5rem 1rem; }
  .image-frame { width: min(60%, 760px); }
}
@media (min-width: 1024px) {
  .image-frame { width: min(46%, 860px); }
  footer { padding-bottom: 2rem; }
}