/* CSS for cyberpunk hacker-themed landing page (teal gradient background, frosted glass, red accents) */

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

:root {
  --teal-1: #0db9a5;
  --teal-2: #0a8f90;
  --teal-3: #0b5d67;
  --red: #ff2b2b;
  --red-dark: #b4002b;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-dark: rgba(0, 0, 0, 0.25);
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: #eaffff;
  /* Teal gradient background for cyberpunk vibe */
  background: linear-gradient(135deg, var(--teal-1) 0%, var(--teal-2) 50%, var(--teal-3) 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Layout */
main {
  width: 100%;
  display: grid;
  place-items: center;
  padding: 6vmin 4vmin;
}

.image-frame {
  width: min(92vw, 860px);
  aspect-ratio: 16/9;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35),
              inset 0 0 0 rgba(0, 0, 0, 0);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.45);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Footer / product ad (frosted glass) */
footer {
  padding: 2rem 1rem;
  text-align: center;
}

.product-ad {
  display: inline-block;
  padding: 14px 18px;
  border-radius: 14px;
  width: min(92vw, 520px);
  background: rgba(6, 8, 20, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #eaf6f6;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.25);
}

.product-ad h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: var(--red);
}

.product-ad a {
  text-decoration: none;
  display: inline-block;
  background: linear-gradient(135deg, var(--red) 0%, #d90000 100%);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  margin-top: 6px;
  transition: transform 0.15s ease;
}
.product-ad a:hover { transform: translateY(-1px); }

.product-ad p {
  margin: 0;
  color: #ffdede;
  font-weight: 500;
}

/* Focus styles for accessibility */
.product-ad a:focus-visible,
.product-ad button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks */
@media (min-width: 768px) {
  .product-ad { padding: 16px 20px; }
  .product-ad h3 { font-size: 1.05rem; }
}

@media (min-width: 1024px) {
  body { font-size: 18px; }
  main { padding: 8vmin 6vmin; }
}